cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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 Team
Community Support Team

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 Team
Community Support Team

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

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
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,398)