<?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>Show Exception on User interface</title><link>https://community.appian.com/discussions/f/general/14972/show-exception-on-user-interface</link><description>HI all, 
 
 How can we show any exception on the User Interface if we are using any smart functions like a!writeToDataStore or a!startProcess. 
 
 AFAIK i know every smart function have attributes like onSuccess , onError which can be used to display</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Show Exception on User interface</title><link>https://community.appian.com/thread/75866?ContentTypeID=1</link><pubDate>Sat, 08 Aug 2020 10:02:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9098e1dd-7733-4f05-82b9-e5bb03dd7083</guid><dc:creator>Shikha</dc:creator><description>&lt;p&gt;Hi ,&lt;/p&gt;
&lt;p&gt;Were you able to show any message ? My requirement is also same. i AM using a!writetodatastore in my interface and I want to show a prompt like &amp;quot;Data saved successfully&amp;quot; on click of submit button . Or if it fails &amp;quot; Data submit failed&amp;quot; , something like that.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Show Exception on User interface</title><link>https://community.appian.com/thread/67107?ContentTypeID=1</link><pubDate>Thu, 06 Jun 2019 15:16:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9a20f794-5e60-4494-9de9-045803cc2a0e</guid><dc:creator>Mauricio G.</dc:creator><description>&lt;p&gt;You can raise a manual notification every time that you have a technical error. One scenario is create an Expression Rule to process the error in the object that you are going to monitor and throw an exception error. And another way is if you are working with a process, connect the node that you need to execute (if it&amp;#39;s not sync) to an AND and if in case that you have and error in the node that you need to control, put a trace in your database or create another Task to the department that you need to notify.&lt;/p&gt;
&lt;p&gt;There are a lot of possible scenarios, if you give us more details we can help you with a better scope!&amp;nbsp;&lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Show Exception on User interface</title><link>https://community.appian.com/thread/66952?ContentTypeID=1</link><pubDate>Mon, 03 Jun 2019 05:58:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c29e461e-5217-49d6-807d-b7ae30cae1da</guid><dc:creator>kethaj</dc:creator><description>&lt;p&gt;If I understand correctly, you need to notify the end user with system exceptions (not business exceptions)&lt;/p&gt;
&lt;p&gt;For this, you can move the potential nodes to sub-process and implement the exception handling at parent. &amp;nbsp;Even sub-process has exception, parent process is still active. So, you can break the activity changing in parent process with help of timer node. Before breaking the activity chaining, you need to capture the right information about the exception (this is design time) in process variable.&amp;nbsp;&amp;nbsp; Once you done with this, you can access this message from function variable fv!processInfo and then show to end user&lt;/p&gt;
&lt;p&gt;I hope this will help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Show Exception on User interface</title><link>https://community.appian.com/thread/66948?ContentTypeID=1</link><pubDate>Sun, 02 Jun 2019 22:37:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7589de69-b0e0-4f2a-8100-c90e99a6fe04</guid><dc:creator>gauravs0002</dc:creator><description>&lt;p&gt;Hi Siddharth,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Response of Success or Error are only captured if process gets completed or gets failed.&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The &amp;quot;onError&amp;quot; parameter will only evaluate if the process fails to start. It will&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;em&gt;not&lt;/em&gt;evaluate if a node in the started process pauses by exception.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;I want to to let end user know if some exception has&amp;nbsp;&lt;/span&gt;occurred.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Show Exception on User interface</title><link>https://community.appian.com/thread/66947?ContentTypeID=1</link><pubDate>Sun, 02 Jun 2019 22:26:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6392be0f-586a-4a28-9d7a-18bacc0e4fc8</guid><dc:creator>siddharths</dc:creator><description>&lt;p&gt;Once the you have captured the response of Success or Error in a local variable, you can conditionally show a display component based on the value in that local variable.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have richtext or textfield component which displays only when the local variable is not null and it can display the value in the local variable or you can customize it the way you want the end user to see it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Show Exception on User interface</title><link>https://community.appian.com/thread/66946?ContentTypeID=1</link><pubDate>Sun, 02 Jun 2019 19:12:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bd2c3bfb-a1bb-4bdd-b0e0-9d36b95be3f4</guid><dc:creator>gauravs0002</dc:creator><description>&lt;p&gt;Hi Stefan,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;onSuccess or onError only show the message if the function evaluates successfully&amp;nbsp;or if it fails respectively.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;My question is how to display on user interface if any Exception has occurred,&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Show Exception on User interface</title><link>https://community.appian.com/thread/66945?ContentTypeID=1</link><pubDate>Sun, 02 Jun 2019 17:46:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6e2e60ab-3b29-4816-964f-b7563793e56f</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;In case I need to show a success or error message to the user, I create a local variable and use that in the showWhen parameter of a box layout. Then I can control the display of this box in onSuccess or onError. Give the box layout an info or warning style.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>