I have a requirement in which I have to check a Cases Owner before I can insert a task. It should only allow task creation on Cases with Owners which are not queues.
At first, we tried accessing the case Owner field on a validation rule. That doesn't seem to be possible due to they way the task-case relationshop works.
Then, we tried with a field update (Process Builder, workflow rule) to update a "Case Owner Is Queue?" field on the task as it is created. With that field updated, creating the validation rule would be simple.
The obvious problem here is that validation rules run before any process or Workflow rule.
Is there a solution to this problem? I want to avoid code unless there is no other way around it.