Prefix Operator: Not
Description
The NOT operator can be applied to a terminal expression, to only return results that do not match the terminal expression.
Not is often used in conjunction with groups of expressions surrounded within parentheses.
Examples
Entity type is not script
Code Block | ||
---|---|---|
| ||
Not EntityType = Script |
Entity type is an incident and does not have a status of Open or ReOpened:
Code Block | ||
---|---|---|
| ||
EntityType = Incident AND NOT (Status = Open OR Status = "ReOpened") |