Hi there,

according to the online documentation globals are supported in the LHS
of a rule, yet requires a bit of care to use there.

But how do I use globals in the LHS? Is there any option to access a
globals variable directly like:

globals List myList

rule "SomeRule"
when
  myList.size() == 2
then
 ...

Or can I have to use globals only in eval() statements?

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

Reply via email to