Rule

◷ 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&#xD;&#xA;(kg)" expression="parcel weight &gt; $value" />
        <Condition name="Maximum Weight&#xD;&#xA;(kg)" expression="parcel weight &lt;= $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>
    

    Updated on December 5, 2025

    Was this article helpful?

    Related Articles