Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Virtual Agent

Prataps135
Mega Sage

Hi everyone, 
Good Afternoon,

 

I just want to know how can i trigger topic in the virtual agent from another topic using script bot response.
I know that OOB there is no way to trigger a top from another topic. So, just want to know is there any workaround or any way to trigger i topic.

Regards 
Pratap Singh Sisodia

1 ACCEPTED SOLUTION

Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

Scripted you can use:

vaSystem.switchTopicByName() or vaSystem.switchTopicById()

 

Technically you might also use:

vaSystem.switchTopic(), though that is not recommended anymore.

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

View solution in original post

1 REPLY 1

Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

Scripted you can use:

vaSystem.switchTopicByName() or vaSystem.switchTopicById()

 

Technically you might also use:

vaSystem.switchTopic(), though that is not recommended anymore.

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn