Split¶
The Split node splits the input into multiple messages as output for downstream processing. The input message obtained using expression in the downstream nodes will be the message after the split and not the message before the split.
Node Type¶
Logic.
Input and Output Ability¶
This node has 1 entry point and 1 exit point. The input must be an array or JSON array and the output is String or JSON.
Node Properties¶
Name
The name for this node.
Enable Parallel Processing
The split messages are processed one by one by default. For example, for an array [a, b, c], a will be processed first, followed by b, and then c. If this switch is toggled on, the split messages will be processed at the same time.
Description
The description for this node.
Samples¶
Sample 1 - JSON Array¶
Input Sample¶
[
{
"commandId": "2784075314397347840",
"code": 200,
"message": "message",
"data": {
"OutputInt": 22
}
},
{
"commandId": "2784075314397347840",
"code": 0,
"message": "message",
"data":{
"OutputInt": 22
}
}
]
Output Sample¶
{
"commandId": "2784075314397347840",
"code": 200,
"message": "message",
"data": {
"OutputInt": 22
}
}
{
"commandId": "2784075314397347840",
"code": 0,
"message": "message",
"data": {
"OutputInt": 22
}
}
Sample 2 - Array¶
Input Sample¶
[
{"assetid": "KNEeD968"},
{"assetid": "fRZlKAwr"},
{"assetid": "GQS2WVN9"},
{"assetid": "U0QUTjew"},
{"assetid": "JTy2vwzz"},
{"assetid": "gSnPZup6"},
{"assetid": "SoTwDKEW"},
{"assetid": "oSmjuzQO"},
{"assetid": "tGKEEyOf"}
]
Output Sample¶
{"assetid": "KNEeD968"}
{"assetid": "fRZlKAwr"}
{"assetid": "GQS2WVN9"}
{"assetid": "U0QUTjew"}
{"assetid": "JTy2vwzz"}
{"assetid": "gSnPZup6"}
{"assetid": "SoTwDKEW"}
{"assetid": "oSmjuzQO"}
{"assetid": "tGKEEyOf"}