@uipath/maestro-builder-sdk 6.124.6 → 6.124.7
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/dist/api-index.md +45 -45
- package/dist/api-members.md +198 -198
- package/dist/bpmn/bpmn-sdk.d.ts +6 -20
- package/dist/bpmn/bpmn-sdk.js +1 -2
- package/dist/bpmn/registry-types.json +26 -14
- package/dist/bpmn/typed-node.d.ts +0 -8
- package/dist/bpmn-api.md +3 -3
- package/package.json +2 -2
package/dist/bpmn/bpmn-sdk.d.ts
CHANGED
|
@@ -1543,16 +1543,9 @@ export interface OrchestratorOpts extends ActivityOpts {
|
|
|
1543
1543
|
* The local engine does not bind `result` yet (it binds the job's output under
|
|
1544
1544
|
* `response`, and a local `*Async` start returns none), so on a local run this row
|
|
1545
1545
|
* reads `undefined`; the platform reads it.
|
|
1546
|
-
*
|
|
1547
|
-
* Needed for the same reason `.humanTask()` has it: this family declares a TYPED output
|
|
1548
|
-
* (`type="Orchestrator.RunJob"` and friends) with no `source`, which the designer resolves
|
|
1549
|
-
* into sub-fields but the local engine cannot — so the variable stays `undefined` on a local
|
|
1550
|
-
* run and nothing downstream can read or branch on it. An explicit row maps one field the
|
|
1551
|
-
* way every other output row works. The spec's own row is still emitted, so the artifact
|
|
1552
|
-
* stays what the platform expects.
|
|
1553
1546
|
*/
|
|
1554
1547
|
outputs?: Record<string, string>;
|
|
1555
|
-
/** Variable
|
|
1548
|
+
/** Variable every output argument lands in (`=result`). Defaults to `<id>_processResponse`. */
|
|
1556
1549
|
outputVar?: string;
|
|
1557
1550
|
/** `=`-expression that skips the invocation when truthy. */
|
|
1558
1551
|
skipCondition?: string;
|
|
@@ -1595,16 +1588,9 @@ export interface QueueItemOpts extends ActivityOpts {
|
|
|
1595
1588
|
* `vars.response.Output["OutputString"]`). The local engine does not bind `result`
|
|
1596
1589
|
* yet and flattens `Output` into the item, so on a local run this row reads
|
|
1597
1590
|
* `undefined`; the platform reads it.
|
|
1598
|
-
*
|
|
1599
|
-
* Needed for the same reason `.humanTask()` has it: this family declares a TYPED output
|
|
1600
|
-
* (`type="Orchestrator.RunJob"` and friends) with no `source`, which the designer resolves
|
|
1601
|
-
* into sub-fields but the local engine cannot — so the variable stays `undefined` on a local
|
|
1602
|
-
* run and nothing downstream can read or branch on it. An explicit row maps one field the
|
|
1603
|
-
* way every other output row works. The spec's own row is still emitted, so the artifact
|
|
1604
|
-
* stays what the platform expects.
|
|
1605
1591
|
*/
|
|
1606
1592
|
outputs?: Record<string, string>;
|
|
1607
|
-
/** Variable the
|
|
1593
|
+
/** Variable the whole result lands in (`=result`). Defaults to `<id>_response`. */
|
|
1608
1594
|
outputVar?: string;
|
|
1609
1595
|
/** `=`-expression that skips the enqueue when truthy. */
|
|
1610
1596
|
skipCondition?: string;
|
|
@@ -1620,8 +1606,8 @@ export interface HumanTaskCommonOpts extends ActivityOpts {
|
|
|
1620
1606
|
* `{ decision: '=Action' }`.
|
|
1621
1607
|
*
|
|
1622
1608
|
* Worth setting whenever a gateway branches on the outcome. The type's own
|
|
1623
|
-
* output row is typed (`type="Actions.HITL"`,
|
|
1624
|
-
*
|
|
1609
|
+
* output row is typed (`type="Actions.HITL"`, `source="=result"`), which the platform
|
|
1610
|
+
* fills but the local runtime leaves `undefined` — so without a mapped field
|
|
1625
1611
|
* here, a local run cannot branch on the decision at all. `=Action` is the field
|
|
1626
1612
|
* the runtime's own outcome routing reads.
|
|
1627
1613
|
*/
|
|
@@ -1666,7 +1652,7 @@ export interface HumanTaskAppOpts extends HumanTaskCommonOpts {
|
|
|
1666
1652
|
form?: never;
|
|
1667
1653
|
/** Data the task shows the human — the node's `HitlTaskArguments`. */
|
|
1668
1654
|
input?: Record<string, unknown>;
|
|
1669
|
-
/** Variable the whole
|
|
1655
|
+
/** Variable the task's whole result lands in (`=result`). Defaults to `<id>_processResponse`. */
|
|
1670
1656
|
outputVar?: string;
|
|
1671
1657
|
/**
|
|
1672
1658
|
* Removed (#2144): a v1 `appId`-task field the V2 engine never reads. The app defines
|
|
@@ -1754,7 +1740,7 @@ export interface ReceiveMessageOpts extends ActivityOpts {
|
|
|
1754
1740
|
* [error] Maestro.ReceiveMessageEvent output type must be "Maestro.ReceiveMessageEvent".
|
|
1755
1741
|
*
|
|
1756
1742
|
* Which is not derivable from the registry — `Actions.HITL` declares a
|
|
1757
|
-
* structurally IDENTICAL output (a typed row,
|
|
1743
|
+
* structurally IDENTICAL output (a typed row, `source="=result"`) and accepts a mapped
|
|
1758
1744
|
* second row happily, which is the whole basis of offline approval routing. So
|
|
1759
1745
|
* the constraint is recorded in `REGISTRY_GAPS` rather than inferred, and this
|
|
1760
1746
|
* option simply does not exist. Read the message with `outputVar` and an
|
package/dist/bpmn/bpmn-sdk.js
CHANGED
|
@@ -1826,8 +1826,7 @@ class ScopeBuilder {
|
|
|
1826
1826
|
const o = opts;
|
|
1827
1827
|
// The app variant's fields have no meaning on an inline form: the form IS what the
|
|
1828
1828
|
// human sees (`input`), and there is no app to look up (`folder`).
|
|
1829
|
-
// Nor does `outputVar`: the app task's whole-response row
|
|
1830
|
-
// quick form never fills, so there is nothing to name.
|
|
1829
|
+
// Nor does `outputVar`: a quick form never fills the app task's whole-response row.
|
|
1831
1830
|
const appOnly = ['folder', 'input', 'outputVar'].filter((k) => given[k] !== undefined);
|
|
1832
1831
|
if (appOnly.length) {
|
|
1833
1832
|
throw new CompileRefusal('BPMN_HUMAN_TASK_APP_FIELDS_ON_FORM', `humanTask "${id}": ${appOnly.join(', ')} belong to an app-backed task. On an inline form, put what the human sees in form.fields` +
|
|
@@ -9,7 +9,19 @@
|
|
|
9
9
|
"typeCount": 51,
|
|
10
10
|
"uipVersion": "1.205.0-preview.256",
|
|
11
11
|
"refreshed": {
|
|
12
|
-
"Actions.HITL": "uipath-cli@
|
|
12
|
+
"Actions.HITL": "uipath-cli@d098f3393 bpmn-spec.json 1.1.0",
|
|
13
|
+
"A2A.AgentExecution": "uipath-cli@d098f3393 bpmn-spec.json 1.1.0",
|
|
14
|
+
"Maestro.ReceiveMessageEvent": "uipath-cli@d098f3393 bpmn-spec.json 1.1.0",
|
|
15
|
+
"Maestro.SendMessageEvent": "uipath-cli@d098f3393 bpmn-spec.json 1.1.0",
|
|
16
|
+
"Orchestrator.CreateAndWaitForQueueItem": "uipath-cli@d098f3393 bpmn-spec.json 1.1.0",
|
|
17
|
+
"Orchestrator.CreateQueueItem": "uipath-cli@d098f3393 bpmn-spec.json 1.1.0",
|
|
18
|
+
"Orchestrator.ExecuteApiWorkflowAsync": "uipath-cli@d098f3393 bpmn-spec.json 1.1.0",
|
|
19
|
+
"Orchestrator.ExecuteFunctionAsync": "uipath-cli@d098f3393 bpmn-spec.json 1.1.0",
|
|
20
|
+
"Orchestrator.StartAgentJob": "uipath-cli@d098f3393 bpmn-spec.json 1.1.0",
|
|
21
|
+
"Orchestrator.StartAgenticProcess": "uipath-cli@d098f3393 bpmn-spec.json 1.1.0",
|
|
22
|
+
"Orchestrator.StartCaseMgmtProcess": "uipath-cli@d098f3393 bpmn-spec.json 1.1.0",
|
|
23
|
+
"Orchestrator.StartFlowProcess": "uipath-cli@d098f3393 bpmn-spec.json 1.1.0",
|
|
24
|
+
"Orchestrator.StartJob": "uipath-cli@d098f3393 bpmn-spec.json 1.1.0"
|
|
13
25
|
}
|
|
14
26
|
},
|
|
15
27
|
"types": {
|
|
@@ -70,7 +82,7 @@
|
|
|
70
82
|
"output": {
|
|
71
83
|
"name": "a2aResponse",
|
|
72
84
|
"type": "A2A.AgentExecution",
|
|
73
|
-
"source":
|
|
85
|
+
"source": "=result",
|
|
74
86
|
"relative": true
|
|
75
87
|
},
|
|
76
88
|
"eventDefinition": null,
|
|
@@ -134,7 +146,7 @@
|
|
|
134
146
|
"output": {
|
|
135
147
|
"name": "Process response",
|
|
136
148
|
"type": "Actions.HITL",
|
|
137
|
-
"source":
|
|
149
|
+
"source": "=result",
|
|
138
150
|
"relative": true
|
|
139
151
|
},
|
|
140
152
|
"eventDefinition": null,
|
|
@@ -1679,7 +1691,7 @@
|
|
|
1679
1691
|
"output": {
|
|
1680
1692
|
"name": "response",
|
|
1681
1693
|
"type": "Maestro.ReceiveMessageEvent",
|
|
1682
|
-
"source":
|
|
1694
|
+
"source": "=result",
|
|
1683
1695
|
"relative": true
|
|
1684
1696
|
},
|
|
1685
1697
|
"eventDefinition": "bpmn:messageEventDefinition",
|
|
@@ -1816,7 +1828,7 @@
|
|
|
1816
1828
|
"output": {
|
|
1817
1829
|
"name": "response",
|
|
1818
1830
|
"type": "Maestro.SendMessageEvent",
|
|
1819
|
-
"source":
|
|
1831
|
+
"source": "=result",
|
|
1820
1832
|
"relative": true
|
|
1821
1833
|
},
|
|
1822
1834
|
"eventDefinition": "bpmn:messageEventDefinition",
|
|
@@ -2074,7 +2086,7 @@
|
|
|
2074
2086
|
"output": {
|
|
2075
2087
|
"name": "response",
|
|
2076
2088
|
"type": "Orchestrator.CreateQueueItem",
|
|
2077
|
-
"source":
|
|
2089
|
+
"source": "=result",
|
|
2078
2090
|
"relative": true
|
|
2079
2091
|
},
|
|
2080
2092
|
"eventDefinition": null,
|
|
@@ -2134,7 +2146,7 @@
|
|
|
2134
2146
|
"output": {
|
|
2135
2147
|
"name": "response",
|
|
2136
2148
|
"type": "Orchestrator.CreateQueueItem",
|
|
2137
|
-
"source":
|
|
2149
|
+
"source": "=result",
|
|
2138
2150
|
"relative": true
|
|
2139
2151
|
},
|
|
2140
2152
|
"eventDefinition": null,
|
|
@@ -2250,7 +2262,7 @@
|
|
|
2250
2262
|
"output": {
|
|
2251
2263
|
"name": "Process response",
|
|
2252
2264
|
"type": "Orchestrator.RunJob",
|
|
2253
|
-
"source":
|
|
2265
|
+
"source": "=result",
|
|
2254
2266
|
"relative": true
|
|
2255
2267
|
},
|
|
2256
2268
|
"eventDefinition": null,
|
|
@@ -2320,7 +2332,7 @@
|
|
|
2320
2332
|
"output": {
|
|
2321
2333
|
"name": "Process response",
|
|
2322
2334
|
"type": "Orchestrator.RunJob",
|
|
2323
|
-
"source":
|
|
2335
|
+
"source": "=result",
|
|
2324
2336
|
"relative": true
|
|
2325
2337
|
},
|
|
2326
2338
|
"eventDefinition": null,
|
|
@@ -2763,7 +2775,7 @@
|
|
|
2763
2775
|
"output": {
|
|
2764
2776
|
"name": "Process response",
|
|
2765
2777
|
"type": "Orchestrator.RunJob",
|
|
2766
|
-
"source":
|
|
2778
|
+
"source": "=result",
|
|
2767
2779
|
"relative": true
|
|
2768
2780
|
},
|
|
2769
2781
|
"eventDefinition": null,
|
|
@@ -2833,7 +2845,7 @@
|
|
|
2833
2845
|
"output": {
|
|
2834
2846
|
"name": "Process response",
|
|
2835
2847
|
"type": "Orchestrator.RunJob",
|
|
2836
|
-
"source":
|
|
2848
|
+
"source": "=result",
|
|
2837
2849
|
"relative": true
|
|
2838
2850
|
},
|
|
2839
2851
|
"eventDefinition": null,
|
|
@@ -2968,7 +2980,7 @@
|
|
|
2968
2980
|
"output": {
|
|
2969
2981
|
"name": "Process response",
|
|
2970
2982
|
"type": "Orchestrator.RunJob",
|
|
2971
|
-
"source":
|
|
2983
|
+
"source": "=result",
|
|
2972
2984
|
"relative": true
|
|
2973
2985
|
},
|
|
2974
2986
|
"eventDefinition": null,
|
|
@@ -3103,7 +3115,7 @@
|
|
|
3103
3115
|
"output": {
|
|
3104
3116
|
"name": "Process response",
|
|
3105
3117
|
"type": "Orchestrator.RunJob",
|
|
3106
|
-
"source":
|
|
3118
|
+
"source": "=result",
|
|
3107
3119
|
"relative": true
|
|
3108
3120
|
},
|
|
3109
3121
|
"eventDefinition": null,
|
|
@@ -3238,7 +3250,7 @@
|
|
|
3238
3250
|
"output": {
|
|
3239
3251
|
"name": "Process response",
|
|
3240
3252
|
"type": "Orchestrator.RunJob",
|
|
3241
|
-
"source":
|
|
3253
|
+
"source": "=result",
|
|
3242
3254
|
"relative": true
|
|
3243
3255
|
},
|
|
3244
3256
|
"eventDefinition": null,
|
|
@@ -363,14 +363,6 @@ export interface TypedNodeInput {
|
|
|
363
363
|
/**
|
|
364
364
|
* EXTRA output rows: variable id → `=`-expression read against the node's own
|
|
365
365
|
* result, e.g. `{ decision: '=Action' }`.
|
|
366
|
-
*
|
|
367
|
-
* Why this exists: several types declare a TYPED output — `Actions.HITL` writes
|
|
368
|
-
* `type="Actions.HITL"` with no `source` — which the designer resolves into
|
|
369
|
-
* sub-fields but the local engine cannot, so the variable stays `undefined` on a
|
|
370
|
-
* local run and nothing can branch on it. An explicit row alongside it maps one
|
|
371
|
-
* field the way every other output row works, which the runtime does resolve.
|
|
372
|
-
* The spec's own row is still emitted, so the artifact stays what the platform
|
|
373
|
-
* expects.
|
|
374
366
|
*/
|
|
375
367
|
outputs?: Record<string, string>;
|
|
376
368
|
/**
|
package/dist/bpmn-api.md
CHANGED
|
@@ -311,7 +311,7 @@ Extends `ActivityOpts` — its fields and methods apply here too.
|
|
|
311
311
|
- `OrchestratorOpts.releaseKey?: string` — Address the release by KEY instead of by name — the deployed resource's `Key` from `uip or processes list --folder-path…
|
|
312
312
|
- `OrchestratorOpts.folderKey?: string` — The folder's `FolderKey` GUID (the same `uip or processes list` row carries it), for a node addressed by…
|
|
313
313
|
- `OrchestratorOpts.outputs?: Record<string, string>` — EXTRA output rows: variable id → `=`-expression read against the node's own result, e.g. `{ message: '=result.message'…
|
|
314
|
-
- `OrchestratorOpts.outputVar?: string` — Variable
|
|
314
|
+
- `OrchestratorOpts.outputVar?: string` — Variable every output argument lands in (`=result`).
|
|
315
315
|
- `OrchestratorOpts.skipCondition?: string` — `=`-expression that skips the invocation when truthy.
|
|
316
316
|
|
|
317
317
|
### `OrchestratorAsyncOpts`
|
|
@@ -334,7 +334,7 @@ Extends `ActivityOpts` — its fields and methods apply here too.
|
|
|
334
334
|
- `QueueItemOpts.item?: Record<string, unknown>` — The item's content — serialized as the node's `ItemData` body.
|
|
335
335
|
- `QueueItemOpts.wait?: boolean` — `true` waits for the item to be processed and maps its outcome back (`Orchestrator.CreateAndWaitForQueueItem`); default…
|
|
336
336
|
- `QueueItemOpts.outputs?: Record<string, string>` — EXTRA output rows: variable id → `=`-expression read against the node's own result, e.g. `{ outputString:…
|
|
337
|
-
- `QueueItemOpts.outputVar?: string` — Variable the
|
|
337
|
+
- `QueueItemOpts.outputVar?: string` — Variable the whole result lands in (`=result`).
|
|
338
338
|
- `QueueItemOpts.skipCondition?: string` — `=`-expression that skips the enqueue when truthy.
|
|
339
339
|
|
|
340
340
|
### `HumanTaskOpts`
|
|
@@ -513,7 +513,7 @@ Extends `HumanTaskCommonOpts` — its fields and methods apply here too.
|
|
|
513
513
|
- `HumanTaskAppOpts.folder: string` — The Orchestrator folder path the app is deployed to, e.g. `'Shared'` or `'Finance/Invoices'` — the context's…
|
|
514
514
|
- `HumanTaskAppOpts.form?: never` — Not on this variant — see HumanTaskFormOpts.
|
|
515
515
|
- `HumanTaskAppOpts.input?: Record<string, unknown>` — Data the task shows the human — the node's `HitlTaskArguments`.
|
|
516
|
-
- `HumanTaskAppOpts.outputVar?: string` — Variable the whole
|
|
516
|
+
- `HumanTaskAppOpts.outputVar?: string` — Variable the task's whole result lands in (`=result`).
|
|
517
517
|
- `HumanTaskAppOpts.actions?: never` — Removed (#2144): a v1 `appId`-task field the V2 engine never reads.
|
|
518
518
|
- `HumanTaskAppOpts.appVersion?: never` — Removed (#2144): a v1 `appId`-task field the V2 engine never reads.
|
|
519
519
|
- `HumanTaskAppOpts.key?: never` — Removed (#2144): a v1 `appId`-task field the V2 engine never reads.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/maestro-builder-sdk",
|
|
3
|
-
"version": "6.124.
|
|
3
|
+
"version": "6.124.7",
|
|
4
4
|
"description": "Build UiPath Flow, Case, and BPMN artifacts by writing TypeScript.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://docs.uipath.com/maestro",
|
|
@@ -127,5 +127,5 @@
|
|
|
127
127
|
"@types/node": "^22.7.0",
|
|
128
128
|
"esbuild": "^0.28.1"
|
|
129
129
|
},
|
|
130
|
-
"gitref": "
|
|
130
|
+
"gitref": "f3fce2ed3e8035246ce94b916f07b6b979623d81"
|
|
131
131
|
}
|