[rules-users] calling a function from "when"

Michael Anstis michael.anstis at gmail.com
Mon Sep 20 05:27:41 EDT 2010


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 at 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 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/20100920/2ca6a2f2/attachment.html 


More information about the rules-users mailing list