Description:
This step adds involved users and roles to a FlowWright business item.
The Add Involved Users and Roles workflow step associates selected users and/or roles with a specified FlowWright item. Depending on the selected item type, the configured users and roles become involved participants who can view, monitor, or participate in activities related to that item.
The item is identified by its item type and unique item ID, allowing workflows to dynamically assign participants to process instances, tasks, forms, or other supported FlowWright objects.
This step efficiently automates participant assignment in workflow routing, project collaboration, approval processes, case management, or business process automation scenarios.
The step supports:
- Assignment of involved users
- Assignment of involved roles
- Selection of supported FlowWright item types
- Dynamic item identification using an Item ID
- Integration with FlowWright workflow objects
- Automated participant management
This step can be used for:
- Workflow collaboration
- Case management
- Process participation
- Task visibility
- Approval workflows
- Project coordination
- Business process automation
Inputs
- itemType – Select the FlowWright item type to which involved users and roles will be added.
- itemId – Enter the unique identifier of the selected item.
- selectUsers – Select one or more users to associate with the item.
- selectRoles – Select one or more roles to associate with the item.
Note: Select at least one user or role to create meaningful participant assignments.
Returns
- True – The involved users and/or roles were successfully added.
- False – The users and/or roles could not be added.
Usage:
Place the Add Involved Users and Roles step after creating or locating a business item and before collaboration, approvals, notifications, or participant-based workflow activities.
The workflow identifies the specified item and associates the configured users and roles with it, allowing them to participate in or monitor subsequent workflow activities.
A typical workflow might look like this:

Once the involved users and roles have been added, later workflow steps can:
- Create user tasks
- Send workflow notifications
- Route approvals
- Generate reports
- Track participant activity
- Audit workflow involvement
- Continue business process execution
The selected item must already exist in FlowWright before you execute this step.
Example:
Let’s build and execute the “addInvolvedUsersDef” example:
- Create a new process definition named “addInvolvedUsersDef” and open it in designer mode.
- Drag an “InstantiateForm, AddInvolvedUsers, routeForm” step to the canvas.
- Connect the dots between the “Start” and the other steps, 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 options.
- Click the "InstantiateForm" step to configure its "Required" properties. Select a form definition from the drop-down list. Provide a variable or global variable reference to store the new form instance ID. Click the Save button. Note: Click the "AI Predict" button to have Copilot add new process steps that match your process description.

- Click the "addInvolvedUsers" step to configure its "Required" properties. Provide a name for the step. Select the item type (Process Instance or Form Instance) from the drop-down list. Enter the variable reference or the GUID value for the itemid. Click the Save button. Note: Click the "AI Predict" button to have Copilot add new process steps that match your process description.

- To involve users with a Form Instance, you can initiate a process with a form submission OR instantiate a new form instance, as shown in this example. Select the item type to “Form Instance” and set the item ID to the variable or global containing the Form Instance ID. The step configuration is shown below.

- Click the "addInvolvedUsers" step to configure its "Optional" properties. Click the button to set the involved users and roles. Click the Save button to confirm the changes.

- Click the button to configure the Users. A pop-up window appears for configuration. Select the active FlowWright users from the list in the left pane, then use the arrow buttons in the right pane to add or remove users. Click the Save button.

- Click the button to configure the Application Role Users. A pop-up window appears for configuration. Select the application role users from the list in the left pane, and use the arrow buttons to add or remove users in the right pane. Click the Save button.

- The “Logging” configuration is necessary for documentation and also measures workflow progress and completion percentage. Configure the step state and percent fields individually, as shown in the images below. Configure the “Logging” using the following properties.

- Click the "routeForm" step to configure its "Required" properties. Provide a name for the step and the task name. Select the Form Definition from the drop-down list. Provide the variable or global for the Form Variable reference to hold the Form Instance ID. Click the Save button. Note: Click the "AI Predict" button to have Copilot add new process steps that match your process description.

- Click the "routeForm" step to configure its "Optional" properties. Enter the task description. Click the button to configure the users who receive the Form. A pop-up window appears for configuration. In the left pane, search for and select the user. Use the arrow keys to select or deselect users in the right pane. Click the Save button.

- Save the Process Definition. Create a new Process Instance and execute it. When the workflow reaches the Add Involved Users and Roles step, FlowWright locates the specified item using the configured Item Type and Item ID. If the operation completes successfully, the workflow associates the selected users and/or roles with the item and follows the True return path. If the item cannot be found, the Item ID is invalid, the selected users or roles cannot be resolved, or the executing user lacks permission to modify the item's participant list, the workflow follows the False return path. Click the process step to view its properties. The step should successfully add the selected users and/or roles and return True upon completion. Verify that the selected participants appear in the item's involved users list.

- On the process instance page, select the Items - Users menu option. The task is assigned to the Task Owner (Regular User in this example), as well as to the involved users and application role users, as configured in the “addInvolvedUsers” step. Note: Involved users can view the Form Instance but cannot complete the task. Access to the Form Instance is limited to the Administrator, Process Initiator, Task Owner, and Involved Users (now extended by a new process step).

- On the Form Instances page, select the form instance created by this workflow. Select the View - Involved Users menu option. The pop-up window displays the list of involved users, as shown in the image below.

Tips:
- Verify that the specified Item ID references an existing FlowWright item.
- Ensure that the selected Item Type matches the provided Item ID.
- Add only users and roles that require visibility or participation in the workflow.
- Use workflow variables to populate the Item ID dynamically at runtime.
- Assign roles instead of individual users when responsibility may change over time.
- Use the True and False return paths to implement appropriate success and error handling.
- Combine this step with the Create Task, Send Email, Add Comments, Update Variables, or Notification workflow steps to automate participant management and collaboration.
Notes:
- The selected FlowWright item must already exist before this step executes.
- The executing user must have sufficient permissions to modify the involved users and roles.
- Both users and roles are optional, but you should normally specify at least one participant.
- Invalid Item IDs or unsupported item types may cause the step to return False.
- Adding involved users does not automatically assign workflow tasks unless subsequent workflow activities create those assignments.
- The workflow should include appropriate error handling for the False return path.
- Participant assignments should follow your organization's security and workflow governance policies.
Definition Sample:
You may download the sample definition(s) from the link provided and later import them (drag-and-drop) into your FlowWright Process Definition (XML file) or Form Definition (HTML file) page.
Note: Verify and complete any missing configuration after importing the sample, including:
- Item Type selection
- Item ID mapping
- User selection
- Role selection
- Workflow variable mappings
- Security permissions
- Environment-specific settings
After verifying the configuration, save the Process Definition before execution.
Click here to download the sample file.