FlowDSL Node Catalog
Array Op
Map/filter/sort/unique/slice/length/reverse/flatten an array field.
Overview
| Property | Value |
|---|---|
| Node ID | core/array-ops |
| Kind | transform |
| Module | core-flowdsl |
| Repo | go-flowdsl |
| Handler | github.com/redelay/go-flowdsl/nodes/core.ArrayOps |
| Icon | lucide:list |
| Color | #8b5cf6 |
| Tags | array, transform |
Outputs
out— (no description)
Settings
| Property | Type | Required | Default | UI Group | Description |
|---|---|---|---|---|---|
byField | string | — | — | — | For sort/unique on objects: the key to compare by. |
desc | boolean | — | false | — | |
end | integer | — | — | — | |
needle | string | — | — | — | |
op | string (length|unique|reverse|flatten|…) | yes | — | — | |
outputKey | string | yes | result | — | |
sourcePath | string | yes | — | — | |
start | integer | — | — | — |
Example
yaml
# Use this node in a flow:
nodes:
- id: my_step
name: My Step
kind: transform
action_ref: core/array-ops
config:
byField: "value"
desc: false
end: 10
needle: "value"
op: "value"
outputKey: result
sourcePath: some.packet.path
start: 10