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
+2
person also asked this
people also asked this
Replies
8 replies
Answers
3 answers
Subscribers
10 subscribers
Views
17645 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Is there a case statement /function in Appian . or an if ...else if in rules exp
Dhiraj Kumar
over 8 years ago
Is there a case statement /function in Appian . or an if ...else if in rules expressions . Coding in terms of if , if ... is time consuming and code readability is bad .
OriginalPostID-219960
OriginalPostID-219960
Discussion posts and replies are publicly visible
Parents
+1
amitb0004
over 6 years ago
Hi Dhiraj Kumar,
There is one function "choose( index, choice1, choice2, … )", you can used it as switch case logic...
follow the following link for more details:
docs.appian.com/.../fnc_logical_choose.html
And for if_else
"if(condition,statement1, statement2)"
in above syntax if condition is true "statement1" will get executed else "statement2"
In these way you can used if_else in Appian
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Reject Answer
Cancel
Reply
+1
amitb0004
over 6 years ago
Hi Dhiraj Kumar,
There is one function "choose( index, choice1, choice2, … )", you can used it as switch case logic...
follow the following link for more details:
docs.appian.com/.../fnc_logical_choose.html
And for if_else
"if(condition,statement1, statement2)"
in above syntax if condition is true "statement1" will get executed else "statement2"
In these way you can used if_else in Appian
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Reject Answer
Cancel
Children
No Data