Right now BP doesn't provide an option for creating an env var with
Collection datatype
In case you wish to form a collection instead of creating X number of different env variables , you can follow below steps
Create an env var of
Text type with the values you want ,separated by any character say a comma (,)
![18910.png 18910.png](/t5/image/serverpage/image-id/19060iEB7DE60B4D817C68/image-size/large?v=v2&px=999)
In your process or object create a new data item with exposure as Environment variable
![18911.png 18911.png](/t5/image/serverpage/image-id/19062i3B9537A048C4DD41/image-size/large?v=v2&px=999)
Use the
Utility- Strings --Split text as shown below
![18912.png 18912.png](/t5/image/serverpage/image-id/19064i2E07411D124419DF/image-size/large?v=v2&px=999)
As an output of this Action you would get a collection of values you entered in the environment variable
![18913.png 18913.png](/t5/image/serverpage/image-id/19063i9FCDF4AAFE041109/image-size/large?v=v2&px=999)
------------------------------
Harshit Rawat
Senior RPA Consultant
------------------------------