Generate an encoded query string through a filter

task brazil Updated Sep 10, 2026 1 min read t_GenEncodQueryStringFilter.md
Raw file servicenow.com

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

  1. Open a list of records.

  2. Construct the filter.

  3. Click Run.

  4. Right-click the end of the filter breadcrumb and select Copy query from the context menu.

    [Omitted image "FilterToQuery2.png"] Alt text: Copy the query

    If you are in split mode in List v3, right-click the blue filter text in the left pane.

  5. Copy the query to your system clipboard.

  6. 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

Reference qualifiers

Navigate to a record or module using a URL

Search documentation
Search document titles and file paths on the brazil branch