Set lookup data value

Use this step to update a Lookup Data list value.

Last published at: September 1st, 2023

clsSetLookUpData Step

Description:

This step updates a Lookup Data list value.

Inputs

  • Category—Lookup category
  • text—Lookup item text
  • value—Lookup item value
 

 

Returns

  • True – step executed successfully
  • False – step failed to execute
 

 

Usage:

 

clsSetLookUpData step requires the FlowWright Lookup Data pre-configured. Navigate to Create - Lookup Data page to create a list. Here, a lookup data list is included for reference. 

 

Example:

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

  • Create a new definition called “clsSetLookupDataDef”
  • Select the definition and click the “design” button
  • Drag a "clsSetLookUpData" step to the canvas
  • Connect the dots between the start and "clsSetLookUpData" step
  • Click on the "clsSetLookUpData" step to configure its “Settings” properties. Provide a name to the step. Provide the lookup item text value which matches the Lookup Data list. 
  • Click on the "clsSetLookUpData" step to configure its “Advanced” properties. Provide the lookup category. Provide the lookup item value to be updated. Provide the lookup item filter. 
  • The “Logging” setting configuration is necessary for documentation and also measure the workflow progress and the percent complete. This is acheived 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 process instance and execute. Render the process instance. Click on the process step to view the properties. The step should set/update the lookup data value as configured.