[rules-users] Function call in LHS

BINET JEAN-BAPTISTE Jean-Baptiste.Binet at alcatel-lucent.fr
Fri Jul 11 08:48:56 EDT 2008


Hello,

I am new to Drools. I have downloaded and installed Drools 4.0.7.
After having read the documentation, I saw that it is possible to create
function in the .drl file.
I succeed in creating a function, calling it in the LHS with eval()
instruction or in the RHS.
But, is it possible to call a function in the LHS out of an eval() ? For
example, I would like to use
a pattern such as : 
$tmp : MyClass( name == MyFunction() )

Thanks in advance.

Regards.

JB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080711/cd44ef7f/attachment.html 


More information about the rules-users mailing list