# Validate project does not validate variables

**URL:** https://www.finalbuilder.com/forums/t/validate-project-does-not-validate-variables/2217
**Category:** Discussion
**Created:** [November 13, 2013, 10:25am UTC](https://www.finalbuilder.com/forums/t/validate-project-does-not-validate-variables/2217 "2013-11-13T10:25:08Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![catenalogic](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/catenalogic/32/116_2.png) [@catenalogic](https://www.finalbuilder.com/forums/u/catenalogic)
#### Post date: [November 13, 2013, 10:25am UTC](https://www.finalbuilder.com/forums/t/validate-project-does-not-validate-variables/2217/1 "2013-11-13T10:25:08Z")

</div>

When validating a project, it (mostly) says my projects are fine. However when I run them, I sometimes run into "variables" do not exist. Now I know that you can define a variable at runtime, but people hardly use that feature.

What I would like to see is that it would give me a warning when a variable does not exist in a specific scope. Then it's up to me to know (and check) if it's a variable defined dynamically or not. Maybe a feature with "I do not use dynamic variables" would be great, then you can treat them as errors.

---

<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: [November 13, 2013, 10:49am UTC](https://www.finalbuilder.com/forums/t/validate-project-does-not-validate-variables/2217/2 "2013-11-13T10:49:12Z")

</div>

Hi Geert Van Horrik,   
  
 The action “Define Variable” is currently deprecated and its use should be avoided and moved away from.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [November 13, 2013, 11:15am UTC](https://www.finalbuilder.com/forums/t/validate-project-does-not-validate-variables/2217/3 "2013-11-13T11:15:15Z")

</div>

Hi Geert   
  
 We looked at doing this a while back… but validating variable references means parsing every string property of every action. That would take a long time on many projects.

---

<div class="post-metadata">

### Author: ![davestiff](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/d/f08c70/32.png) [@davestiff](https://www.finalbuilder.com/forums/u/davestiff)
#### Post date: [November 14, 2013, 2:34am UTC](https://www.finalbuilder.com/forums/t/validate-project-does-not-validate-variables/2217/4 "2013-11-14T02:34:27Z")

</div>

Hi Vincent,

&nbsp;I have also requested this feature in the Wish List forum.

Even if the validation took 5 minutes, it would still be better than a build failing after running for an hour. The 5 minutes pales in comparison to the lost man hours for restarting a build.

Thanks!

Dave
