If you want to do this via a global, then you might try<br> * before you fireAllRules(): setGlobal with an empty List<?>,<br> * in the consequence do a global.add( whatever )<br> * after fireAllRules(): inspect the list; if you still have the reference, you don't even need a getGlobal.<br>
<br>-W<br><br><br><div class="gmail_quote">On 26 May 2011 18:32, sdinoo <span dir="ltr"><<a href="mailto:sdinoo@gmail.com">sdinoo@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello Wolfgang,<br>
<br>
All I want to do is after the rules are fired, I want to access the objects<br>
that caused the same to fire<br>
I am assuming that globals is the right way to access those objects<br>
<br>
Please do help<br>
<br>
Many thanks<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Accessing-globals-after-FireAllRules-tp2989144p2989346.html" target="_blank">http://drools.46999.n3.nabble.com/Accessing-globals-after-FireAllRules-tp2989144p2989346.html</a><br>
</font><div><div></div><div class="h5">Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br>