Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

On clicking of update button, screen is not redirecting to some random page.

swathigangadhar
Tera Expert

On clicking of update button, screen is not redirecting to some random page, I want it to stay on same page after updating record, it should go to list view or particular page.

1 ACCEPTED SOLUTION

Siddartha Gudim
Tera Guru

If the update UI action is redirecting you to a random page..


Please add this following line in the UI Action



  1. action.setRedirectURL(current);  


This will redirect you to current page of the record.


Please like or mark correct based on the impact of response.


View solution in original post

1 REPLY 1

Siddartha Gudim
Tera Guru

If the update UI action is redirecting you to a random page..


Please add this following line in the UI Action



  1. action.setRedirectURL(current);  


This will redirect you to current page of the record.


Please like or mark correct based on the impact of response.