# Problems with conditional function

**URL:** <https://discourse.nodered.org/t/problems-with-conditional-function/30498>\
**Category:** General\
**Created:** [21 July 2020 17:57 UTC](https://discourse.nodered.org/t/problems-with-conditional-function/30498 "2020-07-21T17:57:56Z")\
**Posts on this page:** 1\
**Showing post:** 22

<div class="post-metadata">

**Author:** ![JGKK](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jgkk/32/18515_2.png) [@JGKK](https://discourse.nodered.org/u/JGKK)\
**Post date:** [22 July 2020 17:16 UTC](https://discourse.nodered.org/t/problems-with-conditional-function/30498/22 "2020-07-22T17:16:00Z")

</div>

You can use the same [i describe here in answer to your question](https://discourse.nodered.org/t/last-message-comparation-with-new-message/30511) but apply it to the output message and not the input message.  
Otherwise you could also use [the rbe node](https://flows.nodered.org/node/node-red-node-rbe).

Johannes

---

_[View the full topic](https://discourse.nodered.org/t/problems-with-conditional-function/30498)._
