Open-Source Tool Automates Bulk Deletion of Obsolete Salesforce Flow Versions
A Salesforce developer built an open-source unlocked package to automate the cleanup of inactive Flow versions, addressing the common error that blocks field deletion when old Flows reference it. The tool uses the Tooling API combined with Batch Apex to handle large orgs efficiently. It bulk deletes inactive Flows, Flow versions, and Flow interviews while leaving all active versions untouched. Audit logging is included to provide full visibility into what has been removed. The package is freely available on GitHub and was created after the developer grew frustrated with manually deleting hundreds of obsolete Flow versions one by one.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in