-
Showing Null value in OwnerEmail
for(Account acc : Trigger.New){
system.debug(‘>>>>>>>>’+acc.Owner.Email);
}
In my Trigger ‘account.Owner.Email’ is showing null value,but we have an email of Owner, can anyone help me with this?
Log In to reply.
Popular Salesforce Blogs
How to Copy Billing Address to Shipping Address in Salesforce?
When we create new Contract and edit them them there is a Standard Functionality that Copies Billing Address to Shipping Address.But if we need to…
What is the Non-Profit Success Pack in Salesforce?
The Salesforce Non-Profit Success Pack (NPSP) is a free solution available to nonprofits through the Salesforce AppExchange. It was created to help nonprofits use CRM…
How to create custom Lookup in Lightning Component
Hi guys, Its time to use Lightning Component Framework. This framework is used to build a SPA. SPA is not a massage therapy as you…
Popular Salesforce Videos
Skill Based Routing with Apex/Flows in Salesforce
This video is the sequel to the omnichannel Salesforce tutorial (LINK) In this video, we will cover: 1. What is Skill-based routing 2. Why is…
How To Send Email Using Apex | Apex Salesforce Tutorial
This tutorial will show how you can send emails using Apex. The following points will be covered - 1. Introduction Take a look at the…
Dreamforce 2021 FAQs
As the fall continues to approach, questions around Dreamforce 2021 continue to increase and that's why we've gone ahead and answered all the FAQs around…