[rules-users] Arithmetic operator in Condition part (Argent help.....)

Nikhil_dev k.nikhil at verchaska.com
Tue Feb 12 05:53:42 EST 2008


package com.vtech.fareengine.module.rulemanagermodule
import com.vtech.fareengine.module.rulemanagermodule.Bean.ApplyRuleBean;
rule  "Rule_decimal_1"
dialect "java"
when 
        $a : ApplyRuleBean()  
         m : ApplyRuleBean ( ($a.ChildFare + $a.InfantFare) > adultFare )
then 
         $a.GrossFare = ($a.ChildFare * 500);
end
sourceDRL :: java.io.StringReader at e2bc8d[7,36]: unknown:7:36 Unexpected
token '+'
java.lang.RuntimeException: Unable to compile drl
-- 
View this message in context: http://www.nabble.com/Arithmetic-operator-in-Condition-part-%28Argent-help.....%29-tp15430904p15430904.html
Sent from the drools - user mailing list archive at Nabble.com.




More information about the rules-users mailing list