[rules-users] Function call in LHS

Mark Proctor mproctor at codehaus.org
Fri Jul 11 10:24:48 EDT 2008


only inside an eval or return value.

Mark
BINET JEAN-BAPTISTE wrote:
>
> 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>   

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


More information about the rules-users mailing list