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.
Solved! Go to Solution.
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.
Best regards,
Mabel Mao
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.
Best regards,
Mabel Mao
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
User | Count |
---|---|
61 | |
52 | |
49 | |
28 | |
17 |
User | Count |
---|---|
25 | |
23 | |
23 | |
23 | |
23 |