Skip to main content
Ashish Sharma ha fatto una domanda in #Data Management
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 risposte
  1. 21 gen 2017, 07:41
    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