[rules-users] Local Variable
Esteban Aliverti
esteban.aliverti at gmail.com
Fri Oct 5 09:51:46 EDT 2012
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 at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20121005/9fbecf05/attachment-0001.html
More information about the rules-users
mailing list