Skip to content

Array length equal to

Input
value
Validate that value has exactly 2 items
validation:
arrayLengthEqualTo

Ensure array field has specified length

source:value
parameters
length

Expected array length

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

Parameters

  • length (number, required) — Expected array length. Examples: 0, 1, 3, 10.

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-arrayLengthEqualTo",
"kind": "validation:arrayLengthEqualTo",
"params": {
"length": 2
}
}