# Slider in subflow, Label from Env Variable

**URL:** <https://discourse.nodered.org/t/slider-in-subflow-label-from-env-variable/37303>\
**Category:** General\
**Created:** [10 December 2020 15:23 UTC](https://discourse.nodered.org/t/slider-in-subflow-label-from-env-variable/37303 "2020-12-10T15:23:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![billiaz](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/billiaz/32/17921_2.png) [@billiaz](https://discourse.nodered.org/u/billiaz)\
**Post date:** [10 December 2020 15:23 UTC](https://discourse.nodered.org/t/slider-in-subflow-label-from-env-variable/37303/1 "2020-12-10T15:23:48Z")

</div>

Hi,

I am facing an issue with a slider.  
I have a subflow, with a slider in it.  
Currently I am pushing a `msg.name` with the name of slider and the label is `{{ msg.name }} cron`  
The moment I slide the slider, on the next refresh name becomes ` cron`!  
Is there a way to for instance use an Environment variable in the label? (environment variable will be configured in subflow)

---

<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:** [8 February 2021 15:23 UTC](https://discourse.nodered.org/t/slider-in-subflow-label-from-env-variable/37303/2 "2021-02-08T15:23:49Z")

</div>

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