[EMAIL PROTECTED] wrote:
I thought when you use eval, it is Java, not mvel. So i think this should
work: eval (! (Map (.....
eval will use the language of dialect you specify for the rule.
Tim
Gaurav2007
<[EMAIL PROTECTED]
apgemini.com> To
Sent by: rules-users@lists.jboss.org
rules-users-bounc cc
[EMAIL PROTECTED]
g Subject
[rules-users] How to use not
operator in drool.
09/12/2007 08:49
AM
Please respond to
Rules Users List
<[EMAIL PROTECTED]
s.jboss.org>
Hi ALL,
I am using drool4.0.1 in my application i am able to use IN,OR,AND operator
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( this["city"] =="delhi"))))
so can you please help me out to solve this problem:
should i use not operator or some thing else in drool.
Thanks,
--
View this message in context:
http://www.nabble.com/How-to-use-not-operator-in-drool.-tf4430240.html#a12638430
Sent from the drools - user mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users