<?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: The amazing nested collection (in version 6.2.2) in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/The-amazing-nested-collection-in-version-6-2-2/m-p/96261#M44583</link>
    <description>Well, perhaps not the best one but speaking of code, i 'm not very good. I found a process who parse a Blueprism release using some code and i reused the code. &lt;BR /&gt;Do you have one favorite to recommend me?</description>
    <pubDate>Tue, 06 Jul 2021 19:04:09 GMT</pubDate>
    <dc:creator>pboutry</dc:creator>
    <dc:date>2021-07-06T19:04:09Z</dc:date>
    <item>
      <title>The amazing nested collection (in version 6.2.2)</title>
      <link>https://community.blueprism.com/t5/Product-Forum/The-amazing-nested-collection-in-version-6-2-2/m-p/96259#M44581</link>
      <description>Hi everyone,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;First i have no problem, no bug, everything is fine. My sole problem is "i do not know why it's work, cause it should not"&lt;BR /&gt;This is my story. i warn you, it's a long story with a curious ending.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I used utility - xml to read the blueprim's config file, automate.config (simple one with only two connections configured)&lt;BR /&gt;I used an utility to convert this xml to a collection. Got something like this&lt;BR /&gt;Collection : Automate.config&amp;nbsp; with 2 collection&lt;BR /&gt;
&lt;UL&gt;
&lt;LI&gt;Collection&amp;nbsp; ?xml (row 1 of 1)&lt;/LI&gt;
&lt;LI&gt;Collection config(row 1 of 1)
&lt;UL&gt;
&lt;LI&gt;A lot of field&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Collection connections (row 1 of 1)
&lt;UL&gt;
&lt;LI&gt;Collection connection (row 1 of 2)
&lt;UL&gt;
&lt;LI&gt;name&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;server&lt;/LI&gt;
&lt;LI&gt;port&lt;/LI&gt;
&lt;LI&gt;etc.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
I searched a specific connection. name to modify it.&lt;BR /&gt;To loop on collection [Automate.config.config.connections.connection], i used a calc stage to copy this collection into a new one . Calc stage : Expression : [Automate.config.config.connections.connection]&amp;nbsp; + store result in an empty collection [connection]&lt;BR /&gt;I set a loop stage on [connection], searched for my specific connection name, modified the server name or added a new row if the connection was not found.&amp;nbsp;&lt;BR /&gt;Then all i had to do was copy back the modified collection [connection] into [Automate.config.config.connections.connection] using another calc stage. Expression : [connection] + store result in [Automate.config.config.connections.connection]&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;But it didn't work. Got an error collection [Automate.config.config.connections.connection] does not exist.&amp;nbsp;&lt;BR /&gt;I tried to use Utility-collection-manipulation to modify [Automate.config.config.connections.connection] using the row number. Weirder : Got no error AND collection not updated&lt;BR /&gt;&lt;BR /&gt;Finally i see the stranger thing ever seen in Blueprism.&amp;nbsp;&lt;BR /&gt;Each time i make a modification in [connection] collection (add row or set a new value), the modification is also made in the [Automate.config.config.connections.connection] collection.&amp;nbsp; ??????&lt;BR /&gt;So i deleted my last calc stage and did not copy back the data in [Automate.config.config.connections.connection]&lt;BR /&gt;Just reverted the collection to xml and saved the file. I made some test and it's really working.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I beg you to anwser me if you have any clue to understand this strange behaviour.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;Thanks to those who read me until the end.&amp;nbsp;&lt;BR /&gt;Best regards&lt;BR /&gt;&lt;BR /&gt;PS : Using version 6.8, the calc stage works perfectly as described</description>
      <pubDate>Mon, 05 Jul 2021 18:06:10 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/The-amazing-nested-collection-in-version-6-2-2/m-p/96259#M44581</guid>
      <dc:creator>pboutry</dc:creator>
      <dc:date>2021-07-05T18:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: The amazing nested collection (in version 6.2.2)</title>
      <link>https://community.blueprism.com/t5/Product-Forum/The-amazing-nested-collection-in-version-6-2-2/m-p/96260#M44582</link>
      <description>What utility did you use to convert the XML to a collection because there's only one &amp;lt;config&amp;gt;...&amp;lt;/config&amp;gt; element in the XML.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Eric</description>
      <pubDate>Tue, 06 Jul 2021 14:12:27 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/The-amazing-nested-collection-in-version-6-2-2/m-p/96260#M44582</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2021-07-06T14:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: The amazing nested collection (in version 6.2.2)</title>
      <link>https://community.blueprism.com/t5/Product-Forum/The-amazing-nested-collection-in-version-6-2-2/m-p/96261#M44583</link>
      <description>Well, perhaps not the best one but speaking of code, i 'm not very good. I found a process who parse a Blueprism release using some code and i reused the code. &lt;BR /&gt;Do you have one favorite to recommend me?</description>
      <pubDate>Tue, 06 Jul 2021 19:04:09 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/The-amazing-nested-collection-in-version-6-2-2/m-p/96261#M44583</guid>
      <dc:creator>pboutry</dc:creator>
      <dc:date>2021-07-06T19:04:09Z</dc:date>
    </item>
  </channel>
</rss>

