Let us update our previous flow to include parallel approvals.
Check other posts on Approvals – https://nishantrana.me/2020/08/31/approvals-power-automate-dynamics-365/
The difference between Approve / Reject Type – Everyone must approve and parallel approvals would be that using parallel approvals we could wait for responses for all the approvers, be it approve or reject.
In case of Everyone must approve, if any of the approvers rejects, the request is considered rejected and it will not wait for other approver’s response, and for the request to be considered approved all the approver needs to approve it.
Let us add a new action Add a parallel branch after Apply to each.
Let us keep only test user 1 in the first branch and in the other branch add a Start and wait for an approval action.
We have updated both to be approval type First to respond, set Assigned to the property to test user 1 and test user 2 for the respective branches.
And also we want to evaluate the responses from both the approvers before taking further action, so we have deleted the condition action from the first branch.
Let us add a new Condition action, with 2 AND conditions, i.e. if the first user approves and the second user rejects which corresponds to the respective Start and wait for an approval action.
Here if the condition is fulfilled we update the description of the case record.
Let us save, check, and trigger the flow.
After test user 1 has approved, we can still see the flow waiting for user 2 to respond.
The flow completes successfully after the response is received from both the approvers. Here user 2 rejects the request.
As expected, we can see the description field updated as defined in the update the record action.
Hope it helps..
3 thoughts on “Parallel Approvals – Power Automate and Dynamics 365”
In using a single approval action assigned to multiple approvers, how do you know who is pending for? I face this issue when an approver is holding up the flow. Ended up using parallel approval flow so that we can tell who is holding up.
LikeLiked by 1 person
Thanks Aik for sharing your experience ..