# System $ environmental variables empty result

**URL:** https://discourse.nodered.org/t/system-environmental-variables-empty-result/38212
**Category:** General
**Created:** [29 December 2020 14:59 UTC](https://discourse.nodered.org/t/system-environmental-variables-empty-result/38212 "2020-12-29T14:59:51Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![Andrei](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andrei/32/10446_2.png) [@Andrei](https://discourse.nodered.org/u/Andrei)
#### Post date: [29 December 2020 16:31 UTC](https://discourse.nodered.org/t/system-environmental-variables-empty-result/38212/8 "2020-12-29T16:31:32Z")

</div>

> [@coen17st](#):
>
> Can someone explain how node-RED handles the system $ environmental variables?

Some good insights in this previous discussion.

> [@How to set env variable](https://discourse.nodered.org/t/how-to-set-env-variable/18612/15):
>
> @DemonKing environment variables are only evaluated when flows are started. The runtime gets their values before passing them to individual nodes. The nodes don't know the value came from an env var. If you change an env var it does not magically cause the node to change its configuration. You'd need to restart Node-RED to pickup the changes. I understand you have a requirement to dynamically change the mssql connection details. Unless there is a node that already provides that ability, then y…

---

_[View the full topic](https://discourse.nodered.org/t/system-environmental-variables-empty-result/38212)._
