Your errors are multiple : - Cannot use this in a static context : I don't know why ... - cannot convert from String to int : perhaps the value of your Map is String and not Integer object ?
Maybe you have to fix it, before move on. I can give you a tips for eval(), you have to use java instead of mvel. You can't use Map(), it's mvel coding. Try this : when m:Map() eval(!((Integer)m.get["G10.3"] !=8) || ((Integer)m.get["G10.2"] ==19)) then .... good luck, vdelbart -- View this message in context: http://www.nabble.com/How-to-use-not-operator-in-drool.-tf4430240.html#a12650325 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