cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
G_S
Regular Visitor

Approval Process - multiple approvals required

Hi all,

 

I am trying to create an Approval process using flow that sends documents simultaneously to multiple approvers once the Document Approvers column is updated.

 

So far I have created a SharePoint Document library, added a Document Approvers column that allows multiple people or groups.

Following this I have created a flow using trigger “when a file is created or modified (properties only), initialized, composed and set the document approvers variable, added a condition if Document Approvers does not contain and left the value cell blank. Then start an approval based on this with the approval updating the content status to approve or reject based on the approver’s response.

It says my flow has “succeeded”. However I’m not sure this is accurate as the Document Approvers assigned never receive the email requesting approval.

Was hoping someone can help with the above or advise if there’s a better (or easier) way to achieve this?

 

If possible, I'd also like to incorporate an approval reminder. However this would be a nice to have 


Thanks in advance!

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-yuazh-msft
Community Support
Community Support

Hi @G_S,

 

I have made a test on my side and the issue is confirmed on my side.

 

Please modify the expresssion in the Condition as below:

@not(empty(triggerBody()?['Document_x0020_Approvers']))

 

And the screenshot of the flow should as below:

Capture.PNG

 

The condition would run successfully as below:

Capture.PNG

 

 

 

Best regards,

Alice

View solution in original post

4 REPLIES 4
v-yuazh-msft
Community Support
Community Support

Hi @G_S,

 

Could you please share a screenshot of the configuration of your flow?

 

I have made a test on my side and have created a flow as below:

Capture.PNG

The expression in the Condition as below:

@greater(length(triggerBody()?['approvers']), 0)

 

The flow would run successfully as below:

Capture.PNG

 

 

 

Best regards,

Alice

Thanks Alice. 

I made the changes following your post.Just with one amendment; "Document Approvers" was used instead of "Approvers" as this is the culumn name. However I get an error. 

Error.jpgFlow.jpg

v-yuazh-msft
Community Support
Community Support

Hi @G_S,

 

I have made a test on my side and the issue is confirmed on my side.

 

Please modify the expresssion in the Condition as below:

@not(empty(triggerBody()?['Document_x0020_Approvers']))

 

And the screenshot of the flow should as below:

Capture.PNG

 

The condition would run successfully as below:

Capture.PNG

 

 

 

Best regards,

Alice

View solution in original post

It worked - thanks Alice! 

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (1,419)