[rules-users] Multiple Action

Irving Reid irving at cfrq.net
Sun May 11 15:44:54 EDT 2008


You need to put a semicolon ; at the end of each ACTION statement.

 

 - irving -

 

From: rules-users-bounces at lists.jboss.org [mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Cabou, Carl
Sent: Thursday, May 08, 2008 3:31 PM
To: Rules Users List
Subject: [rules-users] Multiple Action

 

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/20080511/ea528b77/attachment.html 


More information about the rules-users mailing list