Array length greater than or equal
Input
| value |
|---|
Validate that value has at least 2 items
validation:arrayLengthGreaterThanOrEqual
Ensure array field length is greater than or equal to specified value
source:value
parameters
- threshold
Array length must be greater than or equal to this
Output
| result |
|---|
| Pass |
| Pass |
| Pass |
| Array field "value" length is not greater than or equal to 2 |
| Array field "value" length is not greater than or equal to 2 |
| Array field "value" length is not greater than or equal to 2 |
Sample inputs run locally in your browser using the same operation logic as Fontana Flow.
Results are illustrative, not connected to a workflow.
Ensure array field length is greater than or equal to specified value.
Parameters
- threshold (number, required) — Array length must be greater than or equal to this.
Field selection
- source — Field whose values this operation reads. Use a single field name, a comma-separated list of plain field paths (
cash_flow_type, currency) from the multi-select UI, or a regex via Pattern mode. Omit to apply to all fields on the row. - target — Optional output field. When omitted, the source field is updated in place. Hidden when more than one named source field is selected.
JSON Configuration
{ "id": "op-arrayLengthGreaterThanOrEqual", "type": "validation", "action": "arrayLengthGreaterThanOrEqual", "params": { "threshold": 2 }, "testInputs": [ "[\"v0\",\"v1\"]", "[\"v0\",\"v1\",\"v2\"]", "[\"v0\",\"v1\",\"v2\",\"v3\"]", "[\"v0\"]", "[\"a\"]", "[]" ]}