[rules-users] how to stop rule execution

Sathya Prakash prakashagarval at gmail.com
Wed Feb 16 17:22:18 EST 2011


Hi,

How to stop rule execution in  technical rule,
Example

rule "Error Check"
salience 100

when
error condition check
then
System.Out.Println("Response has errors");
XXXXXXXXXXXXXXXXXXXXXXXX to exit from rule execution
end


rule "Rule-01"
salience 99
when
repsonse.getxx()

then

end.

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110217/2099d2ce/attachment.html 


More information about the rules-users mailing list