<?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>Sometimes we have processes that stop executing because of database connectivity</title><link>https://community.appian.com/discussions/f/process/2379/sometimes-we-have-processes-that-stop-executing-because-of-database-connectivity</link><description>Sometimes we have processes that stop executing because of database connectivity issues, engine issues, etc. The alerts show: Problem: An error occurred in executing an Activity Class. Recommended Action: Examine the activity class to correct the error</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Sometimes we have processes that stop executing because of database connectivity</title><link>https://community.appian.com/thread/8347?ContentTypeID=1</link><pubDate>Tue, 25 Mar 2014 01:07:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cd67afdf-1822-45bd-af2e-f8fd0c800694</guid><dc:creator>Chris</dc:creator><description>To find broken processes, we use a report for all models and filter on 0 active tasks (num_active_tasks()=0).  This does a pretty good job, but doesn&amp;#39;t catch the scenerios where you have 2 tasks active at once (and one could be broken) or processes holding intentionally, etc.&lt;br /&gt;&lt;br /&gt;For mass re-starts, I began setting all DB nodes to false() for &amp;#39;Pause on Error&amp;#39;.  The error flag is recorded, and if the connection was not successful the process sends an alert to the developers group (with the error message) and waits at a Recieve Message node.  Once the DB is back online, I run a process model (DB Restarts) that sends a message to all processes to release the hold.  This works fantastic - this week we had 100 broken processes due to a connection failure, and it took me less than 1 minute to browse to the restart model, fire it off, and all processes resumed.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sometimes we have processes that stop executing because of database connectivity</title><link>https://community.appian.com/thread/8339?ContentTypeID=1</link><pubDate>Mon, 24 Mar 2014 22:37:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7088b393-75b9-4672-9360-3b823528d3dd</guid><dc:creator>ryanh</dc:creator><description>...toring, finding the node, cancelling it and restarting it is rather time consuming and prone to user errors.&lt;br /&gt;&lt;br /&gt;Ryan&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>