Parse URL Parameters in a Client Script
Here’s a useful script I’ve used before to grab parameters from a URL in Service-now.com. Simply pass the name of the parameter into the function and it will return the corresponding parameter value. So if you had a Service-now.com URL that looked like this… https://demo.service-now.com/incident.do?sys_id=-1&sysparm_query=active=true&sys_myparm=abcde You could get the value of the ‘sys_myparm’ URL parameter by [...]