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
Pranav_VaidyaPranav_Vaidya 

Multiple email alerts via Workflow- Approval process

Hi,

 

I have set-up an approval process for Cases in my app. Everything works fine but the email alerts.

 

Depending on the 'Case' I would like the approval process to send an email to one country manager or in some cases 20 country managers. The challenge is these managers are not users on SFCM, they are stored as record under custom object. Moreover, the country managers will depend on the 'Case' (a look-up on country will evaluate related country manager) so I can not pre-define on workflow who receives the email.

 

How can I do this? How can I send email alert to more than one person using workflow-approval process?

 

Any help is much appreciated. Thanks.

Best Answer chosen by Admin (Salesforce Developers) 
Pranav_VaidyaPranav_Vaidya

Hi All,

 

I figured it out...I have written a class to send mass email and calling this from a trigger on my custom object. This has solved the issue.

 

Thanks.