Create a flow diagram

For purposes of clarity, this topic assumes you will drag and drop all of the jobs onto the workspace, creating a visual representation of the work flow, and then define each job in the workspace.

Create a simple flow diagram

Procedure

  1. Click the Insert Job button to put the Flow Editor in job placement mode—when you left-click in the workspace, a job icon appears.
  2. Drop the appropriate number of job icons in the workspace, placing them in the order in which you want the jobs to run, typically with the first job to run at the left and the last job to run at the right. Unique job names are assigned automatically to the jobs in the workspace. You can change these later if you like.
  3. Change to job dependency mode by clicking the Insert Dependency button.
  4. Draw job dependencies by left-clicking on the job that must run first, then left-clicking on the job that runs next. The job at the arrow end of the line cannot run until the job at the originating end of the arrow completes.

    Refer to the following example:

    Job J2 cannot run until job J1 completes.

  5. Double-click on each job in the flow definition. The Edit Job dialog appears.
  6. In the Command to run field, specify the command that this job is to run. For example, on Windows:

    or on UNIX:

  7. In the remaining input fields and tabs, specify any other details required to define the job.
  8. Save the flow definition. You can save it in your local file system or in a shared file location.

Other things you can do

You can also do the following:

Procedure

  • Copy a job
  • Print the flow definition

Copy a job

Procedure

  1. Right-click on the job you want to copy, and select Copy.
  2. Right-click in the workspace where you want to place the new job, and select Paste.
  3. Optional: double-click on the new job and change the name of the job.

Print the flow definition

Procedure

  1. From the File menu, select Print Preview to see how your flow definition looks on paper. You can adjust the spacing in your flow to avoid breaking icons at a page boundary.
  2. From the File menu, select Print... and click OK.