function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ColinKenworthy1ColinKenworthy1 

Anyone know why Update triggers on EmailMessage object have not been implemented by SF?

The Case's related object EmailMessage gets Insert and Delete triggers but not any Update triggers. So I can't do anything useful when users read or reply to an email (and the Status changes from New to Read or Replied).

 

Any explanations from SF as to why they haven't given us access to an Update trigger on this object? Is it an oversight or bug?

 

Can anyone think of any sort of workaround (I can't)?

 

regards.

JconsultantJconsultant
The EmailMessage object is not editable.  As such, there will never be an update event.  These records can only ever be created or deleted.
ColinKenworthy1ColinKenworthy1

But it is updated by the system (Status changes from New to Read) and that is what I want to base my actions on.

I want to do something to the Case whenever its EmailMessage(s) is read for the first time.