Set a starting point to rerun a flow
Using Flow Manager, a flow can be rerun from a selected starting point.
About this task
By default, when you rerun a flow, the flow continues from exited jobs. Under certain situations, the root cause of a job failing may be from conditions set by a previous job, in which case, you will need to rerun the flow from a job that is before the exited job. To address this situation, you can use the flow manager to set specific work items in the flow from which to rerun the flow. This allows you to have more flexibility in correcting errors in a flow by rerunning jobs other than the last exited job in the flow.
In order to be set as a rerun starting point, the item in the flow must meet the following requirements:
The item must be in a Done, Killed, Exited, Waiting, Running, or Pending state.
The item must be one of the following types of work items:
Job
Job array
Job submission script
Job array submission script
Local job
Template job
You can set multiple work items as rerun starting points. In addition, all exited jobs in a flow automatically become rerun starting points. This is the default behavior and remains unchanged even when you set other work items as rerun starting points.
Procedure
- In the Flow Manager, select the most appropriate view for finding the points to rerun the flow.
- Right-click the work item and select Set as starting point to rerun flow.
Results
When you set a work item to be the starting point to rerun a flow, the work item will have a green circle in the top-right corner to indicate that it is the rerun starting point.
Remove the starting point to rerun a flow
About this task
To remove a work item as a rerun starting point, use the flow manager to unset a work item as the rerun starting flow.
Procedure
- In the Flow Manager, select the appropriate work item to find the points to rerun the flow.
- Right-click the work item and select Unset as starting point to rerun flow.