Navigate to a ServiceNow record or module directly by using a URL

Unknown | 00:57 | 0 comments


Users can navigate to a record or module directly by using a URL. This article explains the URL schema by which the system generates pages.


Basic URL format:

Example: https://dev12552.service-now.com/

==> https://dev12552.service-now.com/   -----> base URL
==> dev12552                                          ------> Instance name                   
==> https://dev12552.service-now.com/  <====>  https://.service-now.com

======================================================================

Extended URL format:

Below URL generated by search for admin user operation. We will discuss about each component 
of URL

https://dev12552.service-now.com/sys_user_list.do?sysparm_query=user_nameSTARTSWITHadmin
==> https://dev12552.service-now.com/   -->  base URL
==> sys_user_list.do                                 -->  table name_list.do
==> sysparm_query=user_name               -->  sysparm_query=fieldname
==> STARTSWITH                                     -->  search operator
==> admin                                                  -->  search string


================================================================================

Few Examples: 

Note: Replace dev12552 with your ServiceNow instance name

1. Find All Active Incidents

https://dev12552.service-now.com/incident_list.do?sysparm_query=state%3D2

2. Find All Active Incidents Grouped by Category

https://dev12552.service-now.com/nav_to.do?uri=incident_list.do?sysparm_query=active=true^GROUPBYcategory

3. Export all active incidents to PDF

https://dev12552.service-now.com/nav_to.do?uri=incident_list.do?sysparm_query=active=true%26PDF

4. Export all priority 1 active incidents to CSV

https://dev12552.service-now.com/nav_to.do?uri=incident_list.do?sysparm_query=active=true^priority=1%26CSV

================================================================================

How to capture URL:

1. Construct your query in ServiceNow and Run the query

2. Right click on condition and Copy the URL


3. This URL is direct reference to the ServiceNow database

=======================================================================


 



Category: ,

handsonbook.blogspot.com

0 comments