cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Marie_Claire_
Level: Powered On

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 @Marie_Claire_,

 

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 @Marie_Claire_,

 

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, @Marie_Claire_!

 

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 Flow Community Manager

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

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

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 Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 311 members 4,626 guests
Recent signins:
Please welcome our newest community members: