How does send_notification behave with vs without using template?
Autosys 12.x
| send_notification | Job Status | Result |
| 0 | Any Value | Attribute ignored |
| 1/y | Any Value(SUCCESS / FAILURE / TERMINATED) | Email Sent |
| 2/f | FAILURE | Email Sent |
| 2/f | TERMINATED | No Email Sent |
| 2/f | TERMINATED (KILLJOB) | No Email Sent |
| 2/f | SUCCESS | No Email Sent |
| send_notification | Job Status | Result | Attribute |
| 0 | Any Value | Attribute ignored | N/A |
| 1/y | Any Value(SUCCESS / FAILURE / TERMINATED) | Email Sent | notification_emailaddress is used |
| 1/y | SUCCESS | Email Sent |
notification_emailaddress is not used notification_emailaddress_on_success is used then email sent to specific address used notification_emailaddress_on_terminated - ignored notification_emailaddress_on_failure - ignored |
| 1/y | FAILURE | Email Sent |
notification_emailaddress is not used notification_emailaddress_on_success - ignored notification_emailaddress_on_terminated - ignored notification_emailaddress_on_failure is used then email sent to specific address used |
| 1/y | TERMINATED | Email Sent |
notification_emailaddress is not used notification_emailaddress_on_success - ignored notification_emailaddress_on_terminated is used then email sent to specific address used notification_emailaddress_on_failure - Ignored |
| 2/f | FAILURE | Email Sent | Behavior is same as send_notification 1/t case |
| 2/f | TERMINATED | No Email Sent | |
| 2/f | TERMINATED (KILLJOB) | No Email Sent | |
| 2/f | SUCCESS | No Email Sent |