You need to sign in to do that
Don't have an account?

Email to a custom object record
We have a custom object called Staff__c and Staff_Leave__c. I need to sent an email to a record in Staff__c when his leave record in Staff_Leave__c is approved by changing the Leave_Status__c to 'Approvved'. Is there a way to do this please advice
You can not use workflow because of accesing cross object email field is not available in workflow rules.
it will be done using apex trigger....please following trigger on leave
Thanks
Banwari
All Answers
You can use workflow & process Builder for achieve your requirement.
Thanks,
Arvind Kumar
You can not use workflow because of accesing cross object email field is not available in workflow rules.
it will be done using apex trigger....please following trigger on leave
Thanks
Banwari
I found a way to use workflow to sent out email from the custom object. Get the email from the master object and store it as an emailf ield. use this field to create workflow and sent out email using email Field
Thanks you guys