Salesforce Fact #222 | Parent record data in delete trigger

Suppose we need to get parent record data in the delete trigger of child record. In that case, it is only available using SOQL from before delete trigger. The after delete trigger won't return any data from SOQL.

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