Forum Discussion
You might be able to get around it by using the following expression in a mapper before trying to process the $messages value:
sl.ensureArray($messages)
This way, if it is a single object, it will be a single-entry array. If it is already an arrary, it simply passes through.
Related Content
- 5 years ago
- 2 years ago
- 8 years ago