<?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>Create comma delimited flat file from process variables</title><link>https://community.appian.com/discussions/f/general/5734/create-comma-delimited-flat-file-from-process-variables</link><description>Is there an easy way to create a comma delimited flat file from data stored in process variables (not from a database table)? thanks 
 OriginalPostID-163952 
 OriginalPostID-163952</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Create comma delimited flat file from process variables</title><link>https://community.appian.com/thread/21811?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2015 11:44:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:05ab39c4-8ad3-4d2a-9663-76c1de70bff3</guid><dc:creator>harshav</dc:creator><description>Hi Brandon, The same has been implemented in our Project where we exported all the data into a flat file for which we have framed the array using joinarray function as Eduardo suggested please use it like this, here is the same thing &lt;br /&gt;&lt;br /&gt;joinarray(local!array, char(13)&amp;amp;char(10))&lt;br /&gt;&lt;br /&gt;the char(10) will give you the data for the next line,Hope this Helps!!!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Create comma delimited flat file from process variables</title><link>https://community.appian.com/thread/21807?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2015 05:34:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a4d156b4-610c-4c15-8d0a-a351edb371a8</guid><dc:creator>Eduardo Fuentes</dc:creator><description>That would be char(13) I believe.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Create comma delimited flat file from process variables</title><link>https://community.appian.com/thread/21806?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2015 05:27:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ce0b0d07-89db-47d5-bfa3-52904ce877e6</guid><dc:creator>Brandon</dc:creator><description>thank you - base don what I have read, using the joinarray with carriage return should give me what I need.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Create comma delimited flat file from process variables</title><link>https://community.appian.com/thread/21804?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2015 05:23:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:de39114a-b369-4e44-9666-fe421688badb</guid><dc:creator>Eduardo Fuentes</dc:creator><description>Some useful links:&lt;br /&gt;&lt;br /&gt;&lt;a href="https://forum.appian.com/suite/help/7.10/Text_Doc_From_Template_Smart_Service"&gt;forum.appian.com/.../Text_Doc_From_Template_Smart_Service&lt;/a&gt;&lt;br /&gt;.html&lt;br /&gt;&lt;a href="https://forum.appian.com/suite/help/7.10/Array_Functions.html#joinarray.28.29"&gt;forum.appian.com/.../Array_Functions.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The first one allows you to create the text file while the second one will allow you to merge multiple values inside a PV given a &amp;quot;join&amp;quot; character.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>