Node with multiple outputs

#1

I’m working on a timer (and I am familiar with some of the other timers) and I need to send commands on one output and the countdown on the other. I need to use node.send so return([ msgA, msgB ]) is not an option. Can I simply do node.send([msgA, msgB])?

0 Likes

#2

Okay, as usual, onceI asked the question I better understood what I wanted and was able to test with node.send([msgA, msgB] and it works for 2 outputs from my node.

Thanks

0 Likes

#3

Take a look, maybe helps you to identify how to send different output messages

https://flows.nodered.org/flow/962f26944542a8c1fd929b330f2c0bd2

https://nodered.org/docs/writing-functions

0 Likes