UI Tab name from environment variables

Hi all,

First of all, thank you very much for the forum, it's really helpful!

My problem :

I created 3 sub-flows, each sub-flow is related to a type of device (eg: temperature sensor, pressure sensor), in these sub-flows I do data processing and dashboard display (ui_text, ui_chart)

I have multiple instances of these 3 sub-flows. (eg: 3 temperature sensors, 2 pressure sensors)

Each sensor has an ID (eg: Temp1, Temp2, Temp3, Pres1, Pres2)

Basically I want to display a list of devices.
So, whenever i have a new instance i want a new tab (named sensor id) with the ui element (graphic and text) under the same group (named device list).

So I tried setting the ui tab name from the environment variables set in the sub-flow settings.
[List of devices] $ {SENSOR_ID}

This works fine for one sub-flow (I have 3 Tab under "list of devices" group, Temp1, Temp2, Temp3)
but if I try to do the same in a second sub-flow, the environment variable is not "recognized" and all instances of that sub-flows are grouped into one tab named "$ {SENSOR_ID}"

do you know what i'm missing or is it even possible to do what i want this way?

Thank you for your time !

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