WAAE How to terminate automatically the outer box when job is terminated

Document ID : KB000094229
Last Modified Date : 28/06/2018
Show Technical Document Details
Issue:
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