Enum

data · C053 · starter-package 7.0.1

Requires one input to match a configured fixed set of scalar choices.

Use it when

Pass through one exact text, number, boolean, or null choice from a configured fixed set.

Input, configuration, and output

  • Value is the required scalar input.
  • Allowed values is a JSON list containing 1–100 unique scalar choices.
  • Enum value is the unchanged matching scalar.

Rules

Matching is exact by type and value: number 1 differs from text "1". Lists, records, duplicate choices, non-finite numbers, missing input, and unlisted values stop the workflow.

Example: with ["draft","ready"], input "ready" succeeds and "Ready" fails.

Exact settings reference

These are the saved settings and defaults. If a value is connected to the matching input, that connected value is used.

IDSettingControlDefaultBounds/options
allowedValuesJsonAllowed values (JSON list)textarea["option-a","option-b"]—

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
Inputvalue — Valueanyyes
Outputresult — Enum valueanyon success