CallDecisionTable

◷ Reading Time: 1 minute

CallDecisionTable

This is an integration point between different engines and Decision Table definitions. When other rules require calls to a Decision Table they can use this command.

All output parameters of a decision will automatically be copied on the parent context.

Parameters

  1. contextMode
    1. Description: Set context behaviour to call to other rules and logic. If set to Shared, the current context will be used for the target rule. Otherwise a new one is created.
    2. Mandatory: Yes
    3. Type: String (Shared/New)

Internal Commands

DecisionTableSource

  1. uri
    1. Description: Where is the source of the external DecisionTable to be run?
    2. Mandatory: Yes
    3. Type: Physical file or RuleSet address

Sample

DecisionTable integrated into a Flow.

<Activity name="ActivityD">
  <CallDecisionTable contextMode="New">
    <DecisionTableSource uri="AgeTitle.xml" />
    <Param name="person" ref="person"/>
  </CallDecisionTable>
  <Transition name="tr6" to="end"/>
</Activity>

DecisionTable integrated into a Procedure.

<CallDecisionTable contextMode="Shared">
  <DecisionTableSource uri="AgeTitle.xml"/>
</CallDecisionTable>

Updated on November 27, 2025

Was this article helpful?

Related Articles