[rules-users] Non short circuit ANDing

Wolfgang Laun wolfgang.laun at gmail.com
Tue Jan 29 14:07:11 EST 2013


[Groundhog Day]

If you need to know all the reasons why a rule doesn't fire you'll have to
evaluate all relevant conditions individually and keep track of the
positives. (See a very recent thread on this list.)

-W


On 29/01/2013, mp <meitreyi.panchmia at morganstanley.com> wrote:
> I need to record the results of each of the conditions as a side effect in
> a
> list. But in case condition1 is false, condition2 would not be evaluated.
> This would prevent me from knowing whether or not condition2 was
> true/false.
>
> 5.8.3.3.12. Operator precedence at
> http://docs.jboss.org/drools/release/5.2.0.Final/drools-expert-docs/html/ch05.html#d0e3962
> lists & as an operator. But it somehow doesn't work.
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Non-short-circuit-ANDing-tp4021928p4021931.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