# Changing the message payload outcome without changing the function

**URL:** <https://discourse.nodered.org/t/changing-the-message-payload-outcome-without-changing-the-function/67004>\
**Category:** General\
**Tags:** database, function-node, mqtt\
**Created:** [27 August 2022 12:42 UTC](https://discourse.nodered.org/t/changing-the-message-payload-outcome-without-changing-the-function/67004 "2022-08-27T12:42:37Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [27 August 2022 20:15 UTC](https://discourse.nodered.org/t/changing-the-message-payload-outcome-without-changing-the-function/67004/11 "2022-08-27T20:15:31Z")

</div>

Please read this post about how to share code or flows on the forum: [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

If you do not format them properly, they cannot be imported.

---

_[View the full topic](https://discourse.nodered.org/t/changing-the-message-payload-outcome-without-changing-the-function/67004)._
