Skip to main content
Instead of inlcuding just the profile of the manager, I want to include role hierarchy, so anyone above the lead owner can change the lead owner.  

 

AND(

 

ISCHANGED(OwnerId),

 

PRIORVALUE(OwnerId) <> $User.Id,

 

$Profile.Name <> "System Administrator",

 

$Profile.Name <> "Integration"

 

)
8 answers
  1. Jan 21, 2017, 7:41 AM
    I don't think you can include role hierarchy inside a validation rule. I would suggest you setup your OWD/Sharing settings accordingly to open up the right access in the hierarchy.
0/9000