How to schedule a flow to run every last day of the month

Since the last day of the month differs every month, we have found a solution to resolve this issue.

NB: Please note that this solution does not accommodate for leap years. Our development team is working on a fix before the next leap year occurs which is in 2024.

The following instructions will assist in how you can schedule a flow to run every last day of the month:

  1. To accommodate all the months in the year, 3 schedule triggers will added. The first schedule will accommodate for February as illustrated in the below image. Select “Year” , then select “28th”, the month’s name and the time.

  1. The second schedule will accommodate for the months that have 30 days in them as illustrated in the below image. Select “Year” , then select “30th”, the months name and the time. To select multiple months, press “Ctrl” and select the months.

  1. The third schedule will accommodate for the months that have 31 days in them as illustrated in the below image. Select “Year” , then select “31st”, the months name and the time. To select multiple months, press “Ctrl” and select the months.

Illustrated in the below image is how the Triggers box will look with 3 schedule triggers to resolve this issue.

image

Did the development team figure out a fix for the leap year Februarys?

Thanks.

Hi Mark,

They are still working on a fix to accommodate for leap years since the schedule cron can’t be changed.

A possible work around is to have a Condition Control Flow in the flow and get the current date using a Calculator step and send it to the first condition if its is the 29th of February.

It is similar to what is being done is the below article but the first condition step will require a return statement for the 29th as well.

How to schedule a flow to run fortnightly

Please let us know if you have further questions.

Kind regards,
Navessa