How to add previous comment to the newly created file in Power Automate Cloud Flow
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.
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.
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?
Is there a way to set or update a sharepoint item/file's comment?