Introduction
Sometimes tasks in a workflow fail. Task failure callbacks let you run special code automatically when a task fails. This helps you react quickly, like sending alerts or cleaning up resources.
When you want to send an email notification if a task fails in your workflow
When you need to log extra information for debugging after a task failure
When you want to trigger a cleanup process if a task does not complete successfully
When you want to restart or rerun certain tasks automatically after failure
When you want to update a dashboard or monitoring system about task failures