WAAE: How to terminate automatically the outer box when job is terminated
book
Article ID: 94229
calendar_today
Updated On:
Products
CA Workload Automation AE - Business Agents (AutoSys)
CA Workload Automation AE - Scheduler (AutoSys)
Workload Automation Agent
Issue/Introduction
Workload Automation AE (AutoSys Edition)
We have designed a job stream including a critical job.
We want the whole job stream to be terminated automatically, in case of failure of the critical job.
Example:
Box1 includes Job1, Job2, Job3, Job4, Job5, Job6, Job7, Job8, Job9
We want Box1 to be terminated automatically in case of Job2 failure.
Environment
WAAE 11.3.6 SPx Release
Resolution
The recommended solution is to add the "box_terminator" attribute to the job definition.
Example:
insert_job: Job2
box_name: Box1
job_type: CMD
command: ......
machine: ......
box_terminator: y <======
Please note this attribute is valid only when you also specify the box_name attribute in the job definition.
In this example Box1 will be terminated in case of failure of Job2
Feedback
thumb_up
Yes
thumb_down
No