Monitor and rerun failed Anaplan jobs hourly
Recipe ToolsMarketingWorkato
What it does
Every 5 minutes, this automation searches a data table for failed jobs and checks if each job's workflow is still active. Only active jobs are rerun, and each attempt is logged so the team can track outcomes.
Who it's for
Operations teams who need failed Anaplan jobs to rerun automatically on a schedule without manual intervention.
How teams use this
Rerun active jobs automatically
Failed Anaplan jobs rerun every 5 minutes if the workflow is still active, so the team does not have to manually restart them. The job report logs each attempt for visibility.
Skip inactive workflows from retry
Before rerunning a job, the automation checks whether the workflow is active. Inactive workflows are skipped so resources are not wasted on jobs that should not run.
Delay retries for recent failures
Add a condition to only rerun jobs created more than 1 hour ago, so recent failures have time to resolve before the automation attempts them again.
Mark resolved jobs as complete
When someone manually resolves a failed job, set a resolved flag in the data table so the automation skips it on the next 5-minute run.
How it works
- Run every 5 minutes. This automation starts on a 5-minute schedule to check for jobs that need to be rerun.
- Find failed jobs in the data table. Query the Workato Db Table to retrieve all failed jobs that are candidates for a rerun attempt.
- Check if each job's workflow is active. For each failed job, retrieve the workflow details from Workato App and verify the workflow is still active before attempting a rerun.
- Log the job id and record id. Record the job id and record id to the job report in Workato Db Table so the team can track which jobs were rerun and when.
- Rerun active jobs and monitor. Rerun each active job through Workato App and monitor for errors during the rerun so failed attempts are captured for the next cycle.