Hi,<br><br>Can I use globals in the LHS of a rule. The rule I have is as
follows,<br><br>package mypackage;<br> <br>import mypackage.Payment;<br><br>global
java.util.Set accountNumbers;<br><br>rule "Check debtor account number
exists"<br>
when<br> $p : Payment (accountNumber not memberOf $accountNumbers)<br>then<br>end<br><br>I
insert an instance of HashSet using the setGlobal method on the
StatelessKnowledgeSession. However, when I execute the rule, I get the
following error.<br>
<br>[Error: unable to resolve method: mypackage.Payment.$accountNumbers()
[arglength=0]]<br><br>Kind regards<br>Meeraj<br>