# Variables: passing array variable into collection variables

**URL:** <https://community.postman.com/t/variables-passing-array-variable-into-collection-variables/11855>\
**Category:** Help Hub\
**Tags:** tests, variables, collections\
**Created:** [April 9, 2020, 8:09pm UTC](https://community.postman.com/t/variables-passing-array-variable-into-collection-variables/11855 "2020-04-09T20:09:14Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![singhsivcan](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/singhsivcan/32/1595_2.png) [@singhsivcan](https://community.postman.com/u/singhsivcan)\
**Post date:** [April 12, 2020, 5:29am UTC](https://community.postman.com/t/variables-passing-array-variable-into-collection-variables/11855/2 "2020-04-12T05:29:31Z")

</div>

@frankdoylezw You just need to stringify it in the script and then set it as the variable value.  
Refer to [this example](https://community.postman.com/t/set-array-from-environment-variable-for-request-body-in-postman/4743/2) for environment variables, similarly, you’ve to do it for collection variable.

Or you can refer this: [Sharing tips and tricks with others in the Postman community](https://community.postman.com/t/sharing-tips-and-tricks-with-others-in-the-postman-community/5123/6)

---

_[View the full topic](https://community.postman.com/t/variables-passing-array-variable-into-collection-variables/11855)._
