Newer Version Available
Apex Trigger: Send Email when Service Report is Created
The following trigger sends an email to a specified email address when a service report
is created in your org. For example, you may want your payroll department to be notified whenever
a service report is created.
This trigger includes the ID of the service report’s parent record. To use this trigger in your org, replace admin@myorg.com with the desired email address.