# Is there any way too Tell if a UIBuilder node has connections

**URL:** <https://discourse.nodered.org/t/is-there-any-way-too-tell-if-a-uibuilder-node-has-connections/15787>\
**Category:** General\
**Created:** [22 September 2019 17:19 UTC](https://discourse.nodered.org/t/is-there-any-way-too-tell-if-a-uibuilder-node-has-connections/15787 "2019-09-22T17:19:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnlongo](https://avatars.discourse-cdn.com/v4/letter/j/13edae/32.png) [@johnlongo](https://discourse.nodered.org/u/johnlongo)\
**Post date:** [22 September 2019 17:19 UTC](https://discourse.nodered.org/t/is-there-any-way-too-tell-if-a-uibuilder-node-has-connections/15787/1 "2019-09-22T17:19:20Z")

</div>

Is there any way too Tell if a UIBuilder node has connections, would like to be able to check in a function or switch?

---

<div class="post-metadata">

**Author:** ![afelix](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/afelix/32/9743_2.png) [@afelix](https://discourse.nodered.org/u/afelix)\
**Post date:** [22 September 2019 17:43 UTC](https://discourse.nodered.org/t/is-there-any-way-too-tell-if-a-uibuilder-node-has-connections/15787/2 "2019-09-22T17:43:14Z")

</div>

Utilising a status node set to the uibuilder node to keep track of the number of connections? Otherwise send an outgoing message on connect/disconnect events from the `uibuilderfe` code and connect your flow to that

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [22 September 2019 18:22 UTC](https://discourse.nodered.org/t/is-there-any-way-too-tell-if-a-uibuilder-node-has-connections/15787/3 "2019-09-22T18:22:51Z")

</div>

The 2nd output gives out control messages whenever a client connects or disconnects. Of course, a "client" could be a new device or a new browser/tab/window on the same device.

And, as Lena says, the uibuilder node outputs a status with the number of connected clients and so you can take the status text and process it.

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/f/f3ee03387b66e8659ee660e2234b566df3fc5bb7.png)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/e/e8980fc36ad6f5372d9c9aebd87990c1d05c5562.png)

---

<div class="post-metadata">

**Author:** ![johnlongo](https://avatars.discourse-cdn.com/v4/letter/j/13edae/32.png) [@johnlongo](https://discourse.nodered.org/u/johnlongo)\
**Post date:** [22 September 2019 19:39 UTC](https://discourse.nodered.org/t/is-there-any-way-too-tell-if-a-uibuilder-node-has-connections/15787/4 "2019-09-22T19:39:57Z")

</div>

Thank You that was what I wanted
