You need to sign in to do that
Don't have an account?
Adelchi Pelizzo
Related EmailMessage to Contact
Inbound Email service works ok relating EmailMessage to Case and Account>
Not working for Contact.
FATAL_ERROR|System.DmlException: Insert failed. First exception on row 0; first error: FIELD_INTEGRITY_EXCEPTION, Related To ID: id value of incorrect type: 0038d00000BozV3AAJ: [RelatedToId]
I tried also EmailMessageRelation object, same behavior:
FATAL_ERROR|System.DmlException: Insert failed. First exception on row 0; first error: FIELD_INTEGRITY_EXCEPTION, Relation ID: id value of incorrect type: 0018d00000D5eT0AAJ: [RelationId]
All Answers