Sync failed jobs hourly in Workato App
Recipe Tools
What it does
When the clock triggers on a specified interval, this automation searches for all failed jobs and reruns them in batch. It logs results to a job report and retries up to three times if errors occur.
Who it's for
Operations teams who need to automatically recover failed jobs without manual intervention.
How teams use this
Recover failed jobs automatically
Run this automation hourly to find and rerun all failed jobs without manual work. The team gets a log of each attempt and the final outcome.
Monitor multiple workflows at once
Extend this automation to check several workflows by adding a loop that runs the search and rerun steps for each workflow ID in a list. Only the workflow selection logic changes.
Alert the team on persistent errors
Retarget the logging step to send a Slack message when errors persist after three retries, so the team knows to investigate manually.
Check more frequently for high-volume workflows
Change the interval to every 30 minutes for workflows with large amounts of failed jobs so new failures are picked up faster on each retry.
How it works
- Set the check interval. The automation runs every 1 hour to check for failed jobs in the specified workflow.
- Search job history for failures. Workato App searches the job history and identifies all failed jobs in batch so they can be processed together.
- Rerun all failed jobs. Workato App reruns all searched failed jobs in batch. If errors occur, the automation retries the entire monitor block up to three times.
- Log final status. Workato App logs the last job processed to the job report so the team knows the automation completed and which job was final.