<?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>Help Looping a Process Model</title><link>https://community.appian.com/discussions/f/process/9900/help-looping-a-process-model</link><description>Thanks for all the help I received last time I posted here. I was able to complete an export to excel from CDT. Now I would like to write a loop around the export process which will reference an array of unique ids to form the foundation for the data</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Help Looping a Process Model</title><link>https://community.appian.com/thread/69147?ContentTypeID=1</link><pubDate>Sun, 01 Sep 2019 01:20:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:22b5b9b9-1d8d-4691-99b6-05a11b0d7b7a</guid><dc:creator>karthip0001</dc:creator><description>&lt;p&gt;Hi Benh... so which one worked, using synchronoulsy or asynchronously (what a spelling for this word!) ? &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help Looping a Process Model</title><link>https://community.appian.com/thread/43703?ContentTypeID=1</link><pubDate>Thu, 02 Mar 2017 17:18:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:387201a3-e2c0-491a-9ef3-6153eaadc312</guid><dc:creator>benh3891</dc:creator><description>Thank for the help! It started working just a few minutes ago! The problem I encountered was using Synchronously vs ASynchronously  in the sub-process node. Thanks again.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help Looping a Process Model</title><link>https://community.appian.com/thread/43702?ContentTypeID=1</link><pubDate>Thu, 02 Mar 2017 17:15:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2162f928-8200-4aab-b98e-ecfac138124a</guid><dc:creator>Dan Lluhi</dc:creator><description>No problem! You can use either a start form, or chain to a user input task. From the documentation:&lt;br /&gt;&lt;br /&gt;&amp;quot;Generally speaking, process models that require a user interaction first should be configured with a process start form. Activity-chained tasks are useful when something needs to happen between kicking off the process and the user seeing the form.&amp;quot;&lt;br /&gt;&lt;br /&gt;So in your case it really depends on if anything needs to happen before the user selects the array of IDs. &lt;br /&gt;&lt;br /&gt;Here&amp;#39;s the link to the Process Start Form documentation, which also explains how to save user inputs: &lt;a href="https://docs.appian.com/suite/help/17.1/Process_Start_Form.html"&gt;docs.appian.com/.../Process_Start_Form.html&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help Looping a Process Model</title><link>https://community.appian.com/thread/43701?ContentTypeID=1</link><pubDate>Thu, 02 Mar 2017 17:12:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1fb286a7-a345-439c-8405-5b04d68858fe</guid><dc:creator>benh3891</dc:creator><description>Thank you. I think this is exactly what I&amp;#39;m looking for. &lt;br /&gt;&lt;br /&gt;I was using the rf!Variable from the record to pass in my table ID to the process model, and now I need to use a sail form to pass in a user selected array of IDs. Should this be done as a start form or as a user input task node? I&amp;#39;m trying to do this as the start form but I I&amp;#39;m not sure how to pass the ri!Array that im saving in the form to the pv!Array.&lt;br /&gt;&lt;br /&gt;Thanks for the help&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help Looping a Process Model</title><link>https://community.appian.com/thread/43697?ContentTypeID=1</link><pubDate>Thu, 02 Mar 2017 14:25:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2064ed45-fcee-4796-aa49-6b0c041e0772</guid><dc:creator>Dan Lluhi</dc:creator><description>Hi Ben,&lt;br /&gt;&lt;br /&gt;Could you encapsulate the nodes from &amp;quot;Fetch data&amp;quot; to &amp;quot;Send E-Mail&amp;quot; in a sub-process that has a parameter for a single ID? That way your process could use MNI to call that same process, once for each ID in your list of IDs.  Here&amp;#39;s more on MNI: &lt;a href="https://docs.appian.com/suite/help/17.1/Multiple_Node_Instances.html"&gt;docs.appian.com/.../Multiple_Node_Instances.html&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help Looping a Process Model</title><link>https://community.appian.com/thread/43696?ContentTypeID=1</link><pubDate>Thu, 02 Mar 2017 14:24:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c5b526e5-97b9-4f7e-98dc-dac539197ec4</guid><dc:creator>benh3891</dc:creator><description>Thanks for the insight. I think I would like to stick with the CDT process because the excel template that I&amp;#39;m populating is complex and requires several aggregations. It&amp;#39;s working well so I was hoping to reuse that work by looping through it. Right now the process model its taking a table id, populating a multi-sheet excel template, and then exporting the file via email. My plan, for now, would be to loop that process so that multiple emails would be sent by indexing an array of IDs.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help Looping a Process Model</title><link>https://community.appian.com/thread/43693?ContentTypeID=1</link><pubDate>Thu, 02 Mar 2017 13:54:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8ca20e66-d468-4c8f-844b-170cd105455c</guid><dc:creator>Raj Yadla</dc:creator><description>Hi Ben , you can try ExportToExcelFromSQL if you have all your data in the DB , so can pass the multiple IDs at the same time and populating the excel instead of looping all the nodes.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>