Creating a queue

You can prioritize the execution of Transactions, Templates, or Process Flows, based on what they're associated with, the Company or itsĀ Partners. For this, you need to create a dedicated queue that in turn creates a corresponding runtime service. To achieve this, follow the instructions given below.

  1. On the Account menu, click Maintenance.
    Ā Ā 
  2. In the left panel, select Queue Management.
  3. On theĀ Queue Management screen, click Create Queue.
  4. In the Add Queue window, enter the details in the following fields.Ā 

  5. In the Queue Information section,Ā 
    1. In theĀ NameĀ andĀ DescriptionĀ fields, enter the name and description respectively for the queue.

    2. In theĀ CategoryĀ field, selectĀ PartnerĀ orĀ Company.

      Select Partner if you want the transactions associated with this Partner to be executed on a dedicated Runtime instance. Select Company if you want a specific set of Transactions, Templates, or Process Flows to be executed on a dedicated Runtime instance.

      If you select Partner as a category, do the followings.

      1. InĀ PartnerĀ field, select one or more partners.
        You also have the option to select the resource intensive Transactions to be processed through a separate queue on a dedicated Runtime instance.Ā To do this,Ā 
      2. Select theĀ Resource IntensiveĀ checkbox.

        Select Resource Intensive checkbox if you have transactions in which a large amount of data is going to be processed. You can skip this step if you don't have any resource intensive Transaction.
      3. Select the Transaction that you know is resource intensive.

      If you select CompanyĀ as a category, you need to enter the following details.

      1. In the Transactions field, select the Transactions.
      2. In the Template field, select the Templates.

      3. In the Process Flow field, select the Process Flows.
  6. In the Autoscaler Settings section,Ā 
    1. Leave the fieldĀ Deployment Name as it is.

      TheĀ Deployment NameĀ field is non-editable. It contains the name of the service created based on the name you have given to the Queue. The format of the Service name will be as follows: Runtime-<QueueName>. For example, Runtime-QueueA, wherein QueueA is the name of the Queue.
    2. In theĀ Minimum PodĀ field, enter the minimum number of Runtime instances to start with when there is a request for Autoscaling.
    3. In theĀ Maximum PodĀ field, enter the maximum number of Runtime instances to have in the service.
    4. In theĀ Autoscaler ThresholdĀ field, enter the threshold value for the messages in the queue.

      The system checks for the number of messages in the queue at an interval of every 30 seconds. At that moment, if the system finds that the number of messages in the queue is equal to or greater than the value defined in this field, it creates a new Runtime instance.
  7. Click Save.

Viewing a queue

You can view an existing queue by following the steps given below.

  1. Select the queue that you want to view.
  2. Click theĀ Ā icon underĀ ActionsĀ column.
  3. ClickĀ View.

    You'll be able to view all the details of the queue. Refer to screenshot below.

Editing a queue

You can edit an existing queue by following the steps given below.

  1. Select the queue that you want to edit.
  2. Click the Ā icon under Actions column.
  3. Click Edit.

    You can't edit the name of a queue.
  4. Edit the required fields.
  5. Click Save.