Skip to content

Field referenced by a Flow version

Detection

  • RegExp: Error (.*) This custom field is referenced elsewhere in salesforce.com. : Flow Version - (.*)
  • Replaces: Can not delete custom field

Examples

  • Error Account.Old_Field__c This custom field is referenced elsewhere in salesforce.com. : Flow Version - Account_Update

Resolution

Field {1} is still used by a version of flow {2} in the target org, even an inactive one.
- Remove {1} from the flow in your sources, deploy, then delete the field in a later deployment
- Delete the old versions of {2} that use {1} in the target org (sf hardis:org:purge:flow)

Comments