If I have r1,r2,r3, execution flow has to be
1. fire r1 first
2.then fire r2 if r1 was fired
3.then fire r3 if r1 got executed & r2 was not fired
then i can think of following way using salience and control flag.
when r1 condition
fact.r1Executed = true
when fact.r1Executed == true
fact.r2Executed = true;
fact.r1Executed == true && fact.r2Executed == true
I could not implement this using agenda group. Esp how to control r3 using
Please advise if we can do it better way without using rule flow.
View this message in context:
Sent from the drools - user mailing list archive at Nabble.com