Runtime Error - Invalid conversion from runtime type Map<Id,SObject> to Map<Id,Opportunity> #49
Labels
documentation
Improvements or additions to documentation
Projects
Getting the error at the below line of code -
Code:
Map<Id, Opportunity> oldOppMap = (Map<Id, Opportunity>)args.oldRecordsMap;
Error:
rflib_TriggerManager|run: Handler "OpportunityTriggerHandler" threw an exception with message "Invalid conversion from runtime type Map<Id,SObject> to Map<Id,Opportunity>". Stacktrace:
The text was updated successfully, but these errors were encountered: