Creating a Job Stream

Use this procedure to create and run a job stream. A job stream is a series of linked jobs for which you define a sequence of actions to execute. Job streams can be nested within other job streams.

You must have access to the JobQueueAccess_ST, BasicProductLineAcess_ST, MyJobsWebAppAccess_ST security classes, or their equivalents, in order to define job streams.

When you define a job stream, be sure to check that a prior job does not prevent a later job in the stream from being processed. In this case, the job stream will fail. For example, assume the first job is to suspend a queue but then the next job step starts an async group containing multiple async actions, at least one of which needs to run in the suspended queue. The async actions will not be completed, so that job stream will not be able to proceed to later jobs in stream, such as one resuming the suspended queue.

  1. Create the individual jobs needed for the job stream and determine the order in which you want the jobs to be run. See Creating Jobs.
  2. Navigate to the Job Console and select the Jobs tab or the My Jobs tab.
  3. Click Create.
  4. Specify this information:
    Type
    Select Job Stream.
    Job
    Specify a name for the job stream.
    Description
    Specify a description for the job stream.
    Owner
    For private job streams, the owner of the job stream.
    Private
    If private, the job stream can contain private jobs created by the same user who created the job stream, and can be used only in other job streams that are private and created by that user. Job streams that are not private can be used in any job stream, whether that stream is private or not private. To define a private job stream, click the ellipsis button, select Make Job Private, specify an owner, and click Submit.
    Step Parallel Processing
    Select, in order, to allow steps to be processed at the same time. The system starts all of the jobs in the jobs stream at the same time, if possible.
    Note: Using this feature disables field mapping for the members of the stream. Also, you must take care when using this feature because it is possible to set up steps to run in parallel that should not be allowed to do so. The processes could end up deadlocking, getting stale element exceptions, or CheckPoint already in use errors if not well thought out.
  5. Click Save.
  6. On the Job Stream Step List panel at the bottom of the Job form, click Create.
  7. On the Job Stream Step form, select a job and click Save or click Save and New if you need to add more steps.
  8. To run the job stream, select it on the Jobs or My Jobs tab and then click the ellipsis button and select Run Selected Job. Then specify the scheduling information and click Ok. See Scheduling Background Actions.