# Using environment variable during another environment variable definiton in flow properties - issue

**URL:** <https://discourse.nodered.org/t/using-environment-variable-during-another-environment-variable-definiton-in-flow-properties-issue/70316>\
**Category:** General\
**Created:** [9 November 2022 11:14 UTC](https://discourse.nodered.org/t/using-environment-variable-during-another-environment-variable-definiton-in-flow-properties-issue/70316 "2022-11-09T11:14:44Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![jopl](https://avatars.discourse-cdn.com/v4/letter/j/74df32/32.png) [@jopl](https://discourse.nodered.org/u/jopl)\
**Post date:** [10 November 2022 04:52 UTC](https://discourse.nodered.org/t/using-environment-variable-during-another-environment-variable-definiton-in-flow-properties-issue/70316/5 "2022-11-10T04:52:14Z")

</div>

Dear Colin,  
thanks again for quick and valuable advise, I am using already this approach 😉.  
Unfortunately, it is not easy to do in case of mqtt in node, as there is no input option (except mqtt itself) and therefore setting up the parameters by code is impossible (or I am not experienced enough).  
And what is frustrating for me ... as description of using environment variables on link [Using environment variables : Node-RED](https://nodered.org/docs/user-guide/environment-variables) says, it should be possible in TypedInput widget (like flow properties are) ... and there is indicator it is / was possible: [Using subflow environment variable to set mqtt topic - #7 by tinamore](https://discourse.nodered.org/t/using-subflow-environment-variable-to-set-mqtt-topic/15331/7) ... knolleary used this and tinamore confirmed it is / was working ...  
Therefore, is it relating to version of my NodeRed? Or was the attitude of knolleary solution misleading?  
Hmmm ... still unclear for me.  
Regards, Josef.

 ![knolleary_QM](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/7/a7486959d8ea9c9f872b48c937dab62c3a6765a2.png)

---

_[View the full topic](https://discourse.nodered.org/t/using-environment-variable-during-another-environment-variable-definiton-in-flow-properties-issue/70316)._
