Zetect Usage Guide Expressions & TransformsSwitch portal ⇄

Logical Transforms

Choose between two outcomes based on a condition.

if

Evaluates when (the same clause shape a decision rule uses); if it matches, returns then, otherwise else. Both branches may be plain values or nested transforms.

FieldDescription
whenObject of attribute: expectedValue; all must match (exact, case-sensitive).
thenReturned when the condition matches. A value or a nested transform.
elseReturned when it does not.
5