@simplysf/simply-flow 0.4.14 → 0.4.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/lib/commands/simply/flow/delete.d.ts +2 -10
- package/lib/commands/simply/flow/delete.js +8 -53
- package/lib/commands/simply/flow/delete.js.map +1 -1
- package/lib/commands/simply/flow/version/prune.d.ts +2 -14
- package/lib/commands/simply/flow/version/prune.js +11 -42
- package/lib/commands/simply/flow/version/prune.js.map +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -64,7 +64,7 @@ EXAMPLES
|
|
|
64
64
|
$ sf simply flow delete --manifest destructive/pre/destructiveChanges.xml --target-org myOrg --json
|
|
65
65
|
```
|
|
66
66
|
|
|
67
|
-
_See code: [lib/commands/simply/flow/delete.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-flow@0.4.
|
|
67
|
+
_See code: [lib/commands/simply/flow/delete.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-flow@0.4.15/packages/simply-flow/lib/commands/simply/flow/delete.js)_
|
|
68
68
|
|
|
69
69
|
## `sf simply flow version prune`
|
|
70
70
|
|
|
@@ -106,7 +106,7 @@ EXAMPLES
|
|
|
106
106
|
$ sf simply flow version prune --target-org myOrg --flow-name My_Flow --flow-name Another_Flow
|
|
107
107
|
```
|
|
108
108
|
|
|
109
|
-
_See code: [lib/commands/simply/flow/version/prune.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-flow@0.4.
|
|
109
|
+
_See code: [lib/commands/simply/flow/version/prune.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-flow@0.4.15/packages/simply-flow/lib/commands/simply/flow/version/prune.js)_
|
|
110
110
|
<!-- commandsstop -->
|
|
111
111
|
|
|
112
112
|
## License
|
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
import { SfCommand } from '@salesforce/sf-plugins-core';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
stage: 'deactivate' | 'delete';
|
|
5
|
-
message: string;
|
|
6
|
-
};
|
|
7
|
-
export type FlowDeleteResult = {
|
|
8
|
-
deactivated: string[];
|
|
9
|
-
deleted: string[];
|
|
10
|
-
failures: FlowDeleteFailure[];
|
|
11
|
-
};
|
|
2
|
+
import { type FlowDeleteResult } from '@simplysf/simply-flow-core';
|
|
3
|
+
export type { FlowDeleteFailure, FlowDeleteResult } from '@simplysf/simply-flow-core';
|
|
12
4
|
/**
|
|
13
5
|
* Deactivates and hard-deletes every version of the named Flows — the pre-step a destructive
|
|
14
6
|
* metadata deploy needs, since Salesforce won't remove a Flow that still has an active version.
|
|
@@ -16,12 +16,11 @@
|
|
|
16
16
|
import fs from 'node:fs/promises';
|
|
17
17
|
import { Messages } from '@salesforce/core';
|
|
18
18
|
import { SfCommand, Flags } from '@salesforce/sf-plugins-core';
|
|
19
|
-
import {
|
|
19
|
+
import { readPackageManifestMembers } from '@simplysf/simply-core';
|
|
20
|
+
import { deleteFlows } from '@simplysf/simply-flow-core';
|
|
20
21
|
import { requireConnection, targetOrgFlags } from '@simplysf/simply-plugin-kit';
|
|
21
22
|
Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
|
|
22
23
|
const messages = Messages.loadMessages('@simplysf/simply-flow', 'simply.flow.delete');
|
|
23
|
-
/** How many `Definition.DeveloperName` values to put in each Tooling API `IN (...)` clause. */
|
|
24
|
-
const QUERY_CHUNK_SIZE = 200;
|
|
25
24
|
const FAILURE_TABLE_COLUMNS = [
|
|
26
25
|
{ key: 'developerName', name: 'FLOW' },
|
|
27
26
|
{ key: 'stage', name: 'STAGE' },
|
|
@@ -60,56 +59,12 @@ export default class FlowDelete extends SfCommand {
|
|
|
60
59
|
return { deactivated: [], deleted: [], failures: [] };
|
|
61
60
|
}
|
|
62
61
|
const connection = requireConnection(flags);
|
|
63
|
-
const failures =
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}
|
|
70
|
-
const deactivated = [];
|
|
71
|
-
for (const [definitionId, developerName] of distinctDefinitions) {
|
|
72
|
-
try {
|
|
73
|
-
// eslint-disable-next-line no-await-in-loop -- deactivating one FlowDefinition per iteration; failures must attribute to the right flow
|
|
74
|
-
const result = await connection.tooling.sobject('FlowDefinition').update({
|
|
75
|
-
Id: definitionId,
|
|
76
|
-
Metadata: { activeVersionNumber: 0 },
|
|
77
|
-
});
|
|
78
|
-
if (result.success) {
|
|
79
|
-
deactivated.push(developerName);
|
|
80
|
-
}
|
|
81
|
-
else {
|
|
82
|
-
failures.push({
|
|
83
|
-
developerName,
|
|
84
|
-
stage: 'deactivate',
|
|
85
|
-
message: result.errors.map((e) => e.message).join(', '),
|
|
86
|
-
});
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
catch (error) {
|
|
90
|
-
failures.push({ developerName, stage: 'deactivate', message: error.message });
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
this.spinner.stop();
|
|
94
|
-
this.spinner.start(messages.getMessage('info.deleting'));
|
|
95
|
-
const versionRecords = await chunkedInQuery(connection, flowNames, (inClause) => `SELECT Id, Definition.DeveloperName FROM Flow WHERE Definition.DeveloperName IN (${inClause})`, { chunkSize: QUERY_CHUNK_SIZE, tooling: true });
|
|
96
|
-
const deleted = [];
|
|
97
|
-
for (const version of versionRecords) {
|
|
98
|
-
const developerName = version.Definition.DeveloperName;
|
|
99
|
-
try {
|
|
100
|
-
// eslint-disable-next-line no-await-in-loop -- deleting one Flow version per iteration; the Tooling API has no bulk destroy for this object
|
|
101
|
-
const result = await connection.tooling.sobject('Flow').destroy(version.Id);
|
|
102
|
-
if (result.success) {
|
|
103
|
-
deleted.push(developerName);
|
|
104
|
-
}
|
|
105
|
-
else {
|
|
106
|
-
failures.push({ developerName, stage: 'delete', message: result.errors.map((e) => e.message).join(', ') });
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
catch (error) {
|
|
110
|
-
failures.push({ developerName, stage: 'delete', message: error.message });
|
|
111
|
-
}
|
|
112
|
-
}
|
|
62
|
+
const { deactivated, deleted, failures } = await deleteFlows(connection, flowNames, {
|
|
63
|
+
onStage: (stage) => {
|
|
64
|
+
this.spinner.stop();
|
|
65
|
+
this.spinner.start(messages.getMessage(stage === 'deactivate' ? 'info.deactivating' : 'info.deleting'));
|
|
66
|
+
},
|
|
67
|
+
});
|
|
113
68
|
this.spinner.stop();
|
|
114
69
|
if (failures.length > 0) {
|
|
115
70
|
this.table({ data: failures, columns: FAILURE_TABLE_COLUMNS });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete.js","sourceRoot":"","sources":["../../../../src/commands/simply/flow/delete.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"delete.js","sourceRoot":"","sources":["../../../../src/commands/simply/flow/delete.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,WAAW,EAAyB,MAAM,4BAA4B,CAAC;AAChF,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAEhF,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAA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CAAC,QAAQ,GAAG,CAAC,CAAC;QACvB,CAAC;QACD,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,cAAc,EAAE,CAAC,WAAW,CAAC,MAAM,EAAE,OAAO,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;QAEtG,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC;IAC5C,CAAC"}
|
|
@@ -1,18 +1,6 @@
|
|
|
1
1
|
import { SfCommand } from '@salesforce/sf-plugins-core';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
developerName: string;
|
|
5
|
-
};
|
|
6
|
-
export type FlowVersionPruneFailure = {
|
|
7
|
-
developerName: string;
|
|
8
|
-
message: string;
|
|
9
|
-
};
|
|
10
|
-
export type FlowVersionPruneResult = {
|
|
11
|
-
dryRun: boolean;
|
|
12
|
-
candidates: FlowVersionPruneCandidate[];
|
|
13
|
-
deleted: string[];
|
|
14
|
-
failures: FlowVersionPruneFailure[];
|
|
15
|
-
};
|
|
2
|
+
import { type FlowVersionPruneResult } from '@simplysf/simply-flow-core';
|
|
3
|
+
export type { FlowVersionPruneCandidate, FlowVersionPruneFailure, FlowVersionPruneResult, } from '@simplysf/simply-flow-core';
|
|
16
4
|
/**
|
|
17
5
|
* Deletes obsolete Flow versions (`Status = 'Obsolete'`) for the Flows found under `--source-dir`,
|
|
18
6
|
* or for explicitly named Flows via `--flow-name`. Unlike `flow delete`, this never removes an
|
|
@@ -13,16 +13,12 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import path from 'node:path';
|
|
17
16
|
import { Messages } from '@salesforce/core';
|
|
18
17
|
import { SfCommand, Flags } from '@salesforce/sf-plugins-core';
|
|
19
|
-
import {
|
|
18
|
+
import { findFlowNamesInSource, pruneObsoleteFlowVersions, } from '@simplysf/simply-flow-core';
|
|
20
19
|
import { requireConnection, targetOrgFlags } from '@simplysf/simply-plugin-kit';
|
|
21
|
-
import { glob } from 'glob';
|
|
22
20
|
Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
|
|
23
21
|
const messages = Messages.loadMessages('@simplysf/simply-flow', 'simply.flow.version.prune');
|
|
24
|
-
/** How many `Definition.DeveloperName` values to put in each Tooling API `IN (...)` clause. */
|
|
25
|
-
const QUERY_CHUNK_SIZE = 200;
|
|
26
22
|
const CANDIDATE_TABLE_COLUMNS = [
|
|
27
23
|
{ key: 'developerName', name: 'FLOW' },
|
|
28
24
|
{ key: 'id', name: 'VERSION ID' },
|
|
@@ -31,10 +27,6 @@ const FAILURE_TABLE_COLUMNS = [
|
|
|
31
27
|
{ key: 'developerName', name: 'FLOW' },
|
|
32
28
|
{ key: 'message', name: 'MESSAGE' },
|
|
33
29
|
];
|
|
34
|
-
/** @returns The Flow DeveloperName encoded in a `<DeveloperName>.flow-meta.xml` file's basename. */
|
|
35
|
-
function developerNameFromFlowFile(flowFile) {
|
|
36
|
-
return path.parse(flowFile).name.replace('.flow-meta', '');
|
|
37
|
-
}
|
|
38
30
|
/**
|
|
39
31
|
* Deletes obsolete Flow versions (`Status = 'Obsolete'`) for the Flows found under `--source-dir`,
|
|
40
32
|
* or for explicitly named Flows via `--flow-name`. Unlike `flow delete`, this never removes an
|
|
@@ -71,51 +63,28 @@ export default class FlowVersionPrune extends SfCommand {
|
|
|
71
63
|
let flowNames;
|
|
72
64
|
if (hasSourceDir) {
|
|
73
65
|
this.spinner.start(messages.getMessage('info.scanningLocalSource'));
|
|
74
|
-
|
|
75
|
-
const flowFiles = (await Promise.all(sourceDirs.map((sourceDir) => glob(`${sourceDir.replaceAll('\\', '/')}/**/*.flow-meta.xml`)))).flat();
|
|
76
|
-
flowNames = [...new Set(flowFiles.map(developerNameFromFlowFile))];
|
|
66
|
+
flowNames = await findFlowNamesInSource(flags['source-dir']);
|
|
77
67
|
this.spinner.stop();
|
|
78
68
|
}
|
|
79
69
|
else {
|
|
80
70
|
flowNames = flags['flow-name'];
|
|
81
71
|
}
|
|
82
72
|
const connection = requireConnection(flags);
|
|
83
|
-
|
|
84
|
-
|
|
73
|
+
const { dryRun, candidates, deleted, failures } = await pruneObsoleteFlowVersions(connection, flowNames, {
|
|
74
|
+
dryRun: flags['dry-run'],
|
|
75
|
+
onStage: (stage) => {
|
|
76
|
+
this.spinner.stop();
|
|
77
|
+
this.spinner.start(messages.getMessage(stage === 'query' ? 'info.queryingObsoleteVersions' : 'info.deleting'));
|
|
78
|
+
},
|
|
79
|
+
});
|
|
85
80
|
this.spinner.stop();
|
|
86
|
-
|
|
87
|
-
id: record.Id,
|
|
88
|
-
developerName: record.Definition.DeveloperName,
|
|
89
|
-
}));
|
|
90
|
-
if (flags['dry-run']) {
|
|
81
|
+
if (dryRun) {
|
|
91
82
|
if (candidates.length > 0) {
|
|
92
83
|
this.table({ data: candidates, columns: CANDIDATE_TABLE_COLUMNS });
|
|
93
84
|
}
|
|
94
85
|
this.info(messages.getMessage('info.dryRunSummary', [candidates.length]));
|
|
95
|
-
return { dryRun
|
|
86
|
+
return { dryRun, candidates, deleted, failures };
|
|
96
87
|
}
|
|
97
|
-
const failures = [];
|
|
98
|
-
const deleted = [];
|
|
99
|
-
this.spinner.start(messages.getMessage('info.deleting'));
|
|
100
|
-
for (const candidate of candidates) {
|
|
101
|
-
try {
|
|
102
|
-
// eslint-disable-next-line no-await-in-loop -- deleting one Flow version per iteration; the Tooling API has no bulk destroy for this object
|
|
103
|
-
const result = await connection.tooling.sobject('Flow').destroy(candidate.id);
|
|
104
|
-
if (result.success) {
|
|
105
|
-
deleted.push(candidate.developerName);
|
|
106
|
-
}
|
|
107
|
-
else {
|
|
108
|
-
failures.push({
|
|
109
|
-
developerName: candidate.developerName,
|
|
110
|
-
message: result.errors.map((e) => e.message).join(', '),
|
|
111
|
-
});
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
catch (error) {
|
|
115
|
-
failures.push({ developerName: candidate.developerName, message: error.message });
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
this.spinner.stop();
|
|
119
88
|
if (failures.length > 0) {
|
|
120
89
|
this.table({ data: failures, columns: FAILURE_TABLE_COLUMNS });
|
|
121
90
|
process.exitCode = 1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prune.js","sourceRoot":"","sources":["../../../../../src/commands/simply/flow/version/prune.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"prune.js","sourceRoot":"","sources":["../../../../../src/commands/simply/flow/version/prune.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EACL,qBAAqB,EACrB,yBAAyB,GAE1B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAEhF,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,uBAAuB,EAAE,2BAA2B,CAAC,CAAC;AAS7F,MAAM,uBAAuB,GAAG;IAC9B,EAAE,GAAG,EAAE,eAAwB,EAAE,IAAI,EAAE,MAAM,EAAE;IAC/C,EAAE,GAAG,EAAE,IAAa,EAAE,IAAI,EAAE,YAAY,EAAE;CAC3C,CAAC;AAEF,MAAM,qBAAqB,GAAG;IAC5B,EAAE,GAAG,EAAE,eAAwB,EAAE,IAAI,EAAE,MAAM,EAAE;IAC/C,EAAE,GAAG,EAAE,SAAkB,EAAE,IAAI,EAAE,SAAS,EAAE;CAC7C,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,gBAAi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CAAC,CAAC,CAAC;YAC1E,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC;QACnD,CAAC;QAED,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YACxB,IAAI,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,qBAAqB,EAAE,CAAC,CAAC;YAC/D,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;QACvB,CAAC;QACD,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,cAAc,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;QAElF,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC;IAC1D,CAAC"}
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simplysf/simply-flow",
|
|
3
3
|
"description": "Utilities for working with Flows",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.15",
|
|
5
5
|
"author": "@ClayChipps",
|
|
6
6
|
"homepage": "https://github.com/SimplySF/simply-plugins",
|
|
7
7
|
"bugs": "https://github.com/SimplySF/simply-plugins/issues",
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
"@salesforce/core": "^8.30.0",
|
|
61
61
|
"@salesforce/sf-plugins-core": "^12.2.16",
|
|
62
62
|
"@simplysf/simply-core": "^1.6.7",
|
|
63
|
-
"@simplysf/simply-
|
|
64
|
-
"
|
|
63
|
+
"@simplysf/simply-flow-core": "^0.1.0",
|
|
64
|
+
"@simplysf/simply-plugin-kit": "^1.0.9"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@oclif/plugin-command-snapshot": "^5.4.0",
|
|
@@ -189,5 +189,5 @@
|
|
|
189
189
|
"output": []
|
|
190
190
|
}
|
|
191
191
|
},
|
|
192
|
-
"gitHead": "
|
|
192
|
+
"gitHead": "b4836698063a2aaa2ac590b3a1f60e4597644009"
|
|
193
193
|
}
|