
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 Antworten
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.