[rules-users] Drools 5.3 DSL Or conditions

gboro54 gboro54 at gmail.com
Tue Jan 31 08:46:16 EST 2012


I am just curious if there is a way to use the "-" appending format for
appending OR conditions to an object. For example:

There exist object a
   -where property1 is "Value1"
   -or where property2 is "Value2"


This would equate to the drl:

Object(property1=="Value1" || property2=="Value2")

Is this possible or a trick to get something similar? Worst case I can just
separate to two individual rules.

--
View this message in context: http://drools.46999.n3.nabble.com/Drools-5-3-DSL-Or-conditions-tp3703338p3703338.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list