[SalesForce] How to restrict user from assigning task to one specific profile users

I want to restrict users from assigning tasks to a group of user belong to one profile.How can I do that?

Best Answer

You can do it for example with a validation rule (read about them in your help&training). We try to push into asking a good question that shows some research effort and discourage "plz send me teh codez / do the homework for me").


A validation rule on Task object with error formula similar to

Owner:User.Profile.Name = 'System Administrator'

should do the trick?

Notes:

  1. In the formula editor you'll have to look for the field label ("Assigned To", not "Owner")
  2. Up till Summer'13 release we had hard time doing that because Calendar could be also the task "owner"
Related Topic