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