This is weird.
Forgetting previous stuff here is the problem I now am seeing/have.
counter = counter + 1; context.set("COUNTER",counter); node.warn("TOTAL is " + total); total = total + x; node.warn("TOTAL IS NOW " + total); context.set("total",total); msg.payload = total; return msg;
This is what I see - given I
reset the flow at the start. (Sorry it scrolled off the top of the screen)
It starts at
0 and each time I press the
8 it increments by
On the OTHER machine....
This is what I'm getting:
The maths isn't being honoured.
It would seem that it is being parsed as text.... and the new messages appended to the previous message instead of being added.