Skip to main content
Hello,

 

I set up a validation rule where only account owners can make edits to their own accounts: $User.Id <> Owner.Id

 

However, I need to allow access to certain profiles like Marketing/ AM. How do I go about customizing this exclusion to only Sales.

 

Thanks! 
9 réponses
  1. 18 avr. 2018, 15:07
    Hi Julia,

     

    the formula will be as below

    AND(

    $User.Id <> Owner.Id,

    $Profile.Name <> 'Allowed Profile1 here',

    $Profile.Name <> 'Allowed Profile2 here'

    )

    just expand the formula to include other profiles

     

    OR and AND is combination that will not work when you are referencing the same field in the formula