# Change of switch rules / parameters via the dashboard

**URL:** <https://discourse.nodered.org/t/change-of-switch-rules-parameters-via-the-dashboard/95381>\
**Category:** Dashboard\
**Created:** [13 February 2025 15:47 UTC](https://discourse.nodered.org/t/change-of-switch-rules-parameters-via-the-dashboard/95381 "2025-02-13T15:47:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paulsburg](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paulsburg/32/98821_2.png) [@Paulsburg](https://discourse.nodered.org/u/Paulsburg)\
**Post date:** [13 February 2025 15:47 UTC](https://discourse.nodered.org/t/change-of-switch-rules-parameters-via-the-dashboard/95381/1 "2025-02-13T15:47:25Z")

</div>

Hi Folk

yesterday I managed to get my first NR program running and visualized on the dashboard.

Now I want to change some of my switch rules / parameters via the dashboard.

Example: The swich is deciding wether the Input is higher than 50 or lower/even than 49.

I want to be able to change these margins via an dashboard input.

Do you can give any hint, how I can manage this or where somebody got an answer on an comparable question?

Shure, I searched via the net, but found no answer...

Thanks a lot!

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [13 February 2025 15:51 UTC](https://discourse.nodered.org/t/change-of-switch-rules-parameters-via-the-dashboard/95381/2 "2025-02-13T15:51:00Z")

</div>

You can set the switch property or rule to a context var (flow/global), you can then update this property via the dashboard.

---

<div class="post-metadata">

**Author:** ![Paulsburg](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paulsburg/32/98821_2.png) [@Paulsburg](https://discourse.nodered.org/u/Paulsburg)\
**Post date:** [13 February 2025 17:20 UTC](https://discourse.nodered.org/t/change-of-switch-rules-parameters-via-the-dashboard/95381/3 "2025-02-13T17:20:05Z")

</div>

Thank you very much..Will try it

---

<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:** [15 March 2025 17:20 UTC](https://discourse.nodered.org/t/change-of-switch-rules-parameters-via-the-dashboard/95381/4 "2025-03-15T17:20:53Z")

</div>

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