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
8 replies
Subscribers
9 subscribers
Views
9099 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Is there a straight forward way to compare the list of values on an array. I ha
hayleyw
over 11 years ago
Is there a straight forward way to compare the list of values on an array. I have currently tried
pv!arrayA=pv!arrayB and len(pv!array!=pv!arrayB) but both equations return a True if the just the FIRST item has been returned. I need to ensure that all items have been found and that they are an exact match.
Many thanks...
OriginalPostID-77307
OriginalPostID-77307
Discussion posts and replies are publicly visible
Parents
0
revat.anandsongkit
Appian Employee
over 11 years ago
intersection() is definitely a valid approach. Few questions though..Does order matter? Do you care about duplicates? i.e. if pv!array1 = {1,2,3,4} and pv!array2 = {4,2,2,3,1}, should that return true or false?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
revat.anandsongkit
Appian Employee
over 11 years ago
intersection() is definitely a valid approach. Few questions though..Does order matter? Do you care about duplicates? i.e. if pv!array1 = {1,2,3,4} and pv!array2 = {4,2,2,3,1}, should that return true or false?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data