Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Connect Support - How to show longest wait time instead of average time on the queue - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Connect Support - How to show longest wait time instead of average time on the queue
KB0782264

Connect Support - How to show longest wait time instead of average time on the queue


726 Views Last updated : Apr 8, 2024 public Copy Permalink
KB Summary by Now Assist

Issue

This article briefs on how to show the "Longest wait time" instead of "Average wait time" on the queue in "Connect workspace" / "Connect mini-window".

Following screenshot shows the out of the box provided "Average wait time",

Cause

  • The connect chat interface code is harcoded to display the "average_wait_time" of the chat_queue record in the connect workspace
  • This average_wait_time field is calculated and set by the OOB provided after update business rule called "SNC - Chat Queue Average Wait Time"(/sys_script.do?sys_id=e2479357c0a8015274607cd0fe2d9ffd)

Resolution

In order to achieve the requirement of Connect workspace to display the longest wait time of the chat entry in the queue, please perform the following modifications,

  1. Review and customize the "SNC - Chat Queue Average Wait Time" business rule in such a way that it sets the longest wait time of the chat_queue_entry into average_wait_time field of the chat_queue record, so that automatically chat platform code will pull this longest wait time value and set it in average_wait_time field and display it.
  2. Secondly, to change the label from "Average Wait" to "Longest wait", navigate to "sys_ui_message.list" and create an entry with
     Key ="Average Wait" 
    Language="English" ( Select as per requirement)
    Message ="Longest Wait" (you can set this label as per your requirement)

The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.