When you attempt to uninstall an app or package in Salesforce, you may receive one of the following errors:
- "Component is in use by another component in your organization"
- "Another component of your organization is using the component."
These errors indicate that a component (such as a custom field) is still referenced by another element in your org—for example, a workflow rule or another package component. This article guides you through the available tools to locate and resolve those dependencies so you can successfully complete the uninstall.
Example: An administrator tries to uninstall a managed package but receives this error because a custom field from the package is still referenced in a workflow rule's evaluation formula.Use the steps below to identify and remove the component dependencies blocking the uninstall.
Step 1: Check for Direct Links in the Error Message
When you see the error, Salesforce typically lists the specific component references with a direct link after the error message. Click those links to navigate directly to the conflicting component.
Step 2: Locate Workflow References for Custom Fields
If no link appears after the error message and the component is a custom field, the field is likely referenced in a workflow rule (an automated process that triggers actions based on field changes).
For more details, see Managing Workflow Rules: https://help.salesforce.com/apex/HTViewSolution?urlname=ManageYour-Workflow-Rules&language=en_US
Step 3: Use Workbench or Salesforce Extension for VS Code
If you are still unable to locate the references, you can use one of the following developer tools to download your org's metadata (the configuration and customization data of your Salesforce org) and search for dependencies:
- Workbench (a free, web-based tool for interacting with Salesforce metadata)
- Salesforce Extension for Visual Studio Code (VS Code): https://developer.salesforce.com/tools/vscode/- Error 'Component is in use by another component in your organization' when a package is uninstalled: https://help.salesforce.com/apex/HTViewSolution?urlname=Package-uninstall-error-Component-is-in-use-by-another-component-in-your-organization-myRule-1-A1&language=en_US
- I am Getting errors while uninstalling Managed packages: https://help.salesforce.com/apex/HTViewSolution?urlname=errors-while-uninstalling-Managed-packages&language=en_US
- Uninstall a Managed Package: https://help.salesforce.com/s/articleView?id=sf.distribution_uninstalling_packages.htm&type=5
- Managing Workflow Rules: https://help.salesforce.com/apex/HTViewSolution?urlname=ManageYour-Workflow-Rules&language=en_US000386965

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.