How to restrict Virtual Agent to only a specific group/groups?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2024 09:34 PM
Can we make virtual agent icon visible based on user group? I am currently using Out-of-the-box virtual agent chat config. I am checking condition using gs.getUser().isMemberOf(), it is not working as needed. It is making visible to all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2024 03:00 AM
Where I can find chat setup and client script. can you please share screenshot for reference?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2024 04:11 AM - edited 01-16-2024 04:11 AM
That was a AI generated reply with info from nowKB.com with incorrect information. There's no client script field on Agent Chat configuration. Unfortunately there some people active on the community doing this AI nonsense. Really brings the level of the community down 🤐
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
01-16-2024 04:36 AM
Somewere i belive the virtual agent chat icon can be limited based on roles from the chat widget . You can add/remove roles to group which needs visiblity.
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....