[rules-users] check whether a key is present in global Map, i.e. mimicking containsKey() behavior

esstrata esstrata at yahoo.es
Mon Jul 4 10:21:28 EDT 2011


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.



More information about the rules-users mailing list