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?
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
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.
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/72202
Best regards,
Mabel Mao