The Splitter Component is a fundamental part of our platform. Its primary purpose is to split arrays into separate messages or to combine separate messages into one.
Splits a single message into several separate messages.
JSONata Expression - (string, required): Enter the expression that will be evaluated as an array.
None
Each item of the array will be emitted as a separate message.
Combines separate messages into one.
Group on fixed amount of messages
- Messages keeps collecting continuously. Once the group size is reached, the group is emitted and the new group starts collecting immediately. If the number of incoming messages for a particular group is less than the defined group size, the group will be stored in the internal storage (Maester) and proceed collecting messages into the open group.Group on timeout
- All incoming messages will be gathered until there are no more incoming messages within the specified timeframe (delay timer), at which point messages will be emitted for each group.Group on amount of messages or timeout
- Specify both group size and delay timer. Once a group is complete, that group will be emitted. If there are no more incoming messages within the specified timeframe, partially completed groups will also be emitted.Emit result as array - (checkbox, optional): If selected, messageData
in the response object will be an array of messages without message IDs.
If Group on fixed amount of messages
or Group on amount of messages or timeout
is selected:
If Group on timeout
or Group on amount of messages or timeout
is selected:
Emit result as array
is selected, this will be an array of messages from previous steps; otherwise, it will be an object with keys as Unique ID to describe this message
and values as messages from previous steps.Produce Groups of Fixed Size (Don't Emit Partial Groups)
if group is not ready, messages will be stored inside internal storage (Maester) for up to two days