Special operators for event conditions

2026-09-02Last updated

Special operators can be used to evaluate event data from camera events and custom events for use in automations.

Operator Description Example expression
in / not in Use these operators to check whether the event data (Message) is found in a list of values separated by semicolons.
  • 234; 456; 789
  • Alfred; Daniel; Simon
  • ABC123; P18EZR; 055SKR
similar to / not similar to Two strings are similar if they differ by only one modification (character added, character removed, character modified). ABC123 is similar to:
  • ABC12 (one character removed)
  • ABCD123 (one character added)
  • A8C123 (one character modified)
evaluates to Use this operator when the event data (Message) contains multiple fields. You can specify the field identifier in square brackets.
  • [identifier] > numericValue
  • [identifier] < numericValue
  • [identifier] >= numericValue
  • [identifier] <= numericValue
  • [identifier] = "textValue"
  • [identifier] startsWith "textValue"
  • [identifier] endsWith "textValue"
  • [identifier] contains "textValue"
  • [identifier] matches "regularExpressions"
AND / OR Use this operator to combine expressions, with the AND operator taking precedence.
  • [PlateNumber] = "ABC123"
  • [PlateNumber] startsWith "X" AND [PlateNumber] endsWith "00"
  • [PlateNumber] matches "[02468]$"
  • [PlateState] = "CA"
  • [PlateState] != "QC"
  • [Confidence Score] > 80
  • [Relative Motion] = "Approaching" AND [Confidence Score] > 75
  • [Some Analytics] = "Some Value"