I have built a canvas app with parallel approval in place. I am using Power Automate to just send email notifications.
Rest all approval actions and status update i am handling via powerapps. The approval diagram looks similar to below.
I have handled 1st two sequential actions without any issues. While handling parallel actions, I have sent out email notifications to all Owners (i.e. Sandra, Chris, Peter) successfully via flow.
The status at step 3 is Pending Owner Approval and at step 4 is Pending Vendor Approval.
May i know how to determine whether all 3 owners have approved so that i can amend the status to Pending Vendor Approval? Since its parallel actions, any owner can approve first.
Step 3 i.e. Owner approval is a gallery with Items property as the choice column (multiselect)
Gallery Items Property
ThisItem.'List of data distributed (Choice)'
Gallery Label
LookUp('Approver List',Title=ThisItem.Value,Approver.DisplayName)
Approve Button OnSelect
If(
LookUp(
DS,
ID = varapproveID,
'Status of request'
) = "Pending Level2 Approval",
Patch(
DS,
LookUp(
DS,
ID = varapproveID
),
{
'Status of request': "Pending Approval from Owner",
APPROVED_DATE: Now()
}
)
);