
1 件の回答
Hi,I don't know your question or target with the code snippet. Could you explain that in more detail?One issue I see at the first time is the use for Trigger.oldMap in case of before insert. There is now context variable named Trigger.oldMap for before insert.See in more detail the following link: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_triggers_context_variables.htm (see table at the top of the page). Regards,Chris