Hi
@Gabriela Esquivel,
You can remove the Field Name input parameter and modify your code in the following way:
Dim uniqueRows = (From row In Input_Collection.AsEnumerable()
Group row By a = String.Join(", ", row.ItemArray) Into grp = Group
Where grp.Count = 1
Select grp.First()).ToList()
Output_Collection = uniqueRows.CopyToDataTable()
This way your grouping would be independent of any specific column and will take all column fields as grouping parameter.
----------------------------------------------------------------Hope it helps you and if it resolves you query please mark it as the best answer so that others having the same problem can track the answer easilyRegards,Devneet MohantyIntelligent Process Automation ConsultantBlue Prism 7x Certified ProfessionalWebsite: https://devneet.github.io/Email: devneetmohanty07@gmail.com----------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------
Hope this helps you out and if so, please mark the current thread as the 'Answer', so others can refer to the same for reference in future.
Regards,
Devneet Mohanty,
SS&C Blueprism Community MVP 2024,
Automation Architect,
Wonderbotz India Pvt. Ltd.