# Multistate switch - Resend input in output

**URL:** <https://discourse.nodered.org/t/multistate-switch-resend-input-in-output/45566>\
**Category:** Dashboard\
**Created:** [12 May 2021 22:47 UTC](https://discourse.nodered.org/t/multistate-switch-resend-input-in-output/45566 "2021-05-12T22:47:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Franco](https://avatars.discourse-cdn.com/v4/letter/f/e19b73/32.png) [@Franco](https://discourse.nodered.org/u/Franco)\
**Post date:** [12 May 2021 22:47 UTC](https://discourse.nodered.org/t/multistate-switch-resend-input-in-output/45566/1 "2021-05-12T22:47:16Z")

</div>

Hello,

I am trying to use the Multistate switch node in a project.

When I insert a msg.payload in its input, it changes its state but it doesn't resend that change to its output. Is any way to do this (like the switch node does)?

Regards,  
Franco

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [13 May 2021 06:16 UTC](https://discourse.nodered.org/t/multistate-switch-resend-input-in-output/45566/2 "2021-05-13T06:16:20Z")

</div>

> [@Franco](#):
>
> it doesn't resend that change to its output. Is any way to do this

You could simply connect around the switch

E.g. wire the node that connects to the switch to both the switch and what the switch connects to.

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [13 May 2021 10:42 UTC](https://discourse.nodered.org/t/multistate-switch-resend-input-in-output/45566/3 "2021-05-13T10:42:43Z")

</div>

> [@Franco](#):
>
> but it doesn't resend that change to its output. Is

When you search for pass-through of messages for this UI node on Discourse or in my Github repository, the you will see that this feature has been asked before a couple of times. But it needs to be discussed first, because it seems there are different opinions about it should work...  
Anyway I'm not developing at the moment due to a surgery, so the implmentation will have to wait.  
But if somebody wants to start the discussion here about how it should work, please be my guest!  
Bart

---

<div class="post-metadata">

**Author:** ![Franco](https://avatars.discourse-cdn.com/v4/letter/f/e19b73/32.png) [@Franco](https://discourse.nodered.org/u/Franco)\
**Post date:** [15 May 2021 19:54 UTC](https://discourse.nodered.org/t/multistate-switch-resend-input-in-output/45566/4 "2021-05-15T19:54:06Z")

</div>

Hello Steve,

Do you mean that the only way to do it is connecting the input to the Multistate switch and to its output? I did and it worked, but I wanted to know if there was a tidier solution to do it...

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [29 May 2021 19:54 UTC](https://discourse.nodered.org/t/multistate-switch-resend-input-in-output/45566/5 "2021-05-29T19:54:26Z")

</div>

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