- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2025 03:58 AM
I have a use case where, after submitting a specific catalog item, I want the Virtual Agent to automatically greet the user and continue the conversation based on their request. How can I invoke a specific VA topic programmatically or through a post-submission UI action?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2025 05:38 AM
Hi @shashankupa ,
You cannot trigger a Virtual Agent topic using sn_va_conversation.VAConversation() in a PDI.
You cannot programmatically start a VA conversation in PDI using anymethod. You're blocked by platform restrictions, not script errors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2025 03:59 AM
I doubt you can invoke a topic from script.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2025 04:03 AM
@shashankupa
This is not how the VA is supposed to be used.
If there is a method for it, that would be so complex that it will most likely not be worthy of creating it...
Isn't there any other option? After the submisison, what is supposed to be there in the VA, couldn't it be replaced by a modal window or redirection to somewhere else?
Please provide more details of the design to think of alternatives
/* If my response wasn’t a total disaster ↙️ ⭐ drop a Kudos or Accept as Solution ✅ ↘️ Cheers! */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2025 05:38 AM
Hi @shashankupa ,
You cannot trigger a Virtual Agent topic using sn_va_conversation.VAConversation() in a PDI.
You cannot programmatically start a VA conversation in PDI using anymethod. You're blocked by platform restrictions, not script errors.