[rules-users] Multiple Action
Cabou, Carl
Carl.Cabou at prima-solutions.com
Thu May 8 15:31:16 EDT 2008
All
I'm trying set up multiple action in a decision table.
RuleTable setCalculateRate
CONDITION
ACTION
ACTION
myData:CalcData
myData
comboboxPPTAL1 == "$1"
setCalculatedRate("$1")
setCalculatedPremium( myData.getTotalUnits() * $1 )
Radius input
Calculated Rate
Calculated Rate
A
18
18
B
50
50
C
100
100
But validation fails with :
unknown:1:9 mismatched token '[@2,9:9='<',<79>,1:9]' expecting set null
unknown:1:33 mismatched token: [@8,33:33='<',<79>,1:33]; expecting type
RIGHT_PAREN
Any help would be appreciated.
Carl.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080508/74ef66d4/attachment.html
More information about the rules-users
mailing list