Log failed jobs to a lookup table

Recipe Tools

What it does

When a job fails, this automation searches a lookup table for that job entry. It adds the entry if missing or updates it if found, so the team has a single source for failed job records.

Who it's for

Operations teams who track failed automation jobs in a centralized lookup table.

How teams use this

Track all failed jobs in one place

Every failed job is logged to the lookup table with its ID and details, so the team can review all failures without checking multiple systems.

Monitor job failures by type

Add a job type field to the lookup table entry so the team can filter and group failures by automation type for faster troubleshooting.

Alert on repeated failures

Check the failure count in the lookup table and notify the team when a job fails more than a set number of times in a day.

How it works

  1. Detect a failed job. A job fails in Workato Service and this automation runs in real-time to capture the failure event and job details.
  2. Search for the job entry. Search the Failed Job Tracker lookup table for an existing entry that matches the job ID from the failed job.
  3. Add or update the entry. If the entry does not exist, add it to the lookup table with the job ID and failure details. If it exists, update it with the latest information.