<?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: Convert comma-separated string to list / array in Workato Pros Discussion Board</title>
    <link>https://systematic.workato.com/t5/workato-pros-discussion-board/convert-comma-separated-string-to-list-array/m-p/9868#M4012</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/11950"&gt;@Eike-Baur&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Although we can accomplish this in Workato using a while loop, by employing an index in the while loop on the values obtained after&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Related&amp;gt;.split(",")&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and accumulating them into a list variable one by one, ending the while loop when there is no data, and then use the list for for each loop. This approach will require more tasks based on the number of comma-separated values.&lt;/P&gt;&lt;P&gt;Alternatively, you can write a simple &lt;STRONG&gt;python&lt;/STRONG&gt;, &lt;STRONG&gt;ruby&lt;/STRONG&gt; or &lt;STRONG&gt;javascript&lt;/STRONG&gt; do do the same; this will be a better solution in terms of task consumption.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do let us know if you find any better solution. We encountered the same problem and used &lt;STRONG&gt;Python&lt;/STRONG&gt; to solve it.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 15 May 2025 15:42:16 GMT</pubDate>
    <dc:creator>1dheeraj2</dc:creator>
    <dc:date>2025-05-15T15:42:16Z</dc:date>
    <item>
      <title>Convert comma-separated string to list / array</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/convert-comma-separated-string-to-list-array/m-p/9867#M4011</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I just started with Workato because our new CRM (Recruit) uses it as a whitelabel automation solution. I have been using other platforms like Make for years though. Here's a snippet of what I am setting up right now:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-05-15 163202.png" style="width: 999px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2055iF4C8BFC2BF1AB916/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-05-15 163202.png" alt="Screenshot 2025-05-15 163202.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My question might seem very simple, but I could not find a straightforward answer in either the Workato docs, this forum or the general web: How can I take the "Related" output field from step 1 (a string of comma separated values) and convert it to a simple list (aka array) of strings to use as the input for step 4 (for each loop)? I know this would be possible using &amp;lt;Related&amp;gt;.split (","), but I cannot enter this into the list input field of the for each step because list fields do not support formula mode.&lt;/P&gt;&lt;P&gt;Can anyone help me out here?&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2025 14:41:20 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/convert-comma-separated-string-to-list-array/m-p/9867#M4011</guid>
      <dc:creator>Eike-Baur</dc:creator>
      <dc:date>2025-05-15T14:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Convert comma-separated string to list / array</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/convert-comma-separated-string-to-list-array/m-p/9868#M4012</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/11950"&gt;@Eike-Baur&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Although we can accomplish this in Workato using a while loop, by employing an index in the while loop on the values obtained after&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Related&amp;gt;.split(",")&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and accumulating them into a list variable one by one, ending the while loop when there is no data, and then use the list for for each loop. This approach will require more tasks based on the number of comma-separated values.&lt;/P&gt;&lt;P&gt;Alternatively, you can write a simple &lt;STRONG&gt;python&lt;/STRONG&gt;, &lt;STRONG&gt;ruby&lt;/STRONG&gt; or &lt;STRONG&gt;javascript&lt;/STRONG&gt; do do the same; this will be a better solution in terms of task consumption.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do let us know if you find any better solution. We encountered the same problem and used &lt;STRONG&gt;Python&lt;/STRONG&gt; to solve it.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2025 15:42:16 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/convert-comma-separated-string-to-list-array/m-p/9868#M4012</guid>
      <dc:creator>1dheeraj2</dc:creator>
      <dc:date>2025-05-15T15:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: Convert comma-separated string to list / array</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/convert-comma-separated-string-to-list-array/m-p/9870#M4013</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;just when you replied (of course), I was able to solve it using a JSON parser in one step:&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="Screenshot 2025-05-15 175939.png" style="width: 999px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2056i26113D3569C8D9AB/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-05-15 175939.png" alt="Screenshot 2025-05-15 175939.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;To be honest, I find it a bit ridiculous that this is so convoluted in Workato, having worked with Make where this would be just one formula which you can enter into any field you desire. But hey, it works now I guess :).&lt;/P&gt;&lt;P&gt;Best, Eike&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2025 16:02:10 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/convert-comma-separated-string-to-list-array/m-p/9870#M4013</guid>
      <dc:creator>Eike-Baur</dc:creator>
      <dc:date>2025-05-15T16:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Convert comma-separated string to list / array</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/convert-comma-separated-string-to-list-array/m-p/9871#M4014</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Awesome, I never thought we could use a JSON parser here as well. This is a learning experience for me too. Thanks a lot for sharing!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2025 16:17:11 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/convert-comma-separated-string-to-list-array/m-p/9871#M4014</guid>
      <dc:creator>1dheeraj2</dc:creator>
      <dc:date>2025-05-15T16:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: Convert comma-separated string to list / array</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/convert-comma-separated-string-to-list-array/m-p/12076#M4641</link>
      <description>&lt;P&gt;What If I'm having a multiple records in json by comma separated how to handle this in workato to parse them as multiple records into further steps. As workto is just reading first record if it is multiple in that json file&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2026 05:05:43 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/convert-comma-separated-string-to-list-array/m-p/12076#M4641</guid>
      <dc:creator>gmotamarri</dc:creator>
      <dc:date>2026-04-09T05:05:43Z</dc:date>
    </item>
  </channel>
</rss>

