Mark,
Is setting up email notification a 2-step process?
1. Configure CA Workload Automation AE to send notifications (Admin Guide, pg. 40)
2. Configure job definition with below optional attributes
From: CA Workload Automation (Distributed) Global User Community [mailto:
CommunityAdmin@communities-mail.ca.com]
Sent: Wednesday, June 05, 2013 12:39 PM
To:
mb.2269986.101154422@myca-email.ca.com
Subject: [CA AutoSys Workload Automation General Discussion] RE: Emailing Return Parameters from DBPROC JOB
Email notification has been added to WAAE 11.3.5 via the following job attributes:
send_notification
notification_emailaddress
notification_msg
The notification can be sent if the job runs to SUCCESS or FAILURE. It is not possible to include return codes or other output in the message.
Here are a couple of example jobs from the Administration Guide:
Example: Send an Email Notification when a Job Completes
This example specifies that an email notification should be sent to
admin@example.com when job email_job_1 completes.
insert_job: email_job_1
machine: localhost
job_type: c
command: as_test -t 2
send_notification:1
notification_emailaddress:
admin@example.com
notification_msg:"email_job_1 has completed"
Example: Send an Email Notification when a Job Fails
This example specifies that an email notification should be sent to
admin@example.com when job email_job_fails fails.
insert_job: email_job_fails
machine: localhost
job_type: c
command: as_test -t 2 -e 2
send_notification:F
notification_emailaddress:
admin@example.com
notification_msg:"email_job_fails has failed"
Additional information can be found in the Reference Guide as well.
Hope this helps.
Mark
Posted by:mark_hanson
--
CA Communities Message Boards
101156962
mb.2269986.101154422@myca-email.ca.com
https://communities.ca.com