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@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-hel...
Sent from the drools - user mailing list archive at
Nabble.com.