function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
jbjbjbjb 

Assign new Case to related Account owner?

Is there a way to use Case assignment rules so that a new Case is assigned to the owner of the related Account record (if there is one)?

 

Thanks

 

Best Answer chosen by Admin (Salesforce Developers) 
werewolfwerewolf
Yes, before insert would be the right spot.  You could generate the email from Apex, or you could do it using a workflow rule instead if you prefer.

All Answers

werewolfwerewolf
No, you'd have to use Apex for that.
jbjbjbjb

Would the proper place be in a trigger, before create? And, if we need an email notice to the new Case owner, would that have to be generated in the Apex code as well?

 

Thanks

werewolfwerewolf
Yes, before insert would be the right spot.  You could generate the email from Apex, or you could do it using a workflow rule instead if you prefer.
This was selected as the best answer
jbjbjbjb
Thank you