Salesforce Fact #71 | Beware of NULL in DML

Whenever we are doing DML on bulk records using List, if any of the element is NULL in the list the entire operation will fail. It even cannot be partially completed using the Database methods and setting the allOrNone flag to false. So we need to be careful.

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