A way to monitor and restart scheduled tasks that fail and disappear?

I personally log everything around scheduled tasks and include status’s.

Ex sending an email as a scheduled task at a certain date and time.

When scheduled it changes status from draft to scheduled and fills a field for schedule date.

Since the send is a multi action workflow it changes status to pending at the first step so I know WF started.

After send it changes status to sent only if response from email provider was success. If not it logs the error and emails me.

In admin dash I have a box that displays everything but success data.

Secondly in admin dash I have a box that displays any emails that scheduled date < current date & status is not sent. This way I can catch any one off errors that may have not got logged all together.

(To return api errors it’s important to check the box that allows the workflow to continue even if action fails in api connector/plugin builder. This way you can save the error from the API provider and know what happened)

1 Like