IT CanvassTalk to an advisor
ServiceNow Cheat Sheets · LessonBy , ServiceNow Architect · Published · current release · reference

Encoded query cheat sheet

Read and write encoded query strings with confidence.

Quick answer

Encoded queries are the string form of a filter. Build one visually, right-click the breadcrumb, and Copy query.

Key takeaways
  • Operators
  • Logic
  • Example

Encoded queries are the string form of a filter. Build one visually, right-click the breadcrumb, and Copy query.

Operators

  • = equals, != not equals
  • > < >= <=
  • IN, STARTSWITH, ENDSWITH, LIKE

Logic

  • ^ = AND, ^OR = OR
  • ^EQ ends an OR group
  • ^ORDERBY / ^ORDERBYDESC

Example

active=true^priority<=2^assigned_toISEMPTY^ORDERBYDESC sys_created_on

Quick check

+0 XPStreak ×0
Question 1 of 2
What character means AND in an encoded query?

Frequently asked questions

What does the term Encoded query cheat sheet refer to in ServiceNow?
Encoded queries are the string form of a filter. Build one visually, right-click the breadcrumb, and Copy query.
Already working on ServiceNow and stuck on a live ticket?Get an expert ServiceNow developer on screen-share to finish your daily tasks with you. Deliver on time, protect your reputation and your job. Monthly support only, no task-wise plans.Task assigned · no idea where to startStill stuck · your job on the lineExpert joins your screenDelivered on timeExplore On Job Support