Encoded query cheat sheet
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^EQends an OR group^ORDERBY/^ORDERBYDESC
Example
active=true^priority<=2^assigned_toISEMPTY^ORDERBYDESC sys_created_on
Want to learn this properly?
Our live, instructor-led ServiceNow Training covers this hands-on, with real projects and a certification path.
Check your understanding
What character means AND in an encoded query?
- A. ^
- B. &
- C. +
Show answer
A. ^
A caret joins conditions with AND.
Which operator matches a list of values?
- A. IN
- B. LIKE
- C. =
Show answer
A. IN
IN matches any value in a comma list.
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.