[rules-users] Calling function in the rule

Rout, Sushanta (ThoughtMill) Sushanta.Rout at ihg.com
Thu Sep 11 09:42:16 EDT 2008


Is there any way to call java functions in the rule? One option is eval
but eval is quite expensive. Hence trying to see if there is any other
option?

when

Eval($resdirectPhoneNumber.isValidForBrand($croNumberDetailsRequest.getB
rand()))

Then

ResultList.add($resdirectPhoneNumber);

 

Thanks

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080911/081b6a94/attachment.html 


More information about the rules-users mailing list