Hello,

trying as hard as I can, I am not able to do method calls within MVEL
modify block, as I can
do with Java block.

For example:

modify($p) { addDescription("aaa") }

This works in Java, but not in MVEL. I was not able to find out how to
call methods (not
set properties, which works quite well). Any ideas what am I doing wrong?

 Does MVEL support method calls within modify block at all? If not,
how can I safely
call a method, that modifies fact attributes from MVEL? (I am not
using shadow facts).


 Thanks,

   Juraj.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to