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
HasmikHasmik 

List emails for custom objects

Hi,
Our client has the following requirement: send mass emails to Custom Service Participants(child) object using predefined templates. Most of the info on the template is from the Service Schedule(parent).
To do this:
  1. I have created Classic templates with the respective merge fields, hyperlinks, and pictures.
  2. Created Email alert for Service Participant(child) using the template
  3. Created Flow using the email alert action to send the email to participants for whom Send Email (custom field) is set to Yes.
The merge fields for the Service Participants(child) that I use in the email template are coming, however, the merge fields for the Service Schedule(parent) are blank.
Can anyone tell me how to change email templates so that the parent fields are not blank too? 
Or let me know if there is a better solution for these requirements?
The idea is that, without being too technical, they should be able to send emails to a list of Service Participants(child) similar to Contacts.
AnkaiahAnkaiah (Salesforce Developers) 
Hi Hasmik,

Refer the below link will help you to proceed further.
https://salesforcegeek.in/trigger-scenarios-in-salesforce-part-2/

Thanks!!