Job Trigger Target Rule Properties

The Job Trigger Target Rule window contains the settings for a single target (dependency job) for a Job Trigger.

Each rule defines a job that the current job is dependent on, and the rules for satisfying that dependency.

Settings

Enable this rule

Uncheck this box to disable the rule. adTempus will ignore any rules that are not enabled.

Trigger based on job

Select the job to depend on. Only jobs that you have "List/Reference" permission for are listed. The job may be on the same computer as the job you are editing, or on a different computer. If the job is on a different computer, the other computer must be defined as a Linked Server in adTempus.

Rule

Specify the rule that the target instance must satisfy:

  • Job Started. The trigger fires when the target job starts.
  • Job Ended. The trigger fires when the target job ends.
  • Job succeeded. The target instance of the job must have completed with a successful result.
  • Job failed. The target instance of the job must have completed with a failure result.

Instance

Specify which instance of the target job adTempus should look at to see if the rule is met. The "Target Job" is the job that you selected in the Depend on Job section. The "Dependent Job" is the job that has the trigger (the job you are currently editing).

The following instance rules are available:

  • Most recent since previous execution of current job. adTempus will look at the most recent instance of the target job that executed since the last execution of the dependent job.
  • New feature iconMost recent since previous successful execution of current job. adTempus will look at the most recent instance of the target job that executed since the last successful execution of the dependent job.
  • New feature iconMost recent in cycle. adTempus will look at the most recent instance of the target job that has the same Cycle ID as the dependent job.
  • New feature iconMost recent instance since date/time specified in a Job Variable. adTempus will retrieve the current value of the specified variable (which must be defined as a Date/Time variable) and then look at the most recent instance of the target job that executed since that date/time.
  • Most recent instance.adTempus will look at the most recent instance of the target job, regardless of when that instance executed.
  • Any since previous execution of current job. adTempus will look at all instances that have completed since the last execution of the dependent job. If any of these instances matches the Rule, the condition will be satisfied.
  • New feature iconAny instance since previous successful execution of current job. adTempus will look at all instances that have completed since the last successful execution of the dependent job. If any of these instances matches the Rule, the condition will be satisfied.
  • New feature iconAny instance in cycle. adTempus will look at all instances of the target job that have the same Cycle ID as the dependent job.
  • New feature iconAny instance since date/time specified in a Job Variable. adTempus will retrieve the current value of the specified variable (which must be defined as a Date/Time variable) and then look at all instances of the target job that have executed since that date/time.

If you use one of the options based on the cycle, you must have Cycle IDs set up correctly as described in the Cycle ID topic.

See this this example for an illustration of the effects of the settings.

Ignore manual (on-demand) instances of job

New feature iconWhen this option is checked, the condition will not look at any instances of the dependent job that were run on demand using the Run command when it is applying a "previous execution" rule.