Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Want to get the URL of the current page in the portal

ms_akila
Mega Expert

I wanted to get the current url of thecatalog portal and to use the url in reference qualifier to get the sys_id of case

Sample Url: instance.service-now.com/portal_name&sys_id= &case_id

Now in reference qualifier of a catalog item needs to get the url and filters the value based on case _id.

 

Anyone please share your ideas?

 

5 REPLIES 5

ms_akila
Mega Expert

Hi Kajal,

 

This.location or window.location both were not supported in reference qualifier script.