if the queue size for chats is 4 and the queue is already filled with 3 chats means it has space for 1 chat.
The agents are also fully equipped with chats. So, the newly incoming chats would be getting accumulated in the queue. But the scenario is if the queue is filled and there is a place for 1 chat to be accepted in the queue. And at this same point of time there are multiple chats(say 2 chats) entering the omni, those due to already filled agents get routed to the queue.|| All agents are equipped with the chats to full capacity. Queue capacity is 4 but the 3 is already used(ideally the queue can accept 1 more chat).
Both behaviors (the queue going over capacity when multiple chats come in, and the queue remaining under capacity when multiple chats come in) occurs due to limitations in the system's ability to asynchronously check queue space when multiple chats are simultaneously submitted. In one version each chat probably doesn't see the other as they're submitted, so they're both allowed in. In the other version, each chat sees the other and thinks the queue is full.
This behavior is a known system limitation related to how Salesforce asynchronously checks queue capacity when multiple chats arrive at the same time. While this cannot be fully prevented, you can mitigate the impact by:
1. Setting your queue capacity conservatively (e.g., slightly below the true maximum) to account for the race condition.
2. Using the Overflow Assignee feature in your routing configuration so that any chats that exceed capacity are routed to a designated queue or user rather than being lost.
3. Monitoring queue volume proactively using: SELECT count() FROM PendingServiceRouting WHERE QueueId = 'Your_Queue_Id'
Configure Overflow Assignees
000395583

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.