Defining completion attributes to specify what makes your flow succeed or fail
In some cases, your flow might include error recovery routines that only run under certain conditions. You can specify a completion attribute for a flow to defines what constitutes completion of the flow. For example, you can specify that only one of many paths must complete.
About this task
By default, a flow is considered Done when all work items complete successfully or any work item in the flow fails.
If a job in the flow exits, no additional jobs in the flow are dispatched, although any currently running jobs continue running until they complete.
Completion attributes enable you to define what makes a flow fail or succeed.
- In IBM Spectrum LSF Application Center, select on the Workload tab.
- Open the Flow Editor to modify your flow.
- If your flow is still in draft state (that is, it hasn't been committed yet. select the draft flow definition that you want to edit in the Flow Definitions summary list, and click the Edit Draft icon.
- If your flow is already committed, select the flow definition that you want to create a new version for, and click Modify. Select the version of the committed definition that you want to use as a starting point for the new version, and in the Modify with New Version dialog, click Create.
The Flow Editor opens.
In Flow Editor, select
The Flow Completion window is displayed.
- To keep the default behavior, make sure that the following check box is checked: Ignore work items in the Waiting state that will never run, or that depend on a file, time, or proxy event .
- Make any additional modifications in the Flow Completion window.
- Select to save the flow definition.
- When you are ready to commit the flow definition as a version that can be used by other users, select .