[rules-users] Use of Relational operator in Drools

Rajesh.Sachin10 rajesh_sachin10 at yahoo.co.in
Fri Jun 1 07:16:46 EDT 2007


How to check a variable in a class contains any of the four or five value. I
tried the below codes, but it throws error.

Codes

       context : Context(state == Context.START_UP) exists Classname(varName
: "1" || "2" || "3")

       context : Context(state == Context.START_UP)  exists
Classname(varName : "1" || varName : "2" || varName : "3")



There is anyother alternate way to check this condition?
-- 
View this message in context: http://www.nabble.com/Use-of-Relational-operator-in-Drools-tf3851675.html#a10910936
Sent from the drools - user mailing list archive at Nabble.com.




More information about the rules-users mailing list