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
On 26 May 2011 18:32, sdinoo <sdinoo(a)gmail.com> wrote:
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-tp...
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