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

Send Email when Date Approaches

Hi, 

 

I am new to MS Flow, I hope someone can help me out. I am trying to figure out how to send email when date approaches. I have a sharepoint list with a column Date1EST (type: text). I tried using below condition but the run is always failed.

 

@equals(formatDateTime(item()['EFollowup'], 'MM/dd/yyyy'), formatDateTime(utcNow(), 'MM/dd/yyyy'))

 

Thank you in advance.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Send Email when Date Approaches

Hi @Anonymous,

 

What’s the error message you’ve got on your side?

 

The column name in the list is Date1EST, while the column you are using in the code is EFollowup. What is the exact column name?

 

Besides, as you mentioned, the column Date1EST of type text but not date and time, could you change the column type to Date and time?

 

From the code, it seems that you want to send out the email when the date in the list equals to the current date. If yes, please take the following flow for a reference.

 

I have created a column of type Date and column named as Date1 to test this issue. The code used in the Condition is:

@equals(formatDateTime(items('Apply_to_each')?['Date1'], 'MM/dd/yyyy'),formatDateTime(utcnow(),'MM/dd/yyyy'))

 

If Date1 equals to current date, send out an email.

1.PNG

 

 

Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Send Email when Date Approaches

Hi @Anonymous,

 

What’s the error message you’ve got on your side?

 

The column name in the list is Date1EST, while the column you are using in the code is EFollowup. What is the exact column name?

 

Besides, as you mentioned, the column Date1EST of type text but not date and time, could you change the column type to Date and time?

 

From the code, it seems that you want to send out the email when the date in the list equals to the current date. If yes, please take the following flow for a reference.

 

I have created a column of type Date and column named as Date1 to test this issue. The code used in the Condition is:

@equals(formatDateTime(items('Apply_to_each')?['Date1'], 'MM/dd/yyyy'),formatDateTime(utcnow(),'MM/dd/yyyy'))

 

If Date1 equals to current date, send out an email.

1.PNG

 

 

Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Administrator
Administrator

Re: Send Email when Date Approaches

Hey, @Anonymous!

 

Thank you for posting on the Flow Community Forum! It appears as though @v-yamao-msft would like some more information in order to further assist you properly with your issue. Please share any additional information that was requested in order to decrease the amount of time that it will take for you to be assisted!

 

Thank you for being an active member of the Flow Community!

 

-Gabriel
Flow Community Manager

-Gabriel
Microsoft Power Automate Community Manager
Are YOU a member of your local Power Automate User Group?
Fill out This Form to claim your Community User Group Member Badge!

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (8,817)