All Collections
Problem analyzers
Problem analyzers
Flow Definitions can't be deleted
Flow Definitions can't be deleted

This analyzer identifies Flow Definitions that cannot be isolated and deleted through the metadata API

Catherine Bacon avatar
Written by Catherine Bacon
Updated over a week ago

This problem analyzer helps you deploy changes to Flow Definitions.

Note: With the release of Winter '19 (v44 of the metadata API), Salesforce has made major changes to how Flow and Flow Definitions are handled by the metadata API. See our support doc on the changes and how they affect you.

What triggers this analyzer?

If you include Flow Definition deletions in your deployment, this problem analyzer will be triggered.

What problem is it solving?

It isn't possible to delete flow definitions through the metadata API. If you try, your deployment will fail with the error insufficient access rights on cross-reference id.

How does it work?

Gearset will remove these deletions from your deployment. You'll need to delete the flow itself to delete the flow definition.

Did this answer your question?