Setting a starting point to rerun a flow

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 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.

About this task

You can only set a rerun starting point for flows that are in an Exited state. 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 or Exited 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

Tip:

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

  1. Select Workload > Workload.
  2. In the summary list, select the Exited flow you want to rerun.
  3. Select the Flow Chart tab in the details pane.
  4. 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, unset a work item as the rerun starting flow.

Procedure

  1. Select Workload > Workload.
  2. In the summary list, select the Exited flow for which you want to remove starting points.
  3. Select the Flow Chart tab in the details pane.
  4. Right-click the work item and select Unset as starting point to rerun flow.