<?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>Transferring data from a process model back to a calling interface</title><link>https://community.appian.com/discussions/f/user-interface/24849/transferring-data-from-a-process-model-back-to-a-calling-interface</link><description>Hi all, 
 I have an interface with a button that calls a process model like this: a!buttonWidget( label: &amp;quot;Import from CSV&amp;quot;, icon: &amp;quot;commenting-o&amp;quot;, style: &amp;quot;NORMAL&amp;quot;, saveInto: { a!startProcess( processModel: cons!MY_PROCESS_MODEL, processParameters: {},</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Transferring data from a process model back to a calling interface</title><link>https://community.appian.com/thread/96153?ContentTypeID=1</link><pubDate>Thu, 09 Jun 2022 04:12:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0a7217f1-1acb-4818-8a68-d6b45c8af5d7</guid><dc:creator>Manish_Kumar</dc:creator><description>&lt;p&gt;Hi David,&lt;/p&gt;
&lt;p&gt;a!startProcess will start the process in async and you will not have any access to CSV data. I can think of 2 options here.&lt;/p&gt;
&lt;p&gt;1. Show the first interface to upload and submit teh CSV, Once submitted call the smart service in your process model, do your operation on the csv store it in pv and show the user the next interface will all other details . The user will feel like the same page, only the complete page will refresh.&lt;/p&gt;
&lt;p&gt;2. As you were doing call the a!start process store value in table and refresh the grid with the data . You have to take care of data cleaning from the db and also if the size of csv is huge then , refreshing the grid&amp;nbsp; may not work&amp;nbsp; as expected.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Manish&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>