[rules-users] Oring conditions

Waleed Zedan wzedan at gmail.com
Sun Nov 30 07:27:23 EST 2008


Hi All,

I have this requirment : Rule A -> Condition 1 AND
                                                (Condition 2 OR
                                                 Condition 3 OR
                                                 Condition 4)
The problem is that OR (||) operators in drools are not a short circuiting
operators like in Java.

May you please tell me an approach to handle this situation , i have already
tried splitting it on multiple rules ,but i am searching for better
approach.

I am using Drools 4.0.7.

Thanks.

Best Regards,

-- 
Waleed Zedan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20081130/cceb43da/attachment.html 


More information about the rules-users mailing list