198
Views
4
Comments
i want to remove duplicates of ids in list
Question

i know the ListDistinct but i want to compare with only one attribute for example id attribute

UserImage.jpg
Shriyash Dixit

@Abduerhman Salama
 
Can you please share screenshot or some more details for better understanding ?

2023-04-16 15-25-31
Krishnanand Pathak

Hi @Abduerhman Salama ,

Sharing the oml in which we are removing duplicate list record based on Id attributes on RemoveDuplicatesByIdOnClick action.

You can check the demo to see how it will work through below link.

https://personal-qmzjggmd.outsystemscloud.com/Font/Screen1?_ts=638188859105354852

Or

If you are using aggregate then you can use GroupBy over id attribute inside aggregate.

Regards
Krishnanand Pathak

Remove Duplicate.oml
2024-09-12 02-43-38
Deepsagar Dubey

Hi @Abduerhman Salama 

Create a duplicate list of your actual list and iterate it and inside loop use a listFilter action and i condition compare the attribute which you want to check and if Listfilter give count more than 1 it means it has duplicate records,

I hope it'll help you

Thanks
Deep


2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Hi Abduerhman,

I would advise you to use the SortRecordList Forge asset, which contains a DistinctRecordList action, which allows you to specify which attributes to check.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.