how to find duplicate element in list with the help of outsystems ?

need help to find duplicates

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

Hi Ajit,

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

Hope this help,

Khuong

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.