441
Views
2
Comments
Solved
how to find duplicate element in list with the help of outsystems ?

need help to find duplicates

UserImage.jpg
Ellakkiya
Solution

Hi Ajit Kurane,

To find the duplicate element in list,

you can sort the list by attribute and simply check current record with previous record.

To remove the duplicate element, you can use ListDistinct action 

https://success.outsystems.com/Documentation/11/Reference/OutSystems_APIs/System_Actions#ListDistinct

The output parameter of DistinctList will return only the record include the distinct elements of the source list.

 Regards,

Ellakkiya.S

2020-11-13 07-48-15
Khuong Truong
Solution

Hi Ajit,

You can see this solution How to check duplicates in list - OutSystems 11 | OutSystems 

Hope this help,

Khuong

UserImage.jpg
Ellakkiya
Solution

Hi Ajit Kurane,

To find the duplicate element in list,

you can sort the list by attribute and simply check current record with previous record.

To remove the duplicate element, you can use ListDistinct action 

https://success.outsystems.com/Documentation/11/Reference/OutSystems_APIs/System_Actions#ListDistinct

The output parameter of DistinctList will return only the record include the distinct elements of the source list.

 Regards,

Ellakkiya.S

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