Mass delete Salesforce Flow versions | thiscodeWorks
Fri Feb 14 2025 10:01:24 GMT+0000 (Coordinated Universal Time)
Saved by
@dennis_both
SELECT DurableId, FlowDefinitionView.Label, VersionNumber, Status FROM FlowVersionView WHERE FlowDefinitionView.Label LIKE '%PLACE PART OF THE FLOW NAME HERE%' AND Status != 'Active'
/* NOTE: When IMPORTING (Delete Action) - Mark API Type as "Tooling API", limit the batch to 10 and 1 thread (SF Limitation), and change DurableId to ID */
content_copyCOPY
https://www.thiscodeworks.com/mass-delete-salesforce-flow-versions-salesforce-flows-soql/66ec4cae518ce400147dd01f
Comments