SetLookUpData Step

Use this feature to set a lookup data value in FlowWright by specifying a lookup category, lookup item text, lookup item value, and an optional lookup item filter.

Last published at: September 29th, 2026

Description:

The Set lookup data workflow step is a Development step used to set lookup data values within FlowWright.

The step supports:

  • Specifying a lookup category.
  • Specifying the lookup item text.
  • Specifying the lookup item value.
  • Optionally specifying a lookup item filter.
  • Using workflow Variables or Globals to provide dynamic values.
  • Continuing workflow processing based on the operation result.
  • Returning a True or False result for subsequent workflow processing.

 

Inputs

  • Lookup category - The category property specifies the lookup category associated with the lookup item.
  • Lookup item text - The text property specifies the text of the lookup item.
  • Lookup item value - The value property specifies the value associated with the lookup item.
  • Lookup item filter - The filter property specifies an optional filter associated with the lookup item.
 

 

Returns

  • True – The True return path can be connected to the next workflow activity after the lookup data operation succeeds.
  • False – The False return path can be used for error handling or an alternative workflow path.
 

 

Usage:

The Set lookup data step is typically placed after a workflow has determined the lookup information that needs to be created or updated.

A typical workflow pattern is:

Prepare Lookup Information → Set Lookup Data → Continue Processing

For example:

Get Business Data
       ↓
Prepare Lookup Values
       ↓
Set Lookup Data
       ↓
Continue Workflow
Use this step when workflow processing needs to establish lookup-related information based on values available during workflow execution.

 

 

The “clsSetLookUpData” step requires the FlowWright Lookup Data to be preconfigured. To create a list, navigate to the Manage Config—Lookup Data page. A lookup data list is provided here for reference. 

 

Typical Workflow Suggestions:

Create or Set a Status Lookup Item

Use Set lookup data to establish a lookup item representing a business status.

Example:

Prepare Status
      ↓
Set Lookup Data
      ↓
Continue Processing
Example values:
Lookup category:
Request Status

Lookup item text:
Approved

Lookup item value:
APP
The exact persistence and update behavior should be validated against the FlowWright runtime implementation.

 

Set Multiple Lookup Items

Use multiple Set lookup data steps when a workflow needs to configure several lookup entries.

Example:

Set Lookup Data
      ↓
Set Lookup Data
      ↓
Set Lookup Data
      ↓
Continue
For example:
Request Status → New       → NEW
Request Status → Approved  → APP
Request Status → Rejected  → REJ
Use this approach when lookup data must be established as part of workflow initialization or configuration.

 

Set Lookup Data from Workflow Values

Use Variables or Globals to provide dynamic lookup values.

Example:

Get Workflow Data
       ↓
Build Lookup Values
       ↓
Set Lookup Data
       ↓
Continue
For example:
Category = Customer Status
Text     = {{StatusText}}
Value    = {{StatusCode}}
The XML defines all four inputs as strings, making them suitable for values supplied through workflow configuration where supported.

 

Use the step when workflow processing needs to establish lookup information associated with customer-related data.

Example:

Get Customer Information
        ↓
Prepare Lookup Data
        ↓
Set Lookup Data
        ↓
Continue Customer Processing
For example:
Lookup category:
Customer Type

Lookup item text:
Enterprise

Lookup item value:
ENT

 

Set Department or Organizational Lookup Data

Use lookup data to represent organizational values determined by workflow processing.

Example:

Get Department Information
         ↓
Set Lookup Data
         ↓
Continue Processing
Example:
Lookup category:
Department

Lookup item text:
Finance

Lookup item value:
FIN

 

Set Lookup Data with a Filter

Use a lookup item filter when the workflow needs to provide a filter value along with the lookup information.

Example:

Prepare Lookup Values
        ↓
Set Lookup Data
        ↓
Continue Processing
Example:
Lookup category:
Customer Status

Lookup item text:
Approved

Lookup item value:
APP

Lookup item filter:
Active
The filter is optional in the XML definition.

Confirm the exact meaning and application of the filter against the FlowWright implementation.

 

Set Lookup Data After an Approval

Use Set Lookup Data After an Approval decision when the workflow needs to establish or update lookup information.

Example:

Approval
   ↓
Approved
   ↓
Set Lookup Data
   ↓
Continue
For example, the workflow could configure an approved status lookup item after an approval activity.

 

Set Lookup Data After Form Submission

Use the step after a form has collected information that should become lookup data.

Example:

Form Submission
      ↓
Validate Data
      ↓
Set Lookup Data
      ↓
Continue Process
The form values can be used as the category, text, value, or filter where appropriate.

 

Set Lookup Data During Initialization

Use Set Lookup Data during workflow initialization when lookup information needs to be established before the main process begins.

Example:

Start
  ↓
Initialize Lookup Data
  ↓
Set Lookup Data
  ↓
Main Process
Multiple lookup entries can be configured using multiple instances of the step.

 

Build Lookup Data from External Information

Use the step after retrieving information from another system.

Example:

External Data
     ↓
Transform Values
     ↓
Set Lookup Data
     ↓
Continue Workflow
This can be useful when workflow processing receives values that need to be represented as lookup information.

 

Use Dynamic Lookup Categories

Use a Variable or Global to determine the lookup category during workflow execution.

Example:

Determine Category
       ↓
Set Lookup Data
       ↓
Continue
For example:
Lookup category:
{{LookupCategory}}

Lookup item text:
{{LookupText}}

Lookup item value:
{{LookupValue}}
The XML defines the category, text, and value properties as string inputs.

 

Handle Lookup Data Operation Failure

Use the False return path for alternate processing when the lookup data operation does not succeed.

Example:

Set Lookup Data
     ↙       ↘
  True      False
   ↓           ↓
Continue    Log / Notify /
Process     Handle Error
The step explicitly provides the False and True return paths.

 

Set Lookup Data Before Another Workflow Step Uses It

Use Set Lookup Data as a preparation step before another activity depends on the lookup information.

Example:

Prepare Data
    ↓
Set Lookup Data
    ↓
Subsequent Processing
This keeps lookup-data preparation separate from the downstream business logic.

 

Example:

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

  • Create a new process definition called “clsSetLookupDataDef” and open the definition in designer mode. 
  • Drag a "clsSetLookUpData" step to the canvas.
  • Connect the dots between the “Start” and "clsSetLookUpData" step, as shown above. 
  • Select the line between the steps to configure the “Connection Properties”. The default property values are “None, True, False, Error, and Evaluate”. Depending on the step’s purpose, you can configure additional values.
  • Click the "clsSetLookUpData" step to configure its “Required” properties. Provide a name for the step and enter the lookup item text value that matches the Lookup Data list. Then 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 "clsSetLookUpData" step to configure its “Optional” properties. Enter the lookup category, the lookup item value to update, and the filter. Then click the Save button. 

 

  • The “Logging” configuration is necessary for documentation and also measures workflow progress and percent complete. Configure 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 it. Render the process instance and click the process step to inspect its properties and execution result. When the workflow reaches the Set Lookup Data step, verify that:
    • The intended lookup category is supplied.
    • The lookup item text is supplied.
    • The lookup item value is supplied when required.
    • The lookup item filter is configured when required.
    • The workflow follows the expected True or False path.
    • The lookup data reflects the intended values after execution.

 

  • Click the process step to view its properties. The step should “set or update” the lookup data value as configured.

 

Tips:

  • Provide the required Lookup item text.
  • Provide a Lookup category when the lookup item needs to be associated with a specific category.
  • Provide Lookup item value when the lookup item requires a separate value.
  • Use Lookup item filter when filtering information is required by the workflow.
  • Use Variables or Globals for dynamic lookup values where supported.
  • Use meaningful lookup item text so the resulting lookup information is easy to understand.
  • Use consistent lookup values across related workflow definitions.
  • Test the step with representative lookup information before deployment.
  • Test both the True and False workflow paths.
  • Verify the resulting lookup information after execution.
  • Test the workflow with and without the optional category.
  • Test the workflow with and without the optional value.
  • Test the workflow with and without the optional filter.
  • Use descriptive Variables or Globals when lookup values are generated dynamically.
  • Keep lookup categories and values consistent across development, test, and production environments.
  • Avoid unnecessary hard-coded lookup values when they need to vary by environment.
  • Review existing lookup data before using the step to establish additional values.
  • Test duplicate or already-existing lookup information where applicable.
  • Verify the expected behavior when the same lookup item is configured more than once.
  • Verify the expected behavior of the optional filter.
  • Do not assume whether the operation creates a new lookup item, updates an existing item, or performs another type of lookup-data operation unless confirmed by the FlowWright implementation.
  • Do not assume the exact meaning or matching behavior of Lookup item filter without validating it in the runtime.
  • Do not assume the exact conditions that produce True or False solely from the XML definition.
  • Keep sensitive values out of workflow logging where the lookup information contains confidential data.

 

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. 

Before executing the imported definition, verify:

  • Lookup category
  • Lookup item text
  • Lookup item value
  • Lookup item filter
  • Workflow Variable references
  • Environment-specific lookup configuration
  • Downstream True workflow path
  • Downstream False workflow path
  • Expected lookup data after execution

After verifying the configuration, save the Process Definition before execution.

Click here to download the sample file.