# Expression does not get expanded in Queuing Dialog

**URL:** <https://www.finalbuilder.com/forums/t/expression-does-not-get-expanded-in-queuing-dialog/6112>\
**Category:** Bugs\
**Created:** [June 14, 2018, 7:59am UTC](https://www.finalbuilder.com/forums/t/expression-does-not-get-expanded-in-queuing-dialog/6112 "2018-06-14T07:59:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sa\_thomaslohrum](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/ecd19e/32.png) [@sa\_thomaslohrum](https://www.finalbuilder.com/forums/u/sa_thomaslohrum)\
**Post date:** [June 14, 2018, 7:59am UTC](https://www.finalbuilder.com/forums/t/expression-does-not-get-expanded-in-queuing-dialog/6112/1 "2018-06-14T07:59:52Z")

</div>

Hi,

when manually queuing i want to show the version of the build that will be used for this build. I created a configuration variable "Buildversion" of type Text, prompt type Text. As the default value i set "$Build.Version$". However when i queue the build, the dialog opens and presents "$Build.Version$" as the value. It does not get expanded.

The hint to the control mentions:

"Currently query expressions will be expanded when the build is started, before any Queue Options dialog is shown. Prompts will be prepopulated with the expanded value."

My understanding is, that the value should be expanded. Am i wrong or is this indeed a bug?

Thomas

---

<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:** [June 15, 2018, 12:05pm UTC](https://www.finalbuilder.com/forums/t/expression-does-not-get-expanded-in-queuing-dialog/6112/2 "2018-06-15T12:05:00Z")

</div>

Hi Thomas,

The Build expression object is not included in the list of expressions which expanded in variable default values. When you type the $, the dropdown suggestions list should show the list of expressions objects which are available - see the image below.

 ![](https://www.finalbuilder.com/forums/uploads/default/original/2X/8/84b15daac013b920d0b4c7228e1772bbfca4515f.png)

As the build has not yet started, we cannot expand build variables when the prompt is displayed.

---

<div class="post-metadata">

**Author:** ![sa\_thomaslohrum](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/ecd19e/32.png) [@sa\_thomaslohrum](https://www.finalbuilder.com/forums/u/sa_thomaslohrum)\
**Post date:** [June 15, 2018, 9:40am UTC](https://www.finalbuilder.com/forums/t/expression-does-not-get-expanded-in-queuing-dialog/6112/3 "2018-06-15T09:40:19Z")

</div>

Hi Dave,

as you have suggested i tried $Configuration.LastBuild$ as an example. It does not get populated. What does get expanded is $Configuration.Name$.

The hint "_before any Queue Options dialog is shown. Prompts will be prepopulated with the expanded value._" can be missleading, as not all expression will work.

Anyway, the issue is answered to me. Thanks.

Thomas

---

<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:** [June 18, 2018, 6:28am UTC](https://www.finalbuilder.com/forums/t/expression-does-not-get-expanded-in-queuing-dialog/6112/4 "2018-06-18T06:28:01Z")

</div>

Hi Thomas,

We can confirm that $Configuration.LastBuild$ and some other $Configuration$ expressions in the suggestions list for variable default values do not get expanded in the current version. This has been rectified for the next release.

---

<div class="post-metadata">

**Author:** ![sa\_thomaslohrum](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/ecd19e/32.png) [@sa\_thomaslohrum](https://www.finalbuilder.com/forums/u/sa_thomaslohrum)\
**Post date:** [June 27, 2018, 8:39am UTC](https://www.finalbuilder.com/forums/t/expression-does-not-get-expanded-in-queuing-dialog/6112/5 "2018-06-27T08:39:04Z")

</div>

I confirm more expressions are working now, such as $Configuration.LastBuild$. Thanks!

Thomas
