<?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>End Node Vs terminate Node</title><link>https://community.appian.com/discussions/f/process/25781/end-node-vs-terminate-node</link><description>What is the main difference between end node and terminate node from process/architect perspective like archive, data management/ engine? 
 PS: we all know the implementation that if terminate node execute then it will close any in progress node in a</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: End Node Vs terminate Node</title><link>https://community.appian.com/thread/135206?ContentTypeID=1</link><pubDate>Sun, 12 May 2024 15:52:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ef3b1405-904f-45e4-a0c7-bd2de4066e30</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I can&amp;#39;t really tell out of my head, how a terminate end event impacts failed node instances and whether a parent process would proceed.&lt;/p&gt;
&lt;p&gt;I suggest to do a quick test.&lt;/p&gt;
&lt;p&gt;But, the main purpose of terminating end events is not to just skip filed nodes, but to cancel any left over timer events or scheduled nodes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: End Node Vs terminate Node</title><link>https://community.appian.com/thread/135199?ContentTypeID=1</link><pubDate>Sun, 12 May 2024 15:06:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a98080ff-0f17-4d5e-b312-3c44f0b0c779</guid><dc:creator>Vasudeva</dc:creator><description>&lt;p&gt;The question asked by &lt;a href="/members/dhananjayk3480"&gt;Dhananjay Kumar&lt;/a&gt;&amp;nbsp; was, if a sub process having an end event fails, the parent process is not proceeding further even the sub process is corrected and rerun.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So you have suggested to have terminate event instead of end event in the sub process, this way the parent process will resume.&lt;/p&gt;
&lt;p&gt;This implies that the parent process will proceed further only if the sub process ends with terminate event.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;&amp;nbsp;Is my assumption correct ??&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: End Node Vs terminate Node</title><link>https://community.appian.com/thread/135197?ContentTypeID=1</link><pubDate>Sun, 12 May 2024 14:04:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ba5d5107-cd09-44ea-8328-03316ca88a99</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I do not understand why the parent process should not proceed if the child process completes ?!?!&lt;/p&gt;
&lt;p&gt;What exactly is your question?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: End Node Vs terminate Node</title><link>https://community.appian.com/thread/135195?ContentTypeID=1</link><pubDate>Sun, 12 May 2024 12:52:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:aa9917b5-8b45-4e42-abd3-ecbaf5885bd8</guid><dc:creator>Vasudeva</dc:creator><description>[quote userid="274702" url="~/discussions/f/process/25781/end-node-vs-terminate-node/100726"]&amp;quot;ends&amp;quot; is defined by: &amp;quot;There are no active nodes anymore&amp;quot;.[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Dear Stefan, if this is the case, then the parent process should never proceed further (even if there is no error in child process / happy path ) if the child process has end event instead of terminate end. But in this case the parent process with fail to proceed only when there is an error in child process.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please suggest.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: End Node Vs terminate Node</title><link>https://community.appian.com/thread/104557?ContentTypeID=1</link><pubDate>Tue, 22 Nov 2022 07:12:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6c0885bb-1275-4132-ac2d-95694e0e770f</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I think the safest way would be to modify that process instance and add a scheduled empty script task that then goes to a terminating end event. This way you can keep that process alive as long as you need it.&lt;/p&gt;
&lt;p&gt;What is the reason for this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: End Node Vs terminate Node</title><link>https://community.appian.com/thread/104552?ContentTypeID=1</link><pubDate>Tue, 22 Nov 2022 02:37:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5de31a52-5f72-4236-a195-7b35400790ba</guid><dc:creator>Yashaswini</dc:creator><description>&lt;p&gt;Hi Peter,&lt;/p&gt;
&lt;p&gt;Is there any way we can restart or re activate the terminated process? One of our process models is set as delete instances after 14 days of completion and the instance is completed with the terminated end node.&amp;nbsp;But now we want one of the instances not to get deleted. Is it achievable?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: End Node Vs terminate Node</title><link>https://community.appian.com/thread/100750?ContentTypeID=1</link><pubDate>Thu, 08 Sep 2022 13:00:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:519cdf13-65a6-40f0-a691-cc49e72bd2cc</guid><dc:creator>Dhananjay Kumar</dc:creator><description>&lt;p&gt;Thanks for detailed explanation&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: End Node Vs terminate Node</title><link>https://community.appian.com/thread/100749?ContentTypeID=1</link><pubDate>Thu, 08 Sep 2022 12:59:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7be4a68a-2a29-4de2-b600-bde83d4e8541</guid><dc:creator>Dhananjay Kumar</dc:creator><description>&lt;p&gt;Probably then it must or mandatory based on scenario.&lt;br /&gt;&lt;br /&gt;Thanks for the explanation &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: End Node Vs terminate Node</title><link>https://community.appian.com/thread/100748?ContentTypeID=1</link><pubDate>Thu, 08 Sep 2022 12:54:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ed683ffb-ac02-43d9-a1ac-3fc9f46936b0</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;There is no &amp;quot;must&amp;quot; and no &amp;quot;mandatory&amp;quot; here. You need to understand what it does, and then use it to fit your requirements.&lt;/p&gt;
&lt;p&gt;&lt;a href="/members/peter.lewis"&gt;Peter Lewis&lt;/a&gt; described it pretty well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: End Node Vs terminate Node</title><link>https://community.appian.com/thread/100743?ContentTypeID=1</link><pubDate>Thu, 08 Sep 2022 12:45:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6208c0f0-9af0-4947-bea9-1df849401dc7</guid><dc:creator>Dhananjay Kumar</dc:creator><description>&lt;p&gt;So conclusion is if we have this kind parent child sub-process scenario, we must give terminate node in child process else if a process is stand alone then it is not mandatory to have terminate node.&lt;br /&gt;&lt;br /&gt;Am I right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: End Node Vs terminate Node</title><link>https://community.appian.com/thread/100742?ContentTypeID=1</link><pubDate>Thu, 08 Sep 2022 12:40:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cb22c8a4-7dd8-430b-99a4-166c35255903</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Hm ... yes. The fine detail here is, that it is not about the process&amp;nbsp;behaving&amp;nbsp;differently, but all remaining active nodes are completed. And THAT makes the process complete and the parent progressing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: End Node Vs terminate Node</title><link>https://community.appian.com/thread/100741?ContentTypeID=1</link><pubDate>Thu, 08 Sep 2022 12:37:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ff6ea475-1579-406b-9a97-ea56bbe59c28</guid><dc:creator>Dhananjay Kumar</dc:creator><description>&lt;p&gt;so it means, end node does not actually mark a process end which terminate node does, right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: End Node Vs terminate Node</title><link>https://community.appian.com/thread/100726?ContentTypeID=1</link><pubDate>Thu, 08 Sep 2022 10:51:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1fdfcfe3-4392-408b-bafe-03d049a44a22</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;The parent process will progress as the child process ends. &amp;quot;ends&amp;quot; is defined by: &amp;quot;There are no active nodes anymore&amp;quot;. A terminating end event will take care of this and complete any active or failed node.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: End Node Vs terminate Node</title><link>https://community.appian.com/thread/100723?ContentTypeID=1</link><pubDate>Thu, 08 Sep 2022 10:36:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a12db9da-2138-4eec-9bf5-6f8ea35177e8</guid><dc:creator>Dhananjay Kumar</dc:creator><description>&lt;p&gt;So its just a best practice, there is no difference&lt;br /&gt;&lt;br /&gt;Here is&amp;nbsp; once scenario. I want understand&lt;br /&gt;&lt;br /&gt;There is a &lt;strong&gt;parent process A&lt;/strong&gt; that have a &lt;strong&gt;child process C&lt;/strong&gt; that have &lt;strong&gt;end node&lt;/strong&gt;&lt;br /&gt;- On Instance there is node error on child process and after fixing it and re running node and&amp;nbsp;&lt;span&gt;on child process completion&lt;/span&gt;&amp;nbsp;the &lt;strong&gt;parent process&lt;/strong&gt;&amp;nbsp;flow does not move ahead&lt;br /&gt;&lt;br /&gt;- But if child process C have &lt;strong&gt;terminate node&lt;/strong&gt; then on re running the errored node and on child process completion, the parent process flow moves ahead,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;WHY?????&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: End Node Vs terminate Node</title><link>https://community.appian.com/thread/100694?ContentTypeID=1</link><pubDate>Wed, 07 Sep 2022 22:13:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8d23da04-92de-47b8-83f0-95c4ef6e3fdf</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;Here&amp;#39;s an example of an abandonded process: suppose you have a process model that just contains a user input task and node that writes to the database. If you start that process but then never complete the task, then the process will never complete (and the data will remain in memory indefinitely).&lt;/p&gt;
&lt;p&gt;Now for this example in particular it won&amp;#39;t matter if you use a terminate or not, but suppose instead you had a similar process where you had two active tasks and if either of them finished it went to an end event. In this case it&amp;nbsp;&lt;em&gt;would&lt;/em&gt; make a difference whether it was a terminate or not, because when the first one finishes the process then ends.&lt;/p&gt;
&lt;p&gt;So that&amp;#39;s why I mentioned that it&amp;#39;s more of an indirect relationship, but it&amp;#39;s still good practice to use terminate end events to prevent these cases where there are multiple active flows.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: End Node Vs terminate Node</title><link>https://community.appian.com/thread/100691?ContentTypeID=1</link><pubDate>Wed, 07 Sep 2022 19:28:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:073b15c0-23e5-475e-b307-75441950d2d8</guid><dc:creator>Dhananjay Kumar</dc:creator><description>&lt;p&gt;Thanks for&amp;nbsp;the detailed info, what do you mean by unfinished process or abandoned process?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: End Node Vs terminate Node</title><link>https://community.appian.com/thread/100690?ContentTypeID=1</link><pubDate>Wed, 07 Sep 2022 19:25:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d1d5c173-b78b-4320-b824-0eb55e765c99</guid><dc:creator>Dhananjay Kumar</dc:creator><description>&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: End Node Vs terminate Node</title><link>https://community.appian.com/thread/100689?ContentTypeID=1</link><pubDate>Wed, 07 Sep 2022 18:56:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5e0955b4-b876-4bc6-b598-155fac634ce7</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="65120" url="~/discussions/f/process/25781/end-node-vs-terminate-node/100688#100688"]Then why it is recommended to have one terminate node on a process[/quote]
&lt;p&gt;Because of reasons that have &lt;em&gt;nothing specifically to do with &lt;strong&gt;data management&lt;/strong&gt;&lt;/em&gt; (which you initially asked about, and which Stefan mentioned specifically).&amp;nbsp; At least some of those reasons are enumerated in Peter&amp;#39;s subsequent reply, which I 100% agree with.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: End Node Vs terminate Node</title><link>https://community.appian.com/thread/100688?ContentTypeID=1</link><pubDate>Wed, 07 Sep 2022 18:35:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:49662dd2-7a00-4e25-9668-fedf4e616a3a</guid><dc:creator>Dhananjay Kumar</dc:creator><description>&lt;p&gt;Really?&lt;br /&gt;&lt;br /&gt;Then why it is recommended to have one terminate node on a process&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: End Node Vs terminate Node</title><link>https://community.appian.com/thread/100677?ContentTypeID=1</link><pubDate>Wed, 07 Sep 2022 17:13:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:76702100-c893-4b37-864b-9ff6aa98af49</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;The only difference is that processes that use terminate will usually end up finishing sooner (or at least are less likely to hang around unfinished), so it could have an indirect effect on your memory usage.&lt;/p&gt;
&lt;p&gt;In general I&amp;#39;d recommend using terminate nodes on most process models (unless you explicitly have a reason not to) just to make it less likely that you end up with a bunch of abandoned process models. Terminates are also easier for troubleshooting, because if you end up creating multiple active flows as part of starting / restarting nodes, then you don&amp;#39;t need to ensure that all of your active flows finish.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: End Node Vs terminate Node</title><link>https://community.appian.com/thread/100641?ContentTypeID=1</link><pubDate>Wed, 07 Sep 2022 13:03:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:52afc315-5102-4722-bc70-6e31d4ab7cd1</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;There is no difference in regards to data management.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>