[rules-users] Keyword to Stop firing rules

Rajesh.Sachin10 rajesh_sachin10 at yahoo.co.in
Mon Jun 11 18:11:48 EDT 2007


There is any keyword available to stop the rules firing after some condition?

EG:

   [when] \\condition 1
   [then]  \\ do something

   [when] \\condition 2
   [then]  \\ do something and stop the rules from firing.

My 2 rules are in loop structure. Both the rules will fired still the
condition 2 satisfies. Once the condition 2 satisfy, it should not fire the
first rule again. It should come out from the dsl itself.
-- 
View this message in context: http://www.nabble.com/Keyword-to-Stop-firing-rules-tf3904389.html#a11069752
Sent from the drools - user mailing list archive at Nabble.com.




More information about the rules-users mailing list