You need to sign in to do that
Don't have an account?

validation rule issue for oppty object validation rule
I'm trying to create a validation rule for opportunities that will return an error if Type is blank and the current user is the owner and the user's role is a specific role (indicating they are a sales rep). Below is what I have but it isn't working. Any idea what I'm doing wrong?
Thanks in advance for your help!
AND (
ISBLANK(TEXT( Type )) ,
$UserRole.Name = "Dir EMEA Sales",
$UserRole.Name = "Dir N Am Sales",
$UserRole.Name = "EMEA Sales Rep",
$UserRole.Name = "EMEA Inside Sales Rep",
$UserRole.Name = "N Am Sales Rep",
OwnerId = $User.Id
)
Thanks in advance for your help!
AND (
ISBLANK(TEXT( Type )) ,
$UserRole.Name = "Dir EMEA Sales",
$UserRole.Name = "Dir N Am Sales",
$UserRole.Name = "EMEA Sales Rep",
$UserRole.Name = "EMEA Inside Sales Rep",
$UserRole.Name = "N Am Sales Rep",
OwnerId = $User.Id
)
All Answers
It looks like it's doing what I want :)