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
davel001150
Certified Lead Developer
over 6 years ago
The fundamental difficulty of the choose() function is that it only allows for an integer. However, if you can get your code to work by defining the things you want to choose through as integers, it will work for your needs very nicely.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
davel001150
Certified Lead Developer
over 6 years ago
The fundamental difficulty of the choose() function is that it only allows for an integer. However, if you can get your code to work by defining the things you want to choose through as integers, it will work for your needs very nicely.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data