Improve error message displayed when operation(like lead convert) fails to acquire parent campaign lock

Apex , Campaigns

Last updated 2018-09-10 ·Reference W-5205329 ·Reported By 0 users

Fixed

Summary
This use case pertains to large number of campaign members parenting to a campaign (hierarchical campaign).

Repro
When multiple leads having common campaign members are converted at same time, the convert attempts are failing to acquire the lock on the parent campaign and an Unknown error is being returned.

Error Message displayed curently:

Error: UNKNOWN_EXCEPTION, An unexpected error occurred. Please include this ErrorId if you contact support

ConvertLead failed: First exception on row 0; first error; UNKNOWN EXCEPTION. There was an error converting the lead. Please try agian. If the problem persists, please contact your administrator: []


Error Message to be displayed:

The system has to return a lock specific error instead of Unknown exception so that we can catch the exception and retry the lead convert attempt in the background.

Workaround
NA

Reported By (0)

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.