UI Action

nksrapn
Tera Contributor

I have created a  custom UI Action in related list relationship, I want it should redirect to sys_user table, How can I achieve this?

7 REPLIES 7

Aman Kumar S
Kilo Patron

Hi @nksrapn ,

 

You can try using below snippet:

action.setRedirectURL("/sys_user_list.do");

 

 

Best Regards
Aman Kumar

nksrapn_0-1691241314482.png

It should redirect in this way.

Sonam Tiwari
Tera Guru

@nksrapn ,
Get the url starting after the instance name i.e. after service-now.com from the browser to where you want to redirect and then modify any static values there with values from your UI action else if nothing static, leave it to that.
 
Put it in action.setRedirectURL("<url here>");