cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Advocate I
Advocate I

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
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
Super User III
Super User III

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
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

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Top Kudoed Authors
Users online (12,873)