<?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>Hi,  We want to have a function in the process which would check</title><link>https://community.appian.com/discussions/f/general/2738/hi-we-want-to-have-a-function-in-the-process-which-would-check</link><description>Hi, We want to have a function in the process which would check if DB is up and running just like a ping to the DB which will return an error code and a message. Is there a smart service available out of the box for the same? Thanks, Anagha ... OriginalPostID</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: &lt;br /&gt;Hi,&lt;br /&gt;&lt;br /&gt;We want to have a function in the process which would check</title><link>https://community.appian.com/thread/9559?ContentTypeID=1</link><pubDate>Fri, 23 May 2014 10:21:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d646d765-9815-43a3-b669-3b77796e412c</guid><dc:creator>Eduardo Fuentes</dc:creator><description>No, that setting is to force JBoss to re-connect if the DB goes down but I agree won&amp;#39;t prevent the node from failure. You could create a custom smart service that would run this simple select and catch the exception gracefully so you can wait for the reconnection to happen in your model (reconnection will happen if you use this setting in appian-ds.xml and if the DB becomes available again)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: &lt;br /&gt;Hi,&lt;br /&gt;&lt;br /&gt;We want to have a function in the process which would check</title><link>https://community.appian.com/thread/9558?ContentTypeID=1</link><pubDate>Fri, 23 May 2014 10:06:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:313ef87b-ab60-4d27-8f16-32b5f89a4dd7</guid><dc:creator>anagha_abhyankar</dc:creator><description>Eduardo: How could we use that in a process model? We have to fire a lot of queries to external DB and it can be a case that DB is down. Hence, want to check it just before the calls to DB.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: &lt;br /&gt;Hi,&lt;br /&gt;&lt;br /&gt;We want to have a function in the process which would check</title><link>https://community.appian.com/thread/9557?ContentTypeID=1</link><pubDate>Fri, 23 May 2014 05:53:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:42d53572-b7ba-4a19-8a8d-deb3ec589c9e</guid><dc:creator>sushilk307</dc:creator><description>Well i got the same issue and waiting response...What i used to Query node and  Select Database=1 measn DB  is connected to appian otherwise not.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: &lt;br /&gt;Hi,&lt;br /&gt;&lt;br /&gt;We want to have a function in the process which would check</title><link>https://community.appian.com/thread/9554?ContentTypeID=1</link><pubDate>Fri, 23 May 2014 04:06:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:52bf8f3f-712b-42a6-b4c9-fcf298ff9d50</guid><dc:creator>Eduardo Fuentes</dc:creator><description>Why don&amp;#39;t you just use the &amp;lt;check-valid-connection-sql&amp;gt; element in your appian-ds.xml ?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>