<?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>Terminate process model after n- minutes</title><link>https://community.appian.com/discussions/f/new-to-appian/40336/terminate-process-model-after-n--minutes</link><description>Hi Team, 
 We have a scenario where Process Model 1 calls Sub‑Process Model 2 in synchronous mode. Sub‑Process Model 2 contains Process 2.1 and Process 2.2. Normally, these complete within expected time, but if Process Model 2 runs longer than 15 minutes</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Terminate process model after n- minutes</title><link>https://community.appian.com/thread/154282?ContentTypeID=1</link><pubDate>Wed, 15 Apr 2026 11:55:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:98829e3e-9749-4ce2-a71a-24cd5275c41f</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="284530" url="~/discussions/f/new-to-appian/40336/terminate-process-model-after-n--minutes/154278"]This will help clarify how the sub‑process is managed when execution exceeds the defined threshold[/quote]
&lt;p&gt;The parent process terminates so the subprocesses are ended.&amp;nbsp; If you need anything more detailed than that to happen, then the timers will need to be handled within the child processes will need to take specific action (with their own timer nodes) -- however, you&amp;#39;re asking me to fill in details here when you didn&amp;#39;t provide the specific requirements.&amp;nbsp; What I&amp;#39;ve provided above therefore is the simplest normal execution, where the parent process timer simply causes any/all subprocesses to halt when the timer expires.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Terminate process model after n- minutes</title><link>https://community.appian.com/thread/154281?ContentTypeID=1</link><pubDate>Wed, 15 Apr 2026 11:07:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d43a256d-0458-493d-891e-79c1b1bb2bdd</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;Add a Timer node for 15 minutes in the child process, then use a gateway so either the work finishes or the timer fires. If the timer wins, terminate the child and return a timeout status to the parent.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Terminate process model after n- minutes</title><link>https://community.appian.com/thread/154278?ContentTypeID=1</link><pubDate>Wed, 15 Apr 2026 10:49:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:95ec9e68-9a10-4d27-8e20-027e149aa578</guid><dc:creator>purvajadurga-hzn</dc:creator><description>&lt;p&gt;&lt;a href="/members/mikes0011"&gt;Mike Schmitt&lt;/a&gt; &lt;!--StartFragment --&gt;&lt;/p&gt;
&lt;p&gt;Could you share the &lt;strong&gt;variables or parameters&lt;/strong&gt; configured for the second flow? Specifically, I&amp;rsquo;d like to understand how you set up the &lt;strong&gt;timer&lt;/strong&gt;, the &lt;strong&gt;error handling value&lt;/strong&gt;, and the &lt;strong&gt;terminate node&lt;/strong&gt; logic. This will help clarify how the sub‑process is managed when execution exceeds the defined threshold.&lt;/p&gt;
&lt;p&gt;&lt;!--EndFragment --&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Terminate process model after n- minutes</title><link>https://community.appian.com/thread/154277?ContentTypeID=1</link><pubDate>Wed, 15 Apr 2026 10:42:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c5824878-487f-45f5-8f6a-825c8e503549</guid><dc:creator>purvajadurga-hzn</dc:creator><description>&lt;p&gt;&lt;a href="/members/shubhama926776"&gt;Shubham Aware&lt;/a&gt;&amp;nbsp;Could you elaborate on timer-based timeout path?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Terminate process model after n- minutes</title><link>https://community.appian.com/thread/154270?ContentTypeID=1</link><pubDate>Wed, 15 Apr 2026 07:10:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:771d70a9-c8f8-459d-a7f5-37a69e253a66</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;Use a timer-based timeout path or, preferably, redesign the child as an asynchronous process; avoid keeping the parent waiting synchronously beyond 15 minutes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Terminate process model after n- minutes</title><link>https://community.appian.com/thread/154263?ContentTypeID=1</link><pubDate>Tue, 14 Apr 2026 16:41:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b80605ed-f1c0-4f1d-bf49-928d46116e9a</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="284530" url="~/discussions/f/new-to-appian/40336/terminate-process-model-after-n--minutes/154260"]Should this be handled with an &lt;strong&gt;“OR” condition&lt;/strong&gt;[/quote]
&lt;p&gt;no.&amp;nbsp; the AND gateway is intentional here.&lt;/p&gt;
[quote userid="284530" url="~/discussions/f/new-to-appian/40336/terminate-process-model-after-n--minutes/154260"]how should we design the logic so that the system doesn’t remain blocked?[/quote]
&lt;p&gt;That&amp;#39;s what the above diagram does.&amp;nbsp; When the timer expires (whether or not the subprocesses are complete), the &amp;quot;subprocess 2&amp;quot; completes with a Terminate node and the parent (&amp;quot;Process Model 1&amp;quot;) proceeds.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Terminate process model after n- minutes</title><link>https://community.appian.com/thread/154260?ContentTypeID=1</link><pubDate>Tue, 14 Apr 2026 16:27:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f0711fdb-c2f8-4741-950d-929a94bc394e</guid><dc:creator>purvajadurga-hzn</dc:creator><description>&lt;p&gt;&lt;!--StartFragment --&gt;&lt;/p&gt;
&lt;p&gt;Should this be handled with an &lt;strong&gt;&amp;ldquo;OR&amp;rdquo; condition&lt;/strong&gt; in the process flow?&lt;/p&gt;
&lt;p&gt;For example, if the sub‑process runs longer than 15 minutes and gets stuck, while the first flow is still waiting to complete, how should we design the logic so that the system doesn&amp;rsquo;t remain blocked?&lt;/p&gt;
&lt;p&gt;&lt;!--EndFragment --&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Terminate process model after n- minutes</title><link>https://community.appian.com/thread/154259?ContentTypeID=1</link><pubDate>Tue, 14 Apr 2026 15:10:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e03e8fe3-8b29-492f-83b5-b64afb0ebd4b</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;In the &amp;quot;handler&amp;quot; subprocess (&amp;quot;Model 2&amp;quot; in your example from what I can tell), one of the easiest ways to do this will be to use an AND gateway to create a parallel secondary flow that rests on a timeout timer, and if that timer expires prior to the two (2.1 and 2.2) subprocesses completing normally, set an error condition and terminate, in which case the parent process can observe the value of the passed-back error variable (can just be text containing your error message, etc) and take action based on that.&lt;/p&gt;
&lt;p&gt;e.g.&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/62/pastedimage1776179534820v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>