Loading

Unable to delete Objects or package components referenced in Dataflows

Data pubblicazione: Apr 30, 2026
Descrizione

Objects and package components can be referenced in Dataflows, generally as the target of an sfdcDigest node, but this may also occur if an older version of a Dataflow referenced the object or package components at some point. This will prevent those entities from being deleted through the Setup interface. 

When deleting a custom object, the following failure reason will be displayed: 

The error message displayed reads: This custom object is used by another feature. Remove the usage and try again. Section: Dataflow.

When uninstalling a package, the error looks like this:
 Component is in use by another component in your organization. SalesEdgeEltWorkflow

The Dataflow object cannot be accessed within the core user interface, so clicking on the link within the error will return an "Insufficient Privileges" message. Gather the Dataflow ID from the URL for reference, it begins with "02K".

Example: When deleting a custom object, Salesforce displays an error indicating the object is in use by a Dataflow. The message reads: This custom object is used by another feature — Section: Dataflow. The Dataflow object ID begins with 02K and can be retrieved from the error link URL.

 

Risoluzione

Objects or package components may continue to be referenced within Dataflows (including older or archived versions), which can block deletion or uninstallation from Setup. To address this, please consider the following options to remove those references.

Option 1: Remove references in Dataflow


1. Download the current Dataflow definitions as a backup. 
2. Remove the references to the object or package component.
3. Upload the modified Dataflow definition.
4. Run the modified Dataflow.
5. Delete the object or uninstall the package.
 

Option 2: Reset the Dataflow definition


1. Download the current Dataflow definitions as a backup.
2. Upload a "blank" Dataflow definition. This should only contain the following: 
 
{ }

3. Run the "blank" Dataflow to commit it.  Note: You may need to repeat steps 1-3 for each Dataflow in your org. 
4. Delete the object or uninstall the package. 
5. Re-upload the previous version of the Dataflow. You may need to correct errors related to the now-deleted object or package.

For additional information, see Reset the Dataflow Definition JSON.
 

Option 3: Get help from Salesforce Support

If the instructions above do not resolve this issue, it is generally because the object is referenced in a deleted (soft-delete or archived) version of a Dataflow.

If this is the issue, please submit a new case to Salesforce Support and include the following details:
 
  • The Name and API Name of the object being deleted.
  • The DataflowID (02K...) from the "Insufficient Privileges" page URL.
  • Permission to hard-delete the impacted Dataflow (This is irreversible. This does not negatively impact functionality as the Dataflow in question has already been removed via the UI and is no longer scheduled or available to be run.)
Risorse aggiuntive

Reset the Dataflow Definition JSON in CRM Analytics
https://help.salesforce.com/s/articleView?id=000385765&type=1

Numero articolo Knowledge

000383133

 
Caricamento
Salesforce Help | Article