\\
!1. Default Error task\\
\\
If a task has a name: __Default Failure__, that task will capture all failures without connecting the red lines to it.\\
\\
Instead of connecting each task failure point to one task:\\
[attachments|bad_usage.png]\\
\\
Use __Default Failure__ task to handle failures:\\
\\
[attachments|default_failure_task.png]\\
\\
!2. Job Failure email template\\
\\

Create an email template with the name: __JOB_FAILURE__ (see [Email Templates]), if a job exits in a failed state, it sends an email based on the configured email template.\\
\\
[attachments|job_failure_email_template.png]\\
\\
!3 Failure related variables\\
\\
{{{
{task_error}
{task_errors}
{task_error_name}
{task_error_names}
{error}
{full_log}
}}}\\