<br>&nbsp;&nbsp; Rahul,<br><br>&nbsp;&nbsp; Yes, this is new to 3.1M2 (trunk). You can call methods with parameters if you use predicates. But it is important to note you must be careful when doing it, because the return value must be time-constant, and there are perf impacts if you abuse it.
<br><br>&nbsp;&nbsp; []s<br>&nbsp;&nbsp; Edson<br><br><div><span class="gmail_quote">2007/4/6, Rahul Phadnis &lt;<a href="mailto:rahul.phadnis@fatspaniel.com">rahul.phadnis@fatspaniel.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&gt; ItemVo( statusCode : itemStatusCode != null, (*<br>&gt; itemValidationDao.isValidItemStatus(statusCode)*) )<br><br>Can we call methods with arguments in the LHS? Or this<br>can be done for globals but not facts? Is this a new
<br>feature of 3.1?<br><br>-Rahul<br>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-users">
https://lists.jboss.org/mailman/listinfo/rules-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>&nbsp;&nbsp;Edson Tirelli<br>&nbsp;&nbsp;Software Engineer - JBoss Rules Core Developer<br>&nbsp;&nbsp;Office: +55 11 3124-6000<br>&nbsp;&nbsp;Mobile: +55 11 9218-4151
<br>&nbsp;&nbsp;JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a>