Skip to main content
The If-Else command (Command Type: 1100) executes different sets of commands depending on whether a logical condition evaluates to true or false.

Command Type

Command Type ID: 1100

Parameters

SimpleCondition

Operand Types

PropertyOperand — references a named property: ValueOperand — a literal value:

Operation Values

ComplexCondition

Combines multiple simple or complex conditions:

Usage Examples

Simple String Check

Complex AND Condition

Common Use Cases

  • Guard Clauses: Skip processing if data is empty or invalid
  • Branching Logic: Take different parse paths based on a field value
  • Conditional Sinking: Only publish to a sink when data meets a criteria