[rules-users] using global variable in LHS
Simon Thum
simon.thum at gmx.de
Wed Aug 12 13:00:08 EDT 2009
VÅM§Ï ® wrote:
> Hi ,
> i have inserted global variable into working memory.It is an Array list
> object.
> it is working fine in RHS i.e in the "then" part.
> i want to write a condition using this global variable in the LHS.
> please let me know how can i use global variable in "when" part?
Fact ( eval ( globVar.allFine ) )
AFAIK the evals are the only way.
HTH,
Simon
More information about the rules-users
mailing list