you can do something like:
rule "Error Check"
salience 100
when
insert(Stop())
rule "Rule-01"
salience 99
when
not(Stop())
Hi,How to stop rule execution in technical rule,Examplerule "Error Check"
salience 100
whenerror condition checkthenSystem.Out.Println("Response has errors");XXXXXXXXXXXXXXXXXXXXXXXX to exit from rule executionend
rule "Rule-01"
salience 99
whenrepsonse.getxx()thenend.if first rule then part executed means the response is error hence we should not execute second.Is there any way to exit rule execution.
Regards,Sathya Prakash.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users