Skip to content

Array length greater than

Input
value
Validate that value has more than 2 items
validation:
arrayLengthGreaterThan

Ensure array field length is greater than specified value

source:value
parameters
threshold

Array length must be greater than this

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

Parameters

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

Field selection

  • source — Field whose values this operation reads. Omit to apply to all fields on the row.
  • target — Optional output field. When omitted, the source field is updated in place.

JSON Configuration

{
"id": "op-arrayLengthGreaterThan",
"type": "validation",
"action": "arrayLengthGreaterThan",
"params": {
"threshold": 2
},
"testInputs": [
"[\"v0\",\"v1\",\"v2\"]",
"[\"v0\",\"v1\",\"v2\",\"v3\"]",
"[\"v0\",\"v1\",\"v2\",\"v3\",\"v4\"]",
"[\"v0\",\"v1\"]",
"[\"v0\"]",
"[]"
]
}