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
Guilherme Eduardo de FariasGuilherme Eduardo de Farias 

Validation Rules for not duplicated records

I have a custom object employee__c and a Project__c I need to see if an employee is already inside a project and if there is one I will not be able to add it again. there is a team object that I register one employee per team and add the team to the project. Does anyone have any idea of ​​a solution

thank you.
SUCHARITA MONDALSUCHARITA MONDAL
Hi Guilherme,
Please check below link:
http://salesforcevision.blogspot.com/2010/01/search-for-duplicates-validation-rule.html

Or you  also try with Duplicate Rules to prevent duplicate records. 

Share your thoughts!

Thanks,
Sucharita