Hide a node within a topic based on user's country, virtual agent?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2024 09:32 AM
We have a requirements for employment verification letter, we have a topic within the virtual agent that presents two nods, one for US employees and one for Canada Employees, how can I restrict this so that US employees do not see the Canada option, and vice versa?
More so from a script perspective, I know there is a "hide this node" at the bottom, but it does not allow us to do it based on condition, it must be scripted.
Below, you can see, I want only USA Employees to view the [KBA US] and only Canadian Employees to view the [Request Catalog Item Canada] option.
- Labels:
-
Virtual Agent

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2024 12:00 PM
Hi there,
Should be possible. Perhaps no code, definitely with code. Question, how to define who is a US employee / who is Canada employee? Is that just based on user record country? Something else?
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
03-14-2024 10:07 AM
@Mark Roethof it would be based on the country field in the user record.