Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
28-11-19 09:41 AM
HI Guys, apologies if this has been asked previously, I have 2 matching collections with identical field names, I wish to lookup if a value exists in a certain field and return a true/false answer without looking through the full collection.
For example
the Value in [Collection1.Field1] = "Dave"
Collection 2 could have 50 names in it, I wish to see if any of the values in [Collection2.Field1]="Dave" without looping through the full collection.
------------------------------
npower
Europe/London
------------------------------
For example
the Value in [Collection1.Field1] = "Dave"
Collection 2 could have 50 names in it, I wish to see if any of the values in [Collection2.Field1]="Dave" without looping through the full collection.
------------------------------
npower
Europe/London
------------------------------
Answered! Go to Answer.
1 BEST ANSWER
Helpful Answers
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
28-11-19 11:42 AM
You can use action "Collection contains value" from the Utility - Collection Manipulation to check whether a value occurs in a collection
------------------------------
Jeroen Oosterholt
Automation Designer
DHL
Maastricht
------------------------------
------------------------------
Jeroen Oosterholt
Automation Designer
DHL
Maastricht
------------------------------
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
28-11-19 11:42 AM
You can use action "Collection contains value" from the Utility - Collection Manipulation to check whether a value occurs in a collection
------------------------------
Jeroen Oosterholt
Automation Designer
DHL
Maastricht
------------------------------
------------------------------
Jeroen Oosterholt
Automation Designer
DHL
Maastricht
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
28-11-19 12:03 PM
Or filter collection 2 by that value and see if result set contains data.
------------------------------
Andrey Kudinov
Project Manager
MobileTelesystems PJSC
Europe/Moscow
------------------------------
------------------------------
Andrey Kudinov
Project Manager
MobileTelesystems PJSC
Europe/Moscow
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
28-11-19 03:58 PM
Great , thank you guys,
------------------------------
npower
Europe/London
------------------------------
------------------------------
npower
Europe/London
------------------------------
