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
Danish Aziz 6Danish Aziz 6 

want Validation rule that only record owner or System Administrator can CREATE related record. eg if person_1 creates a record only person_1 should be able to create its related records.

Want Validation rule that only record owner or System Administrator can CREATE related record. eg if person_1 creates a record only person_1  should be able to create its related records.
Vineela ProddaturuVineela Proddaturu
Hi Danish,
 please, try this one

AND (
NOT(ISNEW()),
OR(
$Profile.Name <>'System Administrator',
$User.Id <> OwnerId ) )

If it helps you. please,kindly mark it as best answer.
Danish Aziz 6Danish Aziz 6
I think this is for edit validation