[rules-users] How to Get out from the chain of rules

David Sinclair dsinclair at chariotsolutions.com
Tue Jul 7 08:49:10 EDT 2009


>From the RHS of a rule you can call the halt() method on a stateful
knowledge session. This will stop the rule engine from firing any other
rules.

2009/7/7 Amila Silva <amilac at hsenidmobile.com>

>
> hi everyone;
>   I have faced the situation where i need to execute chain of rules and
> with out any property change i need to get out from the executing the rest
> of the rules.
>  Lets say i load all the data from the db and without loading to working
> memory is there any way to skip through the other conditions. Or else do i
> have to load the data into memory ?
>
>
>
> --
> Thanks,
> Regrads,
>
> Amila Silva,
> Associate Software Engineer
>
> hSenid Mobile Solutions
>
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090707/9131a8fc/attachment.html 


More information about the rules-users mailing list