Set Flow without using Function node

#1

If I understand correctly, the use of the Function Node should be avoided as it uses many resources.

What is the correct way to Set a Flow without using a Function Node?

I thought it could be done by using a Change Node, however when I tried it didn't work.

I tried using the Rule Set msg.payload to flow.DailyPumpTest.
The message payload is coming from a Dashboard dropdown.
Currently the output message from the Change Node is "undefined".

0 Likes

#2

Try the other way round. Set (the) flow.DailyPumpTest TO (the value of) msg.payload

0 Likes

#3

Yes, that will do it. Makes me look a bit silly.

Thank you for you timely help :slight_smile:

0 Likes