If you want to do this via a global, then you might try
* before you fireAllRules(): setGlobal with an empty List<?>,
* in the consequence do a global.add( whatever )
* after fireAllRules(): inspect the list; if you still have the reference, you don't even need a getGlobal.
-W
Hello Wolfgang,
All I want to do is after the rules are fired, I want to access the objects
that caused the same to fire
I am assuming that globals is the right way to access those objects
Please do help
Many thanks
--
View this message in context: http://drools.46999.n3.nabble.com/Accessing-globals-after-FireAllRules-tp2989144p2989346.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users