<?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: Nested Collection in BP in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Nested-Collection-in-BP/m-p/50600#M5806</link>
    <description>Hi Shivani,&lt;BR /&gt;&lt;BR /&gt;As soon as you converted the JSON Response into Collection, you first need to assign the nested collection to a separate collection data item. So let say in your example, you are getting the path Apple.Phone.IOS, so what you need to do is create an empty collection, let say we name it 'Nested Coll1'. Use a calculation stage and set the value of 'Nested Coll1' as [Apple.Phone.IOS]. Then you can iterate within the Nested Coll1 using the Loop Collection staga and in the drop down you will receive the name as well for Nested Coll1. &lt;BR /&gt;&lt;BR /&gt;However, please be mindful that Apple should have Phone Collection which has only one row where IOS is another collection being nested. If there are multiple Phone rows and if you use [Apple.Phone.IOS] then in that case, it is always going to refer the first row of Apple collection where Phone collection has been nested ignoring all others. &lt;BR /&gt;&lt;BR /&gt;As a basic principle always assign a nested collection to a separate Collection data item if it has multiple rows, the while iterating through it you can repeat this same logic for other nested collection items within it.&lt;BR /&gt;&lt;BR /&gt;Let us know if it resolves your query!&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;----------------------------------&lt;BR /&gt;Hope it helps you and if it resolves you query please mark it as the best answer so that others having the same problem can track the answer easily&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Devneet Mohanty&lt;BR /&gt;Intelligent Process Automation Consultant&lt;BR /&gt;Blue Prism 7x Certified Professional&lt;BR /&gt;Website: &lt;A href="https://devneet.github.io/" target="test_blank"&gt;https://devneet.github.io/&lt;/A&gt;&lt;BR /&gt;Email: devneetmohanty07@gmail.com&lt;BR /&gt;&lt;BR /&gt;----------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Thu, 13 Jan 2022 09:03:00 GMT</pubDate>
    <dc:creator>devneetmohanty07</dc:creator>
    <dc:date>2022-01-13T09:03:00Z</dc:date>
    <item>
      <title>Nested Collection in BP</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Nested-Collection-in-BP/m-p/50599#M5805</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;When working with a multi-tiered nested collection, which was a converted JSON file, I was not able to fetch the details from inner most collection.&lt;BR /&gt;&lt;BR /&gt;For example, Apple - Phone - IOS - User1 detail is the nested collection structure. If I try to access it as Apple.Phone.IOS.User1, I was not able to get the users' details.&lt;BR /&gt;&lt;BR /&gt;Looping also didn't work as Apple.Phone.IOS this path didn't exist in the dropdown. Write as collection action of MS Excel VBO also didn't work due to hyperlinks.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Copy rows did help, but I was able to get only the first user detail and not other users. It stated, index out of range error.&lt;BR /&gt;&lt;BR /&gt;I also couldn't get any proper document on Nested collections.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Any help or suggestion would be appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Shivani Chandrasekar&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Jan 2022 08:40:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Nested-Collection-in-BP/m-p/50599#M5805</guid>
      <dc:creator>ShivaniChandras</dc:creator>
      <dc:date>2022-01-13T08:40:00Z</dc:date>
    </item>
    <item>
      <title>RE: Nested Collection in BP</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Nested-Collection-in-BP/m-p/50600#M5806</link>
      <description>Hi Shivani,&lt;BR /&gt;&lt;BR /&gt;As soon as you converted the JSON Response into Collection, you first need to assign the nested collection to a separate collection data item. So let say in your example, you are getting the path Apple.Phone.IOS, so what you need to do is create an empty collection, let say we name it 'Nested Coll1'. Use a calculation stage and set the value of 'Nested Coll1' as [Apple.Phone.IOS]. Then you can iterate within the Nested Coll1 using the Loop Collection staga and in the drop down you will receive the name as well for Nested Coll1. &lt;BR /&gt;&lt;BR /&gt;However, please be mindful that Apple should have Phone Collection which has only one row where IOS is another collection being nested. If there are multiple Phone rows and if you use [Apple.Phone.IOS] then in that case, it is always going to refer the first row of Apple collection where Phone collection has been nested ignoring all others. &lt;BR /&gt;&lt;BR /&gt;As a basic principle always assign a nested collection to a separate Collection data item if it has multiple rows, the while iterating through it you can repeat this same logic for other nested collection items within it.&lt;BR /&gt;&lt;BR /&gt;Let us know if it resolves your query!&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;----------------------------------&lt;BR /&gt;Hope it helps you and if it resolves you query please mark it as the best answer so that others having the same problem can track the answer easily&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Devneet Mohanty&lt;BR /&gt;Intelligent Process Automation Consultant&lt;BR /&gt;Blue Prism 7x Certified Professional&lt;BR /&gt;Website: &lt;A href="https://devneet.github.io/" target="test_blank"&gt;https://devneet.github.io/&lt;/A&gt;&lt;BR /&gt;Email: devneetmohanty07@gmail.com&lt;BR /&gt;&lt;BR /&gt;----------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Jan 2022 09:03:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Nested-Collection-in-BP/m-p/50600#M5806</guid>
      <dc:creator>devneetmohanty07</dc:creator>
      <dc:date>2022-01-13T09:03:00Z</dc:date>
    </item>
  </channel>
</rss>

