Skip to main content

Notifications

Power Automate - Building Flows
Unanswered

SharePoint File From Folder to Folder Transfer

Posted on 27 Nov 2024 22:30:40 by
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?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,137

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,813

Leaderboard