# Problems with MQTT flow after Excel import and msg modifications

**URL:** <https://discourse.nodered.org/t/problems-with-mqtt-flow-after-excel-import-and-msg-modifications/78030>\
**Category:** General\
**Created:** [29 April 2023 10:17 UTC](https://discourse.nodered.org/t/problems-with-mqtt-flow-after-excel-import-and-msg-modifications/78030 "2023-04-29T10:17:30Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [29 April 2023 16:57 UTC](https://discourse.nodered.org/t/problems-with-mqtt-flow-after-excel-import-and-msg-modifications/78030/8 "2023-04-29T16:57:58Z")

</div>

Yes, as you want to split as array. When JSONata returns a single item it does not return it as an array unless you tell it to. The split node would receive an object not an array when a [singleton](https://docs.jsonata.org/predicate#singleton-array-and-value-equivalence) is returned

---

_[View the full topic](https://discourse.nodered.org/t/problems-with-mqtt-flow-after-excel-import-and-msg-modifications/78030)._
