Re: [rules-users] Use of Relational operator in Drools

2007-06-01 Thread Edson Tirelli
If you are using trunk, you can do: Classname( varname in (1, 2, 3) ) Alternatively you can use connectives: Classname( varname == 1 || == 2 || == 3 ) []s Edson 2007/6/1, Rajesh.Sachin10 [EMAIL PROTECTED]: How to check a variable in a class contains any of the four or five value.

[rules-users] Use of Relational operator in Drools

2007-06-01 Thread Rajesh.Sachin10
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