cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Create report based on SharePoint date column for next 7 days

Hi guys,

 

I need to build a flow which will email the team each week notifiying them of the products which are due to Pack in the next 7 days.

Our data is in Sharepoint and we have a 'Pack Due' field.

I want to create a flow that will check the due date of this field, see if the date is = today +7 days and if so, send the email based on that.

 

I have created the flow, the csv, the automation etc but i cannot figure out the expression. I thought this might work but it is pulling all the dates

formatDateTime(addDays(utcnow(),+7),'dd-MMMMM-yyyy')
 

image.png

 

Any ideas?

 

Thanks!

 

2 REPLIES 2
ChristianAbata
Community Champion
Community Champion

hi @Anonymous  

see the only thing I can suggest you is change this

 

Your expression formatDateTime(addDays(utcnow(),+7),'dd-MMMMM-yyyy')

My suggestion addDays(utcnow(),7,'dd-MM-yyyy')

addDays(utcNow(),7,'dd/MM/yyyy')

 

 



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 @Anonymous ,

 

First, ensure that Pack Due is a date field. Then you could run Get items action without configuring Filter Query and check the body of Get items action to get the internal name of this field.

 

Then you could refer to the following filters to configure Filter Query.

129.PNG

Please take a try.

 

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.

Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022- Season 2 has kicked off!

Users online (5,248)