Urgent : Issue with Archived Email Records not Linking with Opportunity for regular users

Hi All,

I have encountered issue regarding linking of Archived Email records with Opportunities. The problem we are facing is for regular users, the linking between Archived Email records and Opportunities is not functioning as expected. This issue seems to be occurring due to the user having two different roles within the system.

The user's roles are as follows:

Access

Access Type

Delete

Edit

Export

Import

List

Mass Update

Record View

Role A

Enabled

Normal

None

Owner

None

All

Owner

None

Owner

Role B

Disabled

Not Set

Not Set

Not Set

Not Set

Not Set

Not Set

Not Set

Not Set

To resolve the problem, I ensured that the user has been assigned the same permission set in Role B as Role A, to maintain consistency in permissions. Additionally, I performed a Repair and Rebuild on the system to refresh any potentially corrupted data and relationships and also unlink and link user again to that role. However, despite these actions, the linking issue persists.

My functionality is working when any admin user creates new opportunity.

Steps to reproduce bug:

  1. Enable email achieving
  2. Update email address received from above step in process definition which triggers on record creation as cc email
  3. Then create new opportunity by login as any regular user
  4. Then you will received email now reply all to that email 
  5. Then email be archived into Email module
  6. Then I have added custom logic hook on emails module to link Email to respective opportunity
  7. Check if its working for regular users

Kindest Regards,

Shreya