Try this: Global java.util.List myList
rule "SomeOtherRule" when myList(size==2); then ... end Doe not seem to be a "global" problem, but rather a syntax issue. hope this helps, Darko Ivancan On 27/11/2007 14:40, Michael Zimmermann wrote: > 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 > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > > _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users