- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2021 09:52 PM
Hi,
I have a Queue and one Agent in it. When I initiate a chat and if the Agent in the Queue is Offline, the No Agents Available message is not getting displayed. Instead, a work item is getting created and routed to this queue. Since the Agent is Offline, the Agent is not getting the chat request and the end user is shown 'Routing to a live agent' message.
Any possible explanations for the above issue?
Thanks in Advance!
Solved! Go to Solution.
- Labels:
-
Agent Chat

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-14-2021 01:12 PM
This was a bug introduced in Quebec Patch 3 (PRB1500197). Install Quebec Patch 5 to fix it.
I can confirm we ran into the same issue and now that we're on Patch 7 in non-prod, the issue is gone.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2021 10:34 PM
Hi Abilash,
1) The easiest way to determine that the service channel and queue are configured correctly is to make sure that a work item is being generated for that interaction.
- Navigate to awa_work_item.list and sort by created (z to a).
- Verify that there is a work item for the interaction associated with your chat in a Queued or Pending Accept state.
- If a work item has not been created double-check the Service Channel, Queues, and Assignment Rule. See KB0753173 or the Docs for more info.
- Make sure that the awa_queue for the agent has the "Define Condition Here" field checked ( KB0779998 ).
2) To check the current capacity for an agent, navigate to the awa_agent_capacity table, add the 'Capacity in Use' field and then search for your agent.
- This number is calculated based on the Utilization condition in the Service Channel.
- If no number is shown for that user and channel in Capacity in Use, you may need to determine the capacity manually by checking the related table (interaction, case, incident, etc.) for records assigned to that user that meet the utilization condition.
- Normally the agent capacity is high because of old interaction records assigned to the user are still in a work in progress state that just need to be canceled.
3) Verify that the agent is available for the correct service channel by navigating to the awa_agent_channel_presence table and search for the agent by name and the service channel is chat. If you don't see the record, you may need to edit the Available presence state record in the awa_presence_state table.
4) Check the Assignment Eligibility records and make sure they all have Assignment Rules and none of them are empty. If any are empty you must either add an Assignment Rule or delete the record. Assignment Eligibility records that have empty assignment rules throws an error and causes all work items to remain in a Queued state and are not offered to available agents
/awa_eligibility_pool_list.do?sysparm_query=agent_assignment_rule%3DNULL&sysparm_view=
5) If the work item is in a Pending Accept state and assigned to someone, but not showing for the assigned agent then they may be failing some ACLs or there may be a before query Business Rule preventing them from seeing the Interaction record associated with the work item (KB0745410). One other thing that can cause the items not to show even when they are assigned is client-side errors caused by bad client scripts on the interaction table.
6) To see if the agent has already rejected or timed out for that work item go to the awa_work_item_rejection table and see if there is a record for that work item and agent. If work items are rejecting for agents too early you may need to adjust the timeout to give agent's more time to accept the items. You may also see that the reject reason is No Access which means the user ran into issue 4 due to ACLs or Business Rules.
Please mark my answer as Correct & Helpful, if applicable.
Thanks
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-14-2021 01:58 AM
Hi Abilash,
You will have to add isLiveAgentAvailable() condition in the VA topic before connectToAgent() to avoid the routing message when Agent is offline.
if(vaSystem.isLiveAgentAvailable()) { vaSystem.connectToAgent()
}
Regards,
Gaurav
Please mark this reply as Helpful/Correct, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-14-2021 01:12 PM
This was a bug introduced in Quebec Patch 3 (PRB1500197). Install Quebec Patch 5 to fix it.
I can confirm we ran into the same issue and now that we're on Patch 7 in non-prod, the issue is gone.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-10-2022 12:39 AM
Where you using connect chat?