<?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>Process, sub-process</title><link>https://community.appian.com/discussions/f/process/26588/process-sub-process</link><description>Hi, 
 I have a dictionary and I am passing the same into a sub-process and it is running n-number of times based on the count (n) of items in the dictionary. 
 Now, in the sub-process I need to pass each item to a rule and get the data. 
 How can I get</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Process, sub-process</title><link>https://community.appian.com/thread/104613?ContentTypeID=1</link><pubDate>Tue, 22 Nov 2022 20:43:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f170243e-19aa-4ebc-9c28-e47c3ff915eb</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I hope you do not need to delete many documents. While this solution works, it scales very badly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process, sub-process</title><link>https://community.appian.com/thread/104611?ContentTypeID=1</link><pubDate>Tue, 22 Nov 2022 20:05:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c60c51a8-5356-4854-adfa-66b4adf934e1</guid><dc:creator>swapnar6405</dc:creator><description>&lt;p&gt;Great help. Thanks for helping with example.&lt;/p&gt;
&lt;p&gt;Appreciated your hehp.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process, sub-process</title><link>https://community.appian.com/thread/104445?ContentTypeID=1</link><pubDate>Fri, 18 Nov 2022 11:59:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4947c020-9674-4e8c-97f3-92898c971444</guid><dc:creator>harshjan</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;swapnar6405,&lt;/p&gt;
&lt;p&gt;what i understood by your statement that want to apply loop on a sub-process based on length of some process variable. You can refer the given example for this.&lt;br /&gt;use case - i want to copy the images in the folder.&lt;/p&gt;
&lt;p&gt;Node (length of document)&amp;mdash;find the number of items in the pv.&lt;br /&gt;node (copy document)&amp;mdash;now copy the document in the folder by index you have got from the first node.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;also decrement the index by 1 in the output of the 2nd node (copy document)&lt;/p&gt;
&lt;p&gt;XOR - now check if the index is zero the end the process else continue.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/14/pastedimage1668772380654v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;length of document node-&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/14/pastedimage1668772737006v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;copy document node&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/14/pastedimage1668772771274v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;xor node&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/14/pastedimage1668772804107v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Hope it will help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process, sub-process</title><link>https://community.appian.com/thread/104426?ContentTypeID=1</link><pubDate>Fri, 18 Nov 2022 07:15:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e185cae3-ff34-41fe-82f7-5600a5c9ef1e</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/22.4/looping.html#multi-node-instances"&gt;docs.appian.com/.../looping.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process, sub-process</title><link>https://community.appian.com/thread/104410?ContentTypeID=1</link><pubDate>Fri, 18 Nov 2022 01:55:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:57eb5c91-5550-4e54-bb35-0d2130142c97</guid><dc:creator>swapnar6405</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have a process model along with a sub-process.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/14/pastedimage1668736039348v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;In the above defined main process model, I have a script task called &amp;quot;List of Submitters&amp;quot;.&lt;/p&gt;
&lt;p&gt;My script task is loading 3 different values in a variable called &amp;quot;listOfSubmitters&amp;quot;.&lt;/p&gt;
&lt;p&gt;Now, when I need to pass each individual value to the sub-process.&lt;/p&gt;
&lt;p&gt;How can I get individual values of the variable &amp;quot;&lt;span&gt;listOfSubmitters&amp;quot;&amp;nbsp;&lt;/span&gt;in the sub-process?&lt;/p&gt;
&lt;p&gt;I am not getting where and how to use&amp;nbsp;&lt;span&gt;tp!instanceIndex.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/14/pastedimage1668736233012v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process, sub-process</title><link>https://community.appian.com/thread/104390?ContentTypeID=1</link><pubDate>Thu, 17 Nov 2022 17:41:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c115da03-37ed-4256-8457-c0fd912c0ca4</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;You can use tp!instanceIndex to pass individual items to your sub process.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>