# Add variables to dropdown field through option expressions

**URL:** <https://forum.flowable.org/t/add-variables-to-dropdown-field-through-option-expressions/5644>\
**Category:** Uncategorized\
**Created:** [March 17, 2020, 8:05am UTC](https://forum.flowable.org/t/add-variables-to-dropdown-field-through-option-expressions/5644 "2020-03-17T08:05:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pau](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/pau/32/1673_2.png) [@Pau](https://forum.flowable.org/u/Pau)\
**Post date:** [March 17, 2020, 8:05am UTC](https://forum.flowable.org/t/add-variables-to-dropdown-field-through-option-expressions/5644/1 "2020-03-17T08:05:25Z")

</div>

Hi,  
I am trying to show fields from a json in a dropdown field.  
I am retrieving the json correctly through an Http task, setting Save response as JSON as true and storing it with the name “response”.  
I get this information: [{“unitId”:1},{“unitId”:5},{“unitId”:6}] and I can show it in an expression as {response}, but I want to show each unidId value as an option of a dropdown field. I have enabled options expression in the dropdown field and have tried to retrieve these values with {response}, {response.unitId}, {{response.unitId}}.  
Does anybody know how to do this? Thank you in advance!

---

<div class="post-metadata">

**Author:** ![duncanad1](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/duncanad1/32/2004_2.png) [@duncanad1](https://forum.flowable.org/u/duncanad1)\
**Post date:** [September 22, 2020, 10:14am UTC](https://forum.flowable.org/t/add-variables-to-dropdown-field-through-option-expressions/5644/2 "2020-09-22T10:14:52Z")

</div>

Hi, did you find an answer to your question. I have the same problem. Thanks.
