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
9 replies
Subscribers
7 subscribers
Views
3559 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Hey all, I'm interested in writing a simple expression rule which will
Mike Schmitt
Certified Lead Developer
over 11 years ago
Hey all,
I'm interested in writing a simple expression rule which will take two arrays (let's say integers, for now), ri!bigArray and ri!smallArray -- and the return will be the indices (if any) of where any members of 'small' are in 'big'. Sort of like a "where" function which can accept multiple targets. I've tried various looping, array, and set functions, and can't quite come up with something which actually works. If anyone has any ideas I'd really appreciate it....
OriginalPostID-69864
OriginalPostID-69864
Discussion posts and replies are publicly visible
Parents
0
Mike Schmitt
Certified Lead Developer
over 11 years ago
where() doesn't have a way to replicate the functionality I was originally asking about, though (the ability to find the "where" indexes of multiple objects within an array). wherecontains() certainly does, thanks to subhankarb for mentioning that.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Mike Schmitt
Certified Lead Developer
over 11 years ago
where() doesn't have a way to replicate the functionality I was originally asking about, though (the ability to find the "where" indexes of multiple objects within an array). wherecontains() certainly does, thanks to subhankarb for mentioning that.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data