Mark Proctor wrote:
Mescher,Mark wrote:
Hello,
we have realized a project using drools with Decision Tables. We are working in sequential mode.
Now we have the request for a mechanism to stop the rule execution after the first rule matches (so no more rules are executed). Is there a native way to do this with decision tables?
Not really. You could add an agenda-filter to ignore all activations after the first one is executed.
Oh sorry there is also the fireLimit option, see the workingmemory api. So you can specify the max number of rules it can fire, in your case 1. Let me know if that works for you.
 
Thx
 
Mark
 

_______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users