◷ Reading Time: 1 minute
Internal Commands
Data
Row
Value
Sample
<DecisionTable name="Calculator" processAll="False">
<Declaration>
<Define name="parcel weight" type="decimal" direction="In" />
<Define name="delivery cost" type="decimal" direction="Out" />
</Declaration>
<Columns>
<Condition name="Minimum Weight
(kg)" expression="parcel weight > $value" />
<Condition name="Maximum Weight
(kg)" expression="parcel weight <= $value" />
<Action name="Delivery Cost" expression="delivery cost" />
</Columns>
<Data>
<Row>
<Value>0</Value>
<Value>22</Value>
<Value>300</Value>
</Row>
<Row>
<Value>22</Value>
<Value>50</Value>
<Value>550</Value>
</Row>
<Row>
<Value>50</Value>
<Value>110</Value>
<Value>1200</Value>
</Row>
<Row>
<Value>110</Value>
<Value></Value>
<Value>2000</Value>
</Row>
</Data>
</DecisionTable>