[rules-users] Re: functions over the rule template of a Condition in a Decision Table

javier correoalternativo.jjcb at gmail.com
Mon Sep 22 04:52:18 EDT 2008


javier :
 Hello, It is posible to write a function 
 over the rule template of a CONDITION in a Decision Table?
 I mean instead of write the rule template:    
    driver.priorClaims 
 write the rule template: 
    driver.priorClaims("lastWeek")


Edson Tirelli writes:
    Place it inside an eval(). Use the regular "$" syntax for paramenters.  




Edson, could you give me an example?
thank you.

javier.






More information about the rules-users mailing list