<?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>Active sub-process in a process model</title><link>https://community.appian.com/discussions/f/process/13227/active-sub-process-in-a-process-model</link><description>Hi, 
 
 Is there any variable or functionality of process models that will allow me to know if any of its sub-processes are active? 
 
 
 TIA!</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Active sub-process in a process model</title><link>https://community.appian.com/thread/61150?ContentTypeID=1</link><pubDate>Thu, 04 Oct 2018 14:11:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:aa88c957-582e-48da-9daa-453252ec489a</guid><dc:creator>laurenc20</dc:creator><description>You can look at the list of processes and open the parent then click on sub-processes and you should be able to see what else is running.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Active sub-process in a process model</title><link>https://community.appian.com/thread/59749?ContentTypeID=1</link><pubDate>Wed, 29 Aug 2018 21:34:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:55790244-21a1-41e0-95cb-17ede4eaa186</guid><dc:creator>Mauricio G.</dc:creator><description>&lt;p&gt;You can also use the getactivetaskidsforprocess() function to obtain the active processes of a parent. It&amp;#39;s easy to use.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://forum.appian.com/suite/tempo/records/item/lIBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUhe1E6XnF-q8L5popjLxeo-B_X1DFA-B8/view/summary"&gt;forum.appian.com/.../summary&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Or you can use getprocesstaskid():&lt;/p&gt;
&lt;p&gt;&lt;a href="https://forum.appian.com/suite/tempo/records/item/lMBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUhu2uLnMhlY8L-xlAVXJKd704jFVzQ6YF6w/view/summary"&gt;forum.appian.com/.../summary&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Active sub-process in a process model</title><link>https://community.appian.com/thread/59734?ContentTypeID=1</link><pubDate>Wed, 29 Aug 2018 15:28:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:90fbc508-5c03-4274-8c7f-a83132c899a8</guid><dc:creator>bhaveshc</dc:creator><description>You can look into process monitoring view to identify this&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Active sub-process in a process model</title><link>https://community.appian.com/thread/59732?ContentTypeID=1</link><pubDate>Wed, 29 Aug 2018 15:16:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0336e215-1019-4abc-b591-9ef1fee1419c</guid><dc:creator>madhanka</dc:creator><description>&lt;p&gt;There is a process metric function &amp;quot;sub_process_ids()&amp;quot; which would give all the sub process ids for a process (This is available when you try to create a process report). You can then try to find out if these process ids are active or completed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Active sub-process in a process model</title><link>https://community.appian.com/thread/59714?ContentTypeID=1</link><pubDate>Wed, 29 Aug 2018 09:16:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:64dbca23-eb88-4374-a1cf-b6b3496357db</guid><dc:creator>Abhay Giri</dc:creator><description>Hi Apoorva,&lt;br /&gt;
&lt;br /&gt;
There are multiple ways but it depends on where you want to see.&lt;br /&gt;
&lt;br /&gt;
1-&amp;gt; if all sub process are synchronous and any sub process is active in that case you main process will also be active.&lt;br /&gt;
2-&amp;gt; you can create a number of variable as many number of sub process have in your main process , set true all variable before starting of each sub process like variable sub1 for sub process 1 and so on , once you sub process complete then set false to these variables.&lt;br /&gt;
3-&amp;gt; Create a table to track all this activity by storing variables values.&lt;br /&gt;
&lt;br /&gt;
regards&lt;br /&gt;
Abhay Giri&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Active sub-process in a process model</title><link>https://community.appian.com/thread/59709?ContentTypeID=1</link><pubDate>Wed, 29 Aug 2018 08:54:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9fddbeda-bbbc-48ed-839c-f06ff1e82291</guid><dc:creator>mayurm168</dc:creator><description>Hi,&lt;br /&gt;
&lt;br /&gt;
One way to get to know if a process is having any child active or not is to monitor it in designer.&lt;br /&gt;
&lt;br /&gt;
Other way is a bit tricky way.&lt;br /&gt;
Create a variable in process named isChildActive.&lt;br /&gt;
In process model set it as false at the end of process.&lt;br /&gt;
Based on your child being synchronous or asynchronous you need to manipulate the variable.&lt;br /&gt;
&lt;br /&gt;
Hope this helps!&lt;br /&gt;
Mayur Mondhe&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Active sub-process in a process model</title><link>https://community.appian.com/thread/59708?ContentTypeID=1</link><pubDate>Wed, 29 Aug 2018 08:50:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e39a7e2b-721b-4e8f-a752-4051f7d7e65b</guid><dc:creator>ravalik</dc:creator><description>&lt;p&gt;Hi apporvam,&lt;br /&gt; &lt;br /&gt; Please have a look on below link:&lt;br /&gt; &lt;a href="https://docs.appian.com/suite/help/17.1/Managing_Process_Archives.html#-archiving"&gt;docs.appian.com/.../Managing_Process_Archives.html&lt;/a&gt;&lt;br /&gt; Thanks,&lt;br /&gt; ravalik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>