<?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 list of string to list of numbers in Community Chat</title>
    <link>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/9033#M709</link>
    <description>&lt;P&gt;Hi Prudvi,&lt;/P&gt;&lt;P&gt;Here is my sample JSON that needs to be parsed.&amp;nbsp;I am first parsing the given JSON. Then, I use TestValueSampleList.pluck("v") to extract a list of strings, which I then convert into a list of integers using native functions and formulas.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="ruby"&gt;{
    "TestValueSample": [
        {
            "k1": "t1",
            "v": "9"
        },
        {
            "k1": "t2",
            "v": "11"
        },
        {
            "k1": "t3",
            "v": "21"
        },
        {
            "k1": "t4",
            "v": "7"
        }
    ]
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Feb 2025 14:06:05 GMT</pubDate>
    <dc:creator>shefali</dc:creator>
    <dc:date>2025-02-28T14:06:05Z</dc:date>
    <item>
      <title>Convert list of string to list of numbers</title>
      <link>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/8981#M694</link>
      <description>&lt;P&gt;Is there a formula that can be used to convert list of String variables to a list of integers ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I/P is ["1","100","50", "4"]&amp;nbsp;&lt;BR /&gt;O/P [1,100,50,4]&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 08:49:33 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/8981#M694</guid>
      <dc:creator>shefali</dc:creator>
      <dc:date>2025-02-27T08:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: Convert list of string to list of numbers</title>
      <link>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/8983#M695</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/11523"&gt;@shefali&lt;/a&gt;,&lt;BR /&gt;You can do it using Execute Python Action:&lt;BR /&gt;input variable : &lt;STRONG&gt;num_list = list with string values&lt;BR /&gt;&lt;/STRONG&gt;output variable : &lt;STRONG&gt;int_list = list with integer values&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="python_code.jpg" style="width: 656px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1865iD04B58D4F1BA5A37/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="python_code.jpg" alt="python_code.jpg" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;def main(input):&lt;BR /&gt;&amp;nbsp; string_list = input["num_list"]&lt;BR /&gt;&amp;nbsp; int_list = [int(x) for x in string_list]&lt;BR /&gt;&amp;nbsp; return {"int_list": int_list}&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Prudvi&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 10:10:54 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/8983#M695</guid>
      <dc:creator>Prudvi</dc:creator>
      <dc:date>2025-02-27T10:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Convert list of string to list of numbers</title>
      <link>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/8984#M696</link>
      <description>&lt;P&gt;Hi Prudvi,&lt;/P&gt;&lt;P&gt;I was wondering if this can be achieved using native formulas/functions, like List or String functions, instead of writing custom Python code?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 10:39:54 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/8984#M696</guid>
      <dc:creator>shefali</dc:creator>
      <dc:date>2025-02-27T10:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Convert list of string to list of numbers</title>
      <link>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/9000#M697</link>
      <description>&lt;P&gt;Anyone has an idea if this can be done with help of existing functions/formulas in Workato?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 17:52:01 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/9000#M697</guid>
      <dc:creator>shefali</dc:creator>
      <dc:date>2025-02-27T17:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Convert list of string to list of numbers</title>
      <link>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/9007#M698</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/11523"&gt;@shefali&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Here is my answer to your question. What would be your next step after receiving the required response?&amp;nbsp;&lt;BR /&gt;Please let me know so that I can refine my answers.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="String_list_1.PNG" style="width: 800px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1871i17B29ABFA1170B26/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="String_list_1.PNG" alt="String_list_1.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="string_list_response.PNG" style="width: 526px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1872i37C86B20DB2695BC/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="string_list_response.PNG" alt="string_list_response.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;BR /&gt;Shivakumara K A&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 07:42:27 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/9007#M698</guid>
      <dc:creator>shivakumara</dc:creator>
      <dc:date>2025-02-28T07:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Convert list of string to list of numbers</title>
      <link>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/9008#M699</link>
      <description>&lt;P&gt;Hi Shivakumara,&lt;/P&gt;&lt;P&gt;Thanks for the response. The function you've used appears to return a string variable containing integers. However, I need to first extract a list of integers. Then, I can use existing list functions to determine the minimum and maximum values from the list.&lt;/P&gt;&lt;P&gt;I am able to perform this operation on a list of numeric strings. However, the issue is that the min and max functions are returning values based on ASCII character order rather than numerical values.&lt;/P&gt;&lt;P&gt;If you feel there is an alternate way to handle this using existing functions, please guide me&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 08:09:06 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/9008#M699</guid>
      <dc:creator>shefali</dc:creator>
      <dc:date>2025-02-28T08:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Convert list of string to list of numbers</title>
      <link>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/9015#M700</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/11523"&gt;@shefali&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;I found another way doing it is&amp;nbsp;&lt;BR /&gt;1. when the input is "List of String" pass it to another variable where it should of data type "Integer"&lt;BR /&gt;2. Workato will take care of your "List_of_String" to "List_of_Integer"&lt;BR /&gt;3. Apply formulae "MAX" or "MIN" whichever you needed as per your requirement&lt;BR /&gt;&lt;BR /&gt;Here are some screenshots for your reference:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lst_string_1.PNG" style="width: 678px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1877i0503574724F65D1E/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Lst_string_1.PNG" alt="Lst_string_1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="List_string_2.PNG" style="width: 823px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1878i2D556806127BAB68/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="List_string_2.PNG" alt="List_string_2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="List_string_to_int_1.PNG" style="width: 999px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1879iFFFA95CE7A53E2C2/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="List_string_to_int_1.PNG" alt="List_string_to_int_1.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="List_string_to_int_2.PNG" style="width: 783px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1880i2B92CE1A38F8D6AB/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="List_string_to_int_2.PNG" alt="List_string_to_int_2.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="List_string_to_int_MAX.PNG" style="width: 504px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1881i4DEBF2D01886D8FD/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="List_string_to_int_MAX.PNG" alt="List_string_to_int_MAX.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 12:38:58 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/9015#M700</guid>
      <dc:creator>shivakumara</dc:creator>
      <dc:date>2025-02-28T12:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Convert list of string to list of numbers</title>
      <link>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/9020#M701</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/8685"&gt;@shivakumara&lt;/a&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 12:45:29 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/9020#M701</guid>
      <dc:creator>Prudvi</dc:creator>
      <dc:date>2025-02-28T12:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Convert list of string to list of numbers</title>
      <link>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/9021#M702</link>
      <description>&lt;P&gt;Happy to help.&amp;nbsp;&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/11321"&gt;@Prudvi&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":hugging_face:"&gt;🤗&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 12:47:05 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/9021#M702</guid>
      <dc:creator>shivakumara</dc:creator>
      <dc:date>2025-02-28T12:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: Convert list of string to list of numbers</title>
      <link>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/9024#M703</link>
      <description>&lt;P&gt;HI Shiva,&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;I tried passing a list of string to a new variable of type integer. O/P is still a list of string. The auto -conversion is not working for me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&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="1.jpg" style="width: 999px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1883i2487287A601D7CC2/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="1.jpg" alt="1.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.jpg" style="width: 522px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1882i75D6C419E28453DA/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="2.jpg" alt="2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 13:00:08 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/9024#M703</guid>
      <dc:creator>shefali</dc:creator>
      <dc:date>2025-02-28T13:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Convert list of string to list of numbers</title>
      <link>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/9025#M704</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/11523"&gt;@shefali&lt;/a&gt;,&lt;BR /&gt;Can you check this schema&lt;BR /&gt;&lt;STRONG&gt;[&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;{&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"control_type": "text",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"label": "list_num",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"parse_output": "integer_conversion",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"name": "list_num",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"type": "integer",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"of": "integer",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"optional": true,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"details": {&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"real_name": "list_num"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;},&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"initially_expanded": true,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"hint": "Defaults to nil if not supplied.",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"sticky": true&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;]&lt;BR /&gt;&lt;/STRONG&gt;Regards,&lt;BR /&gt;Prudvi&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 13:13:04 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/9025#M704</guid>
      <dc:creator>Prudvi</dc:creator>
      <dc:date>2025-02-28T13:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Convert list of string to list of numbers</title>
      <link>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/9028#M705</link>
      <description>&lt;P&gt;Hi Prudvi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried updating my int variable schema exactly like yours. Still, the auto-conversion from List String to List Num is not working. Here is my update schema for reference " -&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[
  {
    "control_type": "text",
    "label": "v_tempInt",
    "parse_output": "integer_conversion",
    "name": "v_tempInt",
    "type": "integer",
    "of": "integer",
    "optional": true,
    "details": {
      "real_name": "v_tempInt"
    },
    "initially_expanded": true,
    "hint": "Defaults to nil if not supplied.",
    "sticky": true
  }
]&lt;/LI-CODE&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="3.jpg" style="width: 999px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1885i9F7A7D18AD2258E0/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="3.jpg" alt="3.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4.jpg" style="width: 999px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1884i404F46A2DEEFB8C0/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="4.jpg" alt="4.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 13:23:29 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/9028#M705</guid>
      <dc:creator>shefali</dc:creator>
      <dc:date>2025-02-28T13:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Convert list of string to list of numbers</title>
      <link>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/9030#M706</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/11523"&gt;@shefali&lt;/a&gt;,&lt;BR /&gt;This is the schema of previous step&amp;nbsp; variable&lt;BR /&gt;&lt;STRONG&gt;[&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;{&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"name": "list_str",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"type": "array",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"of": "string",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"label": "list_str",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"optional": true,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"details": {&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"real_name": "num"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;},&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"initially_expanded": true,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"hint": "Defaults to nil if not supplied.",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"sticky": true&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;]&lt;BR /&gt;&lt;/STRONG&gt;Regards,&lt;BR /&gt;Prudvi&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 13:27:17 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/9030#M706</guid>
      <dc:creator>Prudvi</dc:creator>
      <dc:date>2025-02-28T13:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Convert list of string to list of numbers</title>
      <link>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/9031#M707</link>
      <description>&lt;P&gt;Hi Prudvi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried updating the source List String schema as yours. Still no luck. Here is a snippet schema code. Please let me know if you guys need any more info from me to debug this issue.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="ruby"&gt;[
  {
    "label": "v_StringTemp",
    "name": "v_StringTemp",
    "type": "array",
     "of": "string",
    "optional": true,
    "details": {
      "real_name": "v_StringTemp"
    },
"initially_expanded": true,
    "hint": "Defaults to nil if not supplied.",
    "sticky": true
  }
]&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 28 Feb 2025 13:40:47 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/9031#M707</guid>
      <dc:creator>shefali</dc:creator>
      <dc:date>2025-02-28T13:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: Convert list of string to list of numbers</title>
      <link>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/9032#M708</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/11523"&gt;@shefali&lt;/a&gt;,&lt;BR /&gt;is it possible to share the JSON which you are passing to the variable.&lt;BR /&gt;Regards,&lt;BR /&gt;Prudvi&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 13:53:21 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/9032#M708</guid>
      <dc:creator>Prudvi</dc:creator>
      <dc:date>2025-02-28T13:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Convert list of string to list of numbers</title>
      <link>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/9033#M709</link>
      <description>&lt;P&gt;Hi Prudvi,&lt;/P&gt;&lt;P&gt;Here is my sample JSON that needs to be parsed.&amp;nbsp;I am first parsing the given JSON. Then, I use TestValueSampleList.pluck("v") to extract a list of strings, which I then convert into a list of integers using native functions and formulas.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="ruby"&gt;{
    "TestValueSample": [
        {
            "k1": "t1",
            "v": "9"
        },
        {
            "k1": "t2",
            "v": "11"
        },
        {
            "k1": "t3",
            "v": "21"
        },
        {
            "k1": "t4",
            "v": "7"
        }
    ]
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 14:06:05 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/9033#M709</guid>
      <dc:creator>shefali</dc:creator>
      <dc:date>2025-02-28T14:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Convert list of string to list of numbers</title>
      <link>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/9054#M710</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/11523"&gt;@shefali&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Here, I am adding a screenshot after parsing the provided JSON.&lt;/P&gt;&lt;P&gt;- &lt;STRONG&gt;2nd Image&lt;/STRONG&gt;: The input hasn’t been explicitly converted to an integer, yet the output is a list of integers.&lt;BR /&gt;-&lt;STRONG&gt; 4th Image:&lt;/STRONG&gt;&amp;nbsp;If this doesn't work on your end, you can use another variable of type "Integer" and pass the output from the `pluck("v")` formula.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Parse_json_1.PNG" style="width: 518px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1893i188809F6EE03077C/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Parse_json_1.PNG" alt="Parse_json_1.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="parse_json_2.PNG" style="width: 999px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1894iFA9F74E272C52A48/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="parse_json_2.PNG" alt="parse_json_2.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="parse_json_3.PNG" style="width: 657px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1895iB2CF8CFFDB030C1D/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="parse_json_3.PNG" alt="parse_json_3.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="parse_json_4.PNG" style="width: 999px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1896iBFB5BE7007EB0516/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="parse_json_4.PNG" alt="parse_json_4.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="parse_json_5.PNG" style="width: 687px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1897i8598B3F8CCAEC5F8/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="parse_json_5.PNG" alt="parse_json_5.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="parse_json_6.PNG" style="width: 661px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1898i22ECF70D35946555/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="parse_json_6.PNG" alt="parse_json_6.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;BR /&gt;Shivakumar&lt;/P&gt;</description>
      <pubDate>Sat, 01 Mar 2025 16:27:07 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/9054#M710</guid>
      <dc:creator>shivakumara</dc:creator>
      <dc:date>2025-03-01T16:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: Convert list of string to list of numbers</title>
      <link>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/9055#M711</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, Shiva! Your solution worked perfectly for me—I really appreciate it.&lt;/P&gt;&lt;P&gt;I do have a small curiosity: Why do we need to create two variables of integer or number data type to parse a number list? For example, after the JSON parse step, I attempted to create a list of numbers, and the output appeared as expected—a list of numbers. However, when using list functions, it still treats the variable as a list. Shouldn't it actually be recognized as a number instead?&lt;/P&gt;&lt;P&gt;Is this the expected behavior of the function, or could it be a bug? It feels a bit misleading and requires a lot of trial and error to get right&lt;/P&gt;</description>
      <pubDate>Sun, 02 Mar 2025 12:00:23 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/9055#M711</guid>
      <dc:creator>shefali</dc:creator>
      <dc:date>2025-03-02T12:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Convert list of string to list of numbers</title>
      <link>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/9056#M712</link>
      <description>&lt;P&gt;Hi &lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/11523"&gt;@shefali&lt;/a&gt;,&lt;BR /&gt;If you observe my screenshots:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":keycap_1:"&gt;1️⃣&lt;/span&gt; In the 2nd and 3rd images,&lt;BR /&gt;I used &lt;STRONG&gt;Variable_name: List&lt;/STRONG&gt; and &lt;STRONG&gt;Datatype: String&lt;/STRONG&gt;. When applying the &lt;STRONG&gt;pluck("v")&lt;/STRONG&gt; formula, it automatically converts to &lt;STRONG&gt;List_of_Numbers&lt;/STRONG&gt;, so there's no need to explicitly set the data type as &lt;STRONG&gt;List&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":keycap_2:"&gt;2️⃣&lt;/span&gt; I have a small curiosity: Why do we need to create two variables with &lt;STRONG&gt;Integer or Number&lt;/STRONG&gt; data types to parse a number list?&lt;BR /&gt;&lt;STRONG&gt;Answer:&lt;/STRONG&gt; There's no need to use two variables. As I suggested, when we apply the &lt;STRONG&gt;pluck("v")&lt;/STRONG&gt; formula, it automatically takes care of converting to &lt;STRONG&gt;List_of_Numbers&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":keycap_3:"&gt;3️⃣&lt;/span&gt; However, when using list functions, it still treats the variable as a list. Shouldn't it actually be recognized as a number instead?&lt;BR /&gt;Could you please share a screenshot? I didn’t fully understand your point here.&lt;/P&gt;&lt;P&gt;Looking forward to your insights! &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Shivakumar K A&lt;/P&gt;</description>
      <pubDate>Sun, 02 Mar 2025 14:09:39 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/9056#M712</guid>
      <dc:creator>shivakumara</dc:creator>
      <dc:date>2025-03-02T14:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: Convert list of string to list of numbers</title>
      <link>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/9057#M713</link>
      <description>&lt;P&gt;Hi Shiva,&lt;/P&gt;&lt;P&gt;Sure. My previous comment was about whether it's possible to apply pluck and min on the same list. For example: TestSample.pluck('v').min().&amp;nbsp; Currently, this operation works based on ASCII character calculation when applied to strings. To get the maximum integer value, we first need to create a list of strings/integers and then use a variable of type integer to extract the maximum value.&lt;BR /&gt;&lt;BR /&gt;Thanks for your help anyway. Appreciate it&lt;/P&gt;&lt;P&gt;That was the reason for my question. We can mark this as resolved if there’s no way to apply pluck and max on integers in the same step.&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>Sun, 02 Mar 2025 14:23:59 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/community-chat/convert-list-of-string-to-list-of-numbers/m-p/9057#M713</guid>
      <dc:creator>shefali</dc:creator>
      <dc:date>2025-03-02T14:23:59Z</dc:date>
    </item>
  </channel>
</rss>

