function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Nitish 73Nitish 73 

De-duplicate a list

Hi everyone, 

I have a client requirement, where I have to de-duplicate a list before inserting. But I have to de-duplicate it on a field (Signature Regulation field), not the Record ID


User-added image

How can I de-duplicate this list. Just need to check if there are any records with the same SRJN and remove them from the list before inserting. 

Any help is much appreciated. 


Thanks!
Prem Anandh 1Prem Anandh 1
Hi Nitish, 
You can achive through Dupe-Catcher Management or trigger. 
Ravi Dutt SharmaRavi Dutt Sharma
Do you want to do this in a trigger upon insertion/ updation of records? Or you need to cleanup exisitng records present in your org?