web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / flow to send an email ...
Power Automate
Answered

flow to send an email 1 day prior the Date column

(0) ShareShare
ReportReport
Posted on by 247

hello,

 

I need some assistance since I cannot make this reminder to work.

 

I have a SharePoint list with a date column called "Assignment Due Date"

 

I then created the below flow:

 

Reminder1DayPrior.png

 

Reminder1DayPrior pic2.png

 

I am trying to test the flow so I set the recurrence to run every 5minutes but it doesn't seem to work as I don't receive any email

 

i also noticed that when i test at the GET ITEMS at the OUTPUT i get empty without data

 

Reminder1DayPrior pic3.png

 

thank you

 

 

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    69,599 Most Valuable Professional on at

    The problem is that the assignmentduedate column contains both a date and Time even if you set it for Date Only.  Date Only will be recorded as that date with the time component set to midnight. So checking for the date to be equal to some UTCNow will never realistically happen. You need to test the date for greater than yesterday and less than tomorrow.

  • kouliscon Profile Picture
    247 on at

    thank you @Pstork1 for the detailed info, how do I do that:

    - greater than yesterday

    - less than tomorrow?

     

    thanks

  • Verified answer
    Pstork1 Profile Picture
    69,599 Most Valuable Professional on at

    try this

    AssignmentDueDate gt 'formatDateTime(addDays(utcNow(),-2),'yyyy-MM-dd')' and AssignmentDueDate gt 'formatDateTime(utcNow(),'yyyy-MM-dd')'

    Make sure to include the single quotes and enter the formatDateTime() functions using the expression bar. 

  • kouliscon Profile Picture
    247 on at

    Hello @Pstork1  that worked like a charm.

     

    for me to understand, what you gave me is basically required because I test it with 5 minutes interval.

    if I would leave it as I intent to the recurrence to happen every 1 day I can leave the initial expression?

     

    thank you

  • Pstork1 Profile Picture
    69,599 Most Valuable Professional on at

    The formula I gave you checks to see whether the assignment date is later than yesterday and earlier than tomorrow.  So if you change the recurrence to daily the formula should still work.

  • kouliscon Profile Picture
    247 on at

    thank you @Pstork1 

  • kouliscon Profile Picture
    247 on at

    @Pstork1  can you assist? I have another post for an email to send out if the status is in "in progress" after two days.

     

    so is similar with 1 day prior but I would like to happen 2 days after.

     

    the post can be found here: https://powerusers.microsoft.com/t5/Building-Flows/Flow-to-send-an-email-2-days-past-due-date/m-p/625269#M82992 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 167

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard