Adding parameters in URL

JPSS
Tera Contributor

When a user is clicking a url from external application then it should redirect to a catalog item in servicenow with short description 'SAP'

 

 

I tried passing paramenters as below but its not working .

 

Can anyone helo me please

https://{INSTANCE NAME}.service-now.com/sp?id=sc_cat_item&sys_id=482c8a621bdb0510ccbb6202b24bcb2a&sysparm_variables="short_description":"SAP"

1 REPLY 1

Sebastian R_
Kilo Sage

You can´t do this OOTB. But there are a few examples as workarounds.

Basic concept: You have to retrieve and parse the URL in an onLoad Client Script and set the variables.

 

https://www.servicenow.com/community/developer-blog/3-ways-to-populate-values-in-servicenow-via-the-...

https://snprotips.com/setting-catalog-item-variables-from-url