Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
14 replies
Subscribers
7 subscribers
Views
5374 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
The function "doforeach" allows me to call a function by string. I use
shelzle
over 12 years ago
The function "doforeach" allows me to call a function by string. I use this to dynamically call a function that is defined in a text PV of a process. Is there any other method to do dynamic function calls? The new looping function "apply" does not work....
OriginalPostID-65702
OriginalPostID-65702
Discussion posts and replies are publicly visible
Parents
0
Owen Parrish
Appian Employee
over 12 years ago
You could use nested ifs.
=if(pv!processKind="a", apply(rule!ruleA), if(pv!processKind="b",apply(rule!ruleB),if(pv!processKind="c",apply(rule!ruleC),"etc")))
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Owen Parrish
Appian Employee
over 12 years ago
You could use nested ifs.
=if(pv!processKind="a", apply(rule!ruleA), if(pv!processKind="b",apply(rule!ruleB),if(pv!processKind="c",apply(rule!ruleC),"etc")))
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data