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

How to update a column in a Document Library after an approval

I have set up a document library called Test Library.

 

When I drop a file in it, a flow is fired to send an email to an approver. The approver approves or rejects and the decision is captured properly in the Approval Status column. That all works.

 

I now need to capture the name of the approver and the timestamp for the approval in two new columns I set up which I have named  Date Approval Status and Name of Approver.

 

I have tried using Update Item as below. This captures the Date Approval Status and Name of Approver so it tells me the link is being made to the document library but it doesn't seem to write into the column. What am I doing wrong?Annotation 2019-10-31 114028.jpg

 
 
3 REPLIES 3
Community Support Team
Community Support Team

Re: How to update a column in a Document Library after an approval

Hi @Olivier_Defaux,

 

Do you add the Etag into the Set content Approval Status action? If not, you should add the Get file metadata to extract the Etag, and then put it into the action.Annotation 2019-11-01 105445.png

What's the error message report when you update item? It same like Name of Approver is a choice type column?

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Olivier_Defaux
Level: Powered On

Re: How to update a column in a Document Library after an approval

Thanks. I figured out it was all working well but the Condition was firing wrong.  

 

Once I fixed that I could write into the column.

Community Support Team
Community Support Team

Re: How to update a column in a Document Library after an approval

Hi @Olivier_Defaux,

 

Could you share the screenshot of error?

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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,759)