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
+3
person also asked this
people also asked this
Replies
9 replies
Answers
2 answers
Subscribers
10 subscribers
Views
11859 views
Users
0 members are here
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 10 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 5 years ago
in reply to
davel001150
+3
Interesting side note: wherecontains() was undocumented for a while before being officially added.
agustinc
over 6 years ago
+1
suggested
Certified Lead Developer
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…
davel001150
over 5 years ago
in reply to
Mike Schmitt
+1
Certified Lead Developer
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 10 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
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Christine
Appian Employee
over 10 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
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data