I've been trying to crack through this flow for a bit now and it keeps throwing all kinds of different errors no matter which way I've tried. I've attempted conditional True/False checks on last modified file dates, now trying to get a filter array to do the job (which has gotten me the furthest so far).
The goal is to get an automatic archive function setup so that every three months it checks a folder for any files that are older than 730 days (two years), and moves them over to an archive folder.
I keep getting to the move function and it kicks back telling me it "can't find the file", despite identifying it in the code, but failing when it goes to move it.
createArray(outputs('Get_files_(properties_only)')?['LastModified'])
addDays(utcNow(), -730)
The "For Each" is set to (SP) body/value
The Move file-copy is this:
So what am I missing? How do I get this to run?