Renaming array elements after join

I have joined two payloads to an array.

How would one replace the array element numbers to a custom string?

I tried using the change node and move payloads, without success.

An array has numeric indices.
Can't you set the join node to create a key/value object?
The resulting object would use msg.topic as the element names

You are right. I did try, but did not use msg.topic in the change node. It works now. Thanks!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.