# Access speciffic flow from UI

**URL:** <https://discourse.nodered.org/t/access-speciffic-flow-from-ui/86456>\
**Category:** General\
**Created:** [15 March 2024 10:16 UTC](https://discourse.nodered.org/t/access-speciffic-flow-from-ui/86456 "2024-03-15T10:16:23Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![lucianv](https://avatars.discourse-cdn.com/v4/letter/l/cab0a1/32.png) [@lucianv](https://discourse.nodered.org/u/lucianv)\
**Post date:** [15 March 2024 10:16 UTC](https://discourse.nodered.org/t/access-speciffic-flow-from-ui/86456/1 "2024-03-15T10:16:23Z")

</div>

Hi,  
In flow design url, I see the flow ID in the url and I can access speciffic flows using this ID, like  
[http://192.168.50.50:1880/#flow/\*\*8ae237c33aaa34f1](http://192.168.50.50:1880/#flow/**8ae237c33aaa34f1)\*\*

When I go to the UI I see some socketid. Is there a way to open speciffic flow from the UI?  
[http://192.168.50.50:1880/ui/#!/0?socketid=aMd2s7wl8g2GejSuAAAJ](http://192.168.50.50:1880/ui/#!/0?socketid=aMd2s7wl8g2GejSuAAAJ)

Thanks

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [15 March 2024 10:23 UTC](https://discourse.nodered.org/t/access-speciffic-flow-from-ui/86456/2 "2024-03-15T10:23:22Z")

</div>

[http://192.168.50.50:1880/ui/#!/0](http://192.168.50.50:1880/ui/#!/0) \<= the zero here is the tab number that will be displayed when you follow the link.

Just change that number to the tab you want to link to.

You can remove everything after the tab number from your link, as that part is generated dynamically after you connect.

---

<div class="post-metadata">

**Author:** ![lucianv](https://avatars.discourse-cdn.com/v4/letter/l/cab0a1/32.png) [@lucianv](https://discourse.nodered.org/u/lucianv)\
**Post date:** [15 March 2024 10:36 UTC](https://discourse.nodered.org/t/access-speciffic-flow-from-ui/86456/3 "2024-03-15T10:36:16Z")

</div>

I tried - [http://192.168.50.50:1880/ui/#!/1](http://192.168.50.50:1880/ui/#!/1) but when access it, automatically redirects me to [http://192.168.50.50:1880/ui/#!/0](http://192.168.50.50:1880/ui/#!/0)

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [15 March 2024 10:41 UTC](https://discourse.nodered.org/t/access-speciffic-flow-from-ui/86456/4 "2024-03-15T10:41:24Z")

</div>

In that case you will need to find out what (it) is doing the redirecting.

Do you have any ui control nodes for example ?

---

<div class="post-metadata">

**Author:** ![lucianv](https://avatars.discourse-cdn.com/v4/letter/l/cab0a1/32.png) [@lucianv](https://discourse.nodered.org/u/lucianv)\
**Post date:** [15 March 2024 11:01 UTC](https://discourse.nodered.org/t/access-speciffic-flow-from-ui/86456/5 "2024-03-15T11:01:02Z")

</div>

Yes I have in the flow0, in flow 1 i have only a button for test

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [15 March 2024 12:01 UTC](https://discourse.nodered.org/t/access-speciffic-flow-from-ui/86456/6 "2024-03-15T12:01:48Z")

</div>

What is the ui control node doing when it is triggered ?

Can you post the code here ?

---

<div class="post-metadata">

**Author:** ![lucianv](https://avatars.discourse-cdn.com/v4/letter/l/cab0a1/32.png) [@lucianv](https://discourse.nodered.org/u/lucianv)\
**Post date:** [15 March 2024 13:04 UTC](https://discourse.nodered.org/t/access-speciffic-flow-from-ui/86456/7 "2024-03-15T13:04:02Z")

</div>

```auto
var page = msg.payload;
if (page === "connect"){
    msg =
    {
        payload: {
            "group": {
                "hide": [
                    "tabstdt_menu-calibrare",
                    "tabstdt_menu-test-frana",
                    "tabstdt_test-frana-01",
                    "tabstdt_test-frana-02",
                    "tabstdt_text-frana-03",
                    "tabstdt_text-frana-04",
                    "tabstdt_menu-setari",
                    "tabstdt_menu-arhiva",
                    "tabstdt_test-frana-01",
                    "tabstdt_text-frana-02",
                    "tabstdt_menu-setari-1",
                    "tabstdt_menu-setari-date",
                    "tabstdt_cantar",
                    "tabstdt_anuleaza-test",
                    "tabstdt_motoare-1",
                    "tabstdt_testare-01",
                    "tabstdt_motoare-1m",
                    "tabstdt_rezultate-01",
                    "tabstdt_repeta-on",
                    "tabstdt_repeta-off",
                    "tabstdt_continua-on"
                ],
                "show": [
                    "tabstdt_menu-main"
                ]
            }
        }
    }
}
else {
    msg.payload = 0;
}
return msg;

```

this is the one that is triggered when open the page and I have others as well in the flow that hide/show different groups

---

<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:** [13 June 2024 13:04 UTC](https://discourse.nodered.org/t/access-speciffic-flow-from-ui/86456/8 "2024-06-13T13:04:35Z")

</div>

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