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.
Best Regards,
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Esteban Aliverti
- Blog @
http://ilesteban.wordpress.com
On Fri, Oct 5, 2012 at 3:38 PM, joy <Kripa_M01(a)infosys.com> wrote:
HI
"Globals are not inserted into the Working Memory, and therefore a global
should never be used to establish conditions in rules except when it has a
constant immutable value. The engine cannot be notified about value changes
of globals and does not track their changes"
It is what mentioned in documentation about "globals"!!!
Is there any detailed documentation or examples where "globals" were used
in
such a context mention above
Thank you
Joy
--
View this message in context:
http://drools.46999.n3.nabble.com/Local-Variable-tp4020144p4020149.html
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