Run or rerun a single job

About this task

You can run or rerun a single job directly from the Flow Manager. You may want to use this option to debug a flow, or to run a single job to fix a flow. You can use this option to rerun a job, regardless of whether the job failed or completed successfully.

You can run or rerun a job in a suspended flow, but the state of the flow does not change. If you specify a rerun exception handler to rerun a job, and the flow is suspended, the job does not run until the flow has been resumed.

When you rerun a job in a flow that is running, successor work items run as designed.

When you rerun a job in a flow that is Exited or Killed, only the job runs—its successors do not. If you want to rerun more than one job, you must wait until one job completes before rerunning the next—you rerun them one at a time. If you want to rerun multiple jobs, or if you want the successor jobs to run, you need to rerun the flow.

Procedure

  1. Locate the flow containing the job you want to run, and open the flow.
  2. Locate the job you want to run, and right click on it.
  3. From the menu, select Run. The job will be run, but its successors may not, depending on the state of the flow.

From the command line

Procedure

  1. On the command line, specify the following:
    jjob -i flow_id -r flow_name[:subflow_name]:job_name
    

    where flow_ID is the unique flow ID containing the job you want to run, flow_name is the name of your flow, subflow_name is the name of your subflow (if you have one), and job_name is the name of your job.

  2. Press Enter.