How can I have the UI Action redirect to another page

Steve Rondeau
Kilo Expert

I'm trying to set up an incident to allow users to redirect to a specific catalog item based on the category selected.

It seems the URL I try to use is not accepted.  Redirects me to basically a blank page.  

 

Below is the page I'm trying to redirect to

find_real_file.png

 

 

 

This is the script for the UI Action Create Service Requests which is based off of the Create Request UI Action.  Line 6 is the actual page I want to redirect to.  

In addition, would current.description = current.variables.descr work to copy the information entered into the Incident table into this description variable?

find_real_file.png

 

 

 

 

1 ACCEPTED SOLUTION

set the onClick field to openWindow();

 

Remove line 1 to 6 and only keep the function.

Remove the condition just for testing

View solution in original post

10 REPLIES 10

Can I obtain a bit more help?

I'm trying to create an if/else statement to open a different window based on the category.  

If category is x, openWindow(a), else openWindow(b)  

I'm missing something