[rules-users] rules execution on Collection

2011-12-13 Thread Java Bean
Hello Droolers, Here is my Scenario: public class Parties { protected List party; } public class Party { protected IdentificationGroup idGroup; } public class IdentificationGroup { protected String partyType; } I have a collection of "Party" objects in the statefulsession

Re: [rules-users] Salience & activation-group

2011-12-06 Thread Java Bean
Or do the check for both parts in both rules , or use inheritance, but the easiest way would probably be to just have it return null if the number isn't valid - at least if you are just doing in comparisons. How do I use inheritance in Drools ? -- *From:* "Swindells,

[rules-users] Drools Activation Group

2011-11-29 Thread Java Bean
Hello Drools Experts, I have a question on activation group and trying to understand the mechanism. I have the following rules in a .drl file : import function com.test.utils.StringUtil.isEmpty; import function com.test.utils.Logger.log; rule "r1" salience 10 activation-group "fireOnlyOnce"