Send_notification behavior with and without using templates
search cancel

Send_notification behavior with and without using templates

book

Article ID: 251833

calendar_today

Updated On:

Products

Autosys Workload Automation

Issue/Introduction

How does send_notification behave with vs without using template?

Environment

Autosys 12.x

Resolution

When notification_msg attribute is used and template is not used
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
 
When notification_msg attribute is not used and template is used
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