Skip to main content

logic.if — If Condition

Branches execution based on a boolean. Inputs Outputs

logic.optional.ifExists — If Exists

Branches based on whether an optional value exists (non-null), and unwraps it. Inputs Outputs

logic.compare — Compare

Compares two values using an operator (configured via metadata). Inputs Outputs Config notes:
  • operator in node config supports: ==, !=, >, <, >=, <=
  • Numeric operators require numeric inputs (integer/number)

logic.and — And

Logical AND of two booleans. Inputs Outputs

logic.or — Or

Logical OR of two booleans. Inputs Outputs

logic.not — Not

Logical NOT of a boolean. Inputs Outputs

logic.switch — Switch

Branches execution based on a discrete case match. Inputs Outputs
  • exec-default (optional; can be removed if includeDefault = false)
  • One exec output per configured case (port names are derived from case values)
Notes:
  • First matching case wins; if no match and default is disabled, the node emits no exec output (flow ends).
Config:
  • cases (array) — each entry becomes an exec output port (name derived from the case value)
  • includeDefault (bool, default true) — controls whether exec-default exists and is used on no-match