Page not redirecting to Change request list. Change_request.LIST page

Kanna12
Tera Expert

Hello Community,

 

we have Standard,Change,Emergency Change request. I  recetly added Standard template managment in my instance.
When i submitted Standard,Change,Emergency request. It is redirecting to Standard template managment page.
It should redirected to Change request list view.
I treied in my PDI. All requestes are redirecting to chnage request view after the change got submitted.

 

I am not sure, why is not doing as expected in my organizational instance. I didn't chnage any reroute configurations.

 

Please any one help me on this.

 

Much appreciate!

 

1 REPLY 1

Sumanth16
Kilo Patron

Hi @Kanna12 ,

 

Check the submit (or) save button UI action code on the change request. 

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0965709

 

(or) 

 

Create a New Form button (UI action) on Change request table and override the Global Button as below:



Sumanth16_0-1710126802957.png

 



Copy all the code of Submit button and add a line in the end:



answer = current.insert();

 

gs.include('ActionUtils');

 

var au = new ActionUtils();

 

au.postInsert(current);



action.setRedirectURL('change_request_list.do');

 

 

If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!

 

Thanks & Regards,

Sumanth Meda