On selecting one choice from Select choice Redirect user to particular link in virtual agent

Nikita35
Kilo Guru

Hi 

I wanted to check possibility of below.

When I select one of the below, It should redirect me to a link directly without clicking anything else.

find_real_file.png

I am thinking of using script action and trying something like setRedirectURL but not sure what exactly to use.

16 REPLIES 16

Hi there,

You can use vaSystem.switchTopic() or vaSystem.topicDiscovery()

Also see my last article which covers these variables:
40+ (Un)documented Virtual Agent variables (vaInputs, vaVars, vaContext, vaSystem) 

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

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

LinkedIn

I want to auto-redirect users to the catalog form when they select a choice under certain topics.

So instead of providing the URL/link of the catalog form on the chatbot, I want users to be redirected directly to the form.