1.14.1.1 Creating a Job

To create a job:

  1. Expand the required project in the Project Browser.
  2. Right click the Jobs node of the project and select New Job.
  3. The New Job dialog is displayed. Enter a Name and (if required) Description, then click Finish.
  4. The Job is created and displayed in the Job Canvas.
  5. Right-click New Phase in the Phase list, and select Configure.
  6. Enter a name for the phase and select other options as required:

    Table 1-137 New Phase Options

    Field Description

    Enabled?

    To enable or disable the Phase. Default state is checked (enabled).

    Note: The status of a Phase can be overridden by a Run Profile or with the 'runopsjob' command on the EDQ Command Line Interface.

    Execution Condition

    To make the execution of the Phase conditional on the success or failure of previous Phases.

    The options are:

    • Execute on failure: the phase will only execute if the previous phase did not complete successfully.

    • Execute on success (default): the Phase will only execute if all previous Phases have executed successfully.

    • Execute regardless: the Phase will execute regardless of whether previous Phases have succeeded or failed.

    Note: there cannot be an error flag and any existing error flags need to have been removed in a former phase.

    Clear Error?

    To clear or leave unchanged an error state in the Job.

    If a job phase has been in error, an error flag is applied.

    Any former error flag must be cleared in the Execute on success phase, in order for an 'Execute on Success' phase to execute.

    The default state is unchecked.

    Triggers

    To configure Triggers to be activated before or after the Phase has run. For more information, see Using Job Triggers. More

  7. Click OK to save the settings.
  8. Click and drag Tasks from the Tool Palette, configuring and linking them as required.
  9. To add more Phases, click Add Job Phase button at the bottom of the Phase area. Phase order can be changed by selecting a Phase and moving it up and down the list with the Move Phase buttons. To delete a Phase, click Delete Phase button.
  10. When the Job is configured as required, click File > Save.