# Environment variables are not set properly

**URL:** <https://community.postman.com/t/environment-variables-are-not-set-properly/4619>\
**Category:** Help Hub\
**Created:** [March 19, 2019, 1:30pm UTC](https://community.postman.com/t/environment-variables-are-not-set-properly/4619 "2019-03-19T13:30:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rgasioro](https://avatars.discourse-cdn.com/v4/letter/r/a5b964/32.png) [@rgasioro](https://community.postman.com/u/rgasioro)\
**Post date:** [March 19, 2019, 1:30pm UTC](https://community.postman.com/t/environment-variables-are-not-set-properly/4619/1 "2019-03-19T13:30:49Z")

</div>

It appears that environment variables are not shared between Runner and Collections, even though same environment is used.  
If I run a script that sets env variable in the Runner, that same variable in the same env is not updated for use in Collections.

UPDATE: Apparently, there’s a setting in the Runner called Keep variable values, duh

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [December 9, 2024, 2:33pm UTC](https://community.postman.com/t/environment-variables-are-not-set-properly/4619/2 "2024-12-09T14:33:41Z")

</div>

Closed on December 9, 2024, 2:33pm UTC

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