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
Rakesh M 20Rakesh M 20 

Write a validation rule on Location Object (LocationName + City + Country ), this should be always unique.

Hi Folks,
How can create validation rule for this using Custom External Id 
Please help me
PriyaPriya (Salesforce Developers) 

Hi Rakesh,

Validation rule is record specific. There might be chances that we can have two records with same names so it would be better to add validation in the trigger. 

If the above information helps you, please mark it as best answer.
Regards,

Priya Ranjan