Work item queues

  • Release version: Yokohama
  • Updated January 30, 2025
  • 3 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of Work item queues

    Work item queues in Advanced Work Assignment (AWA) enable ServiceNow customers to manage and route specific types of work items for service channels efficiently. Administrators can create or modify queues to suit organizational needs, defining which agent groups handle the work, scheduling queue availability, and setting time limits for agent response.

    Show full answer Show less

    Queue Configuration and Routing

    • Queue Setup: Administrators assign the queue to a service channel, select agent groups eligible to work on the queue, and can configure schedules and response time limits.
    • Routing Conditions: Work items are routed to queues based on routing conditions defined through either a simple condition builder or advanced JavaScript scripts. Queues can also be created without routing conditions for manual or external assignment.
    • Chat-Specific Settings: For Chat service channels, administrators can configure chat messages displayed to users and define routing rules based on chat context variables, such as user responses in pre-chat surveys. These variables help direct live chat items appropriately.
    • Agent Eligibility and Assignment: Multiple agent groups can be assigned to a queue with eligibility rules and time constraints, allowing prioritized and overflow handling of work items.
    • Work Item Sort Order: Customers can specify sorting rules for work items within a queue to prioritize assignments effectively based on selected fields and sort directions.

    Operational Considerations

    • If a queue holds more than 10,000 items in the queued state, new work items might not be assigned automatically.
    • When cases are manually assigned from a queue, they are removed, and their state changes to Canceled with the reason Manually assigned.
    • Queues without assigned agent groups will accept routed work items but will not have assignments made by AWA.

    Advanced Features

    • Queue Triggers: Customers can create and manage triggers that initiate multiple actions during customer wait times.
    • External Routing: Allows routing to external queues based on service channel and queue conditions, with assignment completed by third-party systems.

    Key Benefits for ServiceNow Customers

    • Flexible configuration of queues tailored to specific service channels and business needs.
    • Improved routing accuracy using contextual information, especially for chat services.
    • Enhanced workload management through agent eligibility pools and prioritized sorting.
    • Support for manual and external assignment scenarios, increasing operational flexibility.

    In Advanced Work Assignment, queues store a specific type of work item for a service channel.

    AWA administrators can create or modify queues based on customer need. As part of creating or modifying a queue, the awa_admin identifies some information about the queue, including the service channel to which the queue belongs and which agent groups handle the incoming work items.

    The awa_admin can select a schedule that defines when the queue is available and identify a time limit within which an agent should accept a work item in the queue. If the selected service channel is Chat, the awa_admin creates the chat messages that are displayed to users.

    Routing conditions identify the work items that are routed to a queue. Create routing conditions in one of two ways:
    • Simple: use a condition builder to select routing conditions. The fields available for selection are based on the selected service channel.
    • Advanced: use a JavaScript script to identify routing conditions.

    The awa_admin can also create a queue without routing conditions so that work items are not routed to that queue automatically. Customers can manually assign work items to the queue or assign work items using assignment tools such as matching rules or Workflow Studio.

    When a case in a queue is assigned manually, the case is removed from the queue. The state of the work item is set to Canceled and the cancellation reason is set to Manually assigned.

    Note:
    New work items may not be assigned if they are routed to queues containing more than 10,000 work items in the queued state.

    Configure routing rules that use chat context variables

    You can specify queue routing rules that use chat context variables in the condition builder. For details on creating chat context variables, see Configure context variables for storing chat-related information. These variables can store contextual information that can be used in routing conditions to control where chat work items are routed.

    For example, you can define chat context variables to store user responses from pre-chat surveys that you create. If you store these responses in chat context variables, such as a user's department or a product name, you can specify the context variables in queue routing conditions to direct where the live chat is routed. When you specify a routing condition using the condition builder, you can dot walk to the Context fields. In the fields menu, select Show Related Fields and open the fields menu again to select Context → Interaction Context fields.

    Show Context related table fields in the Work item routing condition builderYou can then select from the available chat context variables in the condition builder. For example, choosing csp_category becomes Context.csp_category.

    Assign pools of agents eligible to work on a queue

    Assign one or more agent groups to a queue using the Eligibility Assignment related list. These groups are eligible to receive work items from the queue, which allows work to get prioritized to eligible agents.

    Select an agent assignment rule and any eligibility time constraints for each group. The eligibility time constraints are used to determine when the next pool of agents is eligible for assignment. For example, you can assign one group to handle work items immediately and a second group to handle the overflow from the first group after work items sit in the queue for a specified amount of time.

    Note:
    If no groups are assigned to a queue, work items can be routed to the queue but Advanced Work Assignment does not assign them.

    Create a sort order for a queue

    Use the Work Item Sort Order related list to create one or more sort conditions for work items in a queue. For each sort condition, specify a field from the selected service channel table and the direction to sort, either ascending or descending. Items in the queue are sorted and assigned to agents based on these conditions.