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
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,
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"