Making an operation dependent on the status or return code of another operation
Use a job-level conditional dependency when you want a successor job to start depending on a combination of one or more return codes or statuses of predecessor jobs.
Example of a condition dependency definition shows the two different types of job level conditions, one based on the predecessor return code and the other based on the predecessor job status.
For example, using the return code as condition type, you can define that operation OP2 is dependent on operation OP1, specifying that OP2 must run when OP1 ends with a return code in the range from 1 to 3.
For example, using the status as condition type, you can define that operation OP4 is dependent on operation OP3 , specifying that OP4 must run when OP3 status is E (Ended-in-error):