I am trying to merge the contact & getting the below error:

System.DmlException: Merge failed. First exception on row 0 with id 003c000000FuDcKAAQ; first error: UNKNOWN_EXCEPTION, group membership operation already in progress: []

Any help will be appreciated.

  • Feels like there is some trigger at backend which is invoked on update or delete for contact .Check your debug logs to figure the root cause – Mohith Shrivastava Feb 2 '16 at 15:01
  • @MohithShrivastava, yes, there is trigger which calls after delete of contact. But any idea when & why this issue occurs? – Ajay Gupta Feb 2 '16 at 15:04
  • @MohithShrivastava I think, It is known issue in salesforce. – Ajay Gupta Feb 2 '16 at 17:33

Salesforce uses a central Group object to manage visibility related to the Role Hierarchy, Territory Hierarchy, Public Groups and Queues.

When administrative changes occur in these areas a group membership lock is taken to ensure data integrity is maintained while complex sharing calculations are completed.

The following activities take out group membership locks for the duration of their transaction:

  • Role creation

  • Role deletion

  • Moving a role in the hierarchy

  • Adding a user to a territory

  • Removing a user from a territory

  • Moving a territory in the hierarchy

  • Territory deletion

  • Territory creation

  • Provisioning an internal user with an existing role

  • User role change

  • Provisioning a non-HVPU portal user under an account

  • Portal Account owner change

  • User Role change of a user who owns one or more portal accounts

Here is a detailed article

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.