hello everyone can someone help me with the following situation, I have a sharepoint list, with my activities, where I have the due date and would like to receive an email every Monday with the activities planned for that week, I tried use the Odata filter but it didn't work.
Solved! Go to Solution.
Hi @Ramon3
Follow the below steps:
Above Filter Query I have mapped the From Date and To Date under the condition.
For the above From Date Expression is as follows:
formatDateTime(utcNow(),'yyyy-MM-dd 00:00:00')
For the To Date I have added another 7 days for a week. Change the formula accordingly. See below expression.
formatDateTime(addDays(utcNow(),7),'yyyy-MM-dd 23:59:59')
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogHi @Ramon3
Please have a look at my tutorial video how to filter SharePoint Dates.
https://www.youtube.com/watch?v=FRKtB37hJ4g&t=122s
In your case use the scheduled trigger, select your time zone.
For the filter query you need to use utcNow(), formatDateTime(), addDays() (add 7 or 5 days it depends) expressions to set the dates for the comparisons.
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogcongratulations for the video, but could you help me, as would the function to filter the items that will expire in the current week, my week starts on Monday, and I have the due date of the tasks.
Hi @Ramon3
Follow the below steps:
Above Filter Query I have mapped the From Date and To Date under the condition.
For the above From Date Expression is as follows:
formatDateTime(utcNow(),'yyyy-MM-dd 00:00:00')
For the To Date I have added another 7 days for a week. Change the formula accordingly. See below expression.
formatDateTime(addDays(utcNow(),7),'yyyy-MM-dd 23:59:59')
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogThanks, it worked really well.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Did you know that you could restore a deleted flow? Check out this helpful article.
User | Count |
---|---|
23 | |
12 | |
11 | |
10 | |
8 |
User | Count |
---|---|
33 | |
24 | |
22 | |
17 | |
16 |