How I Handle Environment Variables | Blue Prism Tutorial
In this video, I show a better way to handle environment variables in Blue Prism by putting all the environment variables for a specific automation into JSON and storing that in a single environment variable. I’ve been using something like this for years now, but most of that time I was storing the JSON in a file and then reading it in at runtime. Instead, more recently I’ve started putting that JSON directly into a Text Environment Variable, and I personally think this is the best way to handle it at the moment in Blue Prism. --------------------------------------------------------------------------------------------------------- Blue Prism 7.3.1 SQL Server 2017 (LocalDB) Windows 11 Pro --------------------------------------------------------------------------------------------------------- https://www.linkedin.com/in/davemorrisatl --------------------------------------------------------------------------------------------------------- 00:00 Introduction 00:17 The basic way to handle Environment Variables 04:27 Better way Step 1 - Create JSON 06:41 Better way Step 2 - Decide where to store the JSON 07:42 Better way Step 3 - Store JSON in single Environment Variable 08:45 Better way Step 4 - Convert Env Var value to collection in the process 11:05 Escape certain characters in the JSON 13:20 Test JSON to Collection 13:50 Shorten field/param names in JSON 15:17 Using CONFIG dynamic fields in process 16:01 Using CONFIG static fields in process 19:24 Note for if you store in a text file 20:10 Note for if you use Excel instead 20:36 Things to be aware of when using JSON 22:39 Conclusion
Download
1 formatsVideo Formats
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.