Yes, the LHS is just a block of Java (or MVEL depending on your rule dialect).

Have you read Experts User Guide's section on functions? 

2010/9/20 Kripa Nathwani <Kripa.Nathwani@lntinfotech.com>

Hello,

 

I need to know whether it is possible to call a function from within a “when” condition?

I am currently trying with a simple print function just for checking but it is not working.

 

Best Regards,

Kripa

 



This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.

______________________________________________________________________

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