I have an approval flow that issues an email to approve a file when created in one folder, once approved moves the file to another folder by creating a new file and deleting the old file. The issue is that new file is unreadable / corrupt. Am I using the wrong action to move the file? Is there a better way to move a file after approval?
Please post a screen shot of your Flow - that way we can assist.
Which cloud storage account are you using? How is your flow created? Which action are you using to move the file?
I created a flow based on OneDrive for Business, please take it for a reference.
I used Copy file and Delete file action under the If Yes branch, Copy file action will move the file to another folder and Delete file action will delete the old file. This flow works fine on my side and the new file can be checked without corruption.
Please feel free reply if you need more help.
I managed to get the flow working based on a new 'copy and delete file' flow rather than a 'create and delete' flow.
Issue I now have is how to avoid having to many folders each with a flow for contractors who upload invoices to SharePoint site. I need for contractors to upload to the same folder but only see their own files. A question for another forum....
Check out the on demand sessions that are available now!
ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.
See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.