You need to sign in to do that
Don't have an account?
Sunreach Consulting 24
After Update Trigger Fires Before After Insert Trigger with NPS installed
We have implemented NPSP in our Salesforce org. We created an Opportunity Trigger to send an email notification and create a task with a PDF attachment after an Opportunity is created. In Sandbox, when we test the trigger, it is only sending 1 email and creating 1 task, however, after deploying it to Production, it is sending 2 emails and creating 2 tasks.
When we review the debug log, it is actually going through the After Update event before it fires the After Insert event. We verfied that there are no workflows or Process Builders fired before the After Update trigger event. Any idea why the After Update trigger is getting fired before After Insert? It is only doing this in Production, not in Sandbox.
When we review the debug log, it is actually going through the After Update event before it fires the After Insert event. We verfied that there are no workflows or Process Builders fired before the After Update trigger event. Any idea why the After Update trigger is getting fired before After Insert? It is only doing this in Production, not in Sandbox.
How many triggers are written in opportunity object and is there any update/insert operation is happening on Opportunity record (i.e.inside trigger)
Thanks,
Prem