Skip to content

Array length not equal to

Input
value
Validate that value does not have 5 items
validation:
arrayLengthNotEqualTo

Ensure array field does not have specified length

source:value
parameters
length

Length that the array must not have

Output
result
Pass
Pass
Pass
Array field "value" has unwanted length 5
Array field "value" has unwanted length 5
Array field "value" has unwanted length 5

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 does not have specified length.

Parameters

  • length (number, required) — Length that the array must not have.

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-arrayLengthNotEqualTo",
"type": "validation",
"action": "arrayLengthNotEqualTo",
"params": {
"length": 5
},
"testInputs": [
"[]",
"[\"a\"]",
"[\"a\",\"b\"]",
"[\"v0\",\"v1\",\"v2\",\"v3\",\"v4\"]",
"[\"a\",\"b\",\"c\",\"d\",\"f\"]",
"[\"w\",\"x\",\"y\",\"z\",\"q\"]"
]
}