only inside an eval or return value.

Mark
BINET JEAN-BAPTISTE wrote:
Function call in LHS

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


_______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users