Hello,
I am working on a flow that looks into a sharepoint site documents, iterate through all folders and subfolders to get me the files that last modified 2+months ago.
Attached is the flow I built, seems to be working fine on small sites, but I have a site that contains around 1TB of data and 5000+ files, the flow keeps running indefinitely, left it for 40 hours last time with no luck, had to cancel it.
Any idea ? Attached is the flow.
I am using this when comparing in the condition:
formateDateTime(addToTime(utcNow(), -2,'Month'),'yyy-MM')