You did not pass a Map object to the session object. See the API StatefulKnowledgeSession, putGlobal. -W
On 4 July 2011 16:21, esstrata <[email protected]> wrote: > 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 >
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
