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

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
Highlighted
Community Support
Community Support

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.

Highlighted
Regular Visitor

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.

Highlighted
Community Support
Community Support

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
secondImage

August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

thirdimage

Power Automate Community User Group Member Badge

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

Top Solution Authors
Top Kudoed Authors
Users online (3,707)