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

How to add previous comment to the newly created file in Power Automate Cloud Flow

Hello Everyone,

 

I'm using an approval flow for invoices. The first to responed approves or rejects the file for the current department. We have 3 approvals(Administration, Logistics and Manager) in line from different departments meaning that i need to start the approval flow again for the next department.

 

Arloth_0-1634734854358.png

 

If i move the file for the next department, approval flow doesn't work because it check's the file's status and sees that it is already approved/rejected.

 

To do so i copy the file contents, create the same file on the next department, delete the old file on previous department and this works like this up to the last department. The only thing i am missing are comments. Since for every new department the file is created new, comments are not copied. There is also not an option to set or copy comments into create file action.

 

Arloth_1-1634734975988.png

 

I found a way to update comments for sharepoint list items when i googled but it did not work for me. Is the below method works also for approval flow items or did i misstyped something?

 

Arloth_2-1634735149377.png

 

Is there a way to set or update a sharepoint item/file's comment?

1 REPLY 1
ekarim2020
Super User
Super User

Please check the syntax for the HTTP request body.

2021-10-29_22-15-52.png

At first I thought you had entered an extra double-quote character. Try moving the colon character ':' between the double-quotes. I think it should be:

{"text": "

 

See also the following posts about SharePoint List comments:

  1. Collecting List Items and Associated Comments to Display in Email
  2. Get Microsoft Lists Comments using Flow

 


Ellis
____________________________________
If I have answered your question, please mark the post as Solved.
If you like my response, please give it a Thumbs Up.

Helpful resources

Announcements
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.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (1,150)