Zetect Usage Guide Expressions & TransformsSwitch portal ⇄

Expressions

An expression is the simplest source beyond a direct attribute: a string that is either a fixed constant or a template containing ${attr} placeholders. Each placeholder is replaced with the attribute's value before the result is used.

Syntax

  • A string with no placeholders is a constant — Active always yields Active.
  • ${attrName} is replaced with that attribute's value.
  • Text and placeholders mix freely — ${firstName}.${lastName}@example.com.
  • An unknown or empty attribute resolves to an empty string, never an error.

Examples

5