Define dependencies between elements in job arrays
Use the Trigger the element with the same index in the next job array dependency type to specify dependencies between elements in job arrays.
About this task
In some cases, you might have a job array that depends on another job array but you want the next job array to start as soon as the first element of the first job array finishes. For example, job array A2 depends on job array A1. Each element in job array A2 can start as soon as the corresponding element of job array A1 is finished.
You can define job array element-to-element dependency with the Trigger the element with the same index in the next job array dependency definition.
Requirements to define dependencies between elements in job arrays:
- The job arrays must have the same number of elements.
- The first job array must be connected to the next job array with a dependency arrow directly, or with a dependency arrow with an AND.