[rules-users] or condition - subrules
kfs2 at chryslerfinancial.com
kfs2 at chryslerfinancial.com
Fri Jan 16 11:35:20 EST 2009
I understand that as this rule is written below it will be compiled into 2
subrules which both fire. I searched the archives and found a post where
Mark Proctor suggested "Bind each pattern, and do the || field constraints
in an eval.". I'm new to Drools, can someone elaborate on how I would do
that with the rule below?
rule "Test"
when
(CoApplicant( relationship == "S" ) or (Contract ( state
in ("CO", "IL"))))
then
...
Thanks
Kent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090116/43c9b9e1/attachment.html
More information about the rules-users
mailing list