Rahul, 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.
[]s Edson 2007/4/6, Rahul Phadnis <[EMAIL PROTECTED]>:
> ItemVo( statusCode : itemStatusCode != null, (* > itemValidationDao.isValidItemStatus(statusCode)*) ) Can we call methods with arguments in the LHS? Or this can be done for globals but not facts? Is this a new feature of 3.1? -Rahul _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
-- Edson Tirelli Software Engineer - JBoss Rules Core Developer Office: +55 11 3124-6000 Mobile: +55 11 9218-4151 JBoss, a division of Red Hat @ www.jboss.com
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
