Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Redirect to another catalog item

sarahkapasi
Giga Expert

Hello,

We have a catalog item, where in one of the questions, if they answer "No", I would like it to direct the user to another catalog item.  

How would I go about doing that?

find_real_file.png

1 ACCEPTED SOLUTION

Kalaiarasan Pus
Giga Sage

window.location.href = 'url'


View solution in original post

6 REPLIES 6

Kalaiarasan Pus
Giga Sage

window.location.href = 'url'


would this be a client script?


Hi,

 

I am trying to achieve a similar design but my decision box would be a reference field not a selectbox, however I am unable to do so.

 

Is there a particular format of the url that needs to be given?

 

Thanks

rohantyagi
ServiceNow Employee
ServiceNow Employee

You may use UI actions, and create a List Choice. More info here: UI Actions - ServiceNow Wiki


Or


A script in catalog UI policies: Service Catalog UI Policy - ServiceNow Wiki



Please post this same question in the service catalog area, should get more visibility: Service Catalog