global UI button behavior

Shafiuddin Shai
Tera Contributor

Hello experts,

 

Here the scenario is, to redirect the change_request form to the list of all open change_requests page on click of 'Update button' (this is a global UI action, by default behavior is routing to previous page). I tried to achieve it by onSubmit client script but no luck. Your inputs will be appreciated. Thanks in advance.

 

Regards,

Shafi

9 REPLIES 9

@Shafiuddin Shai 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi @Ankur Bawiskar

Thank you for your response. I forgot to mention that the global button should retain the existing functionality. However, the redirection should occur only on the change_request form. To achieve this, I created a new UI action specifically for the change_request form and made the default UI action hidden on the change form.

Appreciated your response.

@Shafiuddin Shai 

Once you override the default UI action for your change_request table the OOB one will be hidden and the one you created will start showing up.

Did you follow the steps I shared above?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar 

Yeah, the issue was resolved. I found the above replies helpful in addressing and resolving it. Thanks

@Shafiuddin Shai 

Glad to know.

Please mark my response as correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader