- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2023 05:04 AM
Even when the Live Agent are available virtual agent is not routing to a proper queue and showing no agents available message. Please help me on this
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2023 01:27 AM
@ritu_saluja Create flow as below
Select chat queue -->
Set queue name --> put below script in below actual expression
(function execute() {
if (vaInputs.select_chat_queue == "Payroll Case")
vaVars.LiveAgent_queue = 'HR Payroll Chat';
if (vaInputs.select_chat_queue == "Lifecycle Events")
vaVars.LiveAgent_queue = 'HR Lifecycle Events Chat';
if (vaInputs.select_chat_queue == "Talent Management")
vaVars.LiveAgent_queue = 'HR Talent Management Chat';
if (vaInputs.select_chat_queue == "Total Rewards")
vaVars.LiveAgent_queue = 'HR Total Rewards Chat';
gs.info('value of queue is '+vaVars.LiveAgent_queue);
})()
Connect to Agent --> put below script in below actual expression
(function execute() {
vaSystem.connectToAgent();
})()
Also in the condition, you need click on on "Show Related Fields" --> Go to Context --> Interaction context fields and then select "queue". Put the chat queue name as value.
Do this for all chat queues
If I could help you with your Query then, please hit the Thumb Icon and mark as Correct !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-03-2023 10:13 PM
Hello @SANDEEP28,
Yes I have written this script
(function execute() { if (vaInputs.select_chat_queue == "Payroll Case") vaVars.LiveAgent_queue = 'HR Payroll Chat'; if (vaInputs.select_chat_queue == "Lifecycle Events") vaVars.LiveAgent_queue = 'HR Lifecycle Events Chat'; if (vaInputs.select_chat_queue == "Talent Management") vaVars.LiveAgent_queue = 'HR Talent Management Chat'; if (vaInputs.select_chat_queue == "Total Rewards") vaVars.LiveAgent_queue = 'HR Total Rewards Chat'; gs.info('value of queue is '+vaVars.LiveAgent_queue); })()
in set queue name
please help as it is not working properly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-07-2023 06:36 PM
Hi, hopefully this works for anyone who is implementing this 'Live Agent'. The thing that was missing on my end is in te record of the table [awa_presence_state] the one named 'Available' there is a Slush Bucket named 'Service Channels'. Depending your case but in most cases make sure that the Service Channel named 'Chat' is selected, like this:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-07-2023 10:27 PM
Hello @mabeto97,
In my case chat is already selected.
Also the other thing is chats are routing correctly in Tokyo Version in my PDI, but my instance is in utah version and I tried the same thing in utah pdi as well but chats are not routing correctly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2024 02:30 PM
My life saver you are! I was pulling my hair for hours why things suddenly broke. Thank you so much.