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
6 replies
Subscribers
7 subscribers
Views
3046 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Is it possible to use apply() with a rule/function where the array is not the fi
Jason Ruvinsky
Certified Senior Developer
over 10 years ago
Is it possible to use apply() with a rule/function where the array is not the first parameter? Can I specify the parameters by name, rather than order, when using a looping function? (And if so, is there an example?)...
OriginalPostID-91443
OriginalPostID-91443
Discussion posts and replies are publicly visible
Parents
0
Jason Ruvinsky
Certified Senior Developer
over 10 years ago
I'm also seeing some unusual syntax that I can't find documented on the looping functions page here:
forum.appian.com/.../Function_Recipes
apply(
type!Person(firstName:_, lastName:_),
merge(pv!firstNames, pv!lastNames)
)
How do I use apply with a rule, type, or function and include the parameters by keyword? I cannot find documentation explaining how the underscores are being used here as blanks, either.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Jason Ruvinsky
Certified Senior Developer
over 10 years ago
I'm also seeing some unusual syntax that I can't find documented on the looping functions page here:
forum.appian.com/.../Function_Recipes
apply(
type!Person(firstName:_, lastName:_),
merge(pv!firstNames, pv!lastNames)
)
How do I use apply with a rule, type, or function and include the parameters by keyword? I cannot find documentation explaining how the underscores are being used here as blanks, either.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data