Specify dependencies on an unconnected work item
Specify a dependency on a proxy job
About this task
You can specify a dependency on another flow, or a work item that is running within another flow, or on a work item elsewhere in the current flow by creating a proxy event. You can specify the following types of dependencies:
- When the work item is submitted
- When the work item starts
- When the work item ends successfully
- When the work item exits with any exit code
- When the work item exits with a specific exit code
- When the work item exits with any of the specified exit codes. You can specify a list of space-separated exit codes with the event type Ends with exit code... and Equal to and Not equal to. You can specify a list of exit codes for a proxy job, proxy template job, proxy job script, and proxy local job.
Procedure
Specify a dependency on a proxy job array
Procedure
Specify a dependency on a proxy subflow
About this task
You can specify the type of dependency to be one of the following:
- The flow completes successfully—the default
- The flow fails
- The flow ends with any exit code
- The flow fails with the specified exit code
- The subflow completes successfully with the specified exit code
- The flow has the specified exit code
- A specified number of successful jobs
- A specified number of jobs finished with any exit code
- A specified number of unsuccessful jobs
- A specified number of started jobs