Select and Act on Multiple Work Items Using the Enable Multi Select option
- Last UpdatedJun 25, 2024
- 2 minute read
In the following example, we demonstrate the use of the Enable Multi Select option in the Inbox, by selecting multiple work items related to Invoke Form Activity and acting on them from the inbox.
-
Create a Leave Request form, with From and To fields using Date control and and a Comments field using the Text control.
-
Create a Manager Approval form with a Comments field using Text control.
Note: Ensure that the XML Node property details of the Text control (Comments field) is the same in the Leave Request and Manager Approval forms.
-
Create a workflow, with an Invoke Form Activity. Name the workflow as Leave Manager.
-
Modify the activity properties of the Invoke Form Activity as follows:
-
Set the Form Name property to the Leave Request form.
-
Select Input Instance XML as SFFormData.
-
Set the Form to be opened on work item multi-select to Manager Approval form.
-
Select Output Instance XML as SFFormData.
-
-
In Fill Form, click Leave Request.The Leave Request form opens. Select the From and To date and click Finish.
The first leave request gets submitted.
-
Repeat step 5 to create multiple leave requests.
-
In Inbox, click the Enable Multi Select option.
Check boxes appear under Workflows, indicating that the Enable Multi Select option is enabled.
-
Right-click on a workflow and select Select all similar items.
All the similar workflows get selected and the Manager Approval form opens.
-
Type your comments and click Finish.
-
All the selected leave requests are removed from Fill Form and their output instance XML gets updated with the common comments given in the Manager Approval form.