Users may encounter any number of issues when changing ownership of an Account record. This could include various errors, permission issues, or issues with related records. This article outlines how to troubleshoot and investigate these issues.
Changing Account ownership results in a cascade of events whereby numerous related objects such as opportunities, cases, attachments, and contacts can be affected. This can make identifying the root cause of issues related to ownership change very difficult. A full list of considerations and affected objects is in the article Considerations for Changing a Record’s Owner.
The first diagnostic step is to check for any pattern related to the behavior. While not an exhaustive list, these questions can help isolate the issue:
Next it should be determined whether or not the user attempting to change the Account’s owner has all of the requisite permissions:
Additionally, the sharing button can be used to determine current level of access to the Account record in question.
Running debug logs with levels set as fine as possible is instrumental in identifying if there is a workflow, process, flow, trigger, validation rule, etc. that could be blocking the ownership change.
If the error message presented to the customer appears to be non-standard in any way, the culprit is most likely a custom validation rule, or an addError() method within a trigger. Debug logs will identify if the error is due to a validation rule. To check for the error message within a trigger (which could be on Account, Opportunity, Case, etc.), follow these steps:
When clicking the change owner button from within the UI, the user is presented with numerous checkboxes, including “Transfer open opportunities owned by others”. Encourage the user to try various combinations of these buttons (or unchecking them all) to see if the owner change goes through. If it does, the issue has successfully been isolated to a specific type of related record.
Next, clone the record itself, and then try to transfer the clone. Again, if the change goes through on the clone, this means there is no issue with changing the Account Record’s owner, but that there is at least one related record that is blocking the change on the original record.
Considerations for Changing a Record’s Owner
Change a Record’s Owner
How to Capture Debug Logs for Troubleshooting
002048325

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.