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 <[email protected]> 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-tp2989144p2989346.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

Reply via email to