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.
Parameters
Section titled “Parameters”connection
Section titled “connection”Connection
The org to query.
flowNames
Section titled “flowNames”readonly string[]
Flow DeveloperNames. An empty list returns [] without querying.
Returns
Section titled “Returns”Promise<FlowVersionPruneCandidate[]>
One candidate per obsolete version, in query order.