#BPTechTips How to form a collection using environment variable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-06-21 03:53 PM
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 (,)

In your process or object create a new data item with exposure as Environment variable

Use the Utility- Strings --Split text as shown below

As an output of this Action you would get a collection of values you entered in the environment variable

------------------------------
Harshit Rawat
Senior RPA Consultant
------------------------------
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 (,)
In your process or object create a new data item with exposure as Environment variable
Use the Utility- Strings --Split text as shown below
As an output of this Action you would get a collection of values you entered in the environment variable
------------------------------
Harshit Rawat
Senior RPA Consultant
------------------------------
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-06-21 03:13 PM
Hi Harshit,
we use a different approach: If you need more complex data, put JSON formatted text in an environment variable and deserialize it to a collection.
------------------------------
Tobias Arnold
RPA Developer
ITERGO GmbH
Europe/Duesseldorf
------------------------------
we use a different approach: If you need more complex data, put JSON formatted text in an environment variable and deserialize it to a collection.
------------------------------
Tobias Arnold
RPA Developer
ITERGO GmbH
Europe/Duesseldorf
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-06-21 03:49 PM
That's right, I covered the topic in this topic
#BPTechTips - Multiples Environment variables | Blue Prism Product
------------------------------
Emerson Ferreira
Sr Business Analyst
Avanade Brasil
+55 (081) 98886-9544
If my answer helped you? Mark as useful!
------------------------------
#BPTechTips - Multiples Environment variables | Blue Prism Product
------------------------------
Emerson Ferreira
Sr Business Analyst
Avanade Brasil
+55 (081) 98886-9544
If my answer helped you? Mark as useful!
------------------------------
Sr Cons at Avanade Brazil
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-06-21 03:57 PM
Tobias and Emerson
Guys , i too use the approach which you are referring to .
My motive behind posting this was to just show other folks how to form a simple collection from env variables, till the time we get the Collection data type in the drop down 🙂
I see there is an Idea pending for a long time on this
------------------------------
Harshit Rawat
Senior RPA Consultant
------------------------------
Guys , i too use the approach which you are referring to .
My motive behind posting this was to just show other folks how to form a simple collection from env variables, till the time we get the Collection data type in the drop down 🙂
I see there is an Idea pending for a long time on this
------------------------------
Harshit Rawat
Senior RPA Consultant
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-06-21 04:03 PM
I appreciate your information, please bring us more information like this, it sure makes our forum richer with information.!
------------------------------
Emerson Ferreira
Sr Business Analyst
Avanade Brasil
+55 (081) 98886-9544
If my answer helped you? Mark as useful!
------------------------------
------------------------------
Emerson Ferreira
Sr Business Analyst
Avanade Brasil
+55 (081) 98886-9544
If my answer helped you? Mark as useful!
------------------------------
Sr Cons at Avanade Brazil
