Salesforce Fact #106 | SobjectList consideration

When using SObjectList we should instantiate the list using the new keyword so that it can contain all the object types. If we assign some sobject list directly to the variable, we won't be able to add other sobject records, even after using clear() function.

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