cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Sam12
Helper II
Helper II

SharePoint - Move files that were not created today

I have created a scheduled flow that runs every weekday and moves files that were not created 'today' from a 'Live' document library to an 'Archived' document library.

I have set it up as per the below, however am struggling with Condition to only move those files that were not created today.

Any help would be greatly appreciated.

flow help.png

1 ACCEPTED SOLUTION

Accepted Solutions
v-bacao-msft
Community Support
Community Support

 

Hi @Sam12 ,

 

Please try to refer to the following screenshot to configure flow:

26.PNG

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
ChristianAbata
Community Champion
Community Champion

hi @Sam12  you can use expressions to get the current date..

 

see formatDateTime(utcnow(),'yyyy-MM-dd') is the expresion that can helps you to get the current date.

 

Then just in the condition you can do something like this

 

created ( contains ) formatDateTime(utcnow(),'yyyy-MM-dd') 

 

please test it and tell me



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA
v-bacao-msft
Community Support
Community Support

 

Hi @Sam12 ,

 

Please try to refer to the following screenshot to configure flow:

26.PNG

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (1,836)