- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2020 09:40 AM
My client wants to route chat to different chat queues based on the country location of the user.
Any Idea. how to do it?
Thanks!
Solved! Go to Solution.
- Labels:
-
Virtual Agent

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2020 09:11 PM
Hi There,
Within the topic you can configure the queues for the live agent transfer. You can validate the location of user and connect to live agent.
example script [working - tested]
var location = vaInputs.user.location.getDisplayValue();
if(location == 'India'){
vaVars.LiveAgent_queue = 'f4d701b1b3900300f7d1a13816a8dc8e';
gs.info('India location')
vaSystem.connectToAgent();
}
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2020 09:48 AM
Hi there,
Within the Service Portal Agent Chat Configuration, in the script field you could just do a GlideRecord query etc, to retrieve the country of the user. Just using if conditions or a switch, you could then script which queue it concerns with live_agent_queue.
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP
---
LinkedIn
Community article list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2020 09:54 AM
Hi
Please follow this video to achieve your use case
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2020 11:35 AM
My client dont have AWA.
How can i do the same without using AWA?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2020 11:55 AM
Did you see my previous comment? Describes how you can achieve it.
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP
---
LinkedIn
Community article list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field