What the documentation is basically telling you is that it is dangerous to use globals in the CONDITION of your rules. Using them in the ACTION part is perfectly normal and allowed.<div><br></div><div>Best Regards, <br clear="all">

<br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>- Blog @ <a href="http://ilesteban.wordpress.com" target="_blank">http://ilesteban.wordpress.com</a><br>
<br><br><div class="gmail_quote">On Fri, Oct 5, 2012 at 3:38 PM, joy <span dir="ltr">&lt;<a href="mailto:Kripa_M01@infosys.com" target="_blank">Kripa_M01@infosys.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
HI<br>
<br>
&quot;Globals are not inserted into the Working Memory, and therefore a global<br>
should never be used to establish conditions in rules except when it has a<br>
constant immutable value. The engine cannot be notified about value changes<br>
of globals and does not track their changes&quot;<br>
<br>
It is what mentioned in documentation about &quot;globals&quot;!!!<br>
Is there any detailed documentation or examples where &quot;globals&quot; were used in<br>
such a context mention above<br>
<br>
<br>
Thank you<br>
Joy<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Local-Variable-tp4020144p4020149.html" target="_blank">http://drools.46999.n3.nabble.com/Local-Variable-tp4020144p4020149.html</a><br>
<div class="HOEnZb"><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></div>