I want to check in my trigger on a case whether the email Id of the person account for the case is an null or not. I have a lookup to contact(person account) on the case page. How to achieve this.
for (case caseObj : trigger.new){
......
}
in this for loop I tried
caseObj.account.personal email == null;
caseObj.contact.email == null;
caseObj.ContactEmail == null;
but it didn't work out can anyone help.