Description:
This step uses a decision table in the workflow.
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 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 definition called “evalDecisionTableDef”
- Select the definition and click the “design” button
- Drag an “evalDecisionTable” step to the canvas
- Connect the dots between the Start and “evalDecisionTable” step
- Define variable/global to store input and output values
- Click the "evalDecisionTable" step to configure its "Required" properties. Provide a name to the step. Select a decision table from the drop-down list. Click the button to map the variable/global to inputs and outputs.

- Click the button to map the variable/global to inputs and outputs. A popup window is displayed for configuration. Provide the variable/global values. Click the Save button.

- Click the "evalDecisionTable" step to configure its "Optional" properties. Select “On” to return all valid matches for 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 in the images below. Configure the “Logging” using the following properties.

- Save the process definition, create a new instance, and execute. 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

Definition Sample:
You may download the sample definition(s) from the link here and later import it (drag-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.