Queue - Global
-
- UpdatedFeb 1, 2024
- 1 minute read
- Washington DC
- API reference
The Queue API (Advanced Work Assignment) provides methods to route a document to a queue.
This API is provided within the sn_awa
namespace.
Requires the following:
- Advanced Work Assignment plugin (com.glide.awa)
- Role: awa_integration_user or admin
Queue - get(String queue_id)
Gets a queue record by sys_id.
Name | Type | Description |
---|---|---|
queue_id | String | Represents sys_id of queue record from awa_queue table |
Type | Description |
---|---|
Boolean | True if queue record exists, false otherwise. |
Example
Queue – route(Object options)
Routes an active work item to the queue object.
If an active work item does not exist for the specified document, this method creates a work item and set its fields accordingly.
Name | Type | Description |
---|---|---|
options | Object | Contains document sys_id and table associated with work item:
|
Type | Description |
---|---|
Boolean | True if successful, error message otherwise. |