The Now Platform® Washington DC release is live. Watch now!
‎07-28-2017 02:37 AM
We want to provide our users with quick to remember vanity URLs like instance.service-now.com/request then that URL will redirect to some specific page in ServiceNow (requests page). This way we don't need to provide the actual hard to remember URLs just to navigate on specific pages.
This will be useful as well to direct users to specific knowledge base articles (for example go to instance.service-now.com/resetpassword to link to kb article on how to reset their password).
‎07-28-2017 03:01 AM
Hi Jimboy,
a similar question has been asked before: Short URL's for Linking to KB Articles. <insntance>.service-now.com/KB02955 maybe you could use the info provided there, for example Processors ( with a nice example in this video: Creating a Public ServiceNow Processor - YouTube )
Kind regards,
Lucas Vieites
‎07-28-2017 03:23 AM
This requires for use to add a .do on the url for example instead of instance.service-now.com/kb123, we need to use instance.service-now.com/kb123.do
Do you have other ideas on how we can just use that shorter /kb123 as url redirect?
‎07-28-2017 04:34 AM
Yes, that's how the underlying platform works.
I can't think of anything internal, but you could build an intermediate URL shortener (leg. bit.ly, or goo.gl) on your internal network that could then build the correct URL towards your servicenow instance. This can be quite easy with any server-side scripting, for example, by having your internal web server accept a URL like "http://snowgo/KB123" and a default script there (or a URL rewrite as Apache can do) that transforms that into "https://<your_instance>.service-now.com/kb_view.do?sysparm_article=KB123"
An example on how to do this with Apache's mod_rewrite could look like this:
RewriteEngine on
RedirectMatch "^/(.*)" "https://<your_instance>.service-now.com/kb_view.do?sysparm_article=$1"
I hope this brings you a step further.
Kind regards,
Lucas Vieites
(EDIT: Changed rewrite expression to a working one, the previous was faulty)
‎07-28-2017 05:49 AM
Apache rewrite rules was also my thinking - but this may require an intermediate proxy if access to the underlying webserver isn't possible.