Job stream definition
This topic introduces the job stream definition, that can be managed from the Orchestration CLI and from the Dynamic Workload Console.
A job stream is a set of jobs to be run, together with times, priorities, and other dependencies that define the processing order. Optionally, you can schedule when the job stream runs by specifying run cycles such as calendar, set of dates, or repetition rules. Job streams can be defined in a specific smart workflow folder if you want to organize them by line of business or some other custom category.
- Dependencies
- To determine the correct processing order of jobs and job streams, you can define dependencies. A dependency is a condition that must be satisfied before the processing can continue. Dependencies can either be defined on completion of jobs and job streams, or on satisfaction of specific conditions by jobs and job streams.
- On completion of jobs and job streams
- A job or job stream cannot start until other jobs or job streams have completed or completed successfully.
- On satisfaction of specific conditions
- You can define conditional dependencies to make a successor job or job stream run only after some conditions are satisfied by the predecessor job or job stream. If such condition is not satisfied, the jobs in the flow do not run and are put in SUPPR status. The behaviour of regular dependency is different, because jobs are put in HOLD status until the predecessor is in SUCC status.
A set of dependencies can be grouped into a join dependency. Specify the number of dependencies that must be satisfied to consider the join as fulfilled. Alternatively, you can use the ALL keyword to indicate that all dependencies must be satisfied for the successor job to run.
Dependencies can be of the following type:- Internal dependencies
- Dependencies between jobs in the same job stream.
- External dependencies
- Dependencies that can be between:
- Job streams.
- Jobs streams and jobs that belong to other job streams.
- Jobs that belong to different job streams.
- Time restrictions
- You can define time restrictions to control the processing of the
workflow:
- On jobs in job streams and job streams
-
- Earliest start time.
- Latest start time.
- Deadline.
- On job streams
- Repeat range
- On jobs in job streams
-
- Minimum duration
- Maximum duration
- Confirmation required
- To control the processing of a job, you can set an option to requires confirmation in a job in job stream definition. By setting this option, a job cannot be marked as successful or failed until you provide confirmation.