<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Array format</title><link>https://community.appian.com/discussions/f/user-interface/39923/array-format</link><description>I want emails in array format like {&amp;quot;test@test.com&amp;quot;, &amp;quot;test2@test.com&amp;quot; } In process variable I&amp;#39;m getting it as &amp;quot;&amp;quot;test@test.com&amp;quot;,&amp;quot;testing@tets.com&amp;quot;&amp;quot; but I want in format of {&amp;quot;test@test.com&amp;quot;,&amp;quot;testing@tets.com&amp;quot;}. Can someone please help</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Array format</title><link>https://community.appian.com/thread/152407?ContentTypeID=1</link><pubDate>Wed, 12 Nov 2025 13:08:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f2d0a698-92e6-44b0-a341-1a59958befa6</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Can you clarify what your use case is, exactly?&amp;nbsp; As in, why do you feel you need *that exact format*?&lt;/p&gt;
&lt;p&gt;I think what&amp;#39;s missing, and what the other responses have missed so far, might be the fact that the Appian &amp;quot;text array&amp;quot; type is not represented visually in a consistent manner, as it&amp;#39;s displayed slightly differently depending on whether you&amp;#39;re looking at in-process data, data shown in a text/paragraph field, data shown in an expression output, or data shown in an &amp;quot;expressionable&amp;quot; manner i.e. what can be used in an expression to cause that array of data to be loaded / sent elsewhere / output.&amp;nbsp; And if you don&amp;#39;t understand the difference between all of these ways, it will probably seem confusing (like you think you&amp;#39;re not getting an &amp;quot;array output&amp;quot; somewhere when you actually are).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Array format</title><link>https://community.appian.com/thread/152401?ContentTypeID=1</link><pubDate>Wed, 12 Nov 2025 08:34:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3712c52b-8b6f-45f4-96ce-4799079f1f61</guid><dc:creator>Harsha Sharma</dc:creator><description>&lt;p&gt;In an expression you will see an extra &amp;quot; &amp;quot; at beginning and end but when passed into process model to a text type variable the value will be {&lt;span&gt;&amp;quot;test@test.com&amp;quot;,&amp;quot;test2@test.com&amp;quot;} without the quotes. So save the changes and then check at runtime you will not see any extra quotes.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Array format</title><link>https://community.appian.com/thread/152400?ContentTypeID=1</link><pubDate>Wed, 12 Nov 2025 08:28:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6bcd026c-3559-467a-afca-71956e9b882a</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;Replace your saveInto with:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!save(
ri!FormattedEmails,
local!formattedEmails
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;You already built local!formattedEmails correctly at the top.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Array format</title><link>https://community.appian.com/thread/152398?ContentTypeID=1</link><pubDate>Wed, 12 Nov 2025 08:10:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4218bb2f-5d08-4d60-b6de-a710100a29db</guid><dc:creator>ZAINAB</dc:creator><description>&lt;p&gt;&lt;a href="/members/harshas2775"&gt;Harsha Sharma&lt;/a&gt;&amp;nbsp;In process variable it is coming as&amp;nbsp;&amp;nbsp;&lt;span&gt;&lt;span class="CollapsibleOutputNode---print_value"&gt;&amp;quot;{&amp;quot;test@test.com&amp;quot;,&amp;quot;test2@test.com&amp;quot;}&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="CollapsibleOutputNode---print_value"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="CollapsibleOutputNode---print_value"&gt;I need to pass&amp;nbsp;{&amp;quot;test@test.com&amp;quot;,&amp;quot;test2@test.com&amp;quot;} this value as input to an expressionrule because of extra &amp;quot; &amp;quot; at begin &amp;amp; end it is not returnign the values.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Array format</title><link>https://community.appian.com/thread/152394?ContentTypeID=1</link><pubDate>Wed, 12 Nov 2025 07:46:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:38e76550-f288-49fc-9938-da62448a8677</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Do you want this in JSON format? If yes, use toJson() to transform the list in your local!individualEmails in line 150.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Array format</title><link>https://community.appian.com/thread/152393?ContentTypeID=1</link><pubDate>Wed, 12 Nov 2025 07:39:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8ee61d0c-cad2-4a80-a1cf-39ff9d13a6f2</guid><dc:creator>Harsha Sharma</dc:creator><description>&lt;p&gt;Replace the code of a!save() in line 150 as below and see if it suits what you are expecting.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!save(ri!FormattedEmails,
 concat(&amp;quot;{&amp;quot;,joinarray(
      a!forEach(
        items: local!individualEmails,
        expression: char(34) &amp;amp; fv!item &amp;amp; char(34)
      ),
      &amp;quot;,&amp;quot;
    ),&amp;quot;}&amp;quot;))&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>