Hi,
I have set Lables on an env variable in a subflow (as a list), as shown:
Now, I need to retrieve the Label in a function (in the same subflow), depending upon the choosen value. The env variable is named ACTION.
Any suggestion?
Hi,
I have set Lables on an env variable in a subflow (as a list), as shown:
Now, I need to retrieve the Label in a function (in the same subflow), depending upon the choosen value. The env variable is named ACTION.
Any suggestion?
Hi @fmarzocca
The env var is set to the value, the label is not exposed in the flow.
If its the label you want rather than the values you have set, then you could change the values to match - Pause
, Start
, Park
.
Or you could include a Function node that has the same table of values and can do the reverse mapping from value to label.
Ok. Thanks. A function will work!
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.