Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
6 replies
Subscribers
8 subscribers
Views
3092 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
catch error in SAIL interface
eliav
over 7 years ago
Hi All,
does exist a method to catch all raised errors in a form , send detail to environment administrator and show to the user only a message like "An error occurred, please contact System Admin" ?
Thank you
Elia
OriginalPostID-268539
Discussion posts and replies are publicly visible
Parents
0
josephh
A Score Level 3
over 7 years ago
Ideally your forms wouldn't error to begin with. There's a sort of catch 22 here which makes it at the very best difficult in Appian. To my knowledge there is no out of the box functionality to trigger an action when an error occurs, so to implement this you would need to identify the sections of your code that are causing the error, and display the desired message. But if you know where in the code the errors are, best practices state that you should fix the issue rather than displaying an error message. A custom plugin might be able to address this by detecting the error in Java and firing off actions based on what occurred, but that's probably more work than simply testing more rigorously to find issues before your users do.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
josephh
A Score Level 3
over 7 years ago
Ideally your forms wouldn't error to begin with. There's a sort of catch 22 here which makes it at the very best difficult in Appian. To my knowledge there is no out of the box functionality to trigger an action when an error occurs, so to implement this you would need to identify the sections of your code that are causing the error, and display the desired message. But if you know where in the code the errors are, best practices state that you should fix the issue rather than displaying an error message. A custom plugin might be able to address this by detecting the error in Java and firing off actions based on what occurred, but that's probably more work than simply testing more rigorously to find issues before your users do.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data