Its a simple question, I'm sure. I have a text input box that is connected to a change node to add more text to the already existing text in msg.payload. For instance the text box passes "This is a test" I want to then add prepend "msg" to that. So I end up with "msg This is a test", without the quotes. I tried "msg {{message}} and that didn't work. Also msg ${message} and a host of other things. This is the pertinent part of the flow i'm having trouble with. Thanks for any guidance.
Ok, yes, I removed the first chage node from my flow and just the single change node with that magic kung foo you gave me, "msg "&payload. lol. I get the "msg " part. But what does the & do? Also I assumed i would use the "string" mode. Obviously not. What is the funny 'J' mean?
Really? you can do regex? Reminds me of the early days when I was working with Perl. If remember correctly, thats the beginning of the line. And so that would prepend "msg " to msg.payload?