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
4 replies
Subscribers
7 subscribers
Views
2240 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hi All, I have a dynamic array that keeps growing dynamically with so
aswinb
over 10 years ago
Hi All,
I have a dynamic array that keeps growing dynamically with some integer values and I want to get the count of same numbers inside that array. For instance if the array has the following values local!array: {1,1,1,1,1,1,1,2,2,2,3,3,3} then the count array should have the following value:{7, 3,3} indicates that there are 7 1's and 3 2's and 3 3's inside that array. The problem is I don't know ahead of time what all values will be there inside this array. It is dynamic. So I can't do something like {length(wherecontains(1, local!array)), length(wherecontains2, local!array)), length(wherecontains(3, local!array))}. I can't supply the values 1,2,3 into the wherecontains directly and the length array with the curly braces has to grow dynamically based on how many values are inside local!array. Is there any solution to this problem?...
OriginalPostID-131952
OriginalPostID-131952
Discussion posts and replies are publicly visible
Parents
0
aswinb
over 10 years ago
thank you csteward!!!!Perfect answer!!!!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
aswinb
over 10 years ago
thank you csteward!!!!Perfect answer!!!!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data