Yes, I used eval.
In fact this is the error I'm getting
org.drools.RuntimeDroolsException: productMap.containsKey($pid) == false :
[Error: unable to access property (null parent): containsKey]
[Near : {... Unknown ....}]
And this is the line
eval(productMap.containsKey($pid) == false)
--
View this message in context:
http://drools.46999.n3.nabble.com/check-whether-a-key-is-present-in-global-Map-i-e-mimicking-containsKey-behavior-tp3137610p3137694.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users