# Finalbuilder variables between stages

**URL:** https://www.finalbuilder.com/forums/t/finalbuilder-variables-between-stages/5413
**Category:** Discussion
**Created:** [September 29, 2015, 1:05am UTC](https://www.finalbuilder.com/forums/t/finalbuilder-variables-between-stages/5413 "2015-09-29T01:05:39Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jpone](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/j/f08c70/32.png) [@jpone](https://www.finalbuilder.com/forums/u/jpone)
#### Post date: [September 29, 2015, 1:05am UTC](https://www.finalbuilder.com/forums/t/finalbuilder-variables-between-stages/5413/1 "2015-09-29T01:05:39Z")

</div>

Trying to set up a project that will be broken into two stages:  
1. Build  
2. Run Regression tests  
  
The second stage needs to be aware of build variables that are set during the first stage. However, this seems to not work as I would expect.  
  
Stage 1:  
Set the variables with temporary values in the Finalbuilder action variables tab (these are not defined as configuration variables, as based on my reading of the wiki, these should be build variables.)  
RegressionName=Temp  
  
The Finalbuilder project sets this variable to the proper value  
  
Stage 2:  
Set variables in the Finalbuilder action variables tab:  
RegressionName=%RegressionName%  
  
This results in this error:&nbsp;  
The expression [RegressionName=%RegressionName%] contains errors: Unknown Variable : RegressionName  
  
I’m guessing that either Finalbuilder does not return values that change or I’m missing a step somewhere.&nbsp;  
  
Thanks,  
  
- jp

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [September 29, 2015, 3:13am UTC](https://www.finalbuilder.com/forums/t/finalbuilder-variables-between-stages/5413/2 "2015-09-29T03:13:02Z")

</div>

Hi JP,  
  
It looks like you haven’t defined the variable in Continua. Continua variables are separate from FinalBuilder variables so you must define them in both.&nbsp;  
  
You can then use the variables tab of the FinalBuilder action to set a FinalBuilder variable with the value of the Continua variable. Note that you must also use the “Continua CI - Set Variable” action in FinalBuilder to set the Continua variable with the changed value of the FinalBuilder variable.

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [September 29, 2015, 3:17am UTC](https://www.finalbuilder.com/forums/t/finalbuilder-variables-between-stages/5413/3 "2015-09-29T03:17:48Z")

</div>

Note also that build variables are copies of all configuration, project and application variables taken at the start of each build.
