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

When does the email message object gets created in Email-to-Case

Hi All,
I would like to know at point exactly the EmailMessage record gets created.
I want to know the flow in which the records gets create in Email-To-Case.
Like First which record gets created. Like the case gets created and then Email Message or what is the flow.

If I write a trigger on Case and Email Message which one gets executed first during email-to-case scenario.

Any pointers will be helpful.
Many Thanks!