cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Community Support
Community Support

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.

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.

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
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (1,875)