<?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: Get List of Values out of Nested list of Hashes in Workato Pros Discussion Board</title>
    <link>https://systematic.workato.com/t5/workato-pros-discussion-board/get-list-of-values-out-of-nested-list-of-hashes/m-p/10540#M4192</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;To get values from nested list we can use formula mode and try in this way flatten.pluck('List_name').flatten.pluck('list_name) pattern . So we can get all nested values in this method&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Attached the working method in screenshot .please refer once&amp;nbsp;&lt;BR /&gt;Thankyou&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="This is structure i have defined for nested lists" style="width: 999px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2224i61467C37061B2378/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="nested_list.png" alt="This is structure i have defined for nested lists" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;This is structure i have defined for nested lists&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Formula implemented to get nested list" style="width: 999px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2225i5A7A910F40D38C62/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="nestd_list2.png" alt="Formula implemented to get nested list" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Formula implemented to get nested list&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="output for nested list 1" style="width: 999px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2226iE09A5D9CE6FD2C83/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="nested_list_output.png" alt="output for nested list 1" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;output for nested list 1&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tried to pluck another nested list" style="width: 999px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2227i58BA517BFC22546F/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="nested_list3.png" alt="tried to pluck another nested list" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;tried to pluck another nested list&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Output for nested list 2" style="width: 999px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2228i6A4D881AC82C8BBA/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="nested_list_output1.png" alt="Output for nested list 2" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Output for nested list 2&lt;/span&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>Wed, 30 Jul 2025 12:31:55 GMT</pubDate>
    <dc:creator>Obugari</dc:creator>
    <dc:date>2025-07-30T12:31:55Z</dc:date>
    <item>
      <title>Get List of Values out of Nested list of Hashes</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/get-list-of-values-out-of-nested-list-of-hashes/m-p/10487#M4169</link>
      <description>&lt;LI-CODE lang="javascript"&gt;{
  Entries: 
[
     
{
      Entry ID: 23148031822,
      Entry: 
{
        Username: Carol,
        User ID: 12345,
      }
    },
     
{
      Entry ID: 654354654654,
      Entry: 
{
        Username: Mary,
        User ID: 98765,
        
      }
    }
  ]
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi there! I would like to grab a list of the user IDs to look like, [12345, 98765] as a variable. I have it set to a string right now, as I can't get the entries list to pop up as a data pill in the workato array variable.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have had no luck using format_map or pluck, so please let me know where I am going wrong. I am trying to avoid using a for-loop, but I will if I have to.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hailey Gebhart&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2025 22:53:43 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/get-list-of-values-out-of-nested-list-of-hashes/m-p/10487#M4169</guid>
      <dc:creator>Gebharthm</dc:creator>
      <dc:date>2025-07-23T22:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: Get List of Values out of Nested list of Hashes</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/get-list-of-values-out-of-nested-list-of-hashes/m-p/10488#M4170</link>
      <description>&lt;P&gt;If you want to return an array, you need to do entries.pluck("entry").pluck("user id")&lt;/P&gt;&lt;P&gt;Note that "entry" and "user_id" are not the exact keys you need to pluck. You need to pluck them based on their "API Name", which you can see by hovering over the data pill in the recipe data panel. Check this other post where I explain it in more detail:&lt;/P&gt;&lt;P&gt;&lt;A href="https://systematic.workato.com/t5/workato-pros-discussion-board/how-to-reference-a-list-item-in-a-data-pill-expression/m-p/9657#M3940" target="_blank"&gt;https://systematic.workato.com/t5/workato-pros-discussion-board/how-to-reference-a-list-item-in-a-data-pill-expression/m-p/9657#M3940&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also, your variable probably shouldn't be set to an array. Workato doesn't play well with primitive arrays like this, so you should actually just make a string variable, set it to formula mode, and use the above code to create the array.&lt;/P&gt;&lt;P&gt;If you want to convert the primitive array into a "Workato list", this requires a few additional steps.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2025 23:27:32 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/get-list-of-values-out-of-nested-list-of-hashes/m-p/10488#M4170</guid>
      <dc:creator>gary1</dc:creator>
      <dc:date>2025-07-23T23:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Get List of Values out of Nested list of Hashes</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/get-list-of-values-out-of-nested-list-of-hashes/m-p/10520#M4186</link>
      <description>&lt;P&gt;I go this to work. Thank you so much for the helpful advice!&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2025 16:02:09 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/get-list-of-values-out-of-nested-list-of-hashes/m-p/10520#M4186</guid>
      <dc:creator>Gebharthm</dc:creator>
      <dc:date>2025-07-25T16:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Get List of Values out of Nested list of Hashes</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/get-list-of-values-out-of-nested-list-of-hashes/m-p/10540#M4192</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;To get values from nested list we can use formula mode and try in this way flatten.pluck('List_name').flatten.pluck('list_name) pattern . So we can get all nested values in this method&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Attached the working method in screenshot .please refer once&amp;nbsp;&lt;BR /&gt;Thankyou&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="This is structure i have defined for nested lists" style="width: 999px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2224i61467C37061B2378/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="nested_list.png" alt="This is structure i have defined for nested lists" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;This is structure i have defined for nested lists&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Formula implemented to get nested list" style="width: 999px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2225i5A7A910F40D38C62/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="nestd_list2.png" alt="Formula implemented to get nested list" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Formula implemented to get nested list&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="output for nested list 1" style="width: 999px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2226iE09A5D9CE6FD2C83/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="nested_list_output.png" alt="output for nested list 1" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;output for nested list 1&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tried to pluck another nested list" style="width: 999px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2227i58BA517BFC22546F/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="nested_list3.png" alt="tried to pluck another nested list" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;tried to pluck another nested list&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Output for nested list 2" style="width: 999px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2228i6A4D881AC82C8BBA/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="nested_list_output1.png" alt="Output for nested list 2" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Output for nested list 2&lt;/span&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>Wed, 30 Jul 2025 12:31:55 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/get-list-of-values-out-of-nested-list-of-hashes/m-p/10540#M4192</guid>
      <dc:creator>Obugari</dc:creator>
      <dc:date>2025-07-30T12:31:55Z</dc:date>
    </item>
  </channel>
</rss>

