<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: #BPTechTips - Multiples Environment variables in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/BPTechTips-Multiples-Environment-variables/m-p/90666#M40838</link>
    <description>Hi, Emerson,&lt;BR /&gt;&lt;BR /&gt;why don't you use excel config file where you can have a label and the value and through transformation of collection you can get whatever you need. Excel is structured, easy to modify, simple to see.&lt;BR /&gt;&lt;BR /&gt;We use it in our processes as the first step to read everything from excel and avoid using extensive environment variables as it is very difficult to manage. If you have a separate excel file for each process and in excel you can even have three worksheets - DEV, TEST, PROD - you have all your configuration parameters in one place for all environments.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Zdenek&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Zdeněk Kabátek&lt;BR /&gt;Head of Professional Services&lt;BR /&gt;NEOOPS&lt;BR /&gt;&lt;A href="http://www.neoops.com/" target="test_blank"&gt;http://www.neoops.com/&lt;/A&gt;&lt;BR /&gt;Europe/Prague&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Fri, 11 Jun 2021 08:19:00 GMT</pubDate>
    <dc:creator>zdenek.kabatek</dc:creator>
    <dc:date>2021-06-11T08:19:00Z</dc:date>
    <item>
      <title>#BPTechTips - Multiples Environment variables</title>
      <link>https://community.blueprism.com/t5/Product-Forum/BPTechTips-Multiples-Environment-variables/m-p/90663#M40835</link>
      <description>&lt;P&gt;Hello everyone, everything good?&lt;BR /&gt;It may seem like a simple tip, but it helped me a lot in extensive processes.&lt;BR /&gt;&lt;BR /&gt;Before approaching the solution I would like to mention the importance of using environment variables in your automations, thus reducing the need to change the code many times just to change a path of a file that is flat inside the stream.&lt;BR /&gt;&lt;BR /&gt;Come on..&lt;BR /&gt;I recently worked on a huge process and it had about 30 different folder paths, so basically I needed to have 30 environment variables and that would make it very cluttered and hard to find a path in between 30 variables, so what was the solution?&lt;BR /&gt;&lt;BR /&gt;I created a JSON Structure with two "columns" ID_Name and Path&lt;/P&gt;
&lt;PRE class="language-javascript"&gt;&lt;CODE&gt;[
   {
      "ID_Name":"FOLDER XYZ",
      "Path":"PATH HERE"
   },
   {
      "ID_Name":"FOLDER XPTO",
      "Path":"PATH HERE"
   }
]&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;And with the action JSON to Collection (skipping JArray) of the VBO JSON Manipulate I was able to convert this JSON to collection.&lt;BR /&gt;So like all paths in a collection, I created a filter collection stage, whenever I needed a path, I passed the ID_Name "FOLDER XYZ" as in the example above in the filter and returned a single path that was what I needed with this to be able to have one greater degree of organization within my process without needing to get lost among so many environment variables and by using environment variables I allow the paths to be changed without the need to change anything within my robotic flow.&lt;BR /&gt;&lt;BR /&gt;Link to VBO&lt;BR /&gt;&lt;A data-url="https://jsfiddle.net/oxrpsbew/" class="embedly-content" href="https://jsfiddle.net/oxrpsbew/" target="_blank" rel="noopener"&gt;JSFiddle&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A data-tag-text="BPTechTips" data-sign="#" class="user-content-hashtag" href="https://community.blueprism.com/search?s=tags%3A%22BPTechTips%22&amp;amp;executesearch=true" data-tag-key="96c6fa99-5a9a-4919-98a6-d9ce55afe99f"&gt;#BPTechTips&lt;/A&gt;&lt;/P&gt;
​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Emerson Ferreira&lt;BR /&gt;Sr Business Analyst&lt;BR /&gt;Avanade Brasil&lt;BR /&gt;+55 (081) 98886-9544&lt;BR /&gt;If my answer helped you? Mark as useful!&lt;BR /&gt;------------------------------</description>
      <pubDate>Sun, 06 Jun 2021 15:22:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/BPTechTips-Multiples-Environment-variables/m-p/90663#M40835</guid>
      <dc:creator>EmersonF</dc:creator>
      <dc:date>2021-06-06T15:22:00Z</dc:date>
    </item>
    <item>
      <title>RE: #BPTechTips - Multiples Environment variables</title>
      <link>https://community.blueprism.com/t5/Product-Forum/BPTechTips-Multiples-Environment-variables/m-p/90664#M40836</link>
      <description>appreciate this approach however this may increase a risk probability if support team is updating the value very frequently. they may end up interrupting the JSON format. This just need an additional layer of precaution.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Tushar Varshney&lt;BR /&gt;Senior Consultant - Intelligent Automation&lt;BR /&gt;Ernst &amp;amp; Young India&lt;BR /&gt;+91-9880188366&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Jun 2021 14:14:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/BPTechTips-Multiples-Environment-variables/m-p/90664#M40836</guid>
      <dc:creator>TusharVarshney</dc:creator>
      <dc:date>2021-06-07T14:14:00Z</dc:date>
    </item>
    <item>
      <title>RE: #BPTechTips - Multiples Environment variables</title>
      <link>https://community.blueprism.com/t5/Product-Forum/BPTechTips-Multiples-Environment-variables/m-p/90665#M40837</link>
      <description>Oh yes! &lt;A class="user-content-mention" data-sign="@" data-contactkey="d2209b51-6571-4e75-a732-9820ce0c0d92" data-tag-text="@Tushar Varshney" href="https://community.blueprism.com/network/profile?UserKey=d2209b51-6571-4e75-a732-9820ce0c0d92" data-itemmentionkey="4be01089-67d0-42ce-aa9e-9a775a622fdf"&gt;@Tushar Varshney&lt;/A&gt; I didn't address this aspect because I believe that each operation must have governance and risk management, for example there is a team dedicated to X automations so all support is given by this team and there is a cataloging and formalization of everything that was done, requiring evidence that in fact the change was successful and automation works normally.&lt;BR /&gt;&lt;BR /&gt;On the part of the flow, even with this approach of "Collection" and filtering, there is a whole logic of validation and verification, such as validating if the path exists and validating if the file exists.&lt;BR /&gt;&lt;BR /&gt;If something is wrong in the JSON structure, an exception will be thrown informing the error and the support team will take action.​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Emerson Ferreira&lt;BR /&gt;Sr Business Analyst&lt;BR /&gt;Avanade Brasil&lt;BR /&gt;+55 (081) 98886-9544&lt;BR /&gt;If my answer helped you? Mark as useful!&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Jun 2021 14:23:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/BPTechTips-Multiples-Environment-variables/m-p/90665#M40837</guid>
      <dc:creator>EmersonF</dc:creator>
      <dc:date>2021-06-07T14:23:00Z</dc:date>
    </item>
    <item>
      <title>RE: #BPTechTips - Multiples Environment variables</title>
      <link>https://community.blueprism.com/t5/Product-Forum/BPTechTips-Multiples-Environment-variables/m-p/90666#M40838</link>
      <description>Hi, Emerson,&lt;BR /&gt;&lt;BR /&gt;why don't you use excel config file where you can have a label and the value and through transformation of collection you can get whatever you need. Excel is structured, easy to modify, simple to see.&lt;BR /&gt;&lt;BR /&gt;We use it in our processes as the first step to read everything from excel and avoid using extensive environment variables as it is very difficult to manage. If you have a separate excel file for each process and in excel you can even have three worksheets - DEV, TEST, PROD - you have all your configuration parameters in one place for all environments.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Zdenek&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Zdeněk Kabátek&lt;BR /&gt;Head of Professional Services&lt;BR /&gt;NEOOPS&lt;BR /&gt;&lt;A href="http://www.neoops.com/" target="test_blank"&gt;http://www.neoops.com/&lt;/A&gt;&lt;BR /&gt;Europe/Prague&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Jun 2021 08:19:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/BPTechTips-Multiples-Environment-variables/m-p/90666#M40838</guid>
      <dc:creator>zdenek.kabatek</dc:creator>
      <dc:date>2021-06-11T08:19:00Z</dc:date>
    </item>
    <item>
      <title>RE: #BPTechTips - Multiples Environment variables</title>
      <link>https://community.blueprism.com/t5/Product-Forum/BPTechTips-Multiples-Environment-variables/m-p/90667#M40839</link>
      <description>Hi, &lt;A class="user-content-mention" data-sign="@" data-contactkey="f0d30523-0236-4fc5-94f7-499846aae05b" data-tag-text="@Zdeněk Kabátek" href="https://community.blueprism.com/network/profile?UserKey=f0d30523-0236-4fc5-94f7-499846aae05b" data-itemmentionkey="5f7610f5-3102-4b51-8175-6faf218ea27b"&gt;@Zdeněk Kabátek&lt;/A&gt;&lt;BR /&gt;I appreciate your answer, and I found it interesting, could you tell me a little about how you manage these files, permissions, etc.. ​​​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Emerson Ferreira&lt;BR /&gt;Sr Business Analyst&lt;BR /&gt;Avanade Brasil&lt;BR /&gt;If my answer helped you? Mark as useful!&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Jun 2021 12:18:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/BPTechTips-Multiples-Environment-variables/m-p/90667#M40839</guid>
      <dc:creator>EmersonF</dc:creator>
      <dc:date>2021-06-11T12:18:00Z</dc:date>
    </item>
    <item>
      <title>RE: #BPTechTips - Multiples Environment variables</title>
      <link>https://community.blueprism.com/t5/Product-Forum/BPTechTips-Multiples-Environment-variables/m-p/90668#M40840</link>
      <description>This sounds better approach. I too use a similar structure in the excel sheet but I use a single sheet with 3 separate columns for Dev, UAT, and Prod. So as per one of my first line value called Environment = UAT/Dev/Prod , excel will pick up the value from that particular column. This can be achieved with simple excel formula.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Tejaskumar Darji&lt;BR /&gt;Sr. RPA Consultant-Automation Developer&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Jun 2021 12:19:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/BPTechTips-Multiples-Environment-variables/m-p/90668#M40840</guid>
      <dc:creator>Tejaskumar_Darji</dc:creator>
      <dc:date>2021-06-11T12:19:00Z</dc:date>
    </item>
  </channel>
</rss>

