web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Moving folders from a ...
Power Automate
Answered

Moving folders from a date

(0) ShareShare
ReportReport
Posted on by 11

Trying to get a simple folder move but having issues moving folders over 4 days old
I set a variable Date From  subDays(utcNow(), 4, 'MM-dd-yyyTHH:mm:ssZ')

Created an IF statement

TripBurton_0-1677607160867.png

TripBurton_1-1677607300420.png

 

 

But I cant get anything to move older than 4 days. What am I doing wrong?

  • Kaif_Siddique Profile Picture
    2,108 Super User 2024 Season 1 on at

    Hi @TripBurton ,

     

    Please check the first operand.

    Kaif_Siddique_1-1677612146623.png

    just remove the "> %DateForm%"and try it.

     

    If I have answered your question, please mark my post as Solved.

    If you like my response, please give it a Thumbs Up.

     

    Regards

    Kaif

  • TripBurton Profile Picture
    11 on at

    That does not work, that's how I originally had it. 

  • Verified answer
    TripBurton Profile Picture
    11 on at

    I answered my own question Once I added "get current date and time" into the formula it now works

    TripBurton_0-1677614074977.png

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 423

#2
11manish Profile Picture

11manish 308 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 177

Last 30 days Overall leaderboard