How I could change the instance name in URL?

Virendra K
Kilo Sage

Hi All,

I am executing a report using UI action. What the URL I am using is having DEV instance address. If I commit the changes to Prod then will it work ?

How URL will get update to Prod address? 

Do we have such facility so set dynamic URL (any instance like dev, test or prod) ? 

How I could set the url so that it will work for any instance?

Please help. Thanks.

 

1 ACCEPTED SOLUTION

Jon Barnes
Kilo Sage

Is your UI Action just redirecting to a report? if so, you should be able to keep the DNS part out of the URL completely. For example, instead of redirecting to "https://myinstance.service-now.com/some_page.do", you can just redirect to "/some_page.do", which will work in all environments.

View solution in original post

2 REPLIES 2

Jon Barnes
Kilo Sage

Is your UI Action just redirecting to a report? if so, you should be able to keep the DNS part out of the URL completely. For example, instead of redirecting to "https://myinstance.service-now.com/some_page.do", you can just redirect to "/some_page.do", which will work in all environments.

Thanks Jon for you quick reply.