Schedule flow to run every 2 years on a specific day

cgedney
Giga Guru

Is it possible to schedule a flow to run every 2 years on a specific day? The BU needs a REQ/RITM/SCTASK created 3 weeks prior to the expiration of a record in a table. I currently have it running every day and then a step to lookup the record to see if it expires in 3 weeks from today. I'm not very familiar with the scheduling piece of flow designer. Can I use the business calendar to schedule? Or a scheduled job (which, I think would have the same issue)?

 

Any help is much appreciated

Thank you, Charles

5 REPLIES 5

VarunS
Kilo Sage

@cgedney  yes, it is. See screenshot from the flow trigger.

VarunS_0-1716409316734.png

 

That doesn't handle leap years. If I were to repeat every 730 days (i.e., 365 * 2), it would be off by a day every 4 years or so. I need it to happen on a specific day every 2 years.

The only way around that I guess is to have two flows run then. One every 730 days and one every 4 years.

Jon23
Mega Sage

Hi @cgedney ,

How about using the OOB task SLA functionality and custom flow.  I'm guessing you have an expiration date on the table. Start the SLA time with whatever criteria makes sense, then once the expiration date is reached (SLA Breached) you trigger the creation of the REQ.