◷ Reading Time: 1 minute
DecisionTable
Main Decision Table body that contains its definition
Summary
This is the main container to define a Decision Table. This element in general is grouped into three sections:
- Declaration of Input, Output, and Import
- Definition of Columns
- Data for the Decision Table
Parameters
- name
- Description: The name of a decision
- Mandatory: Yes
- Type: Any value (String)
- type
- Description: Description: Type of engine to be used
- Mandatory: No
- Type: Validation, Decision
- processAll
- Description: If true all the rows in the decision table will be executed
- Mandatory: No
- Type: Boolean (true/false)
- multiHitPolicy
- Description: Manages how multiple results can be ordered
- Mandatory: No
- Values: None, OutputOrder, RuleOrder
- aggregation
- Description: Aggregates multiple results into one using a function
- Mandatory: No
- Values: Collect, Sum, Min, Max, Count, Average
- function
- Description: Defines an expression that will be evaluated after Decision Table execution is finished
- Mandatory: No
- Values: An Expression
Internal Commands
Declaration
This is command is used to define decision Parameters.
Columns This command defines Name, Condition and Action of rules template within a decision
Data
This section defines the values of rules based on a template that is defined in Columns.
Sample
<DecisionTable name="Define potential occupant injury rating" processAll="False">
</DecisionTable>