[rules-users] Exit from drl file when the first rule is satisfied

Wolfgang Laun wolfgang.laun at gmail.com
Wed Jun 13 07:02:58 EDT 2012


>From the "Expert" manual, section "Right Hand Side" (which you should
have read):

The call drools.halt() terminates rule execution immediately. This is
required for returning control to the point whence the current session
was put to work with fireUntilHalt().

-W


On 13/06/2012, learner <anandbabu6545 at yahoo.com> wrote:
> Is there any exit statement in drl file to achieve the same.
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Exit-from-drl-file-when-the-first-rule-is-satisfied-tp4017899p4017904.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>


More information about the rules-users mailing list