Show Exception on User interface

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 onSuccessonError which can be used to display the meaningful data when smart function evaluates successfully or if some error occurs simultaneously,

but how to display if some exception has occurred.

Thanks

  Discussion posts and replies are publicly visible

Parents Reply
  • If I understand correctly, you need to notify the end user with system exceptions (not business exceptions)

    For this, you can move the potential nodes to sub-process and implement the exception handling at parent.  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.   Once you done with this, you can access this message from function variable fv!processInfo and then show to end user

    I hope this will help.

Children
No Data