Keeps a finite value inside inclusive minimum and maximum limits.
Inputs
- Value (number, required): Number to constrain.
- Minimum (number, required): Lowest allowed result.
- Maximum (number, required): Highest allowed result.
Output
- Result (number): Value when it is inside the range, otherwise the nearest boundary.
Common uses
Limit percentages, volumes, coordinates, retry counts, UI values, measurements, or other numeric settings.
Example
Value 14, Minimum 0, and Maximum 10 produce 10.
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.
Minimum above Maximum and any missing, ambiguous, or non-finite input fail explicitly.
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 | number | yes |
| Input | minimum — Minimum | number | yes |
| Input | maximum — Maximum | number | yes |
| Output | result — Result | number | on success |
