Use Case - Update Approvers on Change Request

<< Click to Display Table of Contents >>

Navigation:  NITRO™ Workflows > Workflow Use Cases >

Use Case - Update Approvers on Change Request

Workflow Use Case

Updating Approver for a Change Request

 

Description

This workflow retrieves Approvers from each item of the ‘Change Requests Approval Tasks‘ list and updates all the approvers into a multi-user field (Approver) in the ‘Change Requests’ list.

 

Workflow

First, create a workflow on the ‘Change Requests’ list Item creation event.

 Workflow image usecase 3

Action Settings:

 Action Settin usecase 3

 

Action 1: GetAllApproverItems (Query List Action)

Add a ‘Query List’ Action to get items from the ‘Change Requests Approval Tasks’ list as shown below:

         Query action usecase3

 

 

For more information about the Query List Action go to Query List.

 

Action 2 : Update Approvers in Change Requests (Update Item Action)

Add an ‘Update Item’ action to update the ‘Approver’ field with all approvers using ‘$variablecollection’ function as shown in the picture below.

 Update Item Usecase 3

 

'Approver' Column Mapping with expression builder:

         Expressiob builder usecase3

 

Syntax for 'Approver' column mapping without expression builder: GetAllApproverItems##$variablecollection(;#,[Assigned To|AssignedTo])

 Online and Onprem syntax for Variable Collection function without expression builder:

         SharePoint Online: $variablecollection(separator,[ColumnDisplayName|ColumnInternalName])

         SharePoint On-Premises: $variablecollection([ColumnDisplayName|ColumnInternalName],separator)