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

Flow to Get SharePoint Items created yesterday

Hi, 

I'm trying to build a flow with a filter query to only get SharePoint items which were created yesterday, and then the flow exports them to CSV in OneDrive.  

 

If I use gt (greater than) in the expression it correctly gets two SharePoint items. 1 created yesterday and 1 created today. 

But if I use eq (equals) it doesn't retrieve anything (I'm expecting it to just retrieve the 1 item created yesterday).

 

Capture.JPG

 

Just wondering if anyone's come across a similar scenario? 

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
mobashee
Community Support
Community Support

Dear partner,

Please use the expression to get yesterday created items

addDays(utcNow(),-1,'yyyy-MM-dd')

mobashee_0-1611356639348.png

 

Did I answer your question? Please consider to mark my post as a solution to help others.

 

Regards,

Mohamed Sanuj Basheer

 

View solution in original post

2 REPLIES 2
mobashee
Community Support
Community Support

Dear partner,

Please use the expression to get yesterday created items

addDays(utcNow(),-1,'yyyy-MM-dd')

mobashee_0-1611356639348.png

 

Did I answer your question? Please consider to mark my post as a solution to help others.

 

Regards,

Mohamed Sanuj Basheer

 

View solution in original post

Thanks @mobashee that did the trick 🙂

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,561)