@uipath/maestro-builder-sdk 6.86.24 → 6.86.25
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/check.js +3 -3
- package/dist/core-definitions.json +57 -21
- package/dist/flow-sdk.d.ts +3 -3
- package/dist/serialize.js +3 -2
- package/package.json +2 -2
package/dist/check.js
CHANGED
|
@@ -715,9 +715,9 @@ function checkFlow(built, ancestors, opts = {}) {
|
|
|
715
715
|
walk(s.body, true);
|
|
716
716
|
}
|
|
717
717
|
else if (s.kind === 'doWhile') {
|
|
718
|
-
// Recorded
|
|
719
|
-
//
|
|
720
|
-
//
|
|
718
|
+
// Recorded as the port source so an `.onError` after it attaches to the
|
|
719
|
+
// container's error port (`core.logic.dowhile@1.0` sets
|
|
720
|
+
// supportsErrorHandling and declares the `error` handle, #1010).
|
|
721
721
|
prevPortSource = s;
|
|
722
722
|
addExpr(s.condition.js, s.name);
|
|
723
723
|
loopNames.set(s.name, LOOP_FIELDS_1_0_0);
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"handleType": "output",
|
|
27
27
|
"showButton": true,
|
|
28
28
|
"constraints": {
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
"forbiddenTargetCategories": [
|
|
30
|
+
"trigger"
|
|
31
|
+
]
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
],
|
|
@@ -3537,8 +3537,14 @@
|
|
|
3537
3537
|
"componentProps": {
|
|
3538
3538
|
"minCases": 1,
|
|
3539
3539
|
"maxCases": 10,
|
|
3540
|
-
"
|
|
3541
|
-
"
|
|
3540
|
+
"expressionPlaceholder": "e.g., $vars.value <= 30",
|
|
3541
|
+
"expressionValidationFields": [
|
|
3542
|
+
{
|
|
3543
|
+
"subPath": "expression",
|
|
3544
|
+
"validationMode": "expression",
|
|
3545
|
+
"expectedType": "boolean"
|
|
3546
|
+
}
|
|
3547
|
+
]
|
|
3542
3548
|
}
|
|
3543
3549
|
},
|
|
3544
3550
|
{
|
|
@@ -3551,6 +3557,9 @@
|
|
|
3551
3557
|
]
|
|
3552
3558
|
}
|
|
3553
3559
|
]
|
|
3560
|
+
},
|
|
3561
|
+
"debug": {
|
|
3562
|
+
"runtime": "clientScript"
|
|
3554
3563
|
}
|
|
3555
3564
|
},
|
|
3556
3565
|
"core.logic.decision@1.0.0": {
|
|
@@ -3648,6 +3657,7 @@
|
|
|
3648
3657
|
"componentProps": {
|
|
3649
3658
|
"language": "javascript",
|
|
3650
3659
|
"returnType": "boolean",
|
|
3660
|
+
"validationMode": "expression",
|
|
3651
3661
|
"minHeight": 100,
|
|
3652
3662
|
"placeholder": "e.g., $vars.data.status === \"approved\" && $vars.data.amount > 1000"
|
|
3653
3663
|
},
|
|
@@ -3669,6 +3679,9 @@
|
|
|
3669
3679
|
]
|
|
3670
3680
|
}
|
|
3671
3681
|
]
|
|
3682
|
+
},
|
|
3683
|
+
"debug": {
|
|
3684
|
+
"runtime": "clientScript"
|
|
3672
3685
|
}
|
|
3673
3686
|
},
|
|
3674
3687
|
"core.subflow@1.0.0": {
|
|
@@ -3851,7 +3864,7 @@
|
|
|
3851
3864
|
}
|
|
3852
3865
|
],
|
|
3853
3866
|
"debug": {
|
|
3854
|
-
"runtime": "
|
|
3867
|
+
"runtime": "clientScript"
|
|
3855
3868
|
},
|
|
3856
3869
|
"model": {
|
|
3857
3870
|
"type": "bpmn:ScriptTask"
|
|
@@ -3882,8 +3895,8 @@
|
|
|
3882
3895
|
},
|
|
3883
3896
|
"error": {
|
|
3884
3897
|
"type": "object",
|
|
3885
|
-
"description": "Error information if the
|
|
3886
|
-
"source": "=
|
|
3898
|
+
"description": "Error information if the node fails",
|
|
3899
|
+
"source": "=Error",
|
|
3887
3900
|
"var": "error",
|
|
3888
3901
|
"schema": {
|
|
3889
3902
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
@@ -3938,6 +3951,7 @@
|
|
|
3938
3951
|
"componentProps": {
|
|
3939
3952
|
"language": "javascript",
|
|
3940
3953
|
"returnType": "any",
|
|
3954
|
+
"validationMode": "script",
|
|
3941
3955
|
"minHeight": 200,
|
|
3942
3956
|
"placeholder": " // Return an object with your result\nreturn {\n message: \"Web request response\",\n data: $vars.httpRequest1.output\n };"
|
|
3943
3957
|
},
|
|
@@ -4031,6 +4045,9 @@
|
|
|
4031
4045
|
},
|
|
4032
4046
|
"parallel": {
|
|
4033
4047
|
"type": "boolean"
|
|
4048
|
+
},
|
|
4049
|
+
"completionCondition": {
|
|
4050
|
+
"type": "string"
|
|
4034
4051
|
}
|
|
4035
4052
|
},
|
|
4036
4053
|
"required": [
|
|
@@ -4039,7 +4056,8 @@
|
|
|
4039
4056
|
},
|
|
4040
4057
|
"inputDefaults": {
|
|
4041
4058
|
"collection": "",
|
|
4042
|
-
"parallel": false
|
|
4059
|
+
"parallel": false,
|
|
4060
|
+
"completionCondition": ""
|
|
4043
4061
|
},
|
|
4044
4062
|
"outputDefinition": {
|
|
4045
4063
|
"currentItem": {
|
|
@@ -4139,6 +4157,23 @@
|
|
|
4139
4157
|
"type": "switch",
|
|
4140
4158
|
"label": "Parallel",
|
|
4141
4159
|
"description": "Execute all iterations at the same time."
|
|
4160
|
+
},
|
|
4161
|
+
{
|
|
4162
|
+
"name": "inputs.completionCondition",
|
|
4163
|
+
"type": "custom",
|
|
4164
|
+
"component": "code-editor",
|
|
4165
|
+
"label": "Break on condition",
|
|
4166
|
+
"description": "Exit the loop early when this condition becomes true after an iteration completes.",
|
|
4167
|
+
"componentProps": {
|
|
4168
|
+
"singleLine": true,
|
|
4169
|
+
"mode": "expression",
|
|
4170
|
+
"toggleable": false,
|
|
4171
|
+
"placeholder": "e.g., $vars.processedCount >= 5",
|
|
4172
|
+
"showVariableButton": true,
|
|
4173
|
+
"alwaysIncludeSelf": true,
|
|
4174
|
+
"returnType": "boolean",
|
|
4175
|
+
"language": "javascript"
|
|
4176
|
+
}
|
|
4142
4177
|
}
|
|
4143
4178
|
]
|
|
4144
4179
|
}
|
|
@@ -4410,7 +4445,7 @@
|
|
|
4410
4445
|
"name": "inputs.timerDate",
|
|
4411
4446
|
"type": "datetime",
|
|
4412
4447
|
"label": "Value",
|
|
4413
|
-
"description": "The date and time when the
|
|
4448
|
+
"description": "The date and time when the workflow should continue",
|
|
4414
4449
|
"rules": [
|
|
4415
4450
|
{
|
|
4416
4451
|
"id": "date-format",
|
|
@@ -5715,6 +5750,16 @@
|
|
|
5715
5750
|
"id": "success",
|
|
5716
5751
|
"type": "source",
|
|
5717
5752
|
"handleType": "output"
|
|
5753
|
+
},
|
|
5754
|
+
{
|
|
5755
|
+
"id": "error",
|
|
5756
|
+
"label": "Error",
|
|
5757
|
+
"type": "source",
|
|
5758
|
+
"handleType": "output",
|
|
5759
|
+
"visible": "{inputs.errorHandlingEnabled}",
|
|
5760
|
+
"constraints": {
|
|
5761
|
+
"maxConnections": 1
|
|
5762
|
+
}
|
|
5718
5763
|
}
|
|
5719
5764
|
]
|
|
5720
5765
|
},
|
|
@@ -13955,11 +14000,6 @@
|
|
|
13955
14000
|
],
|
|
13956
14001
|
"model": {
|
|
13957
14002
|
"type": "bpmn:EndEvent"
|
|
13958
|
-
},
|
|
13959
|
-
"runtimeConstraints": {
|
|
13960
|
-
"exclude": [
|
|
13961
|
-
"api-function"
|
|
13962
|
-
]
|
|
13963
14003
|
}
|
|
13964
14004
|
},
|
|
13965
14005
|
"uipath.human-in-the-loop.quick-form@1.1": {
|
|
@@ -15367,12 +15407,7 @@
|
|
|
15367
15407
|
}
|
|
15368
15408
|
}
|
|
15369
15409
|
},
|
|
15370
|
-
"drillable": true
|
|
15371
|
-
"runtimeConstraints": {
|
|
15372
|
-
"exclude": [
|
|
15373
|
-
"api-function"
|
|
15374
|
-
]
|
|
15375
|
-
}
|
|
15410
|
+
"drillable": true
|
|
15376
15411
|
},
|
|
15377
15412
|
"core.logic.terminate@1.0": {
|
|
15378
15413
|
"nodeType": "core.logic.terminate",
|
|
@@ -15551,6 +15586,7 @@
|
|
|
15551
15586
|
"returnType": "any",
|
|
15552
15587
|
"validationMode": "script",
|
|
15553
15588
|
"minHeight": 200,
|
|
15589
|
+
"fillPanel": true,
|
|
15554
15590
|
"placeholder": " // Return any value\nreturn {\n message: \"Web request response\",\n data: $vars.httpRequest1.output\n};"
|
|
15555
15591
|
},
|
|
15556
15592
|
"label": "Code",
|
package/dist/flow-sdk.d.ts
CHANGED
|
@@ -411,9 +411,9 @@ export interface ReturnOptions extends NodeOptions {
|
|
|
411
411
|
* Loop-specific options. Every `.loop()` emits the loop's v2.4 definition (the
|
|
412
412
|
* version the registry serves: inner `start`/`continue`/`break` handles, and a
|
|
413
413
|
* 1-based `currentIteration` output). The legacy 1.0.0 shape is emitted only for
|
|
414
|
-
* an explicit `{ version: '1.0.0' }`. That definition declares `parallel`
|
|
415
|
-
* `completionCondition`, no `breakEnabled` and no `break` handle, so
|
|
416
|
-
*
|
|
414
|
+
* an explicit `{ version: '1.0.0' }`. That definition declares `parallel` and
|
|
415
|
+
* `completionCondition`, but no `breakEnabled` and no `break` handle, so
|
|
416
|
+
* `breakEnabled`, or a `b.break()` in the body, fails `check` and compilation
|
|
417
417
|
* (`LOOP_VERSION_UNSUPPORTED`). `parallel: true` on 1.0.0 compiles, to round-trip
|
|
418
418
|
* a canvas loop, but `check` warns (`LOOP_PARALLEL_LEGACY`): that version is not
|
|
419
419
|
* confirmed to run iterations in parallel. `b.continue()` works on both versions.
|
package/dist/serialize.js
CHANGED
|
@@ -3237,8 +3237,9 @@ function serializeFlow(built, opts) {
|
|
|
3237
3237
|
// keeps its `output`/`loopBack` pair, where the bundled lookup alone
|
|
3238
3238
|
// would have written 2.4's `start`/`continue` onto a 1.0 node (#1311),
|
|
3239
3239
|
// and an option is written when that definition declares the input
|
|
3240
|
-
// (the carried 1.0
|
|
3241
|
-
//
|
|
3240
|
+
// (the carried 1.0 and the bundled 1.0.0 both declare
|
|
3241
|
+
// `completionCondition`, neither declares `breakEnabled`) and refused
|
|
3242
|
+
// when it does not.
|
|
3242
3243
|
const loopDef = definitionFor(NODE_TYPE.loop, version);
|
|
3243
3244
|
const refusal = loopVersionRefusal(step.name, o, usesBreak, loopDef);
|
|
3244
3245
|
if (refusal)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/maestro-builder-sdk",
|
|
3
|
-
"version": "6.86.
|
|
3
|
+
"version": "6.86.25",
|
|
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",
|
|
@@ -103,5 +103,5 @@
|
|
|
103
103
|
"@types/node": "^22.7.0",
|
|
104
104
|
"esbuild": "^0.28.1"
|
|
105
105
|
},
|
|
106
|
-
"gitref": "
|
|
106
|
+
"gitref": "c82a85de756369133de0b4d6aff90569d47e5363"
|
|
107
107
|
}
|