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}
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot