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.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

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.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (1,913)