Adding Expression Dependencies
An expression dependency controls whether a job is eligible to run based on a Boolean expression. OpCon evaluates the expression before starting the job; the job does not start until the expression resolves to True. You can set one expression at the job level and a separate expression per frequency.
To add an expression dependency to a job, complete the following steps:
- Select Job Master under the Administration topic. The Job Master screen displays.
- Select the schedule in the Schedule list.
- Select the job in the Job list.
- Select the Dependencies tab in the Job Properties frame.
- Select the Expression Dependency tab.
- Enter the expression in the Job Expression field. The expression must resolve to
Truebefore the job starts. - Select a frequency in the Frequency List.
- Enter the expression in the Frequency Expression field. The expression must resolve to
Truebefore the job starts for the selected frequency. - Select Save on the Job Master toolbar.
- Select Close (to the right of the Job Master tab) to close the screen.
Result: The expression dependency is saved to the job definition. OpCon evaluates the expression each time the job is eligible to run and holds the job until the expression resolves to True.
note
The Frequency Expression field is disabled until you select a frequency in the Frequency List. Each frequency can have its own expression.