Updated on 2025-05-08 GMT+08:00

Splitter

The splitter processor splits the data transferred to this node based on the specified expression and transfers the split data to subsequent nodes through Node Variables.

Generally, a splitter processor is followed by a filter processor.

Splitter is an asynchronous processing component. When a task contains a Splitter node, each split data segment is processed separately.

Configuration Parameters

Parameter

Description

Expression

Data to be split.

Example: Reference ${payload.data} from a node or enter data directly: {"data":[{"id":1},{"id":2}]}.

Delimiter

Delimiter used to split data.

For example, if the payload data is {"data":[{"id":1},{"id":2}]}, you can use ${payload.data} and the delimiter (,) to split the data into {"id":1} and {"id":2}.

Output variables

Parameter

Description

payload

Data splitting result.

Start time

Start time of node execution.

End time

End time of node execution.

Execution time

Node execution duration, in milliseconds.

Example

Example 1

Input:

  • Data: {"data":[{"id":1},{"id":2}]}
  • Delimiter: ,

Output:

  • {"id":1}
  • {"id":2}