Skip to main content
Community site session details

Community site session details

Session Id : XRW2qq1xJpmT0N0LhZD3Ql
Power Automate - Building Flows
Answered

Calendar Reminders

Like (0) ShareShare
ReportReport
Posted on 1 Oct 2019 05:31:33 by
A little new to Flow and beating my head against the wall regarding filtering Get Items using OData against a Calendar Start Date/time field. Users are requesting a reminder 3 days, 1 day and 2 hours before event on a SharePoint calendar if the event also has a status of "Not-covered". I have setup a recurring daily trigger to check the list. What's the best way to perform the date tests? Thanks!
  • v-bacao-msft Profile Picture
    on 02 Oct 2019 at 02:01:40
    Re: Calendar Reminders

     

    Hi @Slloyd ,

     

    Please check the following blogs, which mentions that there is currently no support for formatting fields in Filter Query, and the Choice column is not supported in Filter Query. 

    https://veenstra.me.uk/2018/11/12/microsoft-flow-filter-queries-in-sharepoint-get-items/

    https://www.chakkaradeep.com/2018/05/01/deep-dive-into-get-items-and-get-files-sharepoint-actions-in-microsoft-flow/

     

    Best Regards,

  • Slloyd Profile Picture
    on 01 Oct 2019 at 21:01:23
    Re: Calendar Reminders

    Thanks! Your solution works. However, if I can futher filter in using the Get Items filter query that would be awesome. Here's the expression I'm trying to combine in my filter query which is not working.  

     

    formatDateTime(item()['EventDate'],'yyyy-MM-dd') eq addDays(utcNow(),1,'yyyy-MM-dd') and Coverage_Status eq 'Not-Covered'

  • Slloyd Profile Picture
    on 01 Oct 2019 at 13:31:21
    Re: Calendar Reminders

    Thank you very much for the quick response! I will give this a try. One quick question... is there any way to do the filtering via Odata in Get Items setup so as not to pull all the items?  

  • Verified answer
    v-bacao-msft Profile Picture
    on 01 Oct 2019 at 07:18:13
    Re: Calendar Reminders

     

    Hi @Slloyd ,

     

    You could use multiple Flows to correspond to these scenarios.

    3 days, 1 day before the event, the two Flows are similar, the only difference is to change the parameters in the addDays() function to 3 or 1.

    Image reference:

    70.PNG

    For "2 hours before event", I don't have a suitable solution for you currently. If it is accurate to the hour, it seems that it is difficult to achieve through the current function.

     

    Best Regards,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading complete