[5] Queue

Last modified by admin on 2023/07/04 15:48

Queue in simple terms is a container that holds a set of items that you want to be processed by akaBot Agents. Queue items can store different types of data, such as customer details. This information can be processed in other systems - SAP or Salesforce, for instance.

Queues enable you to create large automation projects underlined by complex logic. New queues created in akaBot Center are empty by default. To populate queues with items, to change their status and process them, you have to use Studio activities. As soon as queue items are processed, they become transactions. To access the Queue page, you click Queue tab in the left menu. After clicking, the system opens Queue Listing Page where all the Queues are located.

image-20221101110036-8.png

NoColumnDescription
1ActionAvailable actions to manage the Queue. Includes:
Edit: allows you to edit the details of each Queue
Delete: allows you to remove selected Queue from Center.
By selecting the Checkbox corresponding to each Queue, the delete option will appear beside the Filter option and allow you to delete the Queue.

! Selecting the Checkbox next to Action will select all Queue in display
and allow you to bulk delete selected ones.
2NameMandatory. The name of the queue.
3DescriptionMandatory. The description of the queue.
4In progressThe item was processed with the Get Transaction Item or the Add Transaction Item activity; when an item has this status, your custom
progress status is also displayed, in the Progress column.
5RemainingThe number of queue items that have not been processed yet, and have a New status.
6Average timeThe average time that was required to process the queue items, was expressed in seconds.
7SuccessfulThe total number of transactions that were processed successfully.
8App ExceptionsThe total number of transactions that failed with an application exception.
9Biz ExceptionThe total number of transactions that failed with a business exception.

a. View a Queue

To view a Queue, you click Eye button.

image-20221101110141-9.png

The system shows the details of the queue as below:

image-20221101110211-10.png

NoColumnDescription
1NameThe name of the queue.
2DescriptionThe description of the queue.
3In progressThe item was processed with the Get Transaction Item or the Add Transaction Item activity; when an item has this status, your custom
progress status is also displayed, in the Progress column.
4RemainingThe number of queue items that have not been processed and have a New status.
5Average timeThe average time that was required to process the queue items, was expressed in seconds.
6SuccessfulThe total number of transactions that were processed successfully.
7App ExceptionsThe total number of transactions that failed with an application exception.
8Biz ExceptionThe total number of transactions that failed with a business exception.
  • Transaction

Once a Queue item was in proceed, it becomes a transaction. You can check the details of the processing
queue items in the details of the queue.

NoFieldDescription
1ActionAvailable actions to manage the Queue. Includes:
View: allows you to view information of each Transaction.
Edit: allows you to edit the details of each Transaction.
Clone: allow users to create an identical Transaction.
Delete: allows you to delete selected Transaction.
By selecting the Checkbox corresponding to each Queue, the delete option will appear beside the Filter option and allow you to delete the Queue from the Center.

! Selecting the Checkbox next to Action will select all Queue in display and allow you to bulk delete selected them
2StatusThese statuses let you know if an item has been processed or not, and the
stage of the process at a particular time. Queues items can have these
statuses:
NEW
IN PROGRESS
FAILED
SUCCESSFUL
ABANDONED
RETRIED
* DELETED
3ReferenceA custom identifier for a transaction or a group of transactions.

It supports all special characters, except double-quoted. This is set for the automation project, using the Add Queue Item or Add Transaction Item activity.
The reference can be unique, depending on what you chose in the Unique Reference field when you created the queue.
4RevisionThis allows you to know the status of the revision of those queue items that have been abandoned or have failed with an application or business
exception.
5PriorityThe processing priority level of the transaction item. This field is populated according to the priority level set in the Add Queue Item activity (Low, Normal, High), in Studio.
6DeadlineThe latest time at which the queue item should be processed. This field is populated according to how you configured the Deadline property of the Postpone Transaction Item activity, in Studio.
7PostponeThe earliest time at which the queue item is available for processing. This field is populated according to how you configured the Postpone property of the Postpone Transaction Item activity, in Studio.
8StartedThe amount of time that passed since the processing started.
9EndedThe amount of time that passed since the processing stopped.
10AgentThe name of the Agent that has processed a transaction.
11ExceptionThe type of exception that caused an item to fail. This is populated according to the error type selected in the Set Transaction Status activity in Studio.
12Specific dataJSON Schema data.

b. Create/Edit a Queue

In order to create a Queue, on the Queue Listing page, click Create new

image-20221101110414-11.png

To edit an existing Queue, select the Edit button corresponding to the Queue you want to edit:

image-20221101110501-12.png

The system will display the form for you to create/edit a Queue

image-20221101110535-13.png

NoColumn /LabelDescriptionTypeMaximumIs Mandatory?Input Requirement
1NameEnter the name of the queue you want to searchInput searching255 charYes 
2Unique ReferenceCheck the checkbox if you want to enforce unique references in all the transactions that are to be added to the queue.  NoThis option cannot be edited and displays if the current queue enforces unique references or not.
3Auto RetryIndicates if the Center should retry to process items in the queue when an Application Exception is encountered.  No 
4Maximum of retriesOnly appear if the Auto Retry option is selected.Int3250 charNoGreater than 0
5JSON SchemaWhen creating or editing a queue, you can upload a custom JSON.    
6Specific DataJSON schema for the specific data of all transactions in the queue. File size limited to 256kb by
default.
No 
7Output DataJSON schema for the output data of all transactions in the queue. File size limited to 256kb by
default.
No 
8Analytics DataJSON schema for the output data of all transactions in the queue. File size limited to 256kb by
default.
No 

After filling the form, click the Save button to save it, and the Queue is created. You can also cancel the creation of the queue by clicking the Cancel button.

c. Delete Queue

To delete a queue, you click the Delete button of the corresponding Queue.

image-20221101111838-14.png

Alternatively, you can select the checkbox before each Queue and the Delete button will show up next to the Filter button. Tick the Checkbox next to Action will allow users to select all displayed Queue for bulk delete.

image-20221101111942-15.png

 

  
Navigation