clsGetDetailProperties Step

Use this step to get item detail properties.

Last published at: September 16th, 2024

Description:

Get item detail properties. 

 

Inputs

  • itemID- Enter item id
  • itemType- Select item type
  • propsToGet- Detail properties to get 
 

 

Returns

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

 

Usage:

 

 

Example:

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

  • Create a new definition called “clsGetDetailPropertiesDef”
  • Select the definition and click the “design” button
  • Drag a "clsGetDetailProperties" step to the canvas
  • Connect the dots between the start and "clsGetDetailProperties" step
  • Define a variable/global to store the result after execution
  • Click the "clsGetDetailProperties" step to configure its "Settings" properties. Provide a name to the step. Provide the item GUID value. Select the item type (task, user, workflow definition, workflow instance, form definition, form instance). 

 

  • Click the "clsGetDetailProperties" step to configure its "Settings" properties. Click on the button to configure detail properties to get. Provide the column name (property name) from the deUserDetails table. Provide the variable/global to store the result after execution. 

 

  • 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 process instance, and execute.  The process step should get item detail properties and store them in variable/global as configured. 

 

Definition Sample:

You may download the sample definition from the link here and later import it (drag-drop) to your FlowWright Process (XML) and Form Definition (HTML) page. After import, you must verify the process steps and complete the database configuration, if any. 

 

https://github.com/FlowWrightCode/FW10Steps/blob/main/clsGetDetailPropertiesDef.xml