Run a flow when another flow...
You can run a flow when another flow reaches a certain condition, or you can run a flow when a work item in another flow reaches a certain condition. In either case, you use a proxy event to trigger the flow. As its name indicates, the proxy event acts as a proxy in the current flow for another flow or a work item that runs within another flow
Run a flow when another flow completes
Procedure
Examples
Triggering when a flow has exit code greater than 3:
The following proxy event triggers the flow when the flow testflow exits with an exit code greater than 3:
Triggering when 5 or more jobs in a flow fail
The following proxy event triggers the flow when 5 or more jobs in the flow testflow fail:
From the command line
On the command line, to achieve the same results, type the following:
jsub -p “flow(numexit(bhorner:testflow)>=5)”
Press Enter.
Calculation of number of jobs in a flow
When Process Manager calculates the number of jobs in a flow, for successful jobs, failed jobs, and so on, it does not count the jobs in a subflow, and it counts a job array as a single job. It also does not count other work items in the flow, such as events or alarms.