Description:
This step sets the Item (Task, User, Process, Form) properties.
Inputs
- itemID- Enter item id
- itemType- Select item type
- propsToSet- Properties to set (Task, User, Process, Form)
Returns
- True – step executed successfully
- False – step failed to execute
Usage:

Example:
Let’s build and execute the “clsSetPropertiesDef” example.
- Create a new process definition called “clsSetPropertiesDef”
- Select the definition and click the “design” button
- Define a variable/global to store the result
- Drag a “getWorkflowUserID” step to the canvas
- Drag a “clsSetProperties” and “clsGetProperties” step to the canvas
- Connect the dots between the Start and other steps as above
- Click the “getWorkflowUserID” step to configure its “Required” properties. Provide a name for the step. Provide the user name to fetch. Provide the variable/global to hold the user ID. Click the Save button.

- Click the “clsSetProperties” step to configure its “Required” properties. Provide a name for the step. Select the item type (User, Task, Process, Form) from the dropdown list. Provide the variable/global reference which contains the appropriate GUID reference value. Click the “Properties to set” button. A popup window is displayed for configuration. Click the Add Row button to insert an empty row. Provide the property name and value. Click the Save button. You may set multiple properties by using the Add Row button.

- Click the “clsGetProperties” step to configure its “Required” properties. Provide a name for the step. Select the item type (User, Task, Process, Form) from the dropdown list. Provide the variable/global reference which contains the appropriate GUID reference value. Click the “Properties to get” button. A popup window is displayed for configuration. Click the Add Row button to insert an empty row. Provide the property name value. Click the Save button. You may get multiple property values using the Add Row button.

- 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 instance, and execute. The process is completed without human intervention. Render the process instance to check the step properties. The “clsSetProperties” step should configure Item (Task, User, Process, Form) properties.
Definition Sample:
You may download the sample definition(s) from the link here and later import it (drag-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.