Defining when a flow is successful or failed when using branches in a flow
About this task
In cases in which you have a flow that has multiple branches and only some branches may run you want to be able to specify to Process Manager to identify a flow as successful when all jobs that are able to run have completed, and identify the flow as failed if any job in the flow fails. You can configure this in the flow's Flow Completion Attributes.
For example, you have a flow with this type of scenario, in which you run one branch when a job succeeds and another branch when the job fails. In this type of case, all jobs in the flow will never run. You want the flow to be considered successful when jobs J1, J2, or J3 complete successfully. When jobs J1, J2, J4 or J5 fail, you want the flow to be considered failed, but you do want jobs J4 and J5 to run to completion.