[rules-users] Non short circuit ANDing

Wolfgang Laun wolfgang.laun at gmail.com
Tue Jan 29 12:35:28 EST 2013


There is no such thing as non-short-circuit evaluation in patterns or
constraints.

Please explain why you want that, preferably while providing a
non-schematic example.

-W

On 29/01/2013, mp <meitreyi.panchmia at morganstanley.com> wrote:
> Hi,
>
> I need to use non-short circuit ANDing (&) for my rules.
> However, for a rules like (conditionA & conditionB) I get the following
> error:
> "Predicate 'conditionA & conditionB' must be a Boolean expression"
>
> (conditionA && conditionB) works fine. But it short circuits the
> conditions.
>
> Any ideas as to what I could be doing wrong or how I can ensure that
> condition2 is evaluated irrespective of whether condition1 is true or
> false?
>
> Thanks.
>
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Non-short-circuit-ANDing-tp4021928.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