Salesforce Fact #410 | Using NULL for boolean fields

For boolean fields, we generally use TRUE/FALSE during SOQL. But do you know that if we use NULL as the filter it is same as using FALSE.

However, during insert/update record we need to use FALSE explicitly, else we will get error.

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