How can I retry a step 'n' times and send a notification if and only if all retries are exhausted?

Jim G. (9 posts)
May 28, 2024 12:12 PM
Accepted Answer

Given:

  • I know how to send an email notification upon job or step failure.
  • I know how to retry a step (or a job) 'n' times.

Question:

  • How do I send an email notification if and only if all retries are exhausted?
Bill Staff (603 posts)
May 28, 2024 01:54 PM
Accepted Answer
Hi, Jim. There is a response event for "Restart limit exceeded" that does what you need. This is available at the job and step levels.