I created a Power Automate flow to delete files every 5 minutes from a subfolder in a document library. It runs successfully but does not delete any file. Below are the two flows that I tested, none of them work. Please tell me what needs to be corrected here:
-
When Flow runs successfully, are you getting correct file array in output of "Filter Array" action? Check run history for previous flow run. – Ganesh Sanap Jan 29 '20 at 2:42
-
If it runs without errors, but nothing is deleted, most likely problem source is either in your GetFiles action or Filter array, that results in a zero length set of files to process. When you check the outputs of those steps in history, what do you see? – willman Jan 29 '20 at 3:36
The solution is to use 'List Folder' action: