Email Message Trigger (After Insert) which deletes a task associated with the causes an Internal Server Error.
Last updated 2017-04-14 ·Reference W-3155879 ·Reported By 8 users
Summary
When an org contains an email message trigger that deletes a task associated with the outbound email (that caused the trigger), the system generates an Internal Server Error.
Repro
1. Create and Email Message trigger that deletes a task associated with the outbound email.
2. Activate the Trigger and send an email message from a record that will create a task such as from the Feed View of a Case using a quick action.
3. An error will display containing an error ID, e.g. Error ID: XXXXXXXXXX-XXXXX (293611350)
Workaround
Edit the trigger so the task is not deleted when the email is sent.
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.