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.
| ID | Setting | Control | Default | Bounds/options |
|---|---|---|---|---|
allowedValuesJson | Allowed 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.
| Direction | Connector | Type | Required |
|---|---|---|---|
| Input | value — Value | any | yes |
| Output | result — Enum value | any | on success |
