@uipath/maestro-sdk 1.207.0-preview.319 → 1.207.0-preview.321

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.
@@ -6424,7 +6424,7 @@ var bpmn_spec_default = {
6424
6424
  <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
6425
6425
  </bpmn:sendTask>`,
6426
6426
  discoveryNotes: "Use `uip is activities list <connector-key> --output json` to select an activity. Set operation from Name, then describe ObjectName to get its current path, parameters, and fields.",
6427
- inputNotes: "Add each request field from the selected operation as its own uipath:input. Keep the field's type and target: path, query, body, or file.",
6427
+ inputNotes: 'Add each non-body field from the selected operation (path, query, header, or file) as its own uipath:input, keeping its type and target. Put every body field in ONE <uipath:input name="body" type="json" target="body"> holding the whole request object: the runtime keeps a single body value, so separate body inputs overwrite each other and only the last one is sent.',
6428
6428
  contextFieldNotes: "connection points to a root binding for a Connection resource. When folder scoping is required, folderKey points to a second binding for the same resourceKey. Use propertyAttribute ConnectionId for connection and folderKey for folderKey. Omit folderKey when the selected activity has no folder scoping, and omit both fields only when it does not use a connection.",
6429
6429
  extensionTagNotes: "In isExecution array, NOT in isEvents array, so uses uipath:activity"
6430
6430
  },
@@ -9250,18 +9250,22 @@ var bpmn_spec_default = {
9250
9250
  bindingPattern: "none",
9251
9251
  requiresDiscovery: false,
9252
9252
  isDynamic: false,
9253
- xmlTemplate: `<bpmn:scriptTask id="{id}" name="{name}">
9253
+ xmlTemplate: `<bpmn:scriptTask id="{id}" name="{name}" scriptFormat="JavaScript">
9254
9254
  <bpmn:extensionElements>
9255
9255
  <uipath:mapping version="v1">
9256
- <uipath:type value="BPMN.ScriptTask" version="v1" />
9257
- <uipath:input name="args" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
9256
+ <uipath:type value="BPMN.Variables" version="v1" />
9257
+ <uipath:context>
9258
+ <uipath:inputSchema type="jsonSchema">{"type":"object","properties":{"vars":{"type":"object"},"metadata":{"type":"object"}}}</uipath:inputSchema>
9259
+ </uipath:context>
9260
+ <uipath:input name="args" type="json" target="bodyField"><![CDATA[{"vars":"=vars","metadata":"=metadata"}]]></uipath:input>
9258
9261
  </uipath:mapping>
9262
+ <uipath:scriptVersion value="v3" />
9259
9263
  </bpmn:extensionElements>
9260
9264
  <bpmn:incoming>{incomingEdge}</bpmn:incoming>
9261
9265
  <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
9262
9266
  </bpmn:scriptTask>`,
9263
- inputNotes: "Inputs are merged into a single json input named 'args' with target 'bodyField'. An inputSchema is created from the input variables.",
9264
- extensionTagNotes: "bpmn:ScriptTask is routed through createModdleExtensionVariableMapping (same as BPMN.Variables). Inputs are merged into a single 'args' JSON body with inputSchema."
9267
+ inputNotes: `Inputs are merged into a single json input named 'args' with target 'bodyField'. Keep the vars and metadata keys. Inside a loop, add one key per in-scope loop, named after its uipath:loopCharacteristics inputElement and valued =<inputElement> ("iterator[0]":"=iterator[0]"), or the script faults with "iterator is not defined". The script reads vars.<id> and iterator[0].item. Put the JavaScript in a bpmn:script element as the last child of the scriptTask. With scriptVersion v3 the runtime wraps the return value. Map it inside the mapping with <uipath:output name="scriptResponse" type="jsonSchema" source="=result.response" var="<varId>" /> plus <uipath:output name="Error" type="jsonSchema" source="=Error" />; Studio Web replaces the outputs of a script task that lacks either when the task is opened. On a multi-instance script task use name="response" source="=response". Read one field of a returned object as =result.response.<field>. Return the value itself; return { response: x } reads back as =result.response.response. Keep <uipath:migrationVersion version="21" /> on the process, as bpmn init writes it, or Studio Web resets the task to v2.`,
9268
+ extensionTagNotes: "The mapping type is BPMN.Variables. BPMN.ScriptTask names this entry only: as a uipath:type value the runtime skips the script, every output reads back null, and the task still completes."
9265
9269
  },
9266
9270
  "ConversationalService.QueueServiceMessage": {
9267
9271
  extensionType: "ConversationalService.QueueServiceMessage",
@@ -10674,6 +10678,10 @@ var SCRIPT_RUNTIME_GLOBALS = new Set([
10674
10678
  ...JINT_GLOBALS
10675
10679
  ]);
10676
10680
  var KNOWN_UIPATH_TAGS = new Set(SUPPORTED_UIPATH_EXTENSION_TAGS);
10681
+ var SCRIPT_TASK_INPUT_CONTRACT = {
10682
+ ...BPMN_SPEC.extensionTypes["BPMN.ScriptTask"],
10683
+ extensionType: "BPMN.Variables script task"
10684
+ };
10677
10685
  var CALL_ACTIVITY_TYPES = Object.entries(BPMN_SPEC.extensionTypes).filter(([, contract]) => contract.bpmnElement === "bpmn:CallActivity").map(([type]) => type).sort((a, b) => a.localeCompare(b));
10678
10686
  var CALL_ACTIVITY_PAYLOAD_TAGS = new Set(Object.values(BPMN_SPEC.extensionTypes).filter((contract) => contract.bpmnElement === "bpmn:CallActivity").map((contract) => contract.extensionTag).filter((tag) => typeof tag === "string"));
10679
10687
  var ACTIVITY_CONFIGURATION_V1 = "v1";
@@ -17353,4 +17361,4 @@ export {
17353
17361
  required
17354
17362
  };
17355
17363
 
17356
- //# debugId=1B0F9E8F4FAF6EF364756E2164756E21
17364
+ //# debugId=A913D2BAA055828564756E2164756E21
@@ -6992,7 +6992,7 @@ var bpmn_spec_default = {
6992
6992
  <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
6993
6993
  </bpmn:sendTask>`,
6994
6994
  discoveryNotes: "Use `uip is activities list <connector-key> --output json` to select an activity. Set operation from Name, then describe ObjectName to get its current path, parameters, and fields.",
6995
- inputNotes: "Add each request field from the selected operation as its own uipath:input. Keep the field's type and target: path, query, body, or file.",
6995
+ inputNotes: 'Add each non-body field from the selected operation (path, query, header, or file) as its own uipath:input, keeping its type and target. Put every body field in ONE <uipath:input name="body" type="json" target="body"> holding the whole request object: the runtime keeps a single body value, so separate body inputs overwrite each other and only the last one is sent.',
6996
6996
  contextFieldNotes: "connection points to a root binding for a Connection resource. When folder scoping is required, folderKey points to a second binding for the same resourceKey. Use propertyAttribute ConnectionId for connection and folderKey for folderKey. Omit folderKey when the selected activity has no folder scoping, and omit both fields only when it does not use a connection.",
6997
6997
  extensionTagNotes: "In isExecution array, NOT in isEvents array, so uses uipath:activity"
6998
6998
  },
@@ -9818,18 +9818,22 @@ var bpmn_spec_default = {
9818
9818
  bindingPattern: "none",
9819
9819
  requiresDiscovery: false,
9820
9820
  isDynamic: false,
9821
- xmlTemplate: `<bpmn:scriptTask id="{id}" name="{name}">
9821
+ xmlTemplate: `<bpmn:scriptTask id="{id}" name="{name}" scriptFormat="JavaScript">
9822
9822
  <bpmn:extensionElements>
9823
9823
  <uipath:mapping version="v1">
9824
- <uipath:type value="BPMN.ScriptTask" version="v1" />
9825
- <uipath:input name="args" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
9824
+ <uipath:type value="BPMN.Variables" version="v1" />
9825
+ <uipath:context>
9826
+ <uipath:inputSchema type="jsonSchema">{"type":"object","properties":{"vars":{"type":"object"},"metadata":{"type":"object"}}}</uipath:inputSchema>
9827
+ </uipath:context>
9828
+ <uipath:input name="args" type="json" target="bodyField"><![CDATA[{"vars":"=vars","metadata":"=metadata"}]]></uipath:input>
9826
9829
  </uipath:mapping>
9830
+ <uipath:scriptVersion value="v3" />
9827
9831
  </bpmn:extensionElements>
9828
9832
  <bpmn:incoming>{incomingEdge}</bpmn:incoming>
9829
9833
  <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
9830
9834
  </bpmn:scriptTask>`,
9831
- inputNotes: "Inputs are merged into a single json input named 'args' with target 'bodyField'. An inputSchema is created from the input variables.",
9832
- extensionTagNotes: "bpmn:ScriptTask is routed through createModdleExtensionVariableMapping (same as BPMN.Variables). Inputs are merged into a single 'args' JSON body with inputSchema."
9835
+ inputNotes: `Inputs are merged into a single json input named 'args' with target 'bodyField'. Keep the vars and metadata keys. Inside a loop, add one key per in-scope loop, named after its uipath:loopCharacteristics inputElement and valued =<inputElement> ("iterator[0]":"=iterator[0]"), or the script faults with "iterator is not defined". The script reads vars.<id> and iterator[0].item. Put the JavaScript in a bpmn:script element as the last child of the scriptTask. With scriptVersion v3 the runtime wraps the return value. Map it inside the mapping with <uipath:output name="scriptResponse" type="jsonSchema" source="=result.response" var="<varId>" /> plus <uipath:output name="Error" type="jsonSchema" source="=Error" />; Studio Web replaces the outputs of a script task that lacks either when the task is opened. On a multi-instance script task use name="response" source="=response". Read one field of a returned object as =result.response.<field>. Return the value itself; return { response: x } reads back as =result.response.response. Keep <uipath:migrationVersion version="21" /> on the process, as bpmn init writes it, or Studio Web resets the task to v2.`,
9836
+ extensionTagNotes: "The mapping type is BPMN.Variables. BPMN.ScriptTask names this entry only: as a uipath:type value the runtime skips the script, every output reads back null, and the task still completes."
9833
9837
  },
9834
9838
  "ConversationalService.QueueServiceMessage": {
9835
9839
  extensionType: "ConversationalService.QueueServiceMessage",
@@ -11427,6 +11431,10 @@ function collectFreeIdentifiers(program) {
11427
11431
  return referenced;
11428
11432
  }
11429
11433
  var KNOWN_UIPATH_TAGS = new Set(SUPPORTED_UIPATH_EXTENSION_TAGS);
11434
+ var SCRIPT_TASK_INPUT_CONTRACT = {
11435
+ ...BPMN_SPEC.extensionTypes["BPMN.ScriptTask"],
11436
+ extensionType: "BPMN.Variables script task"
11437
+ };
11430
11438
  var CALL_ACTIVITY_TYPES = Object.entries(BPMN_SPEC.extensionTypes).filter(([, contract]) => contract.bpmnElement === "bpmn:CallActivity").map(([type]) => type).sort((a, b) => a.localeCompare(b));
11431
11439
  var CALL_ACTIVITY_PAYLOAD_TAGS = new Set(Object.values(BPMN_SPEC.extensionTypes).filter((contract) => contract.bpmnElement === "bpmn:CallActivity").map((contract) => contract.extensionTag).filter((tag) => typeof tag === "string"));
11432
11440
  var SEMANTIC_VALIDATION_ERROR = "BPMN_VALIDATION_ERROR";
@@ -12095,7 +12103,8 @@ class BpmnValidateService {
12095
12103
  if (contract.extensionType === "Intsvc.EventTrigger" || contract.extensionType === "Intsvc.WaitForEvent") {
12096
12104
  this.validateTriggerConnectionBinding(file, payload, owner, bindings, contract.extensionType, diagnostics);
12097
12105
  }
12098
- this.validateInputs(file, payload, owner, contract, diagnostics);
12106
+ const inputContract = contract.extensionType === "BPMN.Variables" && hasLocalName(owner, "scriptTask") ? SCRIPT_TASK_INPUT_CONTRACT : contract;
12107
+ this.validateInputs(file, payload, owner, inputContract, diagnostics);
12099
12108
  this.validateOutput(file, payload, owner, contract, diagnostics);
12100
12109
  this.validateBindingReferences(file, payload, bindings, diagnostics);
12101
12110
  }
@@ -13520,4 +13529,4 @@ export {
13520
13529
  isIntsvcActivityExecutionV1
13521
13530
  };
13522
13531
 
13523
- //# debugId=1F3AE9A7F8DBD15064756E2164756E21
13532
+ //# debugId=9B199A072D7AD5BD64756E2164756E21
@@ -1121,7 +1121,7 @@ var init_package = __esm(() => {
1121
1121
  name: "@uipath/integrationservice-sdk",
1122
1122
  author: "UiPath",
1123
1123
  license: "SEE LICENSE IN LICENSE.txt",
1124
- version: "1.207.0-preview.319",
1124
+ version: "1.207.0-preview.321",
1125
1125
  repository: {
1126
1126
  type: "git",
1127
1127
  url: "https://github.com/UiPath/cli.git",
@@ -265180,4 +265180,4 @@ export {
265180
265180
  studioCatalogTypeCache
265181
265181
  };
265182
265182
 
265183
- //# debugId=934F3368FF46698164756E2164756E21
265183
+ //# debugId=7F5E411D26B6E38C64756E2164756E21
package/dist/index.js CHANGED
@@ -144975,7 +144975,7 @@ var init_package = __esm(() => {
144975
144975
  name: "@uipath/integrationservice-sdk",
144976
144976
  author: "UiPath",
144977
144977
  license: "SEE LICENSE IN LICENSE.txt",
144978
- version: "1.207.0-preview.319",
144978
+ version: "1.207.0-preview.321",
144979
144979
  repository: {
144980
144980
  type: "git",
144981
144981
  url: "https://github.com/UiPath/cli.git",
@@ -276712,7 +276712,7 @@ var bpmn_spec_default = {
276712
276712
  <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
276713
276713
  </bpmn:sendTask>`,
276714
276714
  discoveryNotes: "Use `uip is activities list <connector-key> --output json` to select an activity. Set operation from Name, then describe ObjectName to get its current path, parameters, and fields.",
276715
- inputNotes: "Add each request field from the selected operation as its own uipath:input. Keep the field's type and target: path, query, body, or file.",
276715
+ inputNotes: 'Add each non-body field from the selected operation (path, query, header, or file) as its own uipath:input, keeping its type and target. Put every body field in ONE <uipath:input name="body" type="json" target="body"> holding the whole request object: the runtime keeps a single body value, so separate body inputs overwrite each other and only the last one is sent.',
276716
276716
  contextFieldNotes: "connection points to a root binding for a Connection resource. When folder scoping is required, folderKey points to a second binding for the same resourceKey. Use propertyAttribute ConnectionId for connection and folderKey for folderKey. Omit folderKey when the selected activity has no folder scoping, and omit both fields only when it does not use a connection.",
276717
276717
  extensionTagNotes: "In isExecution array, NOT in isEvents array, so uses uipath:activity"
276718
276718
  },
@@ -279538,18 +279538,22 @@ var bpmn_spec_default = {
279538
279538
  bindingPattern: "none",
279539
279539
  requiresDiscovery: false,
279540
279540
  isDynamic: false,
279541
- xmlTemplate: `<bpmn:scriptTask id="{id}" name="{name}">
279541
+ xmlTemplate: `<bpmn:scriptTask id="{id}" name="{name}" scriptFormat="JavaScript">
279542
279542
  <bpmn:extensionElements>
279543
279543
  <uipath:mapping version="v1">
279544
- <uipath:type value="BPMN.ScriptTask" version="v1" />
279545
- <uipath:input name="args" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
279544
+ <uipath:type value="BPMN.Variables" version="v1" />
279545
+ <uipath:context>
279546
+ <uipath:inputSchema type="jsonSchema">{"type":"object","properties":{"vars":{"type":"object"},"metadata":{"type":"object"}}}</uipath:inputSchema>
279547
+ </uipath:context>
279548
+ <uipath:input name="args" type="json" target="bodyField"><![CDATA[{"vars":"=vars","metadata":"=metadata"}]]></uipath:input>
279546
279549
  </uipath:mapping>
279550
+ <uipath:scriptVersion value="v3" />
279547
279551
  </bpmn:extensionElements>
279548
279552
  <bpmn:incoming>{incomingEdge}</bpmn:incoming>
279549
279553
  <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
279550
279554
  </bpmn:scriptTask>`,
279551
- inputNotes: "Inputs are merged into a single json input named 'args' with target 'bodyField'. An inputSchema is created from the input variables.",
279552
- extensionTagNotes: "bpmn:ScriptTask is routed through createModdleExtensionVariableMapping (same as BPMN.Variables). Inputs are merged into a single 'args' JSON body with inputSchema."
279555
+ inputNotes: `Inputs are merged into a single json input named 'args' with target 'bodyField'. Keep the vars and metadata keys. Inside a loop, add one key per in-scope loop, named after its uipath:loopCharacteristics inputElement and valued =<inputElement> ("iterator[0]":"=iterator[0]"), or the script faults with "iterator is not defined". The script reads vars.<id> and iterator[0].item. Put the JavaScript in a bpmn:script element as the last child of the scriptTask. With scriptVersion v3 the runtime wraps the return value. Map it inside the mapping with <uipath:output name="scriptResponse" type="jsonSchema" source="=result.response" var="<varId>" /> plus <uipath:output name="Error" type="jsonSchema" source="=Error" />; Studio Web replaces the outputs of a script task that lacks either when the task is opened. On a multi-instance script task use name="response" source="=response". Read one field of a returned object as =result.response.<field>. Return the value itself; return { response: x } reads back as =result.response.response. Keep <uipath:migrationVersion version="21" /> on the process, as bpmn init writes it, or Studio Web resets the task to v2.`,
279556
+ extensionTagNotes: "The mapping type is BPMN.Variables. BPMN.ScriptTask names this entry only: as a uipath:type value the runtime skips the script, every output reads back null, and the task still completes."
279553
279557
  },
279554
279558
  "ConversationalService.QueueServiceMessage": {
279555
279559
  extensionType: "ConversationalService.QueueServiceMessage",
@@ -281147,6 +281151,10 @@ function collectFreeIdentifiers(program) {
281147
281151
  return referenced;
281148
281152
  }
281149
281153
  var KNOWN_UIPATH_TAGS = new Set(SUPPORTED_UIPATH_EXTENSION_TAGS);
281154
+ var SCRIPT_TASK_INPUT_CONTRACT = {
281155
+ ...BPMN_SPEC.extensionTypes["BPMN.ScriptTask"],
281156
+ extensionType: "BPMN.Variables script task"
281157
+ };
281150
281158
  var CALL_ACTIVITY_TYPES = Object.entries(BPMN_SPEC.extensionTypes).filter(([, contract]) => contract.bpmnElement === "bpmn:CallActivity").map(([type]) => type).sort((a, b) => a.localeCompare(b));
281151
281159
  var CALL_ACTIVITY_PAYLOAD_TAGS = new Set(Object.values(BPMN_SPEC.extensionTypes).filter((contract) => contract.bpmnElement === "bpmn:CallActivity").map((contract) => contract.extensionTag).filter((tag) => typeof tag === "string"));
281152
281160
  var SEMANTIC_VALIDATION_ERROR = "BPMN_VALIDATION_ERROR";
@@ -281815,7 +281823,8 @@ class BpmnValidateService {
281815
281823
  if (contract.extensionType === "Intsvc.EventTrigger" || contract.extensionType === "Intsvc.WaitForEvent") {
281816
281824
  this.validateTriggerConnectionBinding(file, payload, owner, bindings, contract.extensionType, diagnostics);
281817
281825
  }
281818
- this.validateInputs(file, payload, owner, contract, diagnostics);
281826
+ const inputContract = contract.extensionType === "BPMN.Variables" && hasLocalName(owner, "scriptTask") ? SCRIPT_TASK_INPUT_CONTRACT : contract;
281827
+ this.validateInputs(file, payload, owner, inputContract, diagnostics);
281819
281828
  this.validateOutput(file, payload, owner, contract, diagnostics);
281820
281829
  this.validateBindingReferences(file, payload, bindings, diagnostics);
281821
281830
  }
@@ -288640,4 +288649,4 @@ export {
288640
288649
  withPimsCall
288641
288650
  };
288642
288651
 
288643
- //# debugId=F9EAABB42191407F64756E2164756E21
288652
+ //# debugId=21F89D284DEF3BFF64756E2164756E21
@@ -532,7 +532,7 @@ var bpmn_spec_default = {
532
532
  <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
533
533
  </bpmn:sendTask>`,
534
534
  discoveryNotes: "Use `uip is activities list <connector-key> --output json` to select an activity. Set operation from Name, then describe ObjectName to get its current path, parameters, and fields.",
535
- inputNotes: "Add each request field from the selected operation as its own uipath:input. Keep the field's type and target: path, query, body, or file.",
535
+ inputNotes: 'Add each non-body field from the selected operation (path, query, header, or file) as its own uipath:input, keeping its type and target. Put every body field in ONE <uipath:input name="body" type="json" target="body"> holding the whole request object: the runtime keeps a single body value, so separate body inputs overwrite each other and only the last one is sent.',
536
536
  contextFieldNotes: "connection points to a root binding for a Connection resource. When folder scoping is required, folderKey points to a second binding for the same resourceKey. Use propertyAttribute ConnectionId for connection and folderKey for folderKey. Omit folderKey when the selected activity has no folder scoping, and omit both fields only when it does not use a connection.",
537
537
  extensionTagNotes: "In isExecution array, NOT in isEvents array, so uses uipath:activity"
538
538
  },
@@ -3358,18 +3358,22 @@ var bpmn_spec_default = {
3358
3358
  bindingPattern: "none",
3359
3359
  requiresDiscovery: false,
3360
3360
  isDynamic: false,
3361
- xmlTemplate: `<bpmn:scriptTask id="{id}" name="{name}">
3361
+ xmlTemplate: `<bpmn:scriptTask id="{id}" name="{name}" scriptFormat="JavaScript">
3362
3362
  <bpmn:extensionElements>
3363
3363
  <uipath:mapping version="v1">
3364
- <uipath:type value="BPMN.ScriptTask" version="v1" />
3365
- <uipath:input name="args" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
3364
+ <uipath:type value="BPMN.Variables" version="v1" />
3365
+ <uipath:context>
3366
+ <uipath:inputSchema type="jsonSchema">{"type":"object","properties":{"vars":{"type":"object"},"metadata":{"type":"object"}}}</uipath:inputSchema>
3367
+ </uipath:context>
3368
+ <uipath:input name="args" type="json" target="bodyField"><![CDATA[{"vars":"=vars","metadata":"=metadata"}]]></uipath:input>
3366
3369
  </uipath:mapping>
3370
+ <uipath:scriptVersion value="v3" />
3367
3371
  </bpmn:extensionElements>
3368
3372
  <bpmn:incoming>{incomingEdge}</bpmn:incoming>
3369
3373
  <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
3370
3374
  </bpmn:scriptTask>`,
3371
- inputNotes: "Inputs are merged into a single json input named 'args' with target 'bodyField'. An inputSchema is created from the input variables.",
3372
- extensionTagNotes: "bpmn:ScriptTask is routed through createModdleExtensionVariableMapping (same as BPMN.Variables). Inputs are merged into a single 'args' JSON body with inputSchema."
3375
+ inputNotes: `Inputs are merged into a single json input named 'args' with target 'bodyField'. Keep the vars and metadata keys. Inside a loop, add one key per in-scope loop, named after its uipath:loopCharacteristics inputElement and valued =<inputElement> ("iterator[0]":"=iterator[0]"), or the script faults with "iterator is not defined". The script reads vars.<id> and iterator[0].item. Put the JavaScript in a bpmn:script element as the last child of the scriptTask. With scriptVersion v3 the runtime wraps the return value. Map it inside the mapping with <uipath:output name="scriptResponse" type="jsonSchema" source="=result.response" var="<varId>" /> plus <uipath:output name="Error" type="jsonSchema" source="=Error" />; Studio Web replaces the outputs of a script task that lacks either when the task is opened. On a multi-instance script task use name="response" source="=response". Read one field of a returned object as =result.response.<field>. Return the value itself; return { response: x } reads back as =result.response.response. Keep <uipath:migrationVersion version="21" /> on the process, as bpmn init writes it, or Studio Web resets the task to v2.`,
3376
+ extensionTagNotes: "The mapping type is BPMN.Variables. BPMN.ScriptTask names this entry only: as a uipath:type value the runtime skips the script, every output reads back null, and the task still completes."
3373
3377
  },
3374
3378
  "ConversationalService.QueueServiceMessage": {
3375
3379
  extensionType: "ConversationalService.QueueServiceMessage",
@@ -4785,4 +4789,4 @@ export {
4785
4789
  toBpmnXmlElementName
4786
4790
  };
4787
4791
 
4788
- //# debugId=4CBA109D681EF3BF64756E2164756E21
4792
+ //# debugId=753DFFDB22DE8CD264756E2164756E21
@@ -144811,7 +144811,7 @@ var init_package = __esm(() => {
144811
144811
  name: "@uipath/integrationservice-sdk",
144812
144812
  author: "UiPath",
144813
144813
  license: "SEE LICENSE IN LICENSE.txt",
144814
- version: "1.207.0-preview.319",
144814
+ version: "1.207.0-preview.321",
144815
144815
  repository: {
144816
144816
  type: "git",
144817
144817
  url: "https://github.com/UiPath/cli.git",
@@ -264756,4 +264756,4 @@ export {
264756
264756
  shownRows
264757
264757
  };
264758
264758
 
264759
- //# debugId=904CC283BAC67BBA64756E2164756E21
264759
+ //# debugId=3D8570AF3B88BA1A64756E2164756E21
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@uipath/maestro-sdk",
3
3
  "author": "UiPath",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
- "version": "1.207.0-preview.319",
5
+ "version": "1.207.0-preview.321",
6
6
  "description": "SDK for the UiPath Maestro (PIMS) API — process instance management.",
7
7
  "repository": {
8
8
  "type": "git",
@@ -113,5 +113,5 @@
113
113
  "files": [
114
114
  "dist"
115
115
  ],
116
- "gitHead": "a898bb5b99eff9b2722d0db1f9750aba0c804f61"
116
+ "gitHead": "6d41441a5d7954d6b1c15f8053269d29424dade0"
117
117
  }