Skip to main content
Juhi Babbar 님이 #Data Management에 질문했습니다
How can I make sure of following?

 

If owner is changed on Opportuntiy record, only allow Nicki smith or current owner to change it and profile (00e60000000imGt) should be exempt too.

 

thanks.
답변 2개
  1. 2017년 3월 10일 오후 2:31

    Juhi, get rid of ID's and use Names or developer names instead like this:

    AND(

    OwnerId <> PRIORVALUE(OwnerId),

      PRIORVALUE(OwnerId) <> $User.Id,

    PRIORVALUE(OwnerId) <> "Insert Nicole's user ID",

    $Profile.Name <> "Insert Profile Name to be excluded",

      $Profile.Name <> "System Administrator"

    )

    I always add System Administrator exclusions to such rules since they shouldn't be barred from changing owners.