Skip to main content

Logical gate

The logical gate function passes a value through when a single boolean condition is true. When the condition is false, the gate is closed and the record is softly skipped: it is dropped from the output without failing the run. To gate on several conditions at once, combine them first with an AND condition and wire its result into the gate.

Example
# Example 1
Inputs:
- Value (some text): Hello world!
- Condition: true
Output: The condition is fullfilled,
so the value is passed through the gate.
- Text connector: Hello world!

# Example 2
Inputs:
- Value (some number): 42
- Condition: false
Output: The gate is closed, the record is
skipped (not failed) and the execution
flow stops here.

Parameters

Value typerequired

The type of the data that is passed through the gate. It types the Value input and output connectors; a value of another type fails the step.

Input

Valuerequired

The data that is passed through the gate. Must match the configured Value type, otherwise the step fails.

Conditionrequired

A single boolean condition that must be fullfilled to pass the value through the gate.

Output

Value

The data that is passed through the gate, typed by the configured Value type.