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
Joe EngineerJoe Engineer 

create an email alert trigger when case updated

A previous employee was responsible for the support portal and had created an alert whenever a customer account created a case or an update occured with that case. It works for the owner of the account but the solutions architect needs to receive the email alert too. We have no idea how to do this; can someone please assist?
SUCHARITA MONDALSUCHARITA MONDAL
Hi Joe,

You can add the recipients from User list. Check with the email alert and while modifying it, you can add the recipients as many as you want.
Check with the link!
https://success.salesforce.com/answers?id=9063A000000e2oUQAQ

Share your thoughts!

Thanks,
Sucharita
 
Rahul Kumar DeyRahul Kumar Dey
@Sucharita, that we can do using Workflow and Process builder as well. But if we want to send email based on records level attribute for that we need to write trigger.
AbhishekAbhishek (Salesforce Developers) 
Hi Joe,

If you want to know how it works then set the debug logs while performing the operation.

In the debug logs you can notice the complete process.

If you still need developer assistance I would request you to reach out to your Account Executive they will assign you a Developer.

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks.
Joe EngineerJoe Engineer
How do you set the debug logs? Could someone share the ideal samples or tutorials for apex triggers? Seems like this would eventually be the only solution.
Rahul Kumar DeyRahul Kumar Dey
@Joe, use system.debug('Your Message ' + whatever_return_through_variable_or_list);