@simplysf/simply-aep 0.4.1 → 0.5.1

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 CHANGED
@@ -22,6 +22,472 @@ This package is part of the [`@simplysf/simply`](https://github.com/SimplySF/sim
22
22
 
23
23
  <!-- commands -->
24
24
 
25
+ - [`sf simply aep at4dx binding list`](#sf-simply-aep-at4dx-binding-list)
26
+ - [`sf simply aep at4dx domain-process-binding list`](#sf-simply-aep-at4dx-domain-process-binding-list)
27
+ - [`sf simply aep at4dx domain-process-binding validate`](#sf-simply-aep-at4dx-domain-process-binding-validate)
28
+
29
+ ## `sf simply aep at4dx binding list`
30
+
31
+ List the AT4DX Application Factory bindings configured in an org or local source, resolved to show which record wins for each binding key.
32
+
33
+ ```
34
+ USAGE
35
+ $ sf simply aep at4dx binding list [--json] [--flags-dir <value>] [-o <value>] [--api-version <value>] [-d <value>...] [-t
36
+ service|selector|domain|unit-of-work...] [--effective-only]
37
+
38
+ FLAGS
39
+ -d, --source-dir=<value>... One or more paths to directories containing Salesforce DX source. Use this for
40
+ local-source discovery.
41
+ -o, --target-org=<value> Username or alias of the org to read bindings from. Use this for live-org discovery.
42
+ -t, --type=<option>... Binding type(s) to include: service, selector, domain, unit-of-work.
43
+ <options: service|selector|domain|unit-of-work>
44
+ --api-version=<value> Override the api version used for api requests made by this command
45
+ --effective-only Only show the bindings that actually win for their key; hide shadowed/non-winning
46
+ records.
47
+
48
+ GLOBAL FLAGS
49
+ --flags-dir=<value> Import flag values from a directory.
50
+ --json Format output as json.
51
+
52
+ DESCRIPTION
53
+ List the AT4DX Application Factory bindings configured in an org or local source, resolved to show which record wins
54
+ for each binding key.
55
+
56
+ Reads the four AT4DX Application Factory Custom Metadata Types — `ApplicationFactory_ServiceBinding__mdt`,
57
+ `ApplicationFactory_SelectorBinding__mdt`, `ApplicationFactory_DomainBinding__mdt`, and
58
+ `ApplicationFactory_UnitOfWorkBinding__mdt` — either from a live org or from local Salesforce DX source, and
59
+ reproduces the resolution rules AT4DX applies at runtime so you can see which record actually wins for a given
60
+ interface or SObject, and which ones are shadowed. Exactly one of `--target-org` or `--source-dir` must be specified.
61
+
62
+ Service and Selector bindings resolve deterministically on `Priority__c` (highest wins). Domain bindings have no
63
+ priority field, so a duplicated key is flagged `ambiguous` rather than reporting a guessed winner. UnitOfWork bindings
64
+ have no winner concept at all — every record contributes to one ordered registration list.
65
+
66
+ EXAMPLES
67
+ $ sf simply aep at4dx binding list --target-org myOrg
68
+
69
+ $ sf simply aep at4dx binding list --source-dir sfdx-source/core --source-dir sfdx-source/app
70
+
71
+ $ sf simply aep at4dx binding list --target-org myOrg --type service,selector
72
+
73
+ $ sf simply aep at4dx binding list --target-org myOrg --effective-only --json
74
+
75
+ FLAG DESCRIPTIONS
76
+ -t, --type=service|selector|domain|unit-of-work...
77
+
78
+ Binding type(s) to include: service, selector, domain, unit-of-work.
79
+
80
+ Comma-separated list of binding types to include. If not specified, all four are included.
81
+ ```
82
+
83
+ _See code: [lib/commands/simply/aep/at4dx/binding/list.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.5.0/packages/simply-aep/lib/commands/simply/aep/at4dx/binding/list.js)_
84
+
85
+ ## `sf simply aep at4dx domain-process-binding list`
86
+
87
+ List the AT4DX Trigger Action Framework bindings configured in an org or local source, in execution order.
88
+
89
+ ```
90
+ USAGE
91
+ $ sf simply aep at4dx domain-process-binding list [--json] [--flags-dir <value>] [-o <value>] [--api-version <value>] [-d <value>...] [-s
92
+ <value>...] [--active-only]
93
+
94
+ FLAGS
95
+ -d, --source-dir=<value>... One or more paths to directories containing Salesforce DX source. Use this for
96
+ local-source discovery.
97
+ -o, --target-org=<value> Username or alias of the org to read bindings from. Use this for live-org discovery.
98
+ -s, --sobject=<value>... SObject API name(s) to filter to. If not specified, bindings for every SObject are
99
+ included.
100
+ --active-only Only show active bindings; hide inactive records.
101
+ --api-version=<value> Override the api version used for api requests made by this command
102
+
103
+ GLOBAL FLAGS
104
+ --flags-dir=<value> Import flag values from a directory.
105
+ --json Format output as json.
106
+
107
+ DESCRIPTION
108
+ List the AT4DX Trigger Action Framework bindings configured in an org or local source, in execution order.
109
+
110
+ Reads AT4DX's Trigger Action Framework Custom Metadata Type — `DomainProcessBinding__mdt` — either from a live org or
111
+ from local Salesforce DX source, showing which criteria/action classes are bound to each SObject's trigger events (or
112
+ domain method tokens), and the order they run in. Exactly one of `--target-org` or `--source-dir` must be specified.
113
+
114
+ Unlike `simply aep at4dx binding list`, there's no "winner" here — every active record in a group (same SObject,
115
+ process context, and trigger operation or domain method token) runs, in `OrderOfExecution__c` order. Two active
116
+ records sharing the same order within a group are flagged as a collision, since AT4DX doesn't guarantee which one runs
117
+ first in that case.
118
+
119
+ EXAMPLES
120
+ $ sf simply aep at4dx domain-process-binding list --target-org myOrg
121
+
122
+ $ sf simply aep at4dx domain-process-binding list --source-dir sfdx-source/core --source-dir sfdx-source/app
123
+
124
+ $ sf simply aep at4dx domain-process-binding list --target-org myOrg --sobject Account
125
+
126
+ $ sf simply aep at4dx domain-process-binding list --target-org myOrg --active-only --json
127
+ ```
128
+
129
+ _See code: [lib/commands/simply/aep/at4dx/domain-process-binding/list.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.5.0/packages/simply-aep/lib/commands/simply/aep/at4dx/domain-process-binding/list.js)_
130
+
131
+ ## `sf simply aep at4dx domain-process-binding validate`
132
+
133
+ Validate the AT4DX Trigger Action Framework bindings configured in an org or local source, failing when a wiring problem is found.
134
+
135
+ ```
136
+ USAGE
137
+ $ sf simply aep at4dx domain-process-binding validate [--json] [--flags-dir <value>] [-o <value>] [--api-version <value>] [-d <value>...] [-s
138
+ <value>...]
139
+
140
+ FLAGS
141
+ -d, --source-dir=<value>... One or more paths to directories containing Salesforce DX source. Use this for
142
+ local-source discovery.
143
+ -o, --target-org=<value> Username or alias of the org to read bindings from. Use this for live-org discovery.
144
+ -s, --sobject=<value>... SObject API name(s) to filter to. Applies only to issues that name an SObject; issues
145
+ that span the whole scan (a duplicate DeveloperName, or a binding with no resolvable
146
+ SObject) are always reported, since filtering could hide the exact conflict they exist to
147
+ catch. If not specified, every issue is included.
148
+ --api-version=<value> Override the api version used for api requests made by this command
149
+
150
+ GLOBAL FLAGS
151
+ --flags-dir=<value> Import flag values from a directory.
152
+ --json Format output as json.
153
+
154
+ DESCRIPTION
155
+ Validate the AT4DX Trigger Action Framework bindings configured in an org or local source, failing when a wiring
156
+ problem is found.
157
+
158
+ Reads AT4DX's Trigger Action Framework Custom Metadata Type — `DomainProcessBinding__mdt` — either from a live org or
159
+ from local Salesforce DX source, and checks it for problems `simply aep at4dx domain-process-binding list` doesn't
160
+ fail on: two active records silently fighting over the same execution slot, a binding with no resolvable SObject, a
161
+ binding whose declared process context doesn't match the field that's actually populated (so it never runs), the same
162
+ DeveloperName defined more than once, and an ambiguous SObject reference. Exactly one of `--target-org` or
163
+ `--source-dir` must be specified.
164
+
165
+ Prints a table of every issue found. When --sobject is specified, scan-wide issues (a duplicate DeveloperName, or a
166
+ binding with no resolvable SObject) print in their own section below the filtered table, since they can't be
167
+ attributed to one SObject. Exits non-zero when any issue is an error (a warning alone doesn't fail the command) — use
168
+ this in CI to gate on AT4DX wiring problems before they reach an org.
169
+
170
+ EXAMPLES
171
+ $ sf simply aep at4dx domain-process-binding validate --target-org myOrg
172
+
173
+ $ sf simply aep at4dx domain-process-binding validate --source-dir sfdx-source/core --source-dir sfdx-source/app
174
+
175
+ $ sf simply aep at4dx domain-process-binding validate --target-org myOrg --sobject Account
176
+
177
+ $ sf simply aep at4dx domain-process-binding validate --target-org myOrg --json
178
+ ```
179
+
180
+ _See code: [lib/commands/simply/aep/at4dx/domain-process-binding/validate.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.5.0/packages/simply-aep/lib/commands/simply/aep/at4dx/domain-process-binding/validate.js)_
181
+ <!-- commandsstop -->
182
+
183
+ - [`sf simply aep at4dx binding list`](#sf-simply-aep-at4dx-binding-list)
184
+ - [`sf simply aep at4dx domain-process-binding list`](#sf-simply-aep-at4dx-domain-process-binding-list)
185
+ - [`sf simply aep at4dx domain-process-binding validate`](#sf-simply-aep-at4dx-domain-process-binding-validate)
186
+
187
+ ## `sf simply aep at4dx binding list`
188
+
189
+ List the AT4DX Application Factory bindings configured in an org or local source, resolved to show which record wins for each binding key.
190
+
191
+ ```
192
+ USAGE
193
+ $ sf simply aep at4dx binding list [--json] [--flags-dir <value>] [-o <value>] [--api-version <value>] [-d <value>...] [-t
194
+ service|selector|domain|unit-of-work...] [--effective-only]
195
+
196
+ FLAGS
197
+ -d, --source-dir=<value>... One or more paths to directories containing Salesforce DX source. Use this for
198
+ local-source discovery.
199
+ -o, --target-org=<value> Username or alias of the org to read bindings from. Use this for live-org discovery.
200
+ -t, --type=<option>... Binding type(s) to include: service, selector, domain, unit-of-work.
201
+ <options: service|selector|domain|unit-of-work>
202
+ --api-version=<value> Override the api version used for api requests made by this command
203
+ --effective-only Only show the bindings that actually win for their key; hide shadowed/non-winning
204
+ records.
205
+
206
+ GLOBAL FLAGS
207
+ --flags-dir=<value> Import flag values from a directory.
208
+ --json Format output as json.
209
+
210
+ DESCRIPTION
211
+ List the AT4DX Application Factory bindings configured in an org or local source, resolved to show which record wins
212
+ for each binding key.
213
+
214
+ Reads the four AT4DX Application Factory Custom Metadata Types — `ApplicationFactory_ServiceBinding__mdt`,
215
+ `ApplicationFactory_SelectorBinding__mdt`, `ApplicationFactory_DomainBinding__mdt`, and
216
+ `ApplicationFactory_UnitOfWorkBinding__mdt` — either from a live org or from local Salesforce DX source, and
217
+ reproduces the resolution rules AT4DX applies at runtime so you can see which record actually wins for a given
218
+ interface or SObject, and which ones are shadowed. Exactly one of `--target-org` or `--source-dir` must be specified.
219
+
220
+ Service and Selector bindings resolve deterministically on `Priority__c` (highest wins). Domain bindings have no
221
+ priority field, so a duplicated key is flagged `ambiguous` rather than reporting a guessed winner. UnitOfWork bindings
222
+ have no winner concept at all — every record contributes to one ordered registration list.
223
+
224
+ EXAMPLES
225
+ $ sf simply aep at4dx binding list --target-org myOrg
226
+
227
+ $ sf simply aep at4dx binding list --source-dir sfdx-source/core --source-dir sfdx-source/app
228
+
229
+ $ sf simply aep at4dx binding list --target-org myOrg --type service,selector
230
+
231
+ $ sf simply aep at4dx binding list --target-org myOrg --effective-only --json
232
+
233
+ FLAG DESCRIPTIONS
234
+ -t, --type=service|selector|domain|unit-of-work...
235
+
236
+ Binding type(s) to include: service, selector, domain, unit-of-work.
237
+
238
+ Comma-separated list of binding types to include. If not specified, all four are included.
239
+ ```
240
+
241
+ _See code: [lib/commands/simply/aep/at4dx/binding/list.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.4.1/packages/simply-aep/lib/commands/simply/aep/at4dx/binding/list.js)_
242
+
243
+ ## `sf simply aep at4dx domain-process-binding list`
244
+
245
+ List the AT4DX Trigger Action Framework bindings configured in an org or local source, in execution order.
246
+
247
+ ```
248
+ USAGE
249
+ $ sf simply aep at4dx domain-process-binding list [--json] [--flags-dir <value>] [-o <value>] [--api-version <value>] [-d <value>...] [-s
250
+ <value>...] [--active-only]
251
+
252
+ FLAGS
253
+ -d, --source-dir=<value>... One or more paths to directories containing Salesforce DX source. Use this for
254
+ local-source discovery.
255
+ -o, --target-org=<value> Username or alias of the org to read bindings from. Use this for live-org discovery.
256
+ -s, --sobject=<value>... SObject API name(s) to filter to. If not specified, bindings for every SObject are
257
+ included.
258
+ --active-only Only show active bindings; hide inactive records.
259
+ --api-version=<value> Override the api version used for api requests made by this command
260
+
261
+ GLOBAL FLAGS
262
+ --flags-dir=<value> Import flag values from a directory.
263
+ --json Format output as json.
264
+
265
+ DESCRIPTION
266
+ List the AT4DX Trigger Action Framework bindings configured in an org or local source, in execution order.
267
+
268
+ Reads AT4DX's Trigger Action Framework Custom Metadata Type — `DomainProcessBinding__mdt` — either from a live org or
269
+ from local Salesforce DX source, showing which criteria/action classes are bound to each SObject's trigger events (or
270
+ domain method tokens), and the order they run in. Exactly one of `--target-org` or `--source-dir` must be specified.
271
+
272
+ Unlike `simply aep at4dx binding list`, there's no "winner" here — every active record in a group (same SObject,
273
+ process context, and trigger operation or domain method token) runs, in `OrderOfExecution__c` order. Two active
274
+ records sharing the same order within a group are flagged as a collision, since AT4DX doesn't guarantee which one runs
275
+ first in that case.
276
+
277
+ EXAMPLES
278
+ $ sf simply aep at4dx domain-process-binding list --target-org myOrg
279
+
280
+ $ sf simply aep at4dx domain-process-binding list --source-dir sfdx-source/core --source-dir sfdx-source/app
281
+
282
+ $ sf simply aep at4dx domain-process-binding list --target-org myOrg --sobject Account
283
+
284
+ $ sf simply aep at4dx domain-process-binding list --target-org myOrg --active-only --json
285
+ ```
286
+
287
+ _See code: [lib/commands/simply/aep/at4dx/domain-process-binding/list.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.4.1/packages/simply-aep/lib/commands/simply/aep/at4dx/domain-process-binding/list.js)_
288
+
289
+ ## `sf simply aep at4dx domain-process-binding validate`
290
+
291
+ Validate the AT4DX Trigger Action Framework bindings configured in an org or local source, failing when a wiring problem is found.
292
+
293
+ ```
294
+ USAGE
295
+ $ sf simply aep at4dx domain-process-binding validate [--json] [--flags-dir <value>] [-o <value>] [--api-version <value>] [-d <value>...] [-s
296
+ <value>...]
297
+
298
+ FLAGS
299
+ -d, --source-dir=<value>... One or more paths to directories containing Salesforce DX source. Use this for
300
+ local-source discovery.
301
+ -o, --target-org=<value> Username or alias of the org to read bindings from. Use this for live-org discovery.
302
+ -s, --sobject=<value>... SObject API name(s) to filter to. If not specified, bindings for every SObject are
303
+ included.
304
+ --api-version=<value> Override the api version used for api requests made by this command
305
+
306
+ GLOBAL FLAGS
307
+ --flags-dir=<value> Import flag values from a directory.
308
+ --json Format output as json.
309
+
310
+ DESCRIPTION
311
+ Validate the AT4DX Trigger Action Framework bindings configured in an org or local source, failing when a wiring
312
+ problem is found.
313
+
314
+ Reads AT4DX's Trigger Action Framework Custom Metadata Type — `DomainProcessBinding__mdt` — either from a live org or
315
+ from local Salesforce DX source, and checks it for problems `simply aep at4dx domain-process-binding list` doesn't
316
+ fail on: two active records silently fighting over the same execution slot, a binding with no resolvable SObject, a
317
+ binding whose declared process context doesn't match the field that's actually populated (so it never runs), the same
318
+ DeveloperName defined more than once, and an ambiguous SObject reference. Exactly one of `--target-org` or
319
+ `--source-dir` must be specified.
320
+
321
+ Prints a table of every issue found. Exits non-zero when any issue is an error (a warning alone doesn't fail the
322
+ command) — use this in CI to gate on AT4DX wiring problems before they reach an org.
323
+
324
+ EXAMPLES
325
+ $ sf simply aep at4dx domain-process-binding validate --target-org myOrg
326
+
327
+ $ sf simply aep at4dx domain-process-binding validate --source-dir sfdx-source/core --source-dir sfdx-source/app
328
+
329
+ $ sf simply aep at4dx domain-process-binding validate --target-org myOrg --sobject Account
330
+
331
+ $ sf simply aep at4dx domain-process-binding validate --target-org myOrg --json
332
+ ```
333
+
334
+ _See code: [lib/commands/simply/aep/at4dx/domain-process-binding/validate.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.4.1/packages/simply-aep/lib/commands/simply/aep/at4dx/domain-process-binding/validate.js)_
335
+ <!-- commandsstop -->
336
+
337
+ - [`sf simply aep at4dx binding list`](#sf-simply-aep-at4dx-binding-list)
338
+ - [`sf simply aep at4dx domain-process-binding list`](#sf-simply-aep-at4dx-domain-process-binding-list)
339
+ - [`sf simply aep at4dx domain-process-binding validate`](#sf-simply-aep-at4dx-domain-process-binding-validate)
340
+
341
+ ## `sf simply aep at4dx binding list`
342
+
343
+ List the AT4DX Application Factory bindings configured in an org or local source, resolved to show which record wins for each binding key.
344
+
345
+ ```
346
+ USAGE
347
+ $ sf simply aep at4dx binding list [--json] [--flags-dir <value>] [-o <value>] [--api-version <value>] [-d <value>...] [-t
348
+ service|selector|domain|unit-of-work...] [--effective-only]
349
+
350
+ FLAGS
351
+ -d, --source-dir=<value>... One or more paths to directories containing Salesforce DX source. Use this for
352
+ local-source discovery.
353
+ -o, --target-org=<value> Username or alias of the org to read bindings from. Use this for live-org discovery.
354
+ -t, --type=<option>... Binding type(s) to include: service, selector, domain, unit-of-work.
355
+ <options: service|selector|domain|unit-of-work>
356
+ --api-version=<value> Override the api version used for api requests made by this command
357
+ --effective-only Only show the bindings that actually win for their key; hide shadowed/non-winning
358
+ records.
359
+
360
+ GLOBAL FLAGS
361
+ --flags-dir=<value> Import flag values from a directory.
362
+ --json Format output as json.
363
+
364
+ DESCRIPTION
365
+ List the AT4DX Application Factory bindings configured in an org or local source, resolved to show which record wins
366
+ for each binding key.
367
+
368
+ Reads the four AT4DX Application Factory Custom Metadata Types — `ApplicationFactory_ServiceBinding__mdt`,
369
+ `ApplicationFactory_SelectorBinding__mdt`, `ApplicationFactory_DomainBinding__mdt`, and
370
+ `ApplicationFactory_UnitOfWorkBinding__mdt` — either from a live org or from local Salesforce DX source, and
371
+ reproduces the resolution rules AT4DX applies at runtime so you can see which record actually wins for a given
372
+ interface or SObject, and which ones are shadowed. Exactly one of `--target-org` or `--source-dir` must be specified.
373
+
374
+ Service and Selector bindings resolve deterministically on `Priority__c` (highest wins). Domain bindings have no
375
+ priority field, so a duplicated key is flagged `ambiguous` rather than reporting a guessed winner. UnitOfWork bindings
376
+ have no winner concept at all — every record contributes to one ordered registration list.
377
+
378
+ EXAMPLES
379
+ $ sf simply aep at4dx binding list --target-org myOrg
380
+
381
+ $ sf simply aep at4dx binding list --source-dir sfdx-source/core --source-dir sfdx-source/app
382
+
383
+ $ sf simply aep at4dx binding list --target-org myOrg --type service,selector
384
+
385
+ $ sf simply aep at4dx binding list --target-org myOrg --effective-only --json
386
+
387
+ FLAG DESCRIPTIONS
388
+ -t, --type=service|selector|domain|unit-of-work...
389
+
390
+ Binding type(s) to include: service, selector, domain, unit-of-work.
391
+
392
+ Comma-separated list of binding types to include. If not specified, all four are included.
393
+ ```
394
+
395
+ _See code: [lib/commands/simply/aep/at4dx/binding/list.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.4.0/packages/simply-aep/lib/commands/simply/aep/at4dx/binding/list.js)_
396
+
397
+ ## `sf simply aep at4dx domain-process-binding list`
398
+
399
+ List the AT4DX Trigger Action Framework bindings configured in an org or local source, in execution order.
400
+
401
+ ```
402
+ USAGE
403
+ $ sf simply aep at4dx domain-process-binding list [--json] [--flags-dir <value>] [-o <value>] [--api-version <value>] [-d <value>...] [-s
404
+ <value>...] [--active-only]
405
+
406
+ FLAGS
407
+ -d, --source-dir=<value>... One or more paths to directories containing Salesforce DX source. Use this for
408
+ local-source discovery.
409
+ -o, --target-org=<value> Username or alias of the org to read bindings from. Use this for live-org discovery.
410
+ -s, --sobject=<value>... SObject API name(s) to filter to. If not specified, bindings for every SObject are
411
+ included.
412
+ --active-only Only show active bindings; hide inactive records.
413
+ --api-version=<value> Override the api version used for api requests made by this command
414
+
415
+ GLOBAL FLAGS
416
+ --flags-dir=<value> Import flag values from a directory.
417
+ --json Format output as json.
418
+
419
+ DESCRIPTION
420
+ List the AT4DX Trigger Action Framework bindings configured in an org or local source, in execution order.
421
+
422
+ Reads AT4DX's Trigger Action Framework Custom Metadata Type — `DomainProcessBinding__mdt` — either from a live org or
423
+ from local Salesforce DX source, showing which criteria/action classes are bound to each SObject's trigger events (or
424
+ domain method tokens), and the order they run in. Exactly one of `--target-org` or `--source-dir` must be specified.
425
+
426
+ Unlike `simply aep at4dx binding list`, there's no "winner" here — every active record in a group (same SObject,
427
+ process context, and trigger operation or domain method token) runs, in `OrderOfExecution__c` order. Two active
428
+ records sharing the same order within a group are flagged as a collision, since AT4DX doesn't guarantee which one runs
429
+ first in that case.
430
+
431
+ EXAMPLES
432
+ $ sf simply aep at4dx domain-process-binding list --target-org myOrg
433
+
434
+ $ sf simply aep at4dx domain-process-binding list --source-dir sfdx-source/core --source-dir sfdx-source/app
435
+
436
+ $ sf simply aep at4dx domain-process-binding list --target-org myOrg --sobject Account
437
+
438
+ $ sf simply aep at4dx domain-process-binding list --target-org myOrg --active-only --json
439
+ ```
440
+
441
+ _See code: [lib/commands/simply/aep/at4dx/domain-process-binding/list.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.4.0/packages/simply-aep/lib/commands/simply/aep/at4dx/domain-process-binding/list.js)_
442
+
443
+ ## `sf simply aep at4dx domain-process-binding validate`
444
+
445
+ Validate the AT4DX Trigger Action Framework bindings configured in an org or local source, failing when a wiring problem is found.
446
+
447
+ ```
448
+ USAGE
449
+ $ sf simply aep at4dx domain-process-binding validate [--json] [--flags-dir <value>] [-o <value>] [--api-version <value>] [-d <value>...] [-s
450
+ <value>...]
451
+
452
+ FLAGS
453
+ -d, --source-dir=<value>... One or more paths to directories containing Salesforce DX source. Use this for
454
+ local-source discovery.
455
+ -o, --target-org=<value> Username or alias of the org to read bindings from. Use this for live-org discovery.
456
+ -s, --sobject=<value>... SObject API name(s) to filter to. If not specified, bindings for every SObject are
457
+ included.
458
+ --api-version=<value> Override the api version used for api requests made by this command
459
+
460
+ GLOBAL FLAGS
461
+ --flags-dir=<value> Import flag values from a directory.
462
+ --json Format output as json.
463
+
464
+ DESCRIPTION
465
+ Validate the AT4DX Trigger Action Framework bindings configured in an org or local source, failing when a wiring
466
+ problem is found.
467
+
468
+ Reads AT4DX's Trigger Action Framework Custom Metadata Type — `DomainProcessBinding__mdt` — either from a live org or
469
+ from local Salesforce DX source, and checks it for problems `simply aep at4dx domain-process-binding list` doesn't
470
+ fail on: two active records silently fighting over the same execution slot, a binding with no resolvable SObject, a
471
+ binding whose declared process context doesn't match the field that's actually populated (so it never runs), the same
472
+ DeveloperName defined more than once, and an ambiguous SObject reference. Exactly one of `--target-org` or
473
+ `--source-dir` must be specified.
474
+
475
+ Prints a table of every issue found. Exits non-zero when any issue is an error (a warning alone doesn't fail the
476
+ command) — use this in CI to gate on AT4DX wiring problems before they reach an org.
477
+
478
+ EXAMPLES
479
+ $ sf simply aep at4dx domain-process-binding validate --target-org myOrg
480
+
481
+ $ sf simply aep at4dx domain-process-binding validate --source-dir sfdx-source/core --source-dir sfdx-source/app
482
+
483
+ $ sf simply aep at4dx domain-process-binding validate --target-org myOrg --sobject Account
484
+
485
+ $ sf simply aep at4dx domain-process-binding validate --target-org myOrg --json
486
+ ```
487
+
488
+ _See code: [lib/commands/simply/aep/at4dx/domain-process-binding/validate.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.4.0/packages/simply-aep/lib/commands/simply/aep/at4dx/domain-process-binding/validate.js)_
489
+ <!-- commandsstop -->
490
+
25
491
  - [`sf simply aep at4dx binding list`](#sf-simply-aep-at4dx-binding-list)
26
492
  - [`sf simply aep at4dx domain-process-binding list`](#sf-simply-aep-at4dx-domain-process-binding-list)
27
493
 
@@ -95,7 +95,7 @@ export default class At4dxDomainProcessBindingList extends SfCommand {
95
95
  source = 'local';
96
96
  this.spinner.start(messages.getMessage('info.scanningLocalSource'));
97
97
  try {
98
- records = scanLocalDomainProcessBindings(sourceDirs);
98
+ ({ records } = scanLocalDomainProcessBindings(sourceDirs));
99
99
  }
100
100
  catch (error) {
101
101
  this.spinner.stop();
@@ -1 +1 @@
1
- {"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../../../src/commands/simply/aep/at4dx/domain-process-binding/list.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,4BAA4B,EAC5B,8BAA8B,EAC9B,4BAA4B,GAI7B,MAAM,2BAA2B,CAAC;AAEnC,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,sBAAsB,EAAE,8CAA8C,CAAC,CAAC;AAc/G,SAAS,YAAY,CAAC,GAA4B;IAChD,OAAO;QACL,OAAO,EAAE,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,QAAQ,EAAE;gBACjC,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE;gBAC/B,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE;aAClC;SACF,CAAC,CAAC;QAEH,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;QAE3E,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;IAC9B,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { SfCommand } from '@salesforce/sf-plugins-core';
2
+ import { type At4dxDomainProcessBindingValidateResult } from '@simplysf/simply-aep-core';
3
+ /**
4
+ * Validates the AT4DX Trigger Action Framework bindings (`DomainProcessBinding__mdt`) configured in a
5
+ * target org or local DX source — order collisions, dead bindings, and other wiring problems that are
6
+ * invisible to `domain-process-binding list` — and fails (non-zero exit) when any of them is a real
7
+ * bug, for use as a CI gate.
8
+ */
9
+ export default class At4dxDomainProcessBindingValidate extends SfCommand<At4dxDomainProcessBindingValidateResult> {
10
+ static readonly summary: string;
11
+ static readonly description: string;
12
+ static readonly examples: string[];
13
+ static readonly flags: {
14
+ 'target-org': import("@oclif/core/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/interfaces").CustomOptions>;
15
+ 'api-version': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
16
+ 'source-dir': import("@oclif/core/interfaces").OptionFlag<string[] | undefined, import("@oclif/core/interfaces").CustomOptions>;
17
+ sobject: import("@oclif/core/interfaces").OptionFlag<string[] | undefined, import("@oclif/core/interfaces").CustomOptions>;
18
+ 'flags-dir': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
19
+ };
20
+ /** @returns The validation issues found for the requested source, optionally filtered to specific SObjects. Sets `process.exitCode = 1` when any issue is severity `error`. */
21
+ run(): Promise<At4dxDomainProcessBindingValidateResult>;
22
+ /**
23
+ * Prints `inScope` and `scanWide` as one table when no `--sobject` filter is active (there's no
24
+ * distinction worth drawing), or as two separate tables — with a header on the second — when a
25
+ * filter is active, per docs/design/0011-domain-process-binding-issue-scoping.md.
26
+ */
27
+ private printIssues;
28
+ }
@@ -0,0 +1,150 @@
1
+ /*
2
+ * Copyright (c) 2026, Clay Chipps.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { Messages } from '@salesforce/core';
17
+ import { SfCommand, Flags } from '@salesforce/sf-plugins-core';
18
+ import { filterDomainProcessBindingIssues, validateDomainProcessBindings, scanLocalDomainProcessBindings, scanOrgDomainProcessBindings, } from '@simplysf/simply-aep-core';
19
+ Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
20
+ const messages = Messages.loadMessages('@simplysf/simply-aep', 'simply.aep.at4dx.domain-process-binding.validate');
21
+ function toDisplayRow(issue) {
22
+ return {
23
+ severity: issue.severity,
24
+ rule: issue.rule,
25
+ sobject: issue.sobject ?? '',
26
+ developerName: issue.developerName ?? '',
27
+ source: issue.source,
28
+ message: issue.message,
29
+ };
30
+ }
31
+ const ISSUE_TABLE_COLUMNS = [
32
+ { key: 'severity', name: 'SEVERITY' },
33
+ { key: 'rule', name: 'RULE' },
34
+ { key: 'sobject', name: 'SOBJECT' },
35
+ { key: 'developerName', name: 'DEVELOPER NAME' },
36
+ { key: 'source', name: 'SOURCE' },
37
+ { key: 'message', name: 'MESSAGE' },
38
+ ];
39
+ /**
40
+ * Validates the AT4DX Trigger Action Framework bindings (`DomainProcessBinding__mdt`) configured in a
41
+ * target org or local DX source — order collisions, dead bindings, and other wiring problems that are
42
+ * invisible to `domain-process-binding list` — and fails (non-zero exit) when any of them is a real
43
+ * bug, for use as a CI gate.
44
+ */
45
+ export default class At4dxDomainProcessBindingValidate extends SfCommand {
46
+ static summary = messages.getMessage('summary');
47
+ static description = messages.getMessage('description');
48
+ static examples = messages.getMessages('examples');
49
+ static flags = {
50
+ ...SfCommand.baseFlags,
51
+ 'target-org': Flags.optionalOrg({
52
+ summary: messages.getMessage('flags.target-org.summary'),
53
+ char: 'o',
54
+ }),
55
+ 'api-version': Flags.orgApiVersion(),
56
+ 'source-dir': Flags.directory({
57
+ summary: messages.getMessage('flags.source-dir.summary'),
58
+ char: 'd',
59
+ exists: true,
60
+ multiple: true,
61
+ }),
62
+ sobject: Flags.string({
63
+ summary: messages.getMessage('flags.sobject.summary'),
64
+ char: 's',
65
+ multiple: true,
66
+ }),
67
+ };
68
+ /** @returns The validation issues found for the requested source, optionally filtered to specific SObjects. Sets `process.exitCode = 1` when any issue is severity `error`. */
69
+ async run() {
70
+ const { flags } = await this.parse(At4dxDomainProcessBindingValidate);
71
+ const targetOrg = flags['target-org'];
72
+ const sourceDirs = flags['source-dir'] ?? [];
73
+ if ((targetOrg && sourceDirs.length > 0) || (!targetOrg && sourceDirs.length === 0)) {
74
+ throw messages.createError('error.targetOrgOrSourceDirRequired');
75
+ }
76
+ const sobjectFilter = flags.sobject?.length ? new Set(flags.sobject) : undefined;
77
+ let source;
78
+ let records;
79
+ let malformed;
80
+ let ambiguous;
81
+ if (targetOrg) {
82
+ const connection = targetOrg.getConnection(flags['api-version']);
83
+ source = targetOrg.getUsername() ?? 'org';
84
+ this.spinner.start(messages.getMessage('info.queryingOrg', [source]));
85
+ let scanResult;
86
+ try {
87
+ scanResult = await scanOrgDomainProcessBindings(connection);
88
+ }
89
+ catch (error) {
90
+ this.spinner.stop();
91
+ throw messages.createError('error.orgQueryFailed', [error.message]);
92
+ }
93
+ this.spinner.stop();
94
+ if (scanResult.missing) {
95
+ throw messages.createError('error.at4dxNotDetected');
96
+ }
97
+ ({ records, malformed, ambiguous } = scanResult);
98
+ }
99
+ else {
100
+ source = 'local';
101
+ this.spinner.start(messages.getMessage('info.scanningLocalSource'));
102
+ try {
103
+ ({ records, malformed, ambiguous } = scanLocalDomainProcessBindings(sourceDirs));
104
+ }
105
+ catch (error) {
106
+ this.spinner.stop();
107
+ throw messages.createError('error.localScanFailed', [error.message]);
108
+ }
109
+ this.spinner.stop();
110
+ if (records.length === 0 && malformed.length === 0) {
111
+ throw messages.createError('error.at4dxNotDetected');
112
+ }
113
+ }
114
+ const filteredRecords = sobjectFilter ? records.filter((record) => sobjectFilter.has(record.sobject)) : records;
115
+ const { inScope, scanWide } = filterDomainProcessBindingIssues(validateDomainProcessBindings(records, { malformed, ambiguous }), { sobjects: flags.sobject });
116
+ const allIssues = [...inScope, ...scanWide];
117
+ this.printIssues(sobjectFilter, inScope, scanWide, messages.getMessage('info.valid', [filteredRecords.length, source]));
118
+ if (allIssues.some((issue) => issue.severity === 'error')) {
119
+ process.exitCode = 1;
120
+ }
121
+ return { source, bindingCount: filteredRecords.length, issues: allIssues };
122
+ }
123
+ /**
124
+ * Prints `inScope` and `scanWide` as one table when no `--sobject` filter is active (there's no
125
+ * distinction worth drawing), or as two separate tables — with a header on the second — when a
126
+ * filter is active, per docs/design/0011-domain-process-binding-issue-scoping.md.
127
+ */
128
+ printIssues(sobjectFilter, inScope, scanWide, emptyMessage) {
129
+ if (!sobjectFilter) {
130
+ if (inScope.length + scanWide.length > 0) {
131
+ this.table({ data: [...inScope, ...scanWide].map(toDisplayRow), columns: ISSUE_TABLE_COLUMNS });
132
+ }
133
+ else {
134
+ this.info(emptyMessage);
135
+ }
136
+ return;
137
+ }
138
+ if (inScope.length > 0) {
139
+ this.table({ data: inScope.map(toDisplayRow), columns: ISSUE_TABLE_COLUMNS });
140
+ }
141
+ if (scanWide.length > 0) {
142
+ this.info(messages.getMessage('info.scanWideHeader'));
143
+ this.table({ data: scanWide.map(toDisplayRow), columns: ISSUE_TABLE_COLUMNS });
144
+ }
145
+ if (inScope.length === 0 && scanWide.length === 0) {
146
+ this.info(emptyMessage);
147
+ }
148
+ }
149
+ }
150
+ //# sourceMappingURL=validate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validate.js","sourceRoot":"","sources":["../../../../../../src/commands/simply/aep/at4dx/domain-process-binding/validate.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,gCAAgC,EAChC,6BAA6B,EAC7B,8BAA8B,EAC9B,4BAA4B,GAM7B,MAAM,2BAA2B,CAAC;AAEnC,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,sBAAsB,EAAE,kDAAkD,CAAC,CAAC;AAYnH,SAAS,YAAY,CAAC,KAAgC;IACpD,OAAO;QACL,QAAQ,EAAE,KAAK,CAAC,QAAQ;QACxB,IAAI,EAAE,KAAK,CAAC,IAAI;QAChB,OAAO,EAAE,KAAK,CAAC,OAAO,IAAI,EAAE;QAC5B,aAAa,EAAE,KAAK,CAAC,aAAa,IAAI,EAAE;QACxC,MAAM,EAAE,KAAK,CAAC,MAAM;QACpB,OAAO,EAAE,KAAK,CAAC,OAAO;KACvB,CAAC;AACJ,CAAC;AAED,MAAM,mBAAmB,GAAmD;IAC1E,EAAE,GAAG,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAAE;IACrC,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE;IAC7B,EAAE,GAAG,EAAE,SAAS,EAAE,IAAI,EA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AAI,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,qBAAqB,CAAC,CAAC,CAAC;YACtD,IAAI,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,QAAQ,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,OAAO,EAAE,mBAAmB,EAAE,CAAC,CAAC;QACjF,CAAC;QACD,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAClD,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC1B,CAAC;IACH,CAAC"}
@@ -0,0 +1,63 @@
1
+ # summary
2
+
3
+ Validate the AT4DX Trigger Action Framework bindings configured in an org or local source, failing when a wiring problem is found.
4
+
5
+ # description
6
+
7
+ Reads AT4DX's Trigger Action Framework Custom Metadata Type — `DomainProcessBinding__mdt` — either from a live org or from local Salesforce DX source, and checks it for problems `simply aep at4dx domain-process-binding list` doesn't fail on: two active records silently fighting over the same execution slot, a binding with no resolvable SObject, a binding whose declared process context doesn't match the field that's actually populated (so it never runs), the same DeveloperName defined more than once, and an ambiguous SObject reference. Exactly one of `--target-org` or `--source-dir` must be specified.
8
+
9
+ Prints a table of every issue found. When --sobject is specified, scan-wide issues (a duplicate DeveloperName, or a binding with no resolvable SObject) print in their own section below the filtered table, since they can't be attributed to one SObject. Exits non-zero when any issue is an error (a warning alone doesn't fail the command) — use this in CI to gate on AT4DX wiring problems before they reach an org.
10
+
11
+ # flags.target-org.summary
12
+
13
+ Username or alias of the org to read bindings from. Use this for live-org discovery.
14
+
15
+ # flags.source-dir.summary
16
+
17
+ One or more paths to directories containing Salesforce DX source. Use this for local-source discovery.
18
+
19
+ # flags.sobject.summary
20
+
21
+ SObject API name(s) to filter to. Applies only to issues that name an SObject; issues that span the whole scan (a duplicate DeveloperName, or a binding with no resolvable SObject) are always reported, since filtering could hide the exact conflict they exist to catch. If not specified, every issue is included.
22
+
23
+ # examples
24
+
25
+ - <%= config.bin %> <%= command.id %> --target-org myOrg
26
+
27
+ - <%= config.bin %> <%= command.id %> --source-dir sfdx-source/core --source-dir sfdx-source/app
28
+
29
+ - <%= config.bin %> <%= command.id %> --target-org myOrg --sobject Account
30
+
31
+ - <%= config.bin %> <%= command.id %> --target-org myOrg --json
32
+
33
+ # error.targetOrgOrSourceDirRequired
34
+
35
+ You must specify either --target-org or --source-dir, but not both.
36
+
37
+ # error.at4dxNotDetected
38
+
39
+ AT4DX's Trigger Action Framework doesn't appear to be present in this source: the DomainProcessBinding__mdt Custom Metadata Type wasn't found.
40
+
41
+ # error.localScanFailed
42
+
43
+ Failed to scan the project directory: %s
44
+
45
+ # error.orgQueryFailed
46
+
47
+ Failed to query bindings from the org: %s
48
+
49
+ # info.queryingOrg
50
+
51
+ Querying bindings from %s...
52
+
53
+ # info.scanningLocalSource
54
+
55
+ Scanning local source for bindings...
56
+
57
+ # info.valid
58
+
59
+ No issues found across %s binding(s) in %s
60
+
61
+ # info.scanWideHeader
62
+
63
+ Scan-wide issues (not limited to the --sobject filter above):
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@simplysf/simply-aep",
3
3
  "description": "Commands for Apex Enterprise Patterns tooling (fflib, force-di, AT4DX)",
4
- "version": "0.4.1",
4
+ "version": "0.5.1",
5
5
  "author": "@ClayChipps",
6
6
  "homepage": "https://github.com/SimplySF/simply-node",
7
7
  "bugs": "https://github.com/SimplySF/simply-node/issues",
@@ -59,7 +59,7 @@
59
59
  "@oclif/core": "^4.11.2",
60
60
  "@salesforce/core": "^8.30.0",
61
61
  "@salesforce/sf-plugins-core": "^12.2.16",
62
- "@simplysf/simply-aep-core": "^0.2.1",
62
+ "@simplysf/simply-aep-core": "^0.4.0",
63
63
  "@simplysf/simply-core": "^1.4.0"
64
64
  },
65
65
  "devDependencies": {
@@ -206,5 +206,5 @@
206
206
  "output": []
207
207
  }
208
208
  },
209
- "gitHead": "821c6f74e8b1c462a9faa55d254b4216da5f6a2c"
209
+ "gitHead": "d14043949bc320a0740f710c6716407b3e92871e"
210
210
  }