evalDecisionTable Step
Description:
This step uses a decision table in the process.
Inputs
- decisionID – select decision table
- variableMapping – Mapping of variables/globals to inputs and outputs
- returnMultipleOutputs – Return all valid matches
Returns
- Matched – Step executed successfully, and input conditions matched
- NoMatch –Step failed, or Mapped inputs are not matched with the given input conditions
Usage:

To use this step, we must configure the decision table using the FlowWright decision configuration. To do this, navigate to the Manage Config—Decision Tables page. Click the Actions - Create menu option. Provide a new name to create the decision table.

Use the Add sign (+) to add Input and Output columns. Provide meaningful names to the columns. Use the Add sign (+) to insert empty rows into the decision table. Provide the input and output values as below. Click the Save button. You may add multiple input and output values using the Add sign.
A sample decision table is included below.

Example:
Let’s build and execute the “evalDecisionTableDef” example.
- Create a new process definition called “evalDecisionTableDef” and open the definition in designer mode.
- Drag an “evalDecisionTable” step to the canvas.
- Connect the dots between the “Start” step and “evalDecisionTable” steps, as shown above.
- Define a variable or a global to store input and output values.
- Click the "evalDecisionTable" step to configure its "Required" properties. Provide a name for the step. Select a decision table from the drop-down list. Click the button to map the variable or global to inputs and outputs. Click the Save button. Note: Click the "AI Predict" button for the Copilot to add new process steps that match your process description.

- Click the button to map the variable or global references to inputs and outputs. A pop-up window is displayed for configuration. Provide the variable or global values. Click the Save button.

- Click the "evalDecisionTable" step to configure its "Optional" properties. Select “On” to return all valid matches for the search. Select “On” to use only the columns provided for input. Click the Save button.

- The “Logging” setting configuration is necessary for documentation and also measures the workflow progress and the percent complete. This is achieved by configuring the step state and percent fields individually, as shown below. Configure the “Logging” using the following properties.

- Save the process definition, create a new instance, and then execute it. The step should evaluate the decision table and return the results.

After Execution:
- Select the process instance and render to view

- Click the “Decision Table” step to view the properties page.

- Check execution information if “step Return value” is “Matched,” then click the Matched to redirect the render decision table. The Matched Row is highlighted as shown below.

Definition Sample:
You may download the sample definition(s) from the link here and later import them (drag-and-drop) to your FlowWright Process Definition (XML file) or Form Definition (HTML file) page.
Note: Please verify and complete the process steps for any missing configurations, such as file path references and database connections, after import. Then, save the definition to confirm the changes.