Skip to content

Array length less than

Input
value
Validate that value has fewer than 2 items
validation:
arrayLengthLessThan

Ensure array field length is less than specified value

source:value
parameters
threshold

Array length must be less than this

Output
result
Pass
Pass
Pass
Array field "value" length is not less than 2
Array field "value" length is not less than 2
Array field "value" length is not less than 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 less than specified value.

Parameters

  • threshold (number, required) — Array length must be less than this.

Field selection

  • params.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.
  • params.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-arrayLengthLessThan",
"kind": "validation:arrayLengthLessThan",
"params": {
"threshold": 2
}
}