cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dtowsey
Helper I
Helper I

Scheduled Flow

I have a dataset that contains dates that represent a due date for a report. the report will need to be generated every year. I want to send an email reminder once a year 90 days prioir to the due date. The date that is entered is the initial date the report is due. This date will not change. Is it possible to create a flow that accomplishes this?

 

Picture1.png

1 ACCEPTED SOLUTION

Accepted Solutions
v-yamao-msft
Community Support
Community Support

Hi dtowsey,

 

There is a current limitation in Flow. The run duration of Flow is 30 days. So your flow will time out after 30 days. It might be not possible to send an email reminder 90 days prior to the due date.


Please see more details about the limitation at here:
https://docs.microsoft.com/en-us/flow/limits-and-config

 

While within 30 days, you may configure the flow likes below.


The function used in the Condition is:

@equals(formatDateTime(items('Apply_to_each')?['End_x0020_time'],'yyyy-MM-dd'), formatDateTime(adddays(utcnow(),30),'yyyy-MM-dd'))


When the End date is equal to today’s date plus 30 days, then send a reminder email.
3.PNG


Hope this could be a reference.

 

There is also a request on Flow ideas forum for increasing timeout to more than 30 days, please vote the idea at here:
https://powerusers.microsoft.com/t5/Flow-Ideas/Increase-approval-timeout-to-more-than-30-days/idi-p/...


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
v-yamao-msft
Community Support
Community Support

Hi dtowsey,

 

There is a current limitation in Flow. The run duration of Flow is 30 days. So your flow will time out after 30 days. It might be not possible to send an email reminder 90 days prior to the due date.


Please see more details about the limitation at here:
https://docs.microsoft.com/en-us/flow/limits-and-config

 

While within 30 days, you may configure the flow likes below.


The function used in the Condition is:

@equals(formatDateTime(items('Apply_to_each')?['End_x0020_time'],'yyyy-MM-dd'), formatDateTime(adddays(utcnow(),30),'yyyy-MM-dd'))


When the End date is equal to today’s date plus 30 days, then send a reminder email.
3.PNG


Hope this could be a reference.

 

There is also a request on Flow ideas forum for increasing timeout to more than 30 days, please vote the idea at here:
https://powerusers.microsoft.com/t5/Flow-Ideas/Increase-approval-timeout-to-more-than-30-days/idi-p/...


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.

Hi

Let's assume you have the list of projects implemented in a source data Flow can access (Sharepoint List, Excel, etc.) If so, as an alternate approach, you implement a Flow that is executed daily or weekly thanks to the recurrence trigger. Such Flow would read all through the list, identify the target projects to notify, and send the appropriate reminders.

Hope this helps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (3,631)