- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2022 12:21 PM
Hi,
For the VA chat bot, I ask the user is there anything else they need help with? If they select "yes" , i want to repeat the setup topic instead of the topics.
I need help with a script to show "the setup topic" again. Similar to show all topics:
(function execute() {
vaSystem.switchTopic(vaVars._setup_explore_help_topic);
})()
Assistance is greatly appreciated.
Thank you
Solved! Go to Solution.
- Labels:
-
Virtual Agent

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2022 12:40 PM
Hi there,
Haven't tested myself for Setup Topics, though maybe this works:
vaSystem.switchTopicByName('your_topic_name')
I know for Topics and Topic Blocks the similar method for sys_id works:
vaSystem.switchTopicById('your_topic_sysid')
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
2020-2022 ServiceNow Community MVP
2020-2022 ServiceNow Developer MVP
---
LinkedIn
Community article, blog, video 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
‎07-27-2022 12:40 PM
Hi there,
Haven't tested myself for Setup Topics, though maybe this works:
vaSystem.switchTopicByName('your_topic_name')
I know for Topics and Topic Blocks the similar method for sys_id works:
vaSystem.switchTopicById('your_topic_sysid')
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
2020-2022 ServiceNow Community MVP
2020-2022 ServiceNow Developer MVP
---
LinkedIn
Community article, blog, video list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field