I wonder if this was a bug that was already fixed in a later version.
Could you try 5.5.0.Final or 5.6.0-SNAPSHOT?
On 05/01/2013 08:17 PM, Sonata wrote:
Thank you so much for your quick reply!
I am on 5.4. What I wanted to do is to list out the currently set globals
(with values) that can be used in the current active rule. So it seems like
I should not go for the getGlobalVariables() option.
But then if I use
((MapGlobalResolver)drools.getKnowledgeRuntime().getGlobals()).getGlobals(),
it does not list those I set in java using session.setGlobal(), where
session is a StatefulKnowledgeSession before firing the rule. It ONLY list
those I set in drl using drools.getWorkingMemory().setGlobal().
Thanks
--
View this message in context:
http://drools.46999.n3.nabble.com/Ways-to-list-the-globals-tp4023616p4023...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users