# Workflow Specific Environment Variable

**URL:** <https://discuss.bitrise.io/t/workflow-specific-environment-variable/1412>\
**Category:** Question & Answer\
**Tags:** workflow, workflow-editor\
**Created:** [April 7, 2017, 6:44am UTC](https://discuss.bitrise.io/t/workflow-specific-environment-variable/1412 "2017-04-07T06:44:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mark100net](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/mark100net/32/59_2.png) [@mark100net](https://discuss.bitrise.io/u/mark100net)\
**Post date:** [April 7, 2017, 6:44am UTC](https://discuss.bitrise.io/t/workflow-specific-environment-variable/1412/1 "2017-04-07T06:44:12Z")

</div>

Is it possible to have a workflow specific environment variable (and/or modify one of the app variables for a workflow). If so, what is the best way to do that?

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [April 7, 2017, 8:09am UTC](https://discuss.bitrise.io/t/workflow-specific-environment-variable/1412/2 "2017-04-07T08:09:30Z")

</div>

Hi @mark100net,

Thanks for asking this here! 😉

Sure it’s absolutely possible.

In `bitrise.yml` you can just add `envs` inside the workflow - [http://devcenter.bitrise.io/bitrise-cli/workflows/#define-workflow-specific-parameters-environment-variables](http://devcenter.bitrise.io/bitrise-cli/workflows/#define-workflow-specific-parameters-environment-variables)

On the current/old Workflow Editor UI, with the “Manage Env Vars” button (will set the env vars for the currently selected workflow):

 ![](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/1X/cbf1f257d0371f867b51f7b9db95d7beb777017c.png)

On the new/“v2” editor UI, under “App Env Vars” (most likely will be renamed to “Env Vars”):

 ![](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/1X/ac8424aa6cecbe1074a7cd34da918f92863eaed9.png)

> [@mark100net](#):
>
> and/or modify one of the app variables for a workflow

The Workflow specific env vars can overwrite the “app env vars” (the non workflow specific) ones. More info about this: [Bitrise CLI - Bitrise Docs](http://devcenter.bitrise.io/bitrise-cli/most-important-concepts/#availability-order-of-environment-variables)

If you have any questions just let us know! 😉
