List Compare & Validation Utility is an OutSystems O11 extension that compares two text lists and provides both summary and detailed comparison results. It helps developers validate data consistency, identify missing records, detect duplicates, and compare lists from different sources such as Excel files, APIs, databases, SAP integrations, and user inputs.
Compares two text lists and returns comparison results.
Type:
TextItem List
First list to compare.
Second list to compare.
Boolean
Default:
True
Treats:
ABC = abc
" ABC " = "ABC"
Ignores blank values.
A1,A2,A3
as equal to
A3,A1,A2
False
A1,A1,A2
A1,A2
when enabled.
Structure containing comparison summary.
List containing item-level comparison information.
Create two variables:
ListA ListB
Populate the lists.
Example:
A1 A2 A3
Call:
CompareTextLists
Parameters:
ListA = ListA ListB = ListB IgnoreCase = True TrimSpaces = True IgnoreEmpty = True IgnoreOrder = True IgnoreDuplicates = False
Read Result output.
Result.IsEqual = True Result.ListA_Count = 3 Result.ListB_Count = 3 Result.CommonCount = 3 Result.OnlyInListA_Count = 0 Result.OnlyInListB_Count = 0
Display Details in a table.