Threshold/Resource Dependencies
Theme: Configure
Who Is It For? Automation Engineer
What Is It?
Threshold and resource dependencies allow a job to wait until a threshold reaches a specified numeric value or a resource pool has enough available units before it is eligible to start. These dependencies are defined at the job level or at a specific frequency level.
Threshold Dependencies
Each OpCon job can depend on the numeric value of a defined threshold. Refer to Thresholds for additional information. OpCon stores threshold dependencies in the database after they are defined for a job.
Fields for defining threshold dependencies:
- Schedule Name: The name of the schedule
- Job Name: The name of the job
- Frequency Name: The name of the frequency if the threshold dependency applies to a specific frequency
- Leave blank to associate the dependency at the job level and always include it for the job
- Select a frequency name to associate the dependency only when the job runs with that frequency
- Threshold Name: The threshold whose current value must meet the Operator and Value requirements when SAM performs the dependency check
- Operator: The operator SAM uses to compare the current threshold value to the dependent Value. Valid operators: EQ (equal), GT (greater than), LT (less than), GE (greater than or equal to), LE (less than or equal to), NE (not equal)
- Value: The dependent value SAM applies the Operator to when comparing against the current threshold value
Resource Dependencies
Each OpCon job can depend on a specific number of resources being available, requiring one or more resources from the total allocated to the resource object. Refer to Resources for additional information. OpCon stores resource dependencies in the database after they are defined for a job.
Fields for defining resource dependencies:
- Schedule Name: The name of the schedule
- Job Name: The name of the job
- Frequency Name: The name of the frequency if the resource dependency applies to a specific frequency
- Leave blank to associate the dependency at the job level and always include it for the job
- Select a frequency name to associate the dependency only when the job runs with that frequency
- Resource: The resource that must have enough available to meet the Value requirement
- Value: The number of resources the job requires
- SAM checks that the number of available resources exceeds the number required before the dependency is met
- If the value is All, the job must consume all resources when it runs. SAM locks the resource when the job qualifies so no additional jobs with the same or lower priority can use it, then waits until Resources In Use is zero before starting the job
If the job is placed On Hold for more than two minutes while waiting for the value to become zero, the SAM will release the lock.
Configuration Options
| Setting | What It Does | Default | Notes |
|---|---|---|---|
| Schedule Name | The name of the schedule | — | — |
| Job Name | The name of the job | — | — |
| Frequency Name | The name of the frequency if the threshold dependency applies to a specific frequency | — | — |
| Threshold Name | The threshold whose current value must meet the Operator and Value requirements when SAM performs the dependency check | — |