Skip to main content

WarpNow - An ServiceNow Link Sharing Tool

image

Live Site
#

What is it?
#

If you’ve ever trolled ServiceNow community or the SNDevs slack, you’ve likely seen someone share a link that looks like: <your_instance>.service-now.com/foo?bar=baz. Not the end of the world, but if you work across a good many instances it would be nice to not have to remember all of them. I also find in my documentation, I can never decide which instance to reference in links, this solves that and lets the user decide where to go.

image

What do you track?
#

WarpNow is a static site, that saves absolutely no data from you. The side is hosted via S3, and distributed via CloudFront, serving the same page for every path. There is a simple Lambda@Edge function that redirects every subdomain back to the base domain, which lets you replace service with warp in the URL bar, so that instance.service-now.com becomes instance.warp-now.com and not worry about needing to pull the instance name. Again no logging, just serves a 301, redirecting you to the root domain. The tool is bring your own instances, the instances you add are only kept in your local storage.

How does it work?
#

Essentially its just a advanced bookmark manager, where when you bookmark a warp-now link, you can follow that link to any instance. In the browser, we parse the path from the URL and use it to open the link. When you add an instance, you are adding just a domain to which you can redirect.

Bus Factor/Operational Cost
#

When writing warp-now I made sure that it was hosted in a way that was as cost efficient as possible. The domain was the most expensive part at $20 bucks, the hosting itself costs less than a dollar a month. There is no maintenance required, and I intend to work as a ServiceNow professional for the foreseeable future, so this won’t be going anywhere. I also preserved the URL path so that you would never be worse off than before, just replacing the domain part of the slug with your domain.

SNUtils Bonus
#

If you use SNUtils, you can setup a /warp slashcommand mapped to //env warp-now.com for easy navigation from any instance to the warp-now link.

Source Code
#

I wrote the site in Svelte, as a project as I try to get better at typescript and more traditional web development, something that I feel is on the horizon for the ServiceNow professional due to custom components and Fluent. Feel free to chuck me a pull request if your inclined, but this project will never grow to be much more than it is now.

Thomas Walker
Author
Thomas Walker