Blog

Navigation by URL

In ServiceNow, Users can directly navigate to a record or module with queries by using a URL. This article contains various examples to navigate by url in ServiceNow.

ServiceNow Wiki Articles

How to Copy a URL from a Filter

Navigation by URL

URL Examples for Incident Management

Note: Replace <your_instance> with your ServiceNow instance name.

Find All Active Incidents Grouped by Category

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

Find all Incidents that were closed last week

https://<your_instance>.service-now.com/incident_list.do?sysparm_query=closed_atONLast%20week%40javascript%3Ags.beginningOfLastWeek()%40javascript%3Ags.endOfLastWeek()

Find all Incidents that were created yesterday and use the "Mobile" view

https://<your_instance>.service-now.com/incident_list.do?sysparm_view=mobile&sysparm_query=closed_atONLast%20week%40javascript%3Ags.beginningOfLastWeek()%40javascript%3Ags.endOfLastWeek()

Find all Incidents assigned to the Service Desk

https://<your_instance>.service-now.com/incident_list.do?sysparm_query=assignment_group.name%3DService%20Desk

Open the Incident Form with Preset values of Priority of 1 and Incident State of 3

https://<your_instance>.service-now.com/nav_to.do?uri=incident.do?sys_id=-1%26sysparm_query=priority=1^incident_state=3

Open the Incident Form with Preset values of Priority of 1 and Incident State of 3 and Caller set to the current logged on user

https://<your_instance>.service-now.com/nav_to.do?uri=incident.do?sys_id=-1%26sysparm_query=priority=1^incident_state=3^caller_id=javascript:gs.getUserID()

URL Examples for Change Management

Open the Change Form

https://<your_instance>.service-now.com/nav_to.do?uri=change_request.do

Find all active Changes ordered by creation date

https://<your_instance>.service-now.com/change_request_list.do?sysparm_query=active=true&sysparm_order=sys_created_on

Find all Change Tasks with Assignment Group is Database

https://<your_instance>.service-now.com/change_task_list.do?sysparm_query=assignment_group.name=Database

URL Examples for Tasks

Find all tasks where the Assigned To's Department is Sales

https://<your_instance>.service-now.com/task_list.do?sysparm_query=assigned_to.department.name%3DSales

Find all tasks where the Assigned To's Manager's Department is Sales

https://<your_instance>.service-now.com/task_list.do?sysparm_query=sys_class_name!%3Dsc_task%5Eassigned_to.manager.department.name=Sales

Only return 5 active tasks

https://<your_instance>.service-now.com/task_list.do?sysparm_query=active=true&sysparm_force_row_count=5

Find all tasks that are Incidents or problems Opened last week and still active or Catalog Tasks closed this year

https://<your_instance>.service-now.com/task_list.do?sysparm_query=sys_class_name%3Dincident%5EORsys_class_name%3Dproblem%5Esys_created_onONLast%20week%40javascript%3Ags.beginningOfLastWeek()%40javascript%3Ags.endOfLastWeek()%5Eactive%3Dtrue%5ENQsys_class_name%3Dsc_task%5Eclosed_atONThis%20year%40javascript%3Ags.beginningOfThisYear()%40javascript%3Ags.endOfThisYear()

URL Examples to Export Data to PDF or CSV

Export all active incidents to PDF

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

Export all priority 1 active incidents to CSV

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

URL Examples to open a form with populated data

Open an Incident Form with Impact 2, Urgency 2, and Caller is Logged on User

https://<your_instance>.service-now.com/nav_to.do?uri=incident.do?sys_id=-1%26sysparm_query=impact=2^urgency=2^caller_id=javascript:gs.getUserID()

Using the CTI functionality, Open an Incident Form with the Caller, using the Caller's Phone

https://<your_instance>.service-now.com/cti.do?sysparm_caller_phone=2185555555 (Note must have a caller with bus phone)

Using the CTI functionality, Open an Incident Form with the Caller, using the Caller's Name

https://<your instance>.service-now.com/cti.do?sysparm_caller_name=Mike%20Kaufman

URL EXAMPLES WITH Filter Parameters

Open the Incident List with the Filter automatically expanded

https://<your_instance>.service-now.com/incident_list.do?sysparm_filter_pinned=true

Open the Incident List with the Filter automatically expanded and only the filter shown

https://<your_instance>.service-now.com/incident_list.do?sysparm_filter_pinned=true&sysparm_filter_only=true