Building out email to case for our customer service team, we only have sales cloud. I want to restrict who can assign and be assigned a case from the queue, same group of users would need to be able to change the owner and be assigned as the owner.
I have tried to make a validation rule off the owner field but have not been successful. This is the idea and this works:
AND(
ISCHANGED(OwnerId),
ISPICKVAL(Origin , "email"),
Owner:User.Profile.Name <> "Customer Care Rep"
)
The issue is that I need to have it include 2 different profiles and when I add it in like this:
AND(
ISCHANGED(OwnerId),
ISPICKVAL(Origin , "email"),
OR(
Owner:User.Profile.Name <> "Customer Care Rep",
Owner:User.Profile.Name <> "Customer Care Manager",
)
)
It won’t work. I have tried a few different things based off of common fields they share on user profile but nothing is working.
Any ideas? I’ve been at it for a while so worried I’m missing an obvious fix.
OR()
when you're checking for equality andAND()
when you're checking for inequality.