# Variable not exits

**URL:** https://www.finalbuilder.com/forums/t/variable-not-exits/2484
**Category:** Discussion
**Created:** [June 2, 2016, 6:38am UTC](https://www.finalbuilder.com/forums/t/variable-not-exits/2484 "2016-06-02T06:38:21Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![kannan24](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/k/bc8723/32.png) [@kannan24](https://www.finalbuilder.com/forums/u/kannan24)
#### Post date: [June 2, 2016, 6:38am UTC](https://www.finalbuilder.com/forums/t/variable-not-exits/2484/1 "2016-06-02T06:38:21Z")

</div>

Hi Support,  
  
I read output log from Execute program event and then assigning the value to another variable.&nbsp;  
  
I get the below error while assign the outputlog.  
  
Variable : firstvariable - does not exist  
  
Can I get the solution in Final Builder 6.  
  
Regards,  
Kannan

---

<div class="post-metadata">

### Author: ![nevar](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/c4cdca/32.png) [@nevar](https://www.finalbuilder.com/forums/u/nevar)
#### Post date: [June 3, 2016, 12:13pm UTC](https://www.finalbuilder.com/forums/t/variable-not-exits/2484/2 "2016-06-03T12:13:35Z")

</div>

Is the variable “firstvariable” defined in the project? If not then define a variable with this name and the error should stop occurring.

---

<div class="post-metadata">

### Author: ![kannan24](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/k/bc8723/32.png) [@kannan24](https://www.finalbuilder.com/forums/u/kannan24)
#### Post date: [June 3, 2016, 5:28am UTC](https://www.finalbuilder.com/forums/t/variable-not-exits/2484/3 "2016-06-03T05:28:34Z")

</div>

I can’t use the firstvariable in anywhere. While compiling Visual Studio project from Execute program it may gets failure or success, so we write the log to text file by getting the logoutput values. The log file contains text like variable which defining in Final Builder. So, automation gets failed with variable not exits. We can’t determine the variable name from each Visual Studio project because lot of project were compiling in Final Builder.   
  
 If I define that variable than automation gets running but next time getting failed with another variable not exits. Is there any possible to avoid this instead of defining variable name each time?

---

<div class="post-metadata">

### Author: ![nevar](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/c4cdca/32.png) [@nevar](https://www.finalbuilder.com/forums/u/nevar)
#### Post date: [July 12, 2016, 1:15am UTC](https://www.finalbuilder.com/forums/t/variable-not-exits/2484/4 "2016-07-12T01:15:28Z")

</div>

The way to stop expansion of variable names in text is to use the ! syntax. For example %!LogText% would not expand any variable syntax in the string contained with in the variable LogText. Also some actions have an express option to turn off variable expansion, like the set variable action.
