Remove your "eval" and use "or" instead of "||" for the
Although, I feel that this is not what you want... what you want is
Map( this['city'] not in ( "mumbai", "delhi" ) )
2007/9/12, Gaurav2007 <gaurav.a.joshi(a)capgemini.com>:
I am using drool4.0.1 in my application i am able to use IN,OR,AND
but i am facing problem in using not operator.
my requirement of not operator is just like a not gate.
the way i am using it is :
eval(not((Map( this["city"] !="mumbai"))||(Map(
so can you please help me out to solve this problem:
should i use not operator or some thing else in drool.
View this message in context:
Sent from the drools - user mailing list archive at Nabble.com
rules-users mailing list
Software Engineer - JBoss Rules Core Developer
Office: +55 11 3529-6000
Mobile: +55 11 9287-5646
JBoss, a division of Red Hat @ www.jboss.com