Non-owner admin users are unable to update EmailMessageRelation.RelationId field post 218 release.
Last updated 2022-02-10 ·Reference W-6120258 ·Reported By 8 users
Summary
Non-owner admin users are unable to update EmailMessageRelation.RelationId field post 218 release.
Repro
Steps to Reproduce
===============
1. This issue is reproducible in a fresh org with Enhanced Email On.
2. Ensure there are 2 users with System Administrator profiles. Let's call them Admin1 and Admin2.
3. Log in as Admin1, go to Contact1.
4. Send email to a contact1 and 'somebody@email.com' (plain email address) as 'To' recipients.
5. Login as Admin2 and open Developer Console.
6. Execute query 'SELECT Id, EmailMessageId, RelationId, RelationType, RelationAddress, RelationObjectType, CreatedDate, CreatedById, EmailMessage.Status, EmailMessage.ActivityId FROM EmailMessageRelation WHERE EmailMessageID = '<EmailMessageId created in step 4>'
7. Verify there are 3 EMRs returned and EMR for 'somebody@email.com' has no RelationId.
8. In the Developer Console results grid, double click RelationId for 'somebody@email.com' and input userId for Admin2
7.Click Save to see the error message.
Actual Results
<> insufficient access rights on cross-reference id<>
Expected Results
Field should update as expected
Workaround
Update field using EmailMessage record owner
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.