Description:
This step evaluates a sentence with a DB value for a “MATCH” or "NO MATCH".
Inputs
- tableName – Decision DB table name
- searchText – Search text
- 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 “evalKeywordDBDecisionTableDef” example.
- Create a new process definition called “evalKeywordDBDecisionTableDef” and open the definition in designer mode.
- Drag an “evalKeywordDBDecisionTable” step to the canvas.
- Connect the dots between the “Start” and “evalKeywordDBDecisionTable” steps, as shown above.
- Define a variable or a global to store the result.
- Click the "evalKeywordDBDecisionTable" step to configure its "Required" properties. Provide a name for the step. Provide a table name for the decision evaluation. Provide a search text. Provide the input column where the search text is used. Click the button to map the DB output columns. 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 DB output columns. Click the Add Row (+) button to insert an empty row. Provide the output DB column and variable or global reference to be mapped. Click the Save button. You may use the Add Row button to insert multiple DB output columns and variable references.

- Click the "evalKeywordDBDecisionTable" step to configure its "Advanced" 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 variable or global reference to be mapped 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.

- 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. Render the process instance. Click the process step to view its properties. The step should evaluate a sentence with a DB value for a “MATCH” or “NO MATCH”. Below, the step properties show the values for an evaluated “MATCH”.

- Configure the process step for a no-match evaluation. Save the process definition, create a new instance, and then execute it. Render the process instance. Click on the process step to view its properties. The step should evaluate a sentence with a DB value for a “MATCH” or “NO MATCH”. Below, the step properties show the values for an evaluated “NO MATCH”.

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.
Click here to download the sample file.