cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
officerNugget
New Member

How to configure "update file properties"?

I have currently a functioning approval flow implemented in Sharepoint. Approval can be sent to one or more people in the company. However, I would like to include in the flow that once approval is done, the sharepoint list column "Approved by" is automatically updated for the item.

This works great if the approval is done by one person. But if the file is to be approved by several person, the field is automatically updated only with the person who first approved the file.

Any ideas how to configure the flow so that the properties for "Approved by" are updated with all the people the approval was sent to?

1 ACCEPTED SOLUTION

Accepted Solutions
v-liwei-msft
Microsoft
Microsoft

Hi @officerNugget ,

 

The reason for this problem is that when the name of the approver is obtained, the flow will add apply to each to traverse the approval responses.

Each time the traversal is performed, the update item will be run once, so the result can only return the name of one approver. 

A string variable can be created to hold the approver name, and each time apply to each is traversed, the Append to string variable adds an approver name to the string. 

 

vliweimsft_0-1655459140982.png

 

 

Best Regards,

View solution in original post

1 REPLY 1
v-liwei-msft
Microsoft
Microsoft

Hi @officerNugget ,

 

The reason for this problem is that when the name of the approver is obtained, the flow will add apply to each to traverse the approval responses.

Each time the traversal is performed, the update item will be run once, so the result can only return the name of one approver. 

A string variable can be created to hold the approver name, and each time apply to each is traversed, the Append to string variable adds an approver name to the string. 

 

vliweimsft_0-1655459140982.png

 

 

Best Regards,

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (3,239)