Retry Failed Jobs on Schedule

Recipe ToolsMarketing

What it does

When a job fails, this automation checks the error type. If it is a server, connection, or network error, the automation waits and reruns the job; otherwise it sends an email notification.

Who it's for

Operations teams who need failed jobs to retry automatically without manual intervention.

How teams use this

Retry transient connection errors

When a job fails due to a temporary network issue, wait and rerun it automatically so the batch completes without manual restart. The team sees fewer failed jobs in their queue.

Alert on persistent failures

When a job fails for reasons other than connection issues, send an email so someone can investigate the root cause. This keeps the team informed of problems that need human attention.

Set retry delays by job type

Add different wait times for different jobs based on how long recovery typically takes. Only jobs that need longer recovery delays are affected by this change.

How it works

  1. Monitor jobs on a schedule. On a specified schedule, trigger this automation to check for failed jobs in Workato App and evaluate whether to retry or escalate.
  2. Check the error type. Evaluate whether the error is a server, connection, or network error to decide whether to retry or notify someone via email.
  3. Wait before retry. Pause for a specified length of time to allow the server or connection to recover before attempting the job again.
  4. Rerun the failed job. Execute the specified job in batch mode so it processes again without someone having to restart it manually.
  5. Notify on other errors. Send an email when the error is not a server, connection, or network issue so someone can investigate the root cause.