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

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 Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (2,755)