<?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 Response Content to Collection in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Response-Content-to-Collection/m-p/113285#M50713</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;When receiving the response from a BigQuery.jobs query using Skills, I would like to have the data structured in a collection. However, I'm having trouble achieving this and always end up with rows that require looping to unnest.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nicolailykke_1-1724308710851.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39195i1F60EF3F032AC84C/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="nicolailykke_1-1724308710851.png" alt="nicolailykke_1-1724308710851.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The entire response will consist of upwards of 100,000 records, so having to loop each row to unnest is not an ideal solution in this case.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've tried using the updated Function for Utility - JSON - 10.0.1 on DX and also attempted the solution provided by Eric:&lt;/SPAN&gt; &lt;A href="https://community.blueprism.com/t5/Product-Forum/Web-Services-Json-Path/td-p/73574" target="_blank"&gt;https://community.blueprism.com/t5/Product-Forum/Web-Services-Json-Path/td-p/73574&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;However, it doesn't seem to work in our case. Additionally, I've tried the custom Business Object from Symphony Ventures:&lt;/SPAN&gt; Ventures:&amp;nbsp;&lt;A href="https://digitalexchange.blueprism.com/dx/entry/7888/solution/json-manipulation-c" target="_blank"&gt;https://digitalexchange.blueprism.com/dx/entry/7888/solution/json-manipulation-c&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The response looks like this (with sensitive information removed):&lt;/SPAN&gt;&lt;BR /&gt;{&lt;BR /&gt;"kind": "bigquery#queryResponse",&lt;BR /&gt;"schema": {&lt;BR /&gt;"fields": [&lt;BR /&gt;{&lt;BR /&gt;"name": "json",&lt;BR /&gt;"type": "STRING",&lt;BR /&gt;"mode": "NULLABLE"&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;},&lt;BR /&gt;"jobReference": {&lt;BR /&gt;"projectId": "production",&lt;BR /&gt;"jobId": "XXXXXXX",&lt;BR /&gt;"location": "europe"&lt;BR /&gt;},&lt;BR /&gt;"totalRows": "41158",&lt;BR /&gt;"pageToken": "123456789xxx======",&lt;BR /&gt;"rows": [&lt;BR /&gt;{&lt;BR /&gt;"f": [&lt;BR /&gt;{&lt;BR /&gt;"v": "{\"id\":\"A1\",\"codes\":\"123,234\"}"&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"f": [&lt;BR /&gt;{&lt;BR /&gt;"v": "{\"id\":\"A2\",\"codes\":\"123\"}"&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;}&lt;BR /&gt;],&lt;BR /&gt;"totalBytesProcessed": "403783338",&lt;BR /&gt;"jobComplete": true,&lt;BR /&gt;"cacheHit": false,&lt;BR /&gt;"queryId": "job_xxx",&lt;BR /&gt;"jobCreationReason": {&lt;BR /&gt;"code": "REQUESTED"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;I would like to end up with the data structured in a collection, similar to this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nicolailykke_0-1724308650587.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39194i03CDC005840A747C/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="nicolailykke_0-1724308650587.png" alt="nicolailykke_0-1724308650587.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you for any help on this matter.&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Nicolai&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Aug 2024 06:46:20 GMT</pubDate>
    <dc:creator>nicolailykke</dc:creator>
    <dc:date>2024-08-22T06:46:20Z</dc:date>
    <item>
      <title>Response Content to Collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Response-Content-to-Collection/m-p/113285#M50713</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;When receiving the response from a BigQuery.jobs query using Skills, I would like to have the data structured in a collection. However, I'm having trouble achieving this and always end up with rows that require looping to unnest.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nicolailykke_1-1724308710851.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39195i1F60EF3F032AC84C/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="nicolailykke_1-1724308710851.png" alt="nicolailykke_1-1724308710851.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The entire response will consist of upwards of 100,000 records, so having to loop each row to unnest is not an ideal solution in this case.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've tried using the updated Function for Utility - JSON - 10.0.1 on DX and also attempted the solution provided by Eric:&lt;/SPAN&gt; &lt;A href="https://community.blueprism.com/t5/Product-Forum/Web-Services-Json-Path/td-p/73574" target="_blank"&gt;https://community.blueprism.com/t5/Product-Forum/Web-Services-Json-Path/td-p/73574&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;However, it doesn't seem to work in our case. Additionally, I've tried the custom Business Object from Symphony Ventures:&lt;/SPAN&gt; Ventures:&amp;nbsp;&lt;A href="https://digitalexchange.blueprism.com/dx/entry/7888/solution/json-manipulation-c" target="_blank"&gt;https://digitalexchange.blueprism.com/dx/entry/7888/solution/json-manipulation-c&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The response looks like this (with sensitive information removed):&lt;/SPAN&gt;&lt;BR /&gt;{&lt;BR /&gt;"kind": "bigquery#queryResponse",&lt;BR /&gt;"schema": {&lt;BR /&gt;"fields": [&lt;BR /&gt;{&lt;BR /&gt;"name": "json",&lt;BR /&gt;"type": "STRING",&lt;BR /&gt;"mode": "NULLABLE"&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;},&lt;BR /&gt;"jobReference": {&lt;BR /&gt;"projectId": "production",&lt;BR /&gt;"jobId": "XXXXXXX",&lt;BR /&gt;"location": "europe"&lt;BR /&gt;},&lt;BR /&gt;"totalRows": "41158",&lt;BR /&gt;"pageToken": "123456789xxx======",&lt;BR /&gt;"rows": [&lt;BR /&gt;{&lt;BR /&gt;"f": [&lt;BR /&gt;{&lt;BR /&gt;"v": "{\"id\":\"A1\",\"codes\":\"123,234\"}"&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"f": [&lt;BR /&gt;{&lt;BR /&gt;"v": "{\"id\":\"A2\",\"codes\":\"123\"}"&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;}&lt;BR /&gt;],&lt;BR /&gt;"totalBytesProcessed": "403783338",&lt;BR /&gt;"jobComplete": true,&lt;BR /&gt;"cacheHit": false,&lt;BR /&gt;"queryId": "job_xxx",&lt;BR /&gt;"jobCreationReason": {&lt;BR /&gt;"code": "REQUESTED"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;I would like to end up with the data structured in a collection, similar to this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nicolailykke_0-1724308650587.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39194i03CDC005840A747C/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="nicolailykke_0-1724308650587.png" alt="nicolailykke_0-1724308650587.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you for any help on this matter.&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Nicolai&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 06:46:20 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Response-Content-to-Collection/m-p/113285#M50713</guid>
      <dc:creator>nicolailykke</dc:creator>
      <dc:date>2024-08-22T06:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Response Content to Collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Response-Content-to-Collection/m-p/113287#M50715</link>
      <description>&lt;P&gt;You might want to try the following approach:&lt;/P&gt;&lt;P&gt;Assume you have a collection named "&lt;STRONG&gt;Response&lt;/STRONG&gt;." Within this collection, there's a &lt;STRONG&gt;JSON array&lt;/STRONG&gt; column that contains another collection.&lt;/P&gt;&lt;P&gt;To work with this, use a calculation stage. In the calculation stage, reference &lt;STRONG&gt;"[Response.JsonArray]"&lt;/STRONG&gt; and store the result in a new collection called "&lt;STRONG&gt;Results&lt;/STRONG&gt;." After doing this, the "&lt;STRONG&gt;Results&lt;/STRONG&gt;" collection will contain only the rows from the &lt;STRONG&gt;JSON array&lt;/STRONG&gt; column in the "&lt;STRONG&gt;Response&lt;/STRONG&gt;" collection.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 09:20:15 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Response-Content-to-Collection/m-p/113287#M50715</guid>
      <dc:creator>Parthiban_Viatris24</dc:creator>
      <dc:date>2024-08-22T09:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: Response Content to Collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Response-Content-to-Collection/m-p/113289#M50717</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/44485"&gt;@nicolailykke&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;You can try to use the&amp;nbsp;JSON to Collection (skipping JArray) action in Utility JSON to skip the JArray and get the required data rows in collection instead of nested collections.&lt;/P&gt;&lt;P&gt;Hope this helps &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 09:55:14 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Response-Content-to-Collection/m-p/113289#M50717</guid>
      <dc:creator>Nandhakumar</dc:creator>
      <dc:date>2024-08-22T09:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: Response Content to Collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Response-Content-to-Collection/m-p/113290#M50718</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Parthiban,&lt;BR /&gt;Thank you for the answer. Do you have a example of doing this without having to loop through the initial collection?&lt;BR /&gt;&lt;BR /&gt;I can't get that to work without looping which is the issue.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Nicolai&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 10:11:27 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Response-Content-to-Collection/m-p/113290#M50718</guid>
      <dc:creator>nicolailykke</dc:creator>
      <dc:date>2024-08-22T10:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Response Content to Collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Response-Content-to-Collection/m-p/113291#M50719</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Nandhakumar,&lt;BR /&gt;&lt;BR /&gt;Thank you for the answer.&lt;BR /&gt;&lt;BR /&gt;I have used the action from the utillity but I still have to loop in order to unnest.&lt;BR /&gt;&lt;BR /&gt;I have provided an example of the response in my original post. Can you make that to work with the&amp;nbsp;&lt;SPAN&gt;JSON to Collection (skipping JArray) action? I can't.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Nicolai&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 10:14:45 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Response-Content-to-Collection/m-p/113291#M50719</guid>
      <dc:creator>nicolailykke</dc:creator>
      <dc:date>2024-08-22T10:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Response Content to Collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Response-Content-to-Collection/m-p/113301#M50720</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/44485"&gt;@nicolailykke&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;there are 3 simple ways you can do this, using the Utility - Collection Manipulation Extended VBO, firstly you create a loop for the main collection and use the 'Filter Collection' action using the embedded collection as the main collection and leaving the filter blank. This will then output all rows to a new collection as required (see screens below), the drawback here is if you need to put all collections into a single output collection then the next filter would delete the previous data.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="michaeloneil_0-1724328252034.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39196iF80EB6D3B77E5C64/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="michaeloneil_0-1724328252034.png" alt="michaeloneil_0-1724328252034.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="michaeloneil_1-1724328263924.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39197iC4A01E6E6C5AD12F/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="michaeloneil_1-1724328263924.png" alt="michaeloneil_1-1724328263924.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The second option is to use the 'Append rows to collection' action and similarly you just need to ad the embedded collection as the main collection and the appended collection is you output collection (see screens below). The drawback on this one is that you will need to know the fields and have them entered in the output collection before you start.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="michaeloneil_5-1724329345315.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39201i9DF5A324EAEB60C8/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="michaeloneil_5-1724329345315.png" alt="michaeloneil_5-1724329345315.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="michaeloneil_4-1724328656599.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39200iB23B7F95D9AE9FB2/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="michaeloneil_4-1724328656599.png" alt="michaeloneil_4-1724328656599.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The third option is probably the preferred option which combines filtered and appended actions to get all collections into a single output collection. This will have to count the rows and if its row1, first embedded collection, then it will filter this to the output collection. If its not the first row/collection then it will append the collections with the output collection. The reason this is the best of the 3 is that the filter will create the fields for you from the first collection so you wont need to know these beforehand and then append all additional collections to the output, provided they all share the same fields.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="michaeloneil_6-1724329526890.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39202i4777CFC51FEAA7E3/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="michaeloneil_6-1724329526890.png" alt="michaeloneil_6-1724329526890.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="michaeloneil_7-1724329537135.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39203i26BE63E32B7EEAC4/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="michaeloneil_7-1724329537135.png" alt="michaeloneil_7-1724329537135.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="michaeloneil_8-1724329548605.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39204iC89A0F130D9E247A/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="michaeloneil_8-1724329548605.png" alt="michaeloneil_8-1724329548605.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope this helps &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 12:26:08 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Response-Content-to-Collection/m-p/113301#M50720</guid>
      <dc:creator>michaeloneil</dc:creator>
      <dc:date>2024-08-22T12:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: Response Content to Collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Response-Content-to-Collection/m-p/113309#M50722</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/44485"&gt;@nicolailykke&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;May i check about your JSON data? whether it is single record related info which has nested information or you may get a JSON data which may have multiple records?&lt;/P&gt;&lt;P&gt;Assuming that it is single record then i have followed below steps to not to use the loop with you main collection, let me know if this suits your issue.&lt;/P&gt;&lt;P&gt;Use JSON utility - Skip JArray action with the JSON Data you have provided&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nandhakumar_0-1724336523910.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39205i23A7BE1990C9C1E3/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Nandhakumar_0-1724336523910.png" alt="Nandhakumar_0-1724336523910.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then use a calculation stage to assign the rows (Collection) in the above into a new collection.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nandhakumar_1-1724336621433.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39206i3562423B028E3E49/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Nandhakumar_1-1724336621433.png" alt="Nandhakumar_1-1724336621433.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The use a loop to iterate through you intended output rows, where i can see it is still Json data then you can again use the utility to convert to collection and then append the rows to a final collection.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nandhakumar_2-1724336732958.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39207i9F85D5EC31A33DD6/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Nandhakumar_2-1724336732958.png" alt="Nandhakumar_2-1724336732958.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nandhakumar_3-1724336766740.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39208iC7C7185BB698A607/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Nandhakumar_3-1724336766740.png" alt="Nandhakumar_3-1724336766740.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Incase if your initial Json data has multiple records like below then you need to loop the initial collection.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nandhakumar_4-1724336893690.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39209i2BA3C1AA1D1E8D90/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Nandhakumar_4-1724336893690.png" alt="Nandhakumar_4-1724336893690.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 14:28:30 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Response-Content-to-Collection/m-p/113309#M50722</guid>
      <dc:creator>Nandhakumar</dc:creator>
      <dc:date>2024-08-22T14:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: Response Content to Collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Response-Content-to-Collection/m-p/113322#M50726</link>
      <description>&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;Thank you for your solution &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; However, I am seeking a solution where I can avoid the looping part.&lt;BR /&gt;&lt;BR /&gt;I'm not sure if such a solution exists, but I end up having to loop through upwards of 100,000 rows, and that would take many hours each time the process is run daily. &lt;SPAN&gt;On our local test environment, it takes over 6 hours (when not run from the control room).&lt;/SPAN&gt;&lt;BR /&gt;I am using this skill:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nicolailykke_0-1724397813645.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39213i1806399C81673479/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="nicolailykke_0-1724397813645.png" alt="nicolailykke_0-1724397813645.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And in the response content (as shown in the original post), I end up with many thousands of arrays in rows, like this, in the response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"f": [&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"v": "{\"id\":\"A1\",\"codes\":\"123,234\"}"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;},&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 07:28:50 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Response-Content-to-Collection/m-p/113322#M50726</guid>
      <dc:creator>nicolailykke</dc:creator>
      <dc:date>2024-08-23T07:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: Response Content to Collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Response-Content-to-Collection/m-p/113323#M50727</link>
      <description>&lt;P&gt;Hi Nandhakumar,&lt;/P&gt;&lt;P&gt;Thank you very much for taking the time to post a solution.&lt;/P&gt;&lt;P&gt;Your solution does work, but it takes over 6 hours to loop through the rows on my test machine when running with our production data. I was hoping to find an alternative approach (if one exists) that might be more efficient.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 07:33:52 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Response-Content-to-Collection/m-p/113323#M50727</guid>
      <dc:creator>nicolailykke</dc:creator>
      <dc:date>2024-08-23T07:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Response Content to Collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Response-Content-to-Collection/m-p/113326#M50728</link>
      <description>&lt;P&gt;Hey Hi&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/44485"&gt;@nicolailykke&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here you go.....&lt;/P&gt;&lt;P&gt;I have used the Utility Strings object(Latest version - &lt;A href="https://digitalexchange.blueprism.com/dx/entry/3439/solution/utility---strings" target="_blank"&gt;Blue Prism Digital Exchange&lt;/A&gt;), where we have Utility - Strings::Extract Regex All Matches&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nandhakumar_0-1724409077480.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39214i833ECCAF51F27E70/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Nandhakumar_0-1724409077480.png" alt="Nandhakumar_0-1724409077480.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regex Pattern:&amp;nbsp;"v":\s*"\{\\\"id\\\":\\\"([^\\\"]+)\\\",\\\"codes\\\":\\\"([^\\\"]+)\\\"\}"&lt;/P&gt;&lt;P&gt;Hope this helps your problem &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nandha&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 10:34:56 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Response-Content-to-Collection/m-p/113326#M50728</guid>
      <dc:creator>Nandhakumar</dc:creator>
      <dc:date>2024-08-23T10:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: Response Content to Collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Response-Content-to-Collection/m-p/113327#M50729</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Nandhakumar,&lt;BR /&gt;&lt;BR /&gt;Thank you very much &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I got the time reduced to a few seconds with the regex solution, så it's perfect &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Have a great day!&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Nicolai&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 11:01:18 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Response-Content-to-Collection/m-p/113327#M50729</guid>
      <dc:creator>nicolailykke</dc:creator>
      <dc:date>2024-08-23T11:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Response Content to Collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Response-Content-to-Collection/m-p/113328#M50730</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/44485"&gt;@nicolailykke&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm glad you are able to solve the problem &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please mark it as Correct Answer.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Nandha&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 11:26:54 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Response-Content-to-Collection/m-p/113328#M50730</guid>
      <dc:creator>Nandhakumar</dc:creator>
      <dc:date>2024-08-23T11:26:54Z</dc:date>
    </item>
  </channel>
</rss>

