Setting Up Job Queue and Scope

To set up the job queue and the scope for an orchestration:

  1. On the Orchestrations design page, click the Start node.

    The action control icons are displayed above the Start node.

  2. Click the Inputs and Values icon.

    Starting with Tools Release 9.2.7.4, the Job Queue and the Job Queue Scope drop-down lists are moved to the Run Options window. If you are using Tools Release 9.2.7.4 and later, click the Run Options icon.

  3. From the Job Queue drop-down list, select the values as required:

    • Single Threaded. Use this option if you want to wait and receive a response after the orchestration is processed. This option enables you to run the orchestration in the order it is received by the server.

    • Fire and Forget. This option enables the queue to run asynchronously. The caller will only receive an acknowledgment that the job was received. The orchestration will continue executing on the server until completion.

    • Default. Use this option if you want to wait and receive a response after the orchestration is processed. At a time, this queue runs the number of jobs that is specified in MaxConcurrentJobs in the rest.ini file. The orchestration will undergo a waiting period before it is processed only if the queue is full.

      Note: If you select the Default option, the Job Queue Scope is automatically populated as System.
  4. From the Job Queue Scope drop-down list, select the values as required:

    • System

    • User. Selecting a user-specific queue allows a new queue to be generated for each user that requests the orchestration. The user-specific queues will have precedence over the system queues.

  5. Click Save to save your changes. The saved queue will be used every time the orchestration runs unless the queue is overridden.