Salesforce Fact #186 | Insert DML on NULL in screen flow

We all know that DML on NULL reference yields error in apex. But that is not the case in screen flow. Suppose, we are inserting two account records in a single DML and by mistake we forgot to initialize the second account.

This will be caught in apex and it will report error. But in flow it didn't generate any error and created the first account and skipped the second one. Not sure if it is a bug or not, but definitely a point to keep a note of.

Attached are the screenshots.









 

 

Comments

Popular posts from this blog

Salesforce Fact #218 | Blank picklist value is actually NULL

Salesforce Fact #947 | Resolving dashboard logged-in user limit error

Salesforce Fact #989 | New delete files permission