To try and help, here is a basic flow which is what I am needing to do elsewhere with other things.
I have two flow.context
values.
I want to multiply them and send that out as the payload.
eg: flow.number
and flow.multiplier
How do I make the payload
of the change
node equal flow.number
* flow.multiplier
?
[{"id":"c1f60fd3.ccbba","type":"inject","z":"68e3655f.b606b4","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":170,"y":2340,"wires":[["837a3ff3.4f35c"]]},{"id":"837a3ff3.4f35c","type":"change","z":"68e3655f.b606b4","name":"","rules":[{"t":"set","p":"something","pt":"flow","to":"20","tot":"num"},{"t":"set","p":"multiplier","pt":"flow","to":"4","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":370,"y":2340,"wires":[[]]},{"id":"aee3facd.6eef78","type":"change","z":"68e3655f.b606b4","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"{{flow.something}} * {{flow.multiplier}}","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":340,"y":2390,"wires":[["9dc17d14.4ff7b"]]},{"id":"6c976108.74a12","type":"inject","z":"68e3655f.b606b4","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":170,"y":2390,"wires":[["aee3facd.6eef78"]]},{"id":"9dc17d14.4ff7b","type":"debug","z":"68e3655f.b606b4","name":"","active":true,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","x":570,"y":2390,"wires":[]}]