Good morning
I wonder if someone would be kind enough to point me in the right direction please.
I have a flow that uses a function to decide on what action to carry out
After it has run through the logic it creates a message and sends to a insert data into a sql database
and a second message to a UDP device
Many thanks
Andrew
In particular a Function node can have multiple outputs, so you can send one message to each.
Additionally, if your function would be as simple as an if statement with a condition similar to "msg = x", take a look at the switch node and see if you can use it 
Hi many thanks
I have quite a complex function string a binary string but am struggling with the concept of multiple messages, I have created what i call a bodge where I use a change node, I guess I need to understand the payload part of node-red a little better
Andrew