pruneObsoleteFlowVersions
pruneObsoleteFlowVersions(
connection,flowNames,options?):Promise<FlowVersionPruneResult>
Defined in: flowVersionPrune.ts:101
Deletes the obsolete versions of the named Flows: findObsoleteFlowVersions, then, unless
options.dryRun, deleteFlowVersions. Unlike deleteFlows, this never removes an active Flow.
Parameters
Section titled “Parameters”connection
Section titled “connection”Connection
The org to prune.
flowNames
Section titled “flowNames”readonly string[]
Flow DeveloperNames.
options?
Section titled “options?”PruneObsoleteFlowVersionsOptions = {}
Dry run and stage callback.
Returns
Section titled “Returns”Promise<FlowVersionPruneResult>
The obsolete versions found, what was deleted, and any per-version failures.