Skip to main content

I've a trigger that creates a new case record. It's directly assigned to a queue. 

I'm not able to get Salesforce to email the queue members when it's created by a trigger. I've tried all the Database.DMLOptions options I can think of, setting them on both the case object with setOptions or on the Database.Insert call

If I create a Case by hand with the same field values, using the standard form, an email is sent.

"Send Email to Members" is checked on the Queue settings page.

3 answers
0/9000