# Camunda modeler how to pass array value in Map input variable

**URL:** <https://forum.camunda.io/t/camunda-modeler-how-to-pass-array-value-in-map-input-variable/48307>\
**Category:** Discussion & Questions\
**Tags:** modeler, desktop-modeler\
**Created:** [October 20, 2023, 8:29am UTC](https://forum.camunda.io/t/camunda-modeler-how-to-pass-array-value-in-map-input-variable/48307 "2023-10-20T08:29:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pertsh.galstyan](https://forum.camunda.io/user_avatar/forum.camunda.io/pertsh.galstyan/32/27321_2.png) [@pertsh.galstyan](https://forum.camunda.io/u/pertsh.galstyan)\
**Post date:** [October 20, 2023, 8:29am UTC](https://forum.camunda.io/t/camunda-modeler-how-to-pass-array-value-in-map-input-variable/48307/1 "2023-10-20T08:29:03Z")

</div>

Can Camunda Modeler facilitate the passing of input parameters in the form of a Map containing keys and values of array type?"  
f.e

 ![Screenshot from 2023-10-20 12-23-00](https://forum.camunda.io/uploads/default/original/3X/b/8/b8bfe87fc408e69536a6fab8a517328e0e0f8ada.png)

Here, I want to pass ‘status’ as an array, with ‘status’ itself acting as a key in the map.

---

<div class="post-metadata">

**Author:** ![WilliamR.Alves](https://forum.camunda.io/user_avatar/forum.camunda.io/williamr.alves/32/27412_2.png) [@WilliamR.Alves](https://forum.camunda.io/u/WilliamR.Alves)\
**Post date:** [October 23, 2023, 3:27pm UTC](https://forum.camunda.io/t/camunda-modeler-how-to-pass-array-value-in-map-input-variable/48307/2 "2023-10-23T15:27:05Z")

</div>

Hello my friend!

I apologize for the delay in responding, I took 5 days of vacation to rest a little, and I was partially offline during this period.

This “status” you are trying to access within documentCreate… is it returning an array?

**William Robert Alves**

---

<div class="post-metadata">

**Author:** ![pertsh.galstyan](https://forum.camunda.io/user_avatar/forum.camunda.io/pertsh.galstyan/32/27321_2.png) [@pertsh.galstyan](https://forum.camunda.io/u/pertsh.galstyan)\
**Post date:** [October 23, 2023, 3:28pm UTC](https://forum.camunda.io/t/camunda-modeler-how-to-pass-array-value-in-map-input-variable/48307/3 "2023-10-23T15:28:47Z")

</div>

i whant to hardcode status with some array in camunda modeler  
something like

status : [aaa,bbb,ccc]

does this possible ?

---

<div class="post-metadata">

**Author:** ![WilliamR.Alves](https://forum.camunda.io/user_avatar/forum.camunda.io/williamr.alves/32/27412_2.png) [@WilliamR.Alves](https://forum.camunda.io/u/WilliamR.Alves)\
**Post date:** [October 23, 2023, 4:10pm UTC](https://forum.camunda.io/t/camunda-modeler-how-to-pass-array-value-in-map-input-variable/48307/4 "2023-10-23T16:10:07Z")

</div>

Yeah my brother!  
My version of the modeler is more current, but it works the same way.

Take a look at my example below:

 ![image](https://forum.camunda.io/uploads/default/original/3X/6/7/6769d72b415a5c09802de81be6d38809336c903e.png)

 ![image](https://forum.camunda.io/uploads/default/original/3X/f/7/f77784e060d4d3a5862bc8369d234b85f789adde.png)

![image](https://forum.camunda.io/uploads/default/original/3X/9/8/9870b605424cbcf8dde183b010eb34174221de9b.png)

I hope this helps!

**William Robert Alves**

---

<div class="post-metadata">

**Author:** ![system](https://forum.camunda.io/uploads/default/original/3X/5/8/58d50142eacca605d35cb1ef9e6b86ae85f49436.png) [@system](https://forum.camunda.io/u/system)\
**Post date:** [October 30, 2023, 4:10pm UTC](https://forum.camunda.io/t/camunda-modeler-how-to-pass-array-value-in-map-input-variable/48307/5 "2023-10-30T16:10:58Z")

</div>

Closed on October 30, 2023, 4:10pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
