- 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
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
08-23-2023 02:44 AM
Thankyou for the help @SANDEEP28
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2023 02:17 AM
Hello @SANDEEP28,
I have created the flow as above only but now again it is working only for HR Global and not for the other choices even if the agents are available it is again showing no agents available message
Please help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2024 11:45 AM
@ritu_saluja How were you able to solve the que only working for the HR Global and not the other ques? I am having the same problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2023 11:25 PM
@ritu_saluja Have you put condition for each queue ? If there is no condition then only it will default to one queue.