Modifying message properties using a change node
You can modify message properties:
- Setting new messages properties
- Changing the value of message properties
- Deleting message properties
- Moving messages property values to different message properties
- Open Node-RED.
- Add a change node from the function category to the workspace.
- Double-click the change node to open the Edit node dialogue.
- Add empty rules by clicking + add.
- Configure the rules by selecting a rule type from the respective drop-down list and defining the rule as necessary.
- Click Done to apply your changes.
- Connect the input of the change node to the node that outputs the message you want to modify.