- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2019 09:09 PM
Hello everyone,
I'm currently implementing virtual agent in our service portal and I would like to load a topic once I clicked a button.I know that we can use this URL https://instance.service-now.com/$sn-va-web-client-app.do to load the virtual agent frame but I want to know if it's possible to add something like a parameter there that will load the topic
btw: I don't want to manually select the topic in the menu 🙂
Thank you
Solved! Go to Solution.
- Labels:
-
Connect
-
Service Portal
-
Virtual Agent

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2019 09:25 PM
Hi there,
You can open a topic directly thru adding to your URL:
sysparm_topic=<sys_id>
Example:
/$sn-va-web-client-app.do?sysparm_nostack=true&sysparm_stack=no&sysparm_topic=2a10809ddb593f40ceed9ce8db9619f4&sysparm_skip_load_history=true'
An example of this is in one of my Virtual Agent articles:
https://community.servicenow.com/community?id=community_article&sys_id=8fba850ddb6d3f84a39a0b55ca961...
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
---
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
12-27-2019 10:27 AM
Thanks I'll post something there and also try to get something sent directly to our ServiceNow reps for some more explanation.
I was planning to use sysparm_topic to auto-start a conversation after searching for it in the normal portal search (i.e. new search source on the sys_cs_topic table), but New York will effectively neuter the Virtual Agent if I do this. I can't direct users to a one-trick Virtual Agent - it defeats the purpose of VA and would utterly confuse users.
To be honest, I'm not sure what the "context menu" is that it's referring to (because the top-right corner menu still works), but if you just open up any conversation via the direct URL (https://abc.service-now.com/$sn-va-web-client-app.do?sysparm_topic=xyz), you'll see that the End Conversation button is disabled and then when the conversation ends, "Click here to start a new conversation" is still visible and clickable but does nothing. It'd make for a awful user experience if actually utilized.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2019 10:32 AM
Wow that last one concerning the "Click here to start a new conversation" is nasty! Just reproduced this on my PDI, really bad.
Kind regards,
Mark
---
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
12-21-2022 03:13 AM
Hi Mark,
I have a same requirement to open VA with a default topic. I followed the steps suggested by you but for some reason it is not working for me. Please have a look at the screenshot given below.
Steps I followed
1. Created a module where type is "URL from Arguments" and value that I put in under arguments is "/$sn-va-web-client-app.do?sysparm_nostack=true&sysparm_stack=no&sysparm_topic=6f449f192f7f1110f165c886f699b698&sysparm_skip_load_history=true"
2. Upon clicking on module it opens up the VA window but always with dotted line and shows nothing else. Same can be seen in the attached screenshot.
Not sure what I am missing but I'll be highly obliged for this timely help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2020 09:38 AM
Anyone know a way to load a specific branding with $sn-va-web-client-app? Or is there a list of all the sys_parm options available?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2021 07:29 AM