Grooper 21.00.0082 is available as of 12-12-2023! Check the Downloads Discussion for the release notes and to get the latest version.
Grooper 23.1.0016 is available as of 03-15-2024! Check the Downloads Discussion for the release notes and to get the latest version.
Grooper 23.00.0042 is available as of 03-22-2024! Check the Downloads Discussion for the release notes and to get the latest version.
Validate Multiple Results
henryma
Posts: 63 ✭
Is there a way to do a validation after de-duplicate if you have multiple values for a field then return true? I want to check if there is more then one unique value.
0
Best Answer
-
GrooperGuru Posts: 481 adminSort of. On a Data Type, there are a few collation methods that can potentially combine multiple results together. In particular, the Combine, Array, and Key-Value List Collation methods. In your case, the Combine method is most likely to be what you want. Once you select combine, you have additional configuration to determine which things should be combined on output... things that are vertically aligned, horizontally aligned, or all. If you simply want to combine all options together regardless of position on the document, that last option would be best for you. You also get to choose a result separator (delimiter) for the output results. Now... going back to your earlier request... if your goal is to first take a bunch of results for a Data Type, and de-duplicate them so that you only return unique values, then there is one more step. Start by making a Data Type that finds the initial results and turn on the Deduplicate Values feature. Now place that Data Type inside of another Data Type. The top-level Data Type is where you'll now apply the Combine Collation to take the de-duplicated results passed up from the child extractor and combine those results together. Hope this helps.Matt Harrison
Product Manager
mharrison@bisok.com5
Answers