Hi,
I am stuck with a stupid problem in a function: I want to combine looping through the entries in a two-dimensional array with sending the value in [x][1] to the respective output number found in [x][0] (number of outputs is fixed to 10, number of entries in array varies).
I am aware of how to do a loop in a function and I also do know how to send info to a special output only, both described here: https://nodered.org/docs/writing-functions#multiple-messages, but I have no idea how to combine those. Either I break the loop, all is sent to the first output only or as usual I do have a bunch of error messages
Most probably the solution is super simple, or one simply does not do it like this but completely different. Unfortunately I could not find any examples/solutions on this yet.
Thx for any help here