globals are automatically in injected you don't need the getGlobal at all from within a consequence. However if you are in java land you you may need to read a global value and we can't inject it there, so thats the reason for this.

Mark
hypnosat7 wrote:
Hi,

Is it important to use getGlobal to get the global variables ? The global variable used in the rule is a reference so why we need getGlobal
methode ?

_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to