Loading

Unable to delete Objects or package components referenced in Dataflows

Julkaisupäivä: Mar 3, 2025
Kuvaus

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: 
 
Reason 
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".


 
Ratkaisu

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.)
Knowledge-artikkelin numero

000383133

 
Ladataan
Salesforce Help | Article