evalDBDecisionTable Step

Use this step to apply the DB Decision table within a workflow process.

Last published at: January 16th, 2026

Description:

Use this step to apply the DB Decision table within a workflow process. 

 

Inputs

  • tableName – Decision DB table name
  • inputDBCol – DB Input Column
  • outputDBCols – Db Output Columns
  • defaultValues – Default values if no match is found
 

 

Returns

  • Matched – evaluation finds a match
  • NoMatch – evaluation does not find a match
 

 

 

Usage:

 

 

Example:

Let’s build and execute the “evalDBDecisionTableDef” example.          

  • Create a new process definition called “evalDBDecisionTableDef” and open it in the designer mode. 
  • Drag a “UpdateVariable, evalDBDecisionTable” step to the canvas. 
  • Connect the dots between the “Start” and other steps, as shown above.
  • Define a variable or a global to store the result.
  • Click the "UpdateVariable" step to configure its "Required" properties. Enter a step name. Click the Save button. Note: Click the "AI Predict" button to have the Copilot add new process steps that match your process description. 

 

  • Click the "UpdateVariable" step to configure its "Optional" properties. Enter a variable reference and the value to store. Select “Yes” if the value is an expression to evaluate. Click the Save button. 

 

  • Click the "evalDBDecisionTable" step to configure its "Optional" properties. Provide a name for the step and a table name for the decision evaluation. Click the button to map the DB input and output columns, then click Save. 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 DB Input columns. Click the Add Row (+) button to insert an empty row. Provide the input DB column and the variable/global reference to be mapped. Select the Contains checkbox if the value is a string to be searched within another string. Click the Save button. You may use the Add Row button to insert multiple DB input columns and variable references. Click the Save button. 

 

  • Click the button to map the DB output columns. Click the Add Row (+) button to insert an empty row. Enter the output DB column and the variable or global reference to map. Click the Save button to confirm. You may use the Add Row button to insert multiple DB output columns and variable references. Click the Save button. 

 

  • Click the "evalDBDecisionTable" step to configure its "Optional" properties. Click the button to map the DB output columns. Click the Add Row (+) button to insert an empty row. Provide the output DB column and the variable or global reference to map for no match. Click the Save button to confirm. You may use the Add Row button to insert multiple DB output columns and variable references. Click the Save button. 

 

  • The “Logging” configuration is necessary for documentation and also measures workflow progress and 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 execute it. Render the process instance. Click the process step to view its properties. The process should use the DB decision table. Below, the step properties show the values for an evaluated match.  

 

 

Definition Sample:

You may download the sample definition(s) from the link provided and later import them (drag-and-drop) into 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 the import. Then, save the definition to confirm the changes. 

Click here to download the sample file.