Compares two finite numbers and returns the smaller value.
Inputs
- A (number, required): First value.
- B (number, required): Second value.
Output
- Result (number): Smaller input, or that shared value when the inputs are equal.
Common uses
Choose the lower price, earliest numeric threshold, smaller limit, or safer capacity without adding a branch.
Example
Inputs 12 and 7 produce 7.
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.
Both inputs must resolve to finite numbers. Missing or non-finite values stop the workflow.
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 | a — A | number | yes |
| Input | b — B | number | yes |
| Output | result — Result | number | on success |
