Skip to main content
Ashish Sharma 님이 #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개
  1. 2017년 1월 21일 오전 7: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