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
+1
person also asked this
people also asked this
Replies
5 replies
Answers
2 answers
Subscribers
9 subscribers
Views
8914 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
hi, is there a function working like the switch-case logic in Java? I want to c
shaoyongw
over 11 years ago
hi, is there a function working like the switch-case logic in Java? I want to create a expression rule which return template based on the region. There are about ten region items. What I got now is using the if() function which have to be nested in another if(). This is so not neat and readable. I didn't find a better way. Any ideas?...
OriginalPostID-74338
OriginalPostID-74338
Discussion posts and replies are publicly visible
Parents
0
James Carter
Appian Employee
over 11 years ago
The displayvalue() function should do what you're after:
forum.appian.com/.../Conversion_Functions
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
James Carter
Appian Employee
over 11 years ago
The displayvalue() function should do what you're after:
forum.appian.com/.../Conversion_Functions
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
+1
amitb0004
over 6 years ago
in reply to
James Carter
Hi shaoyongw,
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
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Reject Answer
Cancel