<?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>How to check if a Process Instance is running and take action upon it</title><link>https://community.appian.com/discussions/f/process/13462/how-to-check-if-a-process-instance-is-running-and-take-action-upon-it</link><description>Hi All, 
 I have an Asynchronous Process Model, Which is starting from an interface Button Action. 
 I need to check if an instance of the process is running already, based on that and some other values, take decision whether to trigger another instance</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to check if a Process Instance is running and take action upon it</title><link>https://community.appian.com/thread/60999?ContentTypeID=1</link><pubDate>Tue, 02 Oct 2018 16:41:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0deb6c02-41a3-4d4f-9183-9bae7f9fd9eb</guid><dc:creator>ejass</dc:creator><description>Thanks &lt;a href="/members/seanw583"&gt;seanw583&lt;/a&gt; .. I think this approach s fine&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to check if a Process Instance is running and take action upon it</title><link>https://community.appian.com/thread/60997?ContentTypeID=1</link><pubDate>Tue, 02 Oct 2018 16:19:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f31313a6-e500-4d64-827e-af2273640687</guid><dc:creator>seanw583</dc:creator><description>I think the exact approach would depend on your use case. You could implement a queue manager process, where all new instances would write to a database table (the queue) and the manager process would initiate new instances one at a time off the queue. &lt;br /&gt;
Alternatively, a simple loop with a timer node can periodically re-check for running instances, and proceed with the new instance once there aren&amp;#39;t any others running.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to check if a Process Instance is running and take action upon it</title><link>https://community.appian.com/thread/60993?ContentTypeID=1</link><pubDate>Tue, 02 Oct 2018 16:10:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3225a73d-5a72-4f29-93a2-2ae8a6189762</guid><dc:creator>ejass</dc:creator><description>Can we Queue the triggered Processes if the Instance are running&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to check if a Process Instance is running and take action upon it</title><link>https://community.appian.com/thread/60992?ContentTypeID=1</link><pubDate>Tue, 02 Oct 2018 16:10:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1c41636d-21a2-4725-bea7-40fccc585ad1</guid><dc:creator>ejass</dc:creator><description>Can we Queue the triggered Processes if the Instance are running&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to check if a Process Instance is running and take action upon it</title><link>https://community.appian.com/thread/60990?ContentTypeID=1</link><pubDate>Tue, 02 Oct 2018 15:49:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6b685b05-5e93-44da-a289-9d932e67aa63</guid><dc:creator>seanw583</dc:creator><description>I believe this can be handled via a process report, along with the queryProcessAnalytics function(&lt;a href="https://docs.appian.com/suite/help/18.3/fnc_system_a_queryprocessanalytics.html)"&gt;docs.appian.com/.../fnc_system_a_queryprocessanalytics.html)&lt;/a&gt;. I recommend you include the process instance Id as part of your query criteria, as I have seen this type of implementation find the new instance when checking for existing instances.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>