NR v3.0.2
If you use use jsonata in a change
node and try to add flow/global variables together and one of the flow/global variables does not exist, no error and no result is returned.
Example flow:
[{"id":"1b34f2e69b481f3d","type":"inject","z":"51b4376bd7d81c4b","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"55","payloadType":"num","x":130,"y":120,"wires":[["7c08c8263ebca986"]]},{"id":"7c08c8263ebca986","type":"change","z":"51b4376bd7d81c4b","name":"","rules":[{"t":"set","p":"var1","pt":"flow","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":150,"y":180,"wires":[["4204bdfb2b189e0f"]]},{"id":"9ac824b955284c63","type":"debug","z":"51b4376bd7d81c4b","name":"debug 3","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":140,"y":300,"wires":[]},{"id":"92c935c39b9f84fb","type":"catch","z":"51b4376bd7d81c4b","name":"","scope":null,"uncaught":false,"x":340,"y":140,"wires":[["7cc339226879bd18"]]},{"id":"7cc339226879bd18","type":"debug","z":"51b4376bd7d81c4b","name":"debug 4","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":500,"y":140,"wires":[]},{"id":"4204bdfb2b189e0f","type":"change","z":"51b4376bd7d81c4b","name":"add three flow variables together","rules":[{"t":"set","p":"payload","pt":"msg","to":"$flowContext('var1')+$flowContext('var2')+$flowContext('var3')","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":220,"y":240,"wires":[["9ac824b955284c63"]]}]