Hi Folks!
I have a flow that will delete a file once downloaded. I already added a delay of 3 minutes but still failed due to file is open.
Is there a time frame before it close automatically?
To add, the first flow is actually copying an excel, insert a data, download via PowerApps then delete flow will be trigger.
Hi @v-chengfen-msft,
Thanks for this solution. Though the delay is a little time-consuming, it works. I wonder if there is a workaround such as "force delete" flow or using check-out/in to officially close the file? Thanks.
Hi @philifova
The reason for this problem is:
1. The file is locked for shared use, so you cannot run the process to delete the file.
Here is a test for your reference:
Set 【Delay】 Configure run after
Here are some links for your reference:
Locked file checking pattern in Power Automate • Tomasz Poszytek, Business Applications MVP
Hope it can help you.
Best Regards
Cheng Feng