Change Node: Is there a simple solution or should I stick with function node

In my msg object, I have a payload and another key named globalsource. I want to take the payload and put it into a global variable named global.(contents of msg.globalsource).

This is simple enough in a function node:
image

I am just wondering is there a method that I am overlooking to do this using a change node?
image

There is no way of doing that with the change node. You have to stick with the function node.

Thank for the quick reply.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.