Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Operators available for filters and queries

The system provides a set of operators for use with filters, condition builders, and encoded queries. The data type of a field determines what operators are available for it.

Operators available for condition builders

Operator labelExample conditionEquivalent query operatorExample queryExample output
AND\[Active\]\[is\]\[True\]\[AND\]\[Caller\]\[is not empty\]^active=true^CallerISNOTEMPTYAll records that have both of the following:- Active field is True - Caller field has any value
OR condition\[Short description\]\[is empty\]\[OR\]\[Description\]\[is empty\]^ORshort\_descriptionISEMPTY^ORdescriptionISEMPTYAll records that have at least one of the following:- Short description field has no value - Description field has no value
OR filterAll these conditions must be met \[Short description\]\[is empty\] OR all these conditions must be met \[Description\]\[is not empty\]^NQ new queryshort\_descriptionISEMPTY^NQdescriptionISNOTEMPTYAll records that have at least one of the following:- Short description field has no value - Description field has no value

Operators available for string fields

Operator labelExample conditionEquivalent query operatorExample queryExample output
starts with\[Short description\]\[starts with\]\[SAP\]STARTSWITHshort\_descriptionSTARTSWITHSAPAll records in which the characters "SAP" appear at the beginning of the value for the Short description field.
ends with\[Short description\]\[ends with\]\[outage\]- % - ENDSWITHshort\_descriptionENDSWITHoutageAll records in which the string "outage" appears at the end of the value for the Short description field.
contains\[Short description\]\[contains\]\[SAP\]- \* - LIKEshort\_descriptionLIKESAPAll records in which the characters "SAP" appear anywhere in the value for the Short description field.
does not contain\[Short description\]\[does not contain\]\[SAP\]- !\* - NOT LIKEshort\_descriptionNOT LIKESAPAll records in which the characters "SAP" do not appear anywhere in the value for the Short description field.
is\[Short description\]\[is\]\[Network storage unavailable\]=short\_description=Network storage unavailableAll records in which the Short description says nothing else but "Network storage is unavailable."
is not\[Short description\]\[is not\]\[Network storage unavailable\]!=short\_description!=Network storage unavailableAll records in which the value for the Short description field says anything but "Network storage is unavailable."
is empty\[Short description\]\[is empty\]ISEMPTYshort\_descriptionISEMPTYAll records in which there is no value in the Short description field.
is not empty\[Short description\]\[is not empty\]ISNOTEMPTYshort\_descriptionISNOTEMPTYAll records in which there is any value in the Short description field.
is anything\[Short description\]\[is anything\]ANYTHINGshort\_descriptionANYTHINGAll records in which the Short description field is one of the following:- any value - empty - NULL
is empty string\[Short description\]\[is empty string\]EMPTYSTRINGshort\_descriptionEMPTYSTRINGAll records in which there is no value in the Short description field.
less than or is\[Short description\]\[less than or is\]\[s\]<=short\_descriptionlt;=sAll records in which the string in the Short description field is one of the following:- the first letter is any letter between "a" and "s" - the exact value is "s"
greater than or is\[Short description\]\[greater than or is\]\[s\]>=short\_description>=sAll records in which the string in the Short description field is one of the following:- the first letter is any letter between "s" and "z" - the exact value is "s"
between\[Short description\]\[between\]\[q\] and \[t\]BETWEENshort\_descriptionBETWEENq@tAll records in which the first letter in the Short description field is "q," "r," "s," or "t."
is same\[Short description\]\[is same\] as \[Description\]SAMEASshort\_descriptionSAMEASdescriptionAll records in which there exist matching values for the Short description and Description fields.
is different\[Short description\]\[is different\] from \[Description\]NSAMEASshort\_descriptionNSAMEASdescriptionAll records in which there exist differing values for the Short description and Description fields.

Operators available for reference fields

Operator labelExample conditionEquivalent query operatorExample queryExample output
is\[Caller\]\[is\]\[Don Goodliffe\]=caller\_id=9ee1b13dc6112271007f9d0efdb69cd0All records in which the Caller is no one else but Don Goodliffe.
is not\[Caller\]\[is not\]\[Don Goodliffe\]!=caller\_id!=9ee1b13dc6112271007f9d0efdb69cd0All records in which the Caller field is populated by any user record but Don Goodliffe.
is empty\[Caller\]\[is empty\]ISEMPTYcaller\_idISEMPTYAll records in which the Caller field has no value.
is not empty\[Caller\]\[is not empty\]ISNOTEMPTYcaller\_idISNOTEMPTYAll records in which there is any value in the Caller field.
starts with\[Caller\]\[starts with\]\[Don\]STARTSWITHcaller\_idSTARTSWITHDonAll records in which the name in the Caller field begins with "Don."
ends with\[Caller\]\[ends with\]\[liffe\]- % - ENDSWITHcaller\_idENDSWITHliffeAll records in which the name in the Caller field has the letters "liffe" at the end.
contains\[Caller\]\[contains\]\[on\]- \* - LIKEcaller\_idLIKEonAll records in which the characters "on" appear anywhere in the name for the Caller field.
does not contain\[Caller\]\[does not contain\]\[on\]- !\* - NOT LIKEcaller\_idNOT LIKEonAll records in which the characters "on" do not appear anywhere in the name for the Caller field.
is anything\[Caller\]\[is anything\]ANYTHINGcaller\_idANYTHINGAll records in which the Caller field is one of the following:- any value - empty - NULL
is same\[Caller\]\[is same\] as \[Assigned to\]SAMEAScaller\_idSAMEASassigned\_toAll records in which the same user record is referenced in the Caller and Assigned to fields.
is different\[Caller\]\[is different\] from \[Assigned to\]NSAMEAScaller\_idNSAMEASassigned\_toAll records in which the user records in the Caller and Assigned to fields do no match.
is empty string\[Caller\]\[is empty string\]EMPTYSTRINGcaller\_idEMPTYSTRINGAll records in which the Caller field has no value.
is \(dynamic\)\[Caller\]\[is \(dynamic\)\]\[Me\]DYNAMICcaller\_idDYNAMIC54635e965f510100a9ad2572f2b4774cAll records in which your user record populates the Caller field.
is in hierarchy\[Manager\]\[is in hierarchy\]\[Manager Hierarchy\] starting at \[Don Goodliffe\] which is \[Included\]IN\_HIERARCHYmanagerIN\_HIERARCHYfdd0fa0f93f5d2505bd0bd886cba1015%409ee1b13dc6112271007f9d0efdb69cd0All records throughout the Manager hierarchy in which the manager is Don Goodliffe or a user reporting up to Don Goodliffe.
is in hierarchy \(dynamic\)\[Manager\]\[is in hierarchy \(dynamic\)\]\[Manager Hierarchy\] starting at \[Me\] which is \[Included\]IN\_HIERARCHY\_DYNAMICmanagerIN\_HIERARCHY\_DYNAMICfdd0fa0f93f5d2505bd0bd886cba1015%4090d1921e5f510100a9ad2572f2b477feAll records throughout the Manager hierarchy in which the manager is you or a user reporting up to you.Note: A record hierarchy between related records in the same table must be established before you can use this operator. See Building hierarchical queries.

Note: Not all operators are available for all reference types. Depending on the reference you select, you may see a shorter list of operators.

Operators available for choice fields containing strings

Operator labelExample conditionEquivalent query operatorExample queryExample output
is\[Subcategory\]\[is\]\[Email\]=subcategory=emailAll records in which the Subcategory is nothing else but Email.
is not\[Subcategory\]\[is not\]\[Email\]!=subcategory!=emailAll records in which the Subcategory field is populated by any value except Email.
is one of\[Subcategory\]\[is one of\]\[DB2, MS SQL Server, Oraclel\]INsubcategoryINdb2,sql server,oracleAll records in which the Subcategory field is populated by one of the following values:- DB2 - MS SQL Server - Oraclel
is not one of\[Subcategory\]\[is not one of\]\[DB2, MS SQL Server, Oraclel\]NOT INsubcategoryNOT INdb2,sql server,oracleAll records in which the Subcategory field is populated by anything except the following values:- DB2 - MS SQL Server - Oraclel
contains\[Subcategory\]\[contains\]\[Em\]LIKEsubcategoryLIKEemAll records in which the characters "Em" appear anywhere in the value for the Subcategory field.
starts with\[Subcategory\]\[starts with\]\[Em\]STARTSWITHsubcategorySTARTSWITHemAll records in which the characters "Em" appear at the beginning of the value for the Subcategory field.
ends with\[Subcategory\]\[ends with\]\[il\]- % - ENDSWITHsubcategoryENDSWITHilAll records in which the characters "il" appear at the end of the value for the Subcategory field.
does not contain\[Subcategory\]\[does not contain\]\[Em\]NOT LIKEsubcategoryNOT LIKEemAll records in which the characters "Em" do not appear anywhere in the value for the Subcategory field.
is anything\[Subcategory\]\[is anything\]ANYTHINGsubcategoryANYTHINGAll records in which the Subcategory field is one of the following:- any value - empty - NULL
is same\[Subcategory\]\[is same\] as \[Category\]SAMEASsubcategorySAMEAScategoryAll records in which there exist matching values for the Subcategory and Category fields.
is different\[Subcategory\]\[is different\] from \[Category\]NSAMEASsubcategoryNSAMEAScategoryAll records in which there exist differing values for the Subcategory and Category fields.

Operators available for choice fields containing integers

Operator labelExample conditionEquivalent query operatorExample queryExample output
is\[Impact\]\[is\]\[1 - High\]=impact=1All records in which the value in the Impact field is nothing else but 1 - High.
is not\[Impact\]\[is not\]\[1 - High\]!=impact!=1All records in which the value in the Impact field is anything but 1 - High.
is one of\[Impact\]\[is one of\]\[1 - High, 2 - Medium\]INimpactIN1,2All records in which the Impact field is populated by one of the following values:- 1 - High - 2 - Medium
is not one of\[Impact\]\[is not one of\]\[1 - High, 2 - Medium\]NOT INimpactNOT IN1,2All records in which the Impact field is populated by anything except the following values:- 1 - High - 2 - Medium
is empty\[Impact\]\[is empty\]EMPTYimpactISEMPTYAll records in which the Impact field has no value.
is not empty\[Impact\]\[is not empty\]NOTEMPTYimpactISNOTEMPTYAll records in which the Impact field has any value.
less than\[Impact\]\[less than\]\[2 - Medium\]<impact<2All records in which the Impact field has a value of 1 - High.
greater than\[Impact\]\[greater than\]\[2 - Medium\]>impact>2All records in which the Impact field has a value of 3 - Low
less than or is\[Impact\]\[less than or is\]\[2 - Medium\]<=impact<=2All records in which the Impact field has a value of 1 - High or 2 - Medium.
greater than or is\[Impact\]\[greater than or is\]\[2 - Medium\]>=impact>=2All records in which the Impact field has a value of 2 - Medium or 3 - Low.
between\[Impact\]\[between\]\[1 - High\] and \[3 - Low\]BETWEENimpactBETWEEN1@2

All records in which the Impact field has one of the following values:- 1 - High - 2 - Medium - 3 - Low

.

is anything\[Impact\]\[is anything\]ANYTHINGimpactANYTHINGAll records in which the Impact field is one of the following:- any value - empty - NULL
is same\[Impact\]\[is same\] as \[Urgency\]SAMEASimpactSAMEASurgencyAll records in which there exist matching values for the Impact and Urgency fields.
is different\[Impact\]\[is different\] from \[Urgency\]NSAMEASimpactNSAMEASurgencyAll records in which there exist differing values for the Impact and Urgency fields.

Note: The operators ‘less than or is’ and ‘greater than or is’ are not supported for integer fields in the condition builder. Use a scripted condition instead.

Operators available for date-time fields

Operator labelExample conditionEquivalent query operatorExample queryExample output
on\[SLA due\]\[on\]\[Today\]ONTodaysla\_dueONToday@javascript:gs.daysAgoStart\(0\)@javascript:gs.daysAgoEnd\(0\)All records in which the value for the SLA due field matches the date for today.
not on\[SLA due\]\[not on\]\[Today\]NOTONTodaysla\_dueNOTONToday@javascript:gs.daysAgoStart\(0\)@javascript:gs.daysAgoEnd\(0\)All records in which the value for the SLA due field is any other date but today.
before\[SLA due\]\[before\]\[Today\]<sla\_due<javascript:gs.daysAgoStart\(0\)All records in which the value for the SLA due field is any date previous to today.
at or before\[SLA due\]\[at or before\]\[Today\]<=sla\_due<=javascript:gs.daysAgoEnd\(0\)All records in which the value for the SLA due field is one of the following:- any date previous to today - today
after\[SLA due\]\[after\]\[Today\]>sla\_due>javascript:gs.daysAgoEnd\(0\)All records in which the value for the SLA due field is any date after today.
at or after\[SLA due\]\[at or after\]\[Today\]>=sla\_due>=javascript:gs.daysAgoStart\(0\)All records in which the date value for the SLA due field is one of the following:- today - any date after today
between\[SLA due\]\[between\]\[Yesterday\] and \[Today\]BETWEENsla\_dueBETWEENjavascript:gs.daysAgoStart\(1\)@javascript:gs.daysAgoEnd\(0\)All records in which the value for the SLA due field is either yesterday's or today's date.
trend \(on or after\)\[SLA due\]\[trend\]\[on or after\]\[Monday\]DATEPARTsla\_dueDATEPARTMonday@javascript:gs.datePart\('dayofweek','monday','GE'\)All records in which the date in the SLA due field is on any day of the week except a Sunday.
trend \(on or before\)\[SLA due\]\[trend\]\[on or before\]\[Monday\]DATEPARTsla\_dueDATEPARTMonday@javascript:gs.datePart\('dayofweek','monday','LE'\)All records in which the date in the SLA due field is on either a Sunday or a Monday.
trend \(after\)\[SLA due\]\[trend\]\[after\]\[Monday\]DATEPARTsla\_dueDATEPARTMonday@javascript:gs.datePart\('dayofweek','monday','GT'\)All records in which the date in the SLA due field is on any day of the week except a Sunday or a Monday.
trend \(before\)\[SLA due\]\[trend\]\[before\]\[Monday\]DATEPARTsla\_dueDATEPARTMonday@javascript:gs.datePart\('dayofweek','monday','LT'\)All records in which the date in the SLA due field is on a Sunday.
trend \(on\)\[SLA due\]\[trend\]\[on\]\[Monday\]DATEPARTsla\_dueDATEPARTMonday@javascript:gs.datePart\('dayofweek','monday','EE'\)All records in which the date in the SLA due field is on a Monday.
relative \(after\)\[SLA due\]\[relative\]\[after\]\[1\]\[Hours\]\[ago\]RELATIVEGTsla\_dueRELATIVEGT@hour@ago@1All records in which the time on the SLA due field is no more than an hour before the time that you entered the query.
relative \(before\)\[SLA due\]\[relative\]\[before\]\[1\]\[Hours\]\[ago\]RELATIVELTsla\_dueRELATIVELT@hour@ago@1All records in which the time on the SLA due field is less than an hour before the time that you entered the query.
is empty\[SLA due\]\[is empty\]ISEMPTYsla\_dueISEMPTYAll records in which the SLA due field has no value.
is not empty\[SLA due\]\[is not empty\]ISNOTEMPTYsla\_dueISNOTEMPTYAll records in which the SLA due is populated by any value.
is anything\[SLA due\]\[is anything\]ANYTHINGsla\_dueANYTHINGAll records in which the SLA due field is one of the following:- any value - empty - NULL
is same\[SLA due\]\[is same\] as \[Activity due\]SAMEASsla\_dueSAMEASactivity\_due@dayAll records in which there are matching values for the SLA due and Activity due fields.
is different\[SLA due\]\[is different\] from \[Activity due\]NSAMEASsla\_dueNSAMEASactivity\_due@dayAll records in which there are differing values for the SLA due and Activity due fields.
is more than\[SLA due\]\[is more than\]\[1\]\[Days\]\[before\]\[Activity due\]MORETHANsla\_dueMORETHANactivity\_due@day@before@1All records in which the date value for the SLA due field is two or more days previous to the date in the Activity due field.
is less than\[SLA due\]\[is less than\]\[3\]\[Days\]\[before\]\[Activity due\]LESSTHANsla\_dueLESSTHANactivity\_due@day@before@3All records in which the date value for the SLA due field is no more than three days prior to the date in the Activity due field.

Operators available for numeric fields

Operator labelExample conditionEquivalent query operatorExample queryExample output
is\[Reassignment count\]\[is\]\[0\]=reassignment\_count=0All records in which the Reassignment count is nothing else but 0.
is not\[Reassignment count\]\[is not\]\[0\]!=reassignment\_count!=0All records in which the value for the Reassignment count is any number but 0.
is empty\[Reassignment count\]\[is empty\]EMPTYreassignment\_countISEMPTYAll records in which there is no value in the Reassignment count field.
is not empty\[Reassignment count\]\[is not empty\]NOTEMPTYreassignment\_countISNOTEMPTYAll records in which there is any number in the Reassignment count field.
less than\[Reassignment count\]\[less than\]\[2\]<reassignment\_count<2All records in which the value in the Reassignment count field is any number less than (but not equal to) 2.
greater than\[Reassignment count\]\[greater than\]\[2\]>reassignment\_count>2All records in which the value in the Reassignment count field is any number greater than (but not equal to) 2.
less than or is\[Reassignment count\]\[less than or is\]\[2\]<=reassignment\_count<=2All records in which the value in the Reassignment count field is one of the following:- a number less than 2 - 2
greater than or is\[Reassignment count\]\[greater than or is\]\[2\]>=reassignment\_count>=2All records in which the value in the Reassignment count field is one of the following:- 2 - a number greater than 2
between\[Reassignment count\]\[between\]\[1\] and \[3\]BETWEENreassignment\_countBETWEEN1@3All records in which the number in the Reassignment count is either 1, 2, or 3.
is anything\[Reassignment count\]\[is anything\]ANYTHINGreassignment\_countANYTHINGAll records in which the Reassignment count field is one of the following:- any value - empty - NULL
is same\[Reassignment count\]\[is same\] as \[Reopen count\]SAMEASreassignment\_countSAMEASreopen\_countAll records in which there are matching numbers for the Reassignment count and Reopen count fields.
is different\[Reassignment count\]\[is different\] from \[Reopen count\]NSAMEASreassignment\_countNSAMEASreopen\_countAll records in which there are differing values between the Reassignment count and Reopen count fields.
greater than field\[Reassignment count\]\[greater than field\]\[Reopen count\]GT\_FIELDreassignment\_countGT\_FIELDreopen\_countAll records in which the number in the Reassignment count field is greater than (but not equal to) the number in the Reopen count field.
less than field\[Reassignment count\]\[less than field\]\[Reopen count\]LT\_FIELDreassignment\_countLT\_FIELDreopen\_countAll records in which the number in the Reassignment count field is less than (but not equal to) the number in the Reopen count field.
greater than or is field\[Reassignment count\]\[greater than or is field\]\[Reopen count\]GT\_OR\_EQUALS\_FIELDreassignment\_countGT\_OR\_EQUALS\_FIELDreopen\_countAll records in which the number in the Reassignment count field is one of the following:- greater than the number in the Reopen count field - equal to the number in the Reopen count field
less than or is field\[Reassignment count\]\[less than or is field\]\[Reopen count\]LT\_OR\_EQUALS\_FIELDreassignment\_countLT\_OR\_EQUALS\_FIELDreopen\_countAll records in which the number in the Reassignment count field is one of the following:- less than the number in the Reopen count field - equal to the number in the Reopen count field

Operators available for Boolean fields

Operator labelExample conditionEquivalent query operatorExample queryExample output
is\[Active\]\[is\]\[true\]=active=trueAll records in which the Active field is True.
is not\[Active\]\[is not\]\[true\]!=active!=trueAll records in which the Active field is False, empty, or NULL.
is empty\[Active\]\[is empty\]ISEMPTYactiveISEMPTYAll records in which there is no value in the Active field.
is not empty\[Active\]\[is not empty\]ISNOTEMPTYactiveISNOTEMPTYAll records in which the Active field is either True or False.
is anything\[Active\]\[is anything\]ANYTHINGactiveANYTHINGAll records in which the Active field is one of the following:- True - False - empty - NULL
is same\[Active\]\[is same\] as \[Made SLA\]SAMEASactiveSAMEASmade\_slaAll records in which there are matching values for the Active and Made SLA fields.
is different\[Active\]\[is different\] from \[Made SLA\]NSAMEASactiveNSAMEASmade\_slaAll records in which there are differing values for the Active and Made SLA fields.

Operators available for email notifications

Operator labelExample conditionEquivalent query operatorExample queryExample output
changes[State][changes]VALCHANGESstateVALCHANGESAll records in which the State field is updated.
changes from[State][changes from][Awaiting User Info]CHANGESFROMstateCHANGESFROM4All records in which the State field is updated to another value after previously being Awaiting User Info (4).
changes to[State][changes to][Awaiting User Info]CHANGESTOstateCHANGESTO4All records in which the State field is updated to Awaiting User Info (4) after previously being any other value.

Operators available for tags

Operator labelExample conditionEquivalent query operatorExample queryExample output
have[Tag][have][Most Active]=sys_tags.6c361e12471331007f47563dbb9a7135=6c361e12471331007f47563dbb9a7135All records that have the Tag in the value field.
does not have[Tag][does not have][Most Active]DOESNOTHAVEsys_tags.6c361e12471331007f47563dbb9a7135DOESNOTHAVE6c361e12471331007f47563dbb9a7135Any records that has a Tag except for the tag mentioned in the value field.
excluding[Tag][excluding][Most Active]EXCLUDINGsys_tags.6c361e12471331007f47563dbb9a7135EXCLUDING6c361e12471331007f47563dbb9a7135All records with and without the Tag except for the tag mentioned in the value field.

Parent Topic:Create a condition statement using the condition builder

Related topics

Condition builder