Appian Community
Site
Search
Sign In/Register
Site
Search
User
More
Cancel
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
I'm looking for...
State
Suggested Answer
+4
person also asked this
people also asked this
Replies
9 replies
Answers
2 answers
Subscribers
17 subscribers
Views
4074 views
Users
0 members are here
Options
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Is there a way we can catch exceptions in SAIL form? Something like try{}..catch
senthilar
over 6 years ago
Is there a way we can catch exceptions in SAIL form? Something like try{}..catch{}...
OriginalPostID-115850
OriginalPostID-115850
Discussion posts and replies are publicly visible
Top Replies
Mike Schmitt
over 1 year ago
in reply to
davidl280
+2
A Score Level 3
Interesting side note: wherecontains() was undocumented for a while before being officially added.
agustinc
over 2 years ago
+1
suggested
Yes! This is possible - it is a hidden/undocumented SAIL function. Try-catch in Appian SAIL: try ( [CODE], "Code failed" ) EDIT: Thank you, Josh, for that insight! Please exercise care when using this...
davidl280
over 1 year ago
in reply to
Mike Schmitt
+1
A Score Level 1
I heard from some engineers at Appian World that they think about documenting try(), from time to time. But then they think about what could happen in the global Appian ecosystem if they did that, and...
Parents
0
Christine
Appian Employee
over 6 years ago
No. But what is your use case for having an exception in your SAIL expression? You should write your expression so that null variables, etc are accounted for so that your end users don't get unexpected results.
Cancel
Up
0
Down
Reply
Verify Answer
Cancel
Reply
0
Christine
Appian Employee
over 6 years ago
No. But what is your use case for having an exception in your SAIL expression? You should write your expression so that null variables, etc are accounted for so that your end users don't get unexpected results.
Cancel
Up
0
Down
Reply
Verify Answer
Cancel
Children
No Data