<?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/"><channel><title>KB-1340 How to automate the restart of stuck nodes within a process model</title><link>https://community.appian.com/support/w/kb/511/kb-1340-how-to-automate-the-restart-of-stuck-nodes-within-a-process-model</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1340 How to automate the restart of stuck nodes within a process model</title><link>https://community.appian.com/support/w/kb/511/kb-1340-how-to-automate-the-restart-of-stuck-nodes-within-a-process-model</link><pubDate>Wed, 19 Aug 2020 17:50:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4e720e27-6ee9-48aa-9205-e5834b7ad331</guid><dc:creator>James Lee</dc:creator><comments>https://community.appian.com/support/w/kb/511/kb-1340-how-to-automate-the-restart-of-stuck-nodes-within-a-process-model#comments</comments><description>Current Revision posted to Appian Knowledge Base by James Lee on 8/19/2020 5:50:31 PM&lt;br /&gt;
&lt;h2&gt;Purpose&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;DISCLAIMER:&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;The application as well as the&amp;nbsp;AppMarket plug-ins provided in this article are provided as-is with no express guarantee of functionality by Appian Technical Support.&lt;/p&gt;
&lt;p&gt;Restarting process nodes when they fail is generally a manual process, with multiple process instances having failed process nodes that&amp;nbsp;need to be restarted individually. There is no out-of-the-box way to restart multiple failed process nodes at once, but it can be achieved using a custom solution.&lt;/p&gt;
&lt;p&gt;This article provides a high level example of how a custom solution could be developed using the following plug-ins available on the AppMarket:&lt;/p&gt;
&lt;ul class="alternate"&gt;
&lt;li&gt;&lt;a href="/b/appmarket/posts/process-by-node-status"&gt;Process By Node Status&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/b/appmarket/posts/process-management-services"&gt;Process Management Services&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Instructions&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Create a new process model.&lt;/li&gt;
&lt;li&gt;Add the &amp;quot;Process By Node Status&amp;quot; smart service.&lt;/li&gt;
&lt;li&gt;Open the smart service and enter the UUID of the process model that contains instances needing to be&amp;nbsp;analyzed (this smart service can be looped over to support multiple process models).&lt;/li&gt;
&lt;li&gt;Set the &amp;quot;status to search for&amp;quot; to 8 (Paused by Exception). This will search through the process model(s) from step 3) and return the process ids and node&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;UUIDs&amp;nbsp;&lt;/span&gt;for any nodes Paused by Exception.&lt;/li&gt;
&lt;li&gt;Add the &amp;quot;Restart All Nodes&amp;quot; smart service&lt;/li&gt;
&lt;li&gt;Pass in the node UUIDs and the process IDs obtained in step 4).&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;An application that demonstrates this is attached here:&amp;nbsp;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-11/8637.Restarting-Failed-Nodes-Example.zip"&gt;Restarting Failed Nodes Example.zip&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;August 2020&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: process models, how-to, application design&lt;/div&gt;
</description></item><item><title>KB-1340 How to automate the restart of stuck nodes within a process model</title><link>https://community.appian.com/support/w/kb/511/kb-1340-how-to-automate-the-restart-of-stuck-nodes-within-a-process-model/revision/7</link><pubDate>Mon, 01 May 2017 15:12:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4e720e27-6ee9-48aa-9205-e5834b7ad331</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/511/kb-1340-how-to-automate-the-restart-of-stuck-nodes-within-a-process-model#comments</comments><description>Revision 7 posted to Appian Knowledge Base by Nick Vigilante on 5/1/2017 3:12:39 PM&lt;br /&gt;
&lt;p&gt;&lt;strong&gt;DISCLAIMER:&lt;/strong&gt; The application provided in this article as well as the shared components are provided as-is with no express guarantee of functionality by Appian Technical Support.&lt;/p&gt;
&lt;p&gt;In order to make the restart of failed nodes more automatic you can combine two shared components on Appian Forum:&lt;/p&gt;
&lt;ul class="alternate"&gt;
&lt;li&gt;&lt;a href="https://forum.appian.com/suite/tempo/records/type/components/item/i8BWsQdLlzKy55h8z8zJ0sPqpDWFrba_bxdYpEUuDKAZVIjBtgGBj_c3Fh76D6HFA/view/summary" target="_blank"&gt;Get Process By Node Status&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://forum.appian.com/suite/tempo/records/item/lIBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUjepE6dGk75DUwf-MkSsbwuya1TTzzij2/view/summary" target="_blank"&gt;Process Management Services&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Here&amp;#39;s how you can combine them:&lt;/p&gt;
&lt;p&gt;1. The Get Processes By Node Status smart service&amp;nbsp;takes the UUID of the process model whose instances you wish to analyze&amp;nbsp;(you can run this through a loop to support multiple models). With this smart service, you can search for nodes in status 8 (Paused by Exception) within instances of model with UUID X.&lt;/p&gt;
&lt;p&gt;This node will return the process ids and the node uuids.&lt;/p&gt;
&lt;p&gt;2. You can now use the Restart All Nodes smart service part of the Process Management Services shared component&amp;nbsp;to restart those nodes simply passing the node UUIDs and the process IDs obtained in step #1.&lt;/p&gt;
&lt;p&gt;An application that demonstrates this is attached here:&amp;nbsp;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-11/Restarting-Failed-Nodes-Example.zip"&gt;Restarting Failed Nodes Example.zip&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: May 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration, process models, application design&lt;/div&gt;
</description></item><item><title>KB-1340 How to automate the restart of stuck nodes within a process model</title><link>https://community.appian.com/support/w/kb/511/kb-1340-how-to-automate-the-restart-of-stuck-nodes-within-a-process-model/revision/6</link><pubDate>Mon, 01 May 2017 11:12:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4e720e27-6ee9-48aa-9205-e5834b7ad331</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/511/kb-1340-how-to-automate-the-restart-of-stuck-nodes-within-a-process-model#comments</comments><description>Revision 6 posted to Appian Knowledge Base by Nick Vigilante on 5/1/2017 11:12:39 AM&lt;br /&gt;
&lt;p&gt;&lt;strong&gt;DISCLAIMER:&lt;/strong&gt; The application provided in this article as well as the shared components are provided as-is with no express guarantee of functionality by Appian Technical Support.&lt;/p&gt;
&lt;p&gt;In order to make the restart of failed nodes more automatic you can combine two shared components on Appian Forum:&lt;/p&gt;
&lt;ul class="alternate"&gt;
&lt;li&gt;&lt;a href="https://forum.appian.com/suite/tempo/records/type/components/item/i8BWsQdLlzKy55h8z8zJ0sPqpDWFrba_bxdYpEUuDKAZVIjBtgGBj_c3Fh76D6HFA/view/summary" target="_blank"&gt;Get Process By Node Status&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://forum.appian.com/suite/tempo/records/item/lIBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUjepE6dGk75DUwf-MkSsbwuya1TTzzij2/view/summary" target="_blank"&gt;Process Management Services&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Here&amp;#39;s how you can combine them:&lt;/p&gt;
&lt;p&gt;1. The Get Processes By Node Status smart service&amp;nbsp;takes the UUID of the process model whose instances you wish to analyze&amp;nbsp;(you can run this through a loop to support multiple models). With this smart service, you can search for nodes in status 8 (Paused by Exception) within instances of model with UUID X.&lt;/p&gt;
&lt;p&gt;This node will return the process ids and the node uuids.&lt;/p&gt;
&lt;p&gt;2. You can now use the Restart All Nodes smart service part of the Process Management Services shared component&amp;nbsp;to restart those nodes simply passing the node UUIDs and the process IDs obtained in step #1.&lt;/p&gt;
&lt;p&gt;An application that demonstrates this is attached here:&amp;nbsp;&lt;a href="https://community.appian.com/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-13/Restarting-Failed-Nodes-Example.zip"&gt;community.appian.com/.../Restarting-Failed-Nodes-Example.zip&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: May 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration, process models, application design&lt;/div&gt;
</description></item><item><title>DRAFT: How to automate the restart of stuck nodes within a process model</title><link>https://community.appian.com/support/w/kb/511/kb-1340-how-to-automate-the-restart-of-stuck-nodes-within-a-process-model/revision/5</link><pubDate>Fri, 17 Mar 2017 10:45:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4e720e27-6ee9-48aa-9205-e5834b7ad331</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/511/kb-1340-how-to-automate-the-restart-of-stuck-nodes-within-a-process-model#comments</comments><description>Revision 5 posted to Appian Knowledge Base by Nick Vigilante on 3/17/2017 10:45:55 AM&lt;br /&gt;
&lt;p&gt;&lt;strong&gt;DISCLAIMER:&lt;/strong&gt; The application provided in this article as well as the shared components are provided as-is with no express guarantee of functionality by Appian Technical Support.&lt;/p&gt;
&lt;p&gt;In order to make the restart of failed nodes more automatic you can combine two shared components on Appian Forum:&lt;/p&gt;
&lt;ul class="alternate"&gt;
&lt;li&gt;&lt;a href="https://forum.appian.com/suite/tempo/records/type/components/item/i8BWsQdLlzKy55h8z8zJ0sPqpDWFrba_bxdYpEUuDKAZVIjBtgGBj_c3Fh76D6HFA/view/summary" target="_blank"&gt;Get Process By Node Status&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://forum.appian.com/suite/tempo/records/item/lIBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUjepE6dGk75DUwf-MkSsbwuya1TTzzij2/view/summary" target="_blank"&gt;Process Management Services&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Here&amp;#39;s how you can combine them:&lt;/p&gt;
&lt;p&gt;1. The Get Processes By Node Status smart service&amp;nbsp;takes the UUID of the process model whose instances you wish to analyze&amp;nbsp;(you can run this through a loop to support multiple models). With this smart service, you can search for nodes in status 8 (Paused by Exception) within instances of model with UUID X.&lt;/p&gt;
&lt;p&gt;This node will return the process ids and the node uuids.&lt;/p&gt;
&lt;p&gt;2. You can now use the Restart All Nodes smart service part of the Process Management Services shared component&amp;nbsp;to restart those nodes simply passing the node UUIDs and the process IDs obtained in step #1.&lt;/p&gt;
&lt;p&gt;An application that demonstrates this is attached here:&amp;nbsp;&lt;a href="https://community.appian.com/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-13/Restarting-Failed-Nodes-Example.zip"&gt;community.appian.com/.../Restarting-Failed-Nodes-Example.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration, process models, application design&lt;/div&gt;
</description></item><item><title>DRAFT: How to automate the restart of stuck nodes within a process model</title><link>https://community.appian.com/support/w/kb/511/kb-1340-how-to-automate-the-restart-of-stuck-nodes-within-a-process-model/revision/4</link><pubDate>Fri, 17 Mar 2017 10:30:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4e720e27-6ee9-48aa-9205-e5834b7ad331</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/511/kb-1340-how-to-automate-the-restart-of-stuck-nodes-within-a-process-model#comments</comments><description>Revision 4 posted to Appian Knowledge Base by Nick Vigilante on 3/17/2017 10:30:35 AM&lt;br /&gt;
&lt;p&gt;&lt;strong&gt;DISCLAIMER:&lt;/strong&gt; The application provided in this article as well as the shared components are provided as-is with no express guarantee of functionality by Appian Technical Support.&lt;/p&gt;
&lt;p&gt;In order to make the restart of failed nodes more automatic you can combine two shared components on Appian Forum:&lt;/p&gt;
&lt;ul class="alternate"&gt;
&lt;li&gt;&lt;a href="https://forum.appian.com/suite/tempo/records/type/components/item/i8BWsQdLlzKy55h8z8zJ0sPqpDWFrba_bxdYpEUuDKAZVIjBtgGBj_c3Fh76D6HFA/view/summary" target="_blank"&gt;Get Process By Node Status&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://forum.appian.com/suite/tempo/records/item/lIBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUjepE6dGk75DUwf-MkSsbwuya1TTzzij2/view/summary" target="_blank"&gt;Process Management Services&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Here&amp;#39;s how you can combine them:&lt;/p&gt;
&lt;p&gt;1. The Get Processes By Node Status smart service&amp;nbsp;takes the UUID of the process model whose instances you wish to analyze&amp;nbsp;(you can run this through a loop to support multiple models). With this smart service, you can search for nodes in status 8 (Paused by Exception) within instances of model with UUID X.&lt;/p&gt;
&lt;p&gt;This node will return the process ids and the node uuids.&lt;/p&gt;
&lt;p&gt;2. You can now use the Restart All Nodes smart service part of the Process Management Services shared component&amp;nbsp;to restart those nodes simply passing the node UUIDs and the process IDs obtained in step #1.&lt;/p&gt;
&lt;p&gt;Below is a video demonstrating how the two shared components would be used in a process model:&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration, process models, application design&lt;/div&gt;
</description></item><item><title>DRAFT: How to automate the restart of stuck nodes within a process model</title><link>https://community.appian.com/support/w/kb/511/kb-1340-how-to-automate-the-restart-of-stuck-nodes-within-a-process-model/revision/3</link><pubDate>Fri, 17 Mar 2017 10:29:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4e720e27-6ee9-48aa-9205-e5834b7ad331</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/511/kb-1340-how-to-automate-the-restart-of-stuck-nodes-within-a-process-model#comments</comments><description>Revision 3 posted to Appian Knowledge Base by Nick Vigilante on 3/17/2017 10:29:47 AM&lt;br /&gt;
&lt;p&gt;&lt;strong&gt;DISCLAIMER:&lt;/strong&gt; The application provided in this article as well as the shared components are provided as-is with no express guarantee of functionality by Appian Technical Support.&lt;/p&gt;
&lt;p&gt;In order to make the restart of failed nodes more automatic you can combine two shared components on Appian Forum:&lt;/p&gt;
&lt;ul class="alternate"&gt;
&lt;li&gt;&lt;a href="https://forum.appian.com/suite/tempo/records/type/components/item/i8BWsQdLlzKy55h8z8zJ0sPqpDWFrba_bxdYpEUuDKAZVIjBtgGBj_c3Fh76D6HFA/view/summary" target="_blank"&gt;Get Process By Node Status&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://forum.appian.com/suite/tempo/records/item/lIBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUjepE6dGk75DUwf-MkSsbwuya1TTzzij2/view/summary" target="_blank"&gt;Process Management Services&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Here&amp;#39;s how you can combine them:&lt;/p&gt;
&lt;p&gt;1. The Get Processes By Node Status smart service&amp;nbsp;takes the UUID of the process model whose instances you wish to analyze&amp;nbsp;(you can run this through a loop to support multiple models). With this smart service, you can search for nodes in status 8 (Paused by Exception) within instances of model with UUID X.&lt;/p&gt;
&lt;p&gt;This node will return the process ids and the node uuids.&lt;/p&gt;
&lt;p&gt;2. You can now use the Restart All Nodes smart service part of the Process Management Services shared component&amp;nbsp;to restart those nodes simply passing the node UUIDs and the process IDs obtained in step #1.&lt;/p&gt;
&lt;p&gt;Below is a video demonstrating how the two shared components would be used in a process model:&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration&lt;/div&gt;
</description></item><item><title>DRAFT: How to automate the restart of stuck nodes within a process model</title><link>https://community.appian.com/support/w/kb/511/kb-1340-how-to-automate-the-restart-of-stuck-nodes-within-a-process-model/revision/2</link><pubDate>Wed, 08 Mar 2017 17:17:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4e720e27-6ee9-48aa-9205-e5834b7ad331</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/511/kb-1340-how-to-automate-the-restart-of-stuck-nodes-within-a-process-model#comments</comments><description>Revision 2 posted to Appian Knowledge Base by Nick Vigilante on 3/8/2017 5:17:48 PM&lt;br /&gt;
&lt;p&gt;&lt;strong&gt;DISCLAIMER:&lt;/strong&gt; The application provided in this article as well as the shared components are provided as-is with no express guarantee of functionality by Appian Technical Support.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration&lt;/div&gt;
</description></item><item><title>KB-1305 DRAFT</title><link>https://community.appian.com/support/w/kb/511/kb-1340-how-to-automate-the-restart-of-stuck-nodes-within-a-process-model/revision/1</link><pubDate>Tue, 07 Mar 2017 17:13:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4e720e27-6ee9-48aa-9205-e5834b7ad331</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/511/kb-1340-how-to-automate-the-restart-of-stuck-nodes-within-a-process-model#comments</comments><description>Revision 1 posted to Appian Knowledge Base by Nick Vigilante on 3/7/2017 5:13:59 PM&lt;br /&gt;
&lt;p&gt;DRAFT&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration&lt;/div&gt;
</description></item></channel></rss>