Created a controller extension for the standard case controler. we set the OwnerId using custom save logic, but it doesn't seem to matter what i do, Queue Notifications are never sent out to members.
//A place to store all our custom case logic that should be executed before
//a save into the DB
@TestVisible private void saveLogic(){
Database.DMLOptions dlo = new Database.DMLOptions();
dlo.EmailHeader.triggerAutoResponseEmail = true;
dlo.EmailHeader.triggerOtherEmail = true;
dlo.EmailHeader.triggerUserEmail = true;
Case c = (Case)caseController.getRecord();
//set the case owner to whatver the assignee is set to
c.OwnerId = this.AssigneeId;
c.setOptions(dlo);
caseController.save();
}
I am aware of the odd Queue settings in regard to the "Send email to members" checkbox and the four states it can represent with the Queue Email text field (queue case email notifications to all users). I'm just not sure what it is exactly that i'm missing here in regards to why it won't fire an email when i set the ownerId to a Queue.
Setup > Cases > Page Layout > Layout Properties > Email Notification Checkbox , no combination of checked for show on edit page or select by default seems to matter. Are there any other Queue settings I could be missing?
Edit Forgot to mention this is a production org with other email notifications we setup working properly.