After designing a decision table, you can test its behavior by providing sample input values and verifying the resulting outputs. Simulation helps validate business rules before the decision table is used in a process.
To simulate a decision table:
- Open the decision table.
- Locate the Properties pane on the right.
- Enter test values in the Inputs section. The input names are named after the input columns from the decision table.
- Select Simulate.
- Review the generated outputs and the rules that were satisfied.
The simulation results are displayed in the outputs section of the decision table.
Note: Decision tables can also be simulated programmatically through
the API. The simulation request accepts the table definition as an XML file, decision
table name, and test input values in JSON format. The API evaluates the supplied inputs
against the decision table rules and returns the resulting outputs as JSON.