<?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: Automation Workflow: How to convert string to array of string? in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/automation-workflow-how-to-convert-string-to-array-of-string/m-p/5422255#M3645</link>
    <description>&lt;P&gt;&lt;A href="https://community.meraki.com/t5/user/viewprofilepage/user-id/340"&gt;@Philip D'Ath&lt;/A&gt; We're working on enhancements for Arrays.  Currently, you can use a standard string to capture data, and you can append a string using a Set Variables Activity by selecting the string as the Variable to update and then select the same string as the New value along with the new string to append.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="enovak_0-1764609583193.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/264614iD06406CEAFEE6412/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;You can also assign a sting into a String Array, but you may need to format the String Array so that it is proper JSON, To do this I've used a Python Activity to clean up and properly format the JSON Array.&lt;/P&gt;</description>
    <pubDate>Mon, 01 Dec 2025 17:22:47 GMT</pubDate>
    <dc:creator>Ed Novak - Cisco Workflows TME</dc:creator>
    <dc:date>2025-12-01T17:22:47Z</dc:date>
    <item>
      <title>Automation Workflow: How to convert string to array of string?</title>
      <link>https://community.cisco.com/t5/network-platform-api/automation-workflow-how-to-convert-string-to-array-of-string/m-p/5422252#M3642</link>
      <description>&lt;P&gt;Part of my workflow involves claiming an MX into a network.&lt;/P&gt;&lt;P&gt;I create a list of all suitable MX in inventory, and let the user choose one using "Create Prompt".  At this point, I now have a string which is the serial number of the MX I want to add to the network.&lt;/P&gt;&lt;P&gt;I would now like to use the atomic "Meraki - Claim Network Devices".  However, it requires an *array* of strings.&lt;/P&gt;&lt;P&gt;I can't figure out how to add a string to an array, or how to convert a string to an array.&lt;/P&gt;&lt;P&gt;I've tried creating a local variable which is an array of strings - but I can't find any operations that let me append to that array.&lt;/P&gt;&lt;P&gt;Help!&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2025 02:08:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/automation-workflow-how-to-convert-string-to-array-of-string/m-p/5422252#M3642</guid>
      <dc:creator>Philip D'Ath</dc:creator>
      <dc:date>2025-11-28T02:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: Automation Workflow: How to convert string to array of string?</title>
      <link>https://community.cisco.com/t5/network-platform-api/automation-workflow-how-to-convert-string-to-array-of-string/m-p/5422253#M3643</link>
      <description>&lt;P&gt;I can think of three options.&lt;/P&gt;&lt;P&gt;You can try adding the "Create Array" action before calling "Meraki - Claim Network Devices," just put your string variable in square brackets.&lt;/P&gt;&lt;P&gt;Try using "Compose with json()" or try using the "Add to array variable" action to add your string.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2025 09:25:04 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/automation-workflow-how-to-convert-string-to-array-of-string/m-p/5422253#M3643</guid>
      <dc:creator>aleabrahao</dc:creator>
      <dc:date>2025-11-28T09:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Automation Workflow: How to convert string to array of string?</title>
      <link>https://community.cisco.com/t5/network-platform-api/automation-workflow-how-to-convert-string-to-array-of-string/m-p/5422254#M3644</link>
      <description>&lt;P&gt;I don't see any action to create an array?&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PhilipDAth_0-1764524842657.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/264612iBD1EEFB14B4658E6/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;j&lt;SPAN&gt;ust put your string variable in square brackets.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Once I select a variable, it won't let me edit the field anymore to add brackets.&lt;/P&gt;&lt;P&gt;I can't see any actions like "Compose with JSON".&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PhilipDAth_1-1764524918773.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/264613iC2DE94F1E996A417/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I ended up creating a one-line "Create With Python" script action like:&lt;/P&gt;&lt;P&gt;output = ["variable"]&lt;/P&gt;&lt;P&gt;It kinda seems wrong to drop back to coding when everything else is GUI point and click based.&lt;/P&gt;</description>
      <pubDate>Sun, 30 Nov 2025 17:49:45 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/automation-workflow-how-to-convert-string-to-array-of-string/m-p/5422254#M3644</guid>
      <dc:creator>Philip D'Ath</dc:creator>
      <dc:date>2025-11-30T17:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Automation Workflow: How to convert string to array of string?</title>
      <link>https://community.cisco.com/t5/network-platform-api/automation-workflow-how-to-convert-string-to-array-of-string/m-p/5422255#M3645</link>
      <description>&lt;P&gt;&lt;A href="https://community.meraki.com/t5/user/viewprofilepage/user-id/340"&gt;@Philip D'Ath&lt;/A&gt; We're working on enhancements for Arrays.  Currently, you can use a standard string to capture data, and you can append a string using a Set Variables Activity by selecting the string as the Variable to update and then select the same string as the New value along with the new string to append.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="enovak_0-1764609583193.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/264614iD06406CEAFEE6412/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;You can also assign a sting into a String Array, but you may need to format the String Array so that it is proper JSON, To do this I've used a Python Activity to clean up and properly format the JSON Array.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Dec 2025 17:22:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/automation-workflow-how-to-convert-string-to-array-of-string/m-p/5422255#M3645</guid>
      <dc:creator>Ed Novak - Cisco Workflows TME</dc:creator>
      <dc:date>2025-12-01T17:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Automation Workflow: How to convert string to array of string?</title>
      <link>https://community.cisco.com/t5/network-platform-api/automation-workflow-how-to-convert-string-to-array-of-string/m-p/5422256#M3646</link>
      <description>&lt;P&gt;&lt;A href="https://community.meraki.com/t5/user/viewprofilepage/user-id/340"&gt;@Philip D'Ath&lt;/A&gt; &lt;BR /&gt;In the Set Variables activity, you can combine free form text and other variables to create an array:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="enovak_1-1764609903568.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/264615iC40E54BDA0D5755F/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Dec 2025 17:25:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/automation-workflow-how-to-convert-string-to-array-of-string/m-p/5422256#M3646</guid>
      <dc:creator>Ed Novak - Cisco Workflows TME</dc:creator>
      <dc:date>2025-12-01T17:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Automation Workflow: How to convert string to array of string?</title>
      <link>https://community.cisco.com/t5/network-platform-api/automation-workflow-how-to-convert-string-to-array-of-string/m-p/5422257#M3647</link>
      <description>&lt;P&gt;I'd also suggest checking out and posting questions in the &lt;A href="https://community.cisco.com/t5/cisco-workflows/bd-p/discussions-Cisco-Workflows" target="_blank" rel="nofollow noopener noreferrer"&gt;Cisco Workflows Community&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 01 Dec 2025 17:27:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/automation-workflow-how-to-convert-string-to-array-of-string/m-p/5422257#M3647</guid>
      <dc:creator>Ed Novak - Cisco Workflows TME</dc:creator>
      <dc:date>2025-12-01T17:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Automation Workflow: How to convert string to array of string?</title>
      <link>https://community.cisco.com/t5/network-platform-api/automation-workflow-how-to-convert-string-to-array-of-string/m-p/5422258#M3648</link>
      <description>&lt;P&gt;Good tip!  I might try this out next time.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Dec 2025 17:50:10 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/automation-workflow-how-to-convert-string-to-array-of-string/m-p/5422258#M3648</guid>
      <dc:creator>Philip D'Ath</dc:creator>
      <dc:date>2025-12-01T17:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: Automation Workflow: How to convert string to array of string?</title>
      <link>https://community.cisco.com/t5/network-platform-api/automation-workflow-how-to-convert-string-to-array-of-string/m-p/5422259#M3649</link>
      <description>&lt;P&gt;I find the Cisco Community hard to use.  It's like drowning in a sea of content.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Dec 2025 17:50:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/automation-workflow-how-to-convert-string-to-array-of-string/m-p/5422259#M3649</guid>
      <dc:creator>Philip D'Ath</dc:creator>
      <dc:date>2025-12-01T17:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Automation Workflow: How to convert string to array of string?</title>
      <link>https://community.cisco.com/t5/network-platform-api/automation-workflow-how-to-convert-string-to-array-of-string/m-p/5422260#M3650</link>
      <description>&lt;P&gt;CC: &lt;A href="https://community.meraki.com/t5/user/viewprofilepage/user-id/28201"&gt;@AmyReyes&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 01 Dec 2025 19:39:43 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/automation-workflow-how-to-convert-string-to-array-of-string/m-p/5422260#M3650</guid>
      <dc:creator>obrigg</dc:creator>
      <dc:date>2025-12-01T19:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: Automation Workflow: How to convert string to array of string?</title>
      <link>https://community.cisco.com/t5/network-platform-api/automation-workflow-how-to-convert-string-to-array-of-string/m-p/5422261#M3651</link>
      <description>&lt;P&gt;Here is an example challenge.  Pretend you have not used Cisco Community before.  Starting from the home page, tell me how long it takes you to find the "Cisco Workflows" community.&lt;BR /&gt;&lt;A href="https://community.cisco.com/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.cisco.com/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have used the Cisco Community.  I couldn't find it.  I gave up.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Dec 2025 19:48:04 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/automation-workflow-how-to-convert-string-to-array-of-string/m-p/5422261#M3651</guid>
      <dc:creator>Philip D'Ath</dc:creator>
      <dc:date>2025-12-01T19:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Automation Workflow: How to convert string to array of string?</title>
      <link>https://community.cisco.com/t5/network-platform-api/automation-workflow-how-to-convert-string-to-array-of-string/m-p/5422262#M3652</link>
      <description>&lt;P&gt;&lt;A href="https://community.meraki.com/t5/user/viewprofilepage/user-id/340"&gt;@Philip D'Ath&lt;/A&gt; instead of Arrays, you may want to consider using Table Activities in Workflows.  You can Read your table from JSON, and then add or update rows.&lt;/P&gt;&lt;P&gt;Do keep in mind &lt;STRONG&gt;Persist Table&lt;/STRONG&gt;. If you want to make changes to a table later, it must be made persistent. Otherwise, you will only be able to read from the table.&lt;/P&gt;&lt;P&gt;Recommend that you manually add columns individually in the &lt;STRONG&gt;Columns to Read&lt;/STRONG&gt; section of the Table activity properties.&lt;/P&gt;&lt;P&gt;If you populate column headers from their source data the columns will only be populated at run time and you cannot use the column headers when creating a For Each loop.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://documentation.meraki.com/Workflows/Workflows/Activities/Table_Activities" target="_blank" rel="nofollow noopener noreferrer"&gt;Select from Table documentation&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://youtu.be/q2NphCyDVYs?si=jRhMIlUAK-I37yin" target="_blank" rel="nofollow noopener noreferrer"&gt;Video lesson&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 01 Dec 2025 20:54:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/automation-workflow-how-to-convert-string-to-array-of-string/m-p/5422262#M3652</guid>
      <dc:creator>Ed Novak - Cisco Workflows TME</dc:creator>
      <dc:date>2025-12-01T20:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: Automation Workflow: How to convert string to array of string?</title>
      <link>https://community.cisco.com/t5/network-platform-api/automation-workflow-how-to-convert-string-to-array-of-string/m-p/5422263#M3653</link>
      <description>&lt;P&gt;Thanks for the tip.  &lt;SPAN class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Dec 2025 21:12:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/automation-workflow-how-to-convert-string-to-array-of-string/m-p/5422263#M3653</guid>
      <dc:creator>Philip D'Ath</dc:creator>
      <dc:date>2025-12-01T21:12:20Z</dc:date>
    </item>
  </channel>
</rss>

