Salesforce Fact #72 | Contact Name in trigger

Contact Name field is directly not accessible in trigger. We need to fetch it using SOQL to get the data.

EDIT: Another option is we can access the firstname and lastname fields and concatenate. This would save from making an SOQL query.

Attached are the screenshots.

 

 


 

Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow