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
Community Champion
Community Champion

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Users online (2,384)