Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Suggested Answer
Replies
10 replies
Answers
1 answer
Subscribers
10 subscribers
Views
11941 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Hi all, Is there a way to catch the exception thrown by the workflow and t
phanibabuk
over 10 years ago
Hi all,
Is there a way to catch the exception thrown by the workflow and the exact error message of the error.
The error needs to be logged/saved. Is there a mechanism to log and save those error somewhere?
Awating your early inputs!!!!...
OriginalPostID-101504
OriginalPostID-101504
Discussion posts and replies are publicly visible
Parents
0
sergeiz
over 7 years ago
Appian is not Java, you cannot "catch an exception" in Appian. You can only set up process alerts that will notify users about exceptions caught internally and process them in a predefined way. You should minimize possibility of exceptions. Actually, all the exceptions with stack trace are logged and can be extracted from the log files. But this is kind of "internals" and I would not build something in Appian based on that.
If it is possible that user can be missing it can be specifically checked in a process model with corresponding UI.
Other way is to go deeper and develop your own plugin in Java that catches expected exceptions and provides user friendly messages, etc. but I would discourage this way.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
sergeiz
over 7 years ago
Appian is not Java, you cannot "catch an exception" in Appian. You can only set up process alerts that will notify users about exceptions caught internally and process them in a predefined way. You should minimize possibility of exceptions. Actually, all the exceptions with stack trace are logged and can be extracted from the log files. But this is kind of "internals" and I would not build something in Appian based on that.
If it is possible that user can be missing it can be specifically checked in a process model with corresponding UI.
Other way is to go deeper and develop your own plugin in Java that catches expected exceptions and provides user friendly messages, etc. but I would discourage this way.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data