<?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: How to format nested collection in Blue Prism in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/How-to-format-nested-collection-in-Blue-Prism/m-p/69733#M22338</link>
    <description>This is kind of an annoying thing to do deal with. If you have data that is nested several levels deep and you're not always sure what level the data will be at, then I don't think my suggestion is the way to go. But if you know it will always be Level 1 will be a single Collection field where it looks like 'Row 1 of 1' in every row, then you can loop through that and extract it into a normal collection of data.&lt;BR /&gt;&lt;BR /&gt;You'd loop through with Loop stages on the 0_Results collection, and then use some method to add the row to a new collection like [0_Results.JSON:Array] in a calc stage or I suppose you could append rows to collection (Collection manip VBO).&lt;BR /&gt;&lt;BR /&gt;It sounds like you were on the right track, but copy rows wouldn't be the way to go because it overwrites the data in the output collection. Use the Append action in the Collection Manipulation VBO.&lt;BR /&gt;&lt;BR /&gt;You could certain go the route that others suggested and convert to JSON instead. That would likely run much faster than looping through all the rows to extract the nested collections. So it's really up to your preference.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Dave Morris&lt;BR /&gt;3Ci @ Southern Company&lt;BR /&gt;Atlanta, GA&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Fri, 13 Dec 2019 01:05:00 GMT</pubDate>
    <dc:creator>david.l.morris</dc:creator>
    <dc:date>2019-12-13T01:05:00Z</dc:date>
    <item>
      <title>How to format nested collection in Blue Prism</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-format-nested-collection-in-Blue-Prism/m-p/69730#M22335</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello,&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am retrieving some information with Blue Prism from one API, and I receive a collection as the output. The problem is that I do not want my collection to look like this. I want to receive one collection with one row where I will have all of the employees listed, not 1 employee per 1 collection. Now I'm getting a collection with many nested collections, and each of them has 1 row. I tried to use a loop with utility collection manipulation - Copy rows and also Collections - Copy Rows, but it did not work. Could anyone tell me, how can I format my collection to get only 1 collection with all of the information in it, please?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://imgur.com/a/NhCjf5m" target="_blank" rel="noopener"&gt;https://imgur.com/a/NhCjf5m&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Patryk&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Dec 2019 11:31:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-format-nested-collection-in-Blue-Prism/m-p/69730#M22335</guid>
      <dc:creator>PatrykLiberski</dc:creator>
      <dc:date>2019-12-11T11:31:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to format nested collection in Blue Prism</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-format-nested-collection-in-Blue-Prism/m-p/69731#M22336</link>
      <description>Hi&amp;nbsp;&lt;SPAN&gt;Patryk&lt;BR /&gt;&lt;BR /&gt;If you are on Blueprism 6.4 + , you can use the Webservice option in settings to get the response and use the JSON Path to extract every employee as a 1 employee per row.&lt;BR /&gt;Try using JSON path.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;sanjeev rout&lt;BR /&gt;Advanced App Engineering Specialist&lt;BR /&gt;Accenture UK&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Dec 2019 12:32:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-format-nested-collection-in-Blue-Prism/m-p/69731#M22336</guid>
      <dc:creator>11235813sk</dc:creator>
      <dc:date>2019-12-11T12:32:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to format nested collection in Blue Prism</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-format-nested-collection-in-Blue-Prism/m-p/69732#M22337</link>
      <description>If using API--&amp;gt;&lt;BR /&gt;How about getting the response in a JSON String and then use the JSON de-Serialization as per your need?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Vivek Goel&lt;BR /&gt;RPA Architect&lt;BR /&gt;Asia/Singapore&lt;BR /&gt;&lt;A href="https://www.rpatools.com/" target="test_blank"&gt;https://www.rpatools.com/&lt;/A&gt;&lt;BR /&gt;"If you like this post, please press the "Recommend" Button.&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Dec 2019 01:53:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-format-nested-collection-in-Blue-Prism/m-p/69732#M22337</guid>
      <dc:creator>vivek.kumar.goel</dc:creator>
      <dc:date>2019-12-12T01:53:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to format nested collection in Blue Prism</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-format-nested-collection-in-Blue-Prism/m-p/69733#M22338</link>
      <description>This is kind of an annoying thing to do deal with. If you have data that is nested several levels deep and you're not always sure what level the data will be at, then I don't think my suggestion is the way to go. But if you know it will always be Level 1 will be a single Collection field where it looks like 'Row 1 of 1' in every row, then you can loop through that and extract it into a normal collection of data.&lt;BR /&gt;&lt;BR /&gt;You'd loop through with Loop stages on the 0_Results collection, and then use some method to add the row to a new collection like [0_Results.JSON:Array] in a calc stage or I suppose you could append rows to collection (Collection manip VBO).&lt;BR /&gt;&lt;BR /&gt;It sounds like you were on the right track, but copy rows wouldn't be the way to go because it overwrites the data in the output collection. Use the Append action in the Collection Manipulation VBO.&lt;BR /&gt;&lt;BR /&gt;You could certain go the route that others suggested and convert to JSON instead. That would likely run much faster than looping through all the rows to extract the nested collections. So it's really up to your preference.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Dave Morris&lt;BR /&gt;3Ci @ Southern Company&lt;BR /&gt;Atlanta, GA&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Dec 2019 01:05:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-format-nested-collection-in-Blue-Prism/m-p/69733#M22338</guid>
      <dc:creator>david.l.morris</dc:creator>
      <dc:date>2019-12-13T01:05:00Z</dc:date>
    </item>
  </channel>
</rss>

