Generate an encoded query string through a filter
You can generate an encoded query string through a filter on any list and paste the string into a URL query or a reference qualifier.
Before you begin
Role required: none
Procedure
Open a list of records.
Click Run.
Right-click the end of the filter breadcrumb and select Copy query from the context menu.
Image omitted: FilterToQuery2.png
Copy the query
Copy the query
If you are in split mode in List v3, right-click the blue filter text in the left pane.
Copy the query to your system clipboard.
Use the query string to Navigate to a record or module using a URL or an Reference qualifiers.
When you use the CONTAINS operator on a list filter, the system translates the filter to a LIKE query. For example, if you filter for active records with numbers that contain 123, the URL is
https://InstanceName.service-now.com/incident_list.do?sysparm_query=active%3Dtrue%5EGOTOnumberLIKE123.
Parent Topic:Encoded query strings
Related topics