** Not published **
You want to copy a property of a message to another property.
Use the Change
node to set the property of the message.
[]
The Change
node can be used to set properties of a message.
The node supports setting various JavaScript types as well as some Node-RED specific
"hello world"
42
true
/false
It also supports setting a property to a value based on the value of context properties, other message properties or an JSONata expression. These are each explored more in the following recipes:
Node-RED: Low-code programming for event-driven applications.
Copyright OpenJS Foundation and Node-RED contributors. All rights reserved. The OpenJS Foundation has registered trademarks and uses trademarks. For a list of trademarks of the OpenJS Foundation, please see our Trademark Policy and Trademark List. Trademarks and logos not indicated on the list of OpenJS Foundation trademarks are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.
The OpenJS Foundation | Terms of Use | Privacy Policy | OpenJS Foundation Bylaws | Trademark Policy | Trademark List | Cookie Policy