Specify dependencies on a job array
About this task
When you draw a dependency line from a job array to another work item in the flow definition, the dependency you create is the default: the work item cannot run until all of the jobs in the job array complete successfully.
You can specify the type of dependency to be one of the following:
- All jobs in the job array complete successfully—this is the default
- All jobs in the job array end, regardless of success or failure
- The sum of the exit codes of all the jobs in the job array has a value
- A specified number of jobs in the job array complete successfully
- A specified number of jobs in the job array fail
- A specified number of jobs in the job array end regardless of success or failure
- A specified number of jobs in the job array have started
- Any job fails
- The job array is submitted
- The job array runs longer than it should
- The job array runs an abnormally short length of time
- The job array fails to start
- The job array cannot run
- The job array misses its scheduled start time
Procedure
Examples
All jobs in the array end, regardless of success or failure

Sum of the exit codes is...

Number of successful jobs is...

Number of failed jobs is...

Number of jobs started is...
