XOR

logic · C098 · starter-package 7.0.1

Returns true when two boolean inputs differ.

Use it when

Detect when exactly one of two conditions is true.

Inputs and output

  • A and B are required booleans.
  • Result is a boolean.

Rules

Text such as "true", numbers, null, and missing values are rejected rather than coerced.

Example

A is true and B is false, so Result is true.

Invalid inputs stop the workflow on this object and show a specific message describing what to change.

Errors and recovery

When this block reports an error, no downstream output is emitted. Correct the highlighted input or setting described by the message, then run the workflow again.

Connector data types

The type below is the data type that actually travels through the connection. Any additional validation is described separately in this block guide.

DirectionConnectorTypeRequired
Inputa — Abooleanyes
Inputb — Bbooleanyes
Outputresult — Resultbooleanon success