hardis:org:purge:flow
Description
Purge Obsolete flow versions to avoid the 50 max versions limit. Filters on Status and Name
Parameters
Name | Type | Description | Default | Required | Options |
---|---|---|---|---|---|
allowpurgefailure -f |
boolean | Allows purges to fail without exiting with 1. Use --no-allowpurgefailure to disable | |||
debug -d |
boolean | Activate debug mode (more logs) | |||
delete-flow-interviews -w |
boolean | If the presence of Flow interviews prevent to delete flows versions, delete them before retrying to delete flow versions | |||
flags-dir | option | undefined | |||
instanceurl -r |
option | URL of org instance | https://login.salesforce.com | ||
json | boolean | Format output as json. | |||
name -n |
option | Filter according to Name criteria | |||
prompt -z |
boolean | Prompt for confirmation (true by default, use --no-prompt to skip) | |||
skipauth | boolean | Skip authentication check when a default username is required | |||
status -s |
option | Filter according to Status criteria | |||
target-org -o |
option | undefined | |||
websocket | option | Websocket host:port for VsCode SFDX Hardis UI integration |
Examples
$ sf hardis:org:purge:flow
$ sf hardis:org:purge:flow --target-org nicolas.vuillamy@gmail.com --no-prompt --delete-flow-interviews
$ sf hardis:org:purge:flow --target-org nicolas.vuillamy@gmail.com --status "Obsolete,Draft,InvalidDraft" --name TestFlow