<?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>Exception Handling.</title><link>https://community.appian.com/discussions/f/process/9170/exception-handling</link><description>Could you please let me know how to catch the exception in the running smart service(esp. when there is know status indicator in the output) and handling? Scenario, when two parallel updations are occuring on the same record at the same time. One updation</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Exception Handling.</title><link>https://community.appian.com/thread/65220?ContentTypeID=1</link><pubDate>Mon, 18 Mar 2019 14:35:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2f852dff-8553-4737-b7e7-7338b6ca5c34</guid><dc:creator>Robert Shankin</dc:creator><description>As noted by some of the other Community members.  &lt;br /&gt;
Please don&amp;#39;t use fn!try().&lt;br /&gt;
&lt;br /&gt;
As it&amp;#39;s not documented, it&amp;#39;s never been supported for use by Designers at large.  &lt;br /&gt;
It could be disabled or subject to behavior changes without notice.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Exception Handling.</title><link>https://community.appian.com/thread/65217?ContentTypeID=1</link><pubDate>Mon, 18 Mar 2019 13:47:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:576aee99-91db-4ef5-bd5f-c4fc1af8605b</guid><dc:creator>davel001150</dc:creator><description>try() is not just native Java function.  It&amp;#39;s actually native Appian expression language function.  Try() accepts 2 parameters, a function or rule reference and a string to be returned instead of pink box if a pink box would otherwise be the result.&lt;br /&gt;
&lt;br /&gt;
It&amp;#39;s great stuff, except that it&amp;#39;s not documented and thus not recommended that anyone use it for anything ever.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Exception Handling.</title><link>https://community.appian.com/thread/65140?ContentTypeID=1</link><pubDate>Wed, 13 Mar 2019 09:27:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:986aefd8-f861-49f6-aeda-9c75a138d63b</guid><dc:creator>paulc919</dc:creator><description>I&amp;#39;m not sure that is advisable to call native java functions ? We ought to be using Appian as it is out of the box - if there are enhancements we need then maybe we ought to raise them with Appian ?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Exception Handling.</title><link>https://community.appian.com/thread/65139?ContentTypeID=1</link><pubDate>Wed, 13 Mar 2019 09:25:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5e92e364-35ee-4fcf-ad08-86946e21eb15</guid><dc:creator>Abhay Dalsaniya</dc:creator><description>Try using try() function. Syntax: try(&amp;lt;smart service call&amp;gt;, &amp;lt;code exception handling&amp;gt;)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Exception Handling.</title><link>https://community.appian.com/thread/41087?ContentTypeID=1</link><pubDate>Thu, 05 Jan 2017 20:40:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8da59fa9-ca6b-44bb-948d-2fee13239316</guid><dc:creator>Chris</dc:creator><description>dastagirid, this option is only available in the Query DB service - I was commenting on how it would also be helpful if it were available one day in the Write to Datastore service.  In Query DB, it is referenced as &amp;quot;Pause Node on Error&amp;quot;.  &lt;a href="https://forum.appian.com/suite/help/16.1/Query_Database_Smart_Service.html"&gt;forum.appian.com/.../Query_Database_Smart_Service.html&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Exception Handling.</title><link>https://community.appian.com/thread/41054?ContentTypeID=1</link><pubDate>Thu, 05 Jan 2017 09:55:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:07e99aad-0b0a-44f2-a393-a31ca3704213</guid><dc:creator>Dastagiri Dudekula</dc:creator><description>@csteward where should I find this option?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Exception Handling.</title><link>https://community.appian.com/thread/41044?ContentTypeID=1</link><pubDate>Thu, 05 Jan 2017 00:28:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d4fc6c98-d007-454e-ad67-c87d64b072d8</guid><dc:creator>Chris</dc:creator><description>I&amp;#39;m hoping that eventually we get the &amp;#39;Continue on Error&amp;#39; setting available again (as it was for the Query DB service) at least for Write to Datastore nodes - that was a great help in designing error handling.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Exception Handling.</title><link>https://community.appian.com/thread/41027?ContentTypeID=1</link><pubDate>Wed, 04 Jan 2017 17:52:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0df0ca98-856f-4e3b-b008-5bffac0d029e</guid><dc:creator>bhanuprakashm</dc:creator><description>@dastagrid,please look into this link.&lt;br /&gt;&lt;a href="/search?q=OriginalPostID-239253"&gt;forum.appian.com/.../e-239253&lt;/a&gt;&lt;br /&gt;its related to same post.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Exception Handling.</title><link>https://community.appian.com/thread/41022?ContentTypeID=1</link><pubDate>Wed, 04 Jan 2017 17:47:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9e80705a-9acc-4bf0-86f0-4241fb3f8bbd</guid><dc:creator>sparshs</dc:creator><description>Can you please elaborate this issue?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Exception Handling.</title><link>https://community.appian.com/thread/41010?ContentTypeID=1</link><pubDate>Wed, 04 Jan 2017 17:22:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e619e5e5-5d9b-403d-af43-93b9b70626eb</guid><dc:creator>rodgraham</dc:creator><description>Don&amp;#39;t think you can capture it - you can either implement a locking mechanism - either pessimistic or optimistic (whichever best fits your use case) to prevent the issue. You could also put a timeout exception on the failing node to allow it to continue but that wouldn&amp;#39;t let you know why it failed&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Exception Handling.</title><link>https://community.appian.com/thread/40995?ContentTypeID=1</link><pubDate>Wed, 04 Jan 2017 13:08:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c73a9428-8bc5-4620-80d1-ad947694381e</guid><dc:creator>Dastagiri Dudekula</dc:creator><description>*no not know&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>