Salesforce Fact #526 | Collection read-only error
Trigger context variables are read-only. If you try to add/remove values from the collections, it will throw the below error:
System.FinalException: Collection Is Read-only External Entry Point.
However, clear() function can be applied on trigger.newMap and trigger.oldMap.
Comments
Post a Comment