<br>Hi,<br><br>I am fairly new to Drools and am just getting my feet wet with writing rules. <br><br>In my work, I have to integrate drools with classes that do not expose all properties via getXXX/ isXXX accessor methods but require a call of the form someMethod(&quot;keyvalue&quot;). I have been using the MVEL dialect and do not see a way to call a function with arguments on the LHS side of a rule either in the documentation or the mailing list.<br>

<br><br>In fact, I have been trying something like<br><br>rule &quot;rulename&quot;<br>    agenda-group &quot;evaluation&quot;    <br>when<br>    $d: VO( computePrice(&quot;key&quot;) &lt; 10) from entry-point &quot;Inventory stream&quot;       <br>

then        <br>    #    <br>end<br><br>This fails with a &#39;no viable alternative at input &#39;&quot;key&quot;&#39; in rule. Is there a way this can be accomplished?<br><br>Thanks,<br>Vidya<br>