Skip to content

findObsoleteFlowVersions

findObsoleteFlowVersions(connection, flowNames): Promise<FlowVersionPruneCandidate[]>

Defined in: flowVersionPrune.ts:38

Finds the Status = 'Obsolete' versions of the named Flows. Never returns an active version.

Connection

The org to query.

readonly string[]

Flow DeveloperNames. An empty list returns [] without querying.

Promise<FlowVersionPruneCandidate[]>

One candidate per obsolete version, in query order.