cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Dusty
Level: Powered On

When a Flow Approval is Reassigned - Update the corresponding sharepoint list field.

Hello everyone! 

I am attempting to create an approval flow that automatically updates Sharepoint document libray fields based on the results of the approval. 

 

So far I have an approval flow that looks like this: 

1. When a new item is created (Sharepoint document library)

2.Delay (2 minutes- to allow all fields to popualte before referencing them in the next step)

3. Start an approval (This assigns the approval based on a field in the sharepoint list)

4. If Approved/Rejected, update file properties to change the "Status" field of the corresponding file to Approved/Rejected and also update the "Comments" field based on any comments that the approver entered.

 

This flow works great. However, when an approver REASSIGNS an approval to another user, I would like to update the corresponding Sharepoint field with then new approver's email address. 

 

Any ideas on this would be greatly appreciated. 

 

Thanks,

 

-Dusty

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-zhos-msft
Level 10

Re: When a Flow Approval is Reassigned - Update the corresponding sharepoint list field.

Hi @Dusty ,

I am afraid that there is no way to achieve your needs in Microsoft Flow currently.

As you said, you want to get the approver before the approval is completed.

If the approval action not completed, the flow will not continue the below actions.

So you can't update the item.

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
Highlighted
v-zhos-msft
Level 10

Re: When a Flow Approval is Reassigned - Update the corresponding sharepoint list field.

Hi @Dusty ,

As you said, you want to update the corresponding Sharepoint field with the new approver's email address. 

I have made a test on my side, please take a try with the following workaround:

Capture2.PNGCapture1.PNG

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Dusty
Level: Powered On

Re: When a Flow Approval is Reassigned - Update the corresponding sharepoint list field.

Thanks for your reply @v-zhos-msft ! 

 

Your solution does work to successfully update the approver's email address AFTER the item is either approved or rejected. 

 

My intent is to use the sharepoint document library as the primary place that the users will go to view and approve documents with Flow adding some extra convenience by allowing users to quickly approve from thier Outlook/Flow mobile app. 

 

Is there a way for me to have the Sharepoint Item updated before the approval is completed in Flow? Perhaps a parrallel action that checks the current approver every 10 minutes and sends the update to sharepoint? 

 

Also, If someone changes the "Status" of a document in the sharepoint site from 'pending' to 'approved' - Can I then have the corresponding approval that was started either canceled or updated to reflect the change made in Sharepoint? 

 

 

v-zhos-msft
Level 10

Re: When a Flow Approval is Reassigned - Update the corresponding sharepoint list field.

Hi @Dusty ,

I am afraid that there is no way to achieve your needs in Microsoft Flow currently.

As you said, you want to get the approver before the approval is completed.

If the approval action not completed, the flow will not continue the below actions.

So you can't update the item.

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

ashmon07
Level: Powered On

Re: When a Flow Approval is Reassigned - Update the corresponding sharepoint list field.

Is there a way to track the chain of custody of an approval for end users? They need the ability to hound whoever is holding up their process. I'm attempting to create a task list considering we don't have a competent workflow history for the end user to follow the approval. I need the ability to track when an approval is reassigned to someone else the minute it is reassigned. 

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,942)