@uipath/flow-tool 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.
Files changed (74) hide show
  1. package/dist/{binding-service-7xpcypx8.js → binding-service-akjq8bwm.js} +10 -10
  2. package/dist/{connector-service-d3dmq7ay.js → connector-service-w95bphkw.js} +11 -11
  3. package/dist/{conversion-A2KZVSOA-ztavynhz.js → conversion-A2KZVSOA-fmd9f5nf.js} +3 -3
  4. package/dist/{de-HF4GJ4EK-NX7YTOSY-mjp0d2jb.js → de-HF4GJ4EK-NX7YTOSY-ajm7x80b.js} +1 -1
  5. package/dist/{edge-service-b3g8s5kz.js → edge-service-s5yhck2f.js} +2 -2
  6. package/dist/{en-ETY46SDS-RI6EZCN6-86pwg1vd.js → en-ETY46SDS-RI6EZCN6-k1tshjg7.js} +1 -1
  7. package/dist/{en-JZXY3PYE-8b5rckqa.js → en-JZXY3PYE-c4rjfg1m.js} +1 -1
  8. package/dist/{en-LQHKFSEY-89y3fza0.js → en-LQHKFSEY-yv35gcg1.js} +1 -1
  9. package/dist/{es-IYP2OLUY-7SKYGF6A-76cfm2sy.js → es-IYP2OLUY-7SKYGF6A-kft3fn4z.js} +1 -1
  10. package/dist/{es-MX-D2MN3U37-D74A6FRL-k0q9560t.js → es-MX-D2MN3U37-D74A6FRL-9xy345n8.js} +1 -1
  11. package/dist/{flow-debug-service-xvk0wqr8.js → flow-debug-service-ghjk29ez.js} +6 -6
  12. package/dist/{flow-eval-node-target-s5jarrfw.js → flow-eval-node-target-wxp2e2gp.js} +2 -2
  13. package/dist/{flow-eval-run-service-5gnhhkmy.js → flow-eval-run-service-brc5mwbp.js} +8 -8
  14. package/dist/{flow-eval-service-k8pynw3h.js → flow-eval-service-r9rdbjxm.js} +3 -3
  15. package/dist/{flow-init-service-cx2wd4gx.js → flow-init-service-1bmkc46d.js} +4 -4
  16. package/dist/{flow-io-33kdn19c.js → flow-io-k8w5na4s.js} +2 -2
  17. package/dist/{flow-migrate-service-gtzbff9h.js → flow-migrate-service-tfaww2vf.js} +2 -2
  18. package/dist/{flow-pack-service-2z70qzw5.js → flow-pack-service-tqyhjkcf.js} +9 -9
  19. package/dist/{flow-validate-service-wqmye4cv.js → flow-validate-service-as54y6e1.js} +14 -14
  20. package/dist/{fr-NISALSPL-3ANDQPI3-yt02phdh.js → fr-NISALSPL-3ANDQPI3-7wst548e.js} +1 -1
  21. package/dist/{governance-fetcher-y6ezg8rc.js → governance-fetcher-mqy91hmm.js} +2 -2
  22. package/dist/{hitl-service-e83ftk9y.js → hitl-service-hd5y3rf9.js} +2 -2
  23. package/dist/{index-achy921e.js → index-5n8fe05r.js} +4 -4
  24. package/dist/{index-fjg43cvm.js → index-mxcvgt53.js} +6 -2
  25. package/dist/{index-0yhfqnb9.js → index-nnx2wwzv.js} +1 -1
  26. package/dist/index.js +2 -2
  27. package/dist/init.js +4 -4
  28. package/dist/{inline-entity-resolver-p08edhsk.js → inline-entity-resolver-hgzv87qv.js} +2 -2
  29. package/dist/{integration-service-fetcher-3sakq847.js → integration-service-fetcher-vk0g1n9b.js} +1 -1
  30. package/dist/{ja-HTS2Q4YG-7Q6WUI6H-vfcyf32k.js → ja-HTS2Q4YG-7Q6WUI6H-qwwbx23c.js} +1 -1
  31. package/dist/{ko-3JFGTMNY-VT6UQ3IS-50dh2v4w.js → ko-3JFGTMNY-VT6UQ3IS-nkmvxhn0.js} +1 -1
  32. package/dist/{node-service-wg2y3g5q.js → node-service-c0vhah23.js} +10 -10
  33. package/dist/{node-sync-service-76j9d1wj.js → node-sync-service-kqk76zsm.js} +2 -2
  34. package/dist/{node-8d8vk9m7.js → node-y5xk5n7v.js} +1 -1
  35. package/dist/{packager-tool-h69fr8p6.js → packager-tool-2e8t6fb2.js} +1 -1
  36. package/dist/{packager-tool-ntnfsbtt.js → packager-tool-2eq9nz35.js} +1 -1
  37. package/dist/{packager-tool-e4ragjqz.js → packager-tool-2yh1r08z.js} +1 -1
  38. package/dist/{packager-tool-bk9vk5db.js → packager-tool-433saam7.js} +1 -1
  39. package/dist/{packager-tool-9x0bn3r4.js → packager-tool-5r43z80v.js} +1 -1
  40. package/dist/{packager-tool-p63spkmm.js → packager-tool-7rqcghem.js} +5 -5
  41. package/dist/{packager-tool-5wn04je2.js → packager-tool-9kxfmkpe.js} +2 -2
  42. package/dist/{packager-tool-vrb5xxg8.js → packager-tool-ampxwxsy.js} +1 -1
  43. package/dist/{packager-tool-p42dryyq.js → packager-tool-czvgdx69.js} +2 -2
  44. package/dist/{packager-tool-f3htkspn.js → packager-tool-g0k16pbp.js} +15 -7
  45. package/dist/{packager-tool-t1ph9c30.js → packager-tool-h3e7srwc.js} +28 -28
  46. package/dist/{packager-tool-3mjmy1qk.js → packager-tool-jhw1n8t8.js} +1 -1
  47. package/dist/{packager-tool-wfa11h9p.js → packager-tool-mat04n1d.js} +2 -2
  48. package/dist/{packager-tool-9qe165yr.js → packager-tool-n3b2rpjq.js} +2 -2
  49. package/dist/{packager-tool-ap23kgmm.js → packager-tool-p6772xjh.js} +2 -2
  50. package/dist/{packager-tool-vjmv44km.js → packager-tool-q0rwaqyt.js} +1 -1
  51. package/dist/{packager-tool-8nptkt4v.js → packager-tool-r0x1emnt.js} +42 -42
  52. package/dist/{packager-tool-5b0cx4g9.js → packager-tool-ssmy6ws4.js} +59 -11
  53. package/dist/{packager-tool-xym71edc.js → packager-tool-vdnrbv7e.js} +1 -1
  54. package/dist/{packager-tool-gk2wzf90.js → packager-tool-vqjfwv9b.js} +1 -1
  55. package/dist/{packager-tool-r05wt2j9.js → packager-tool-w97jtnpj.js} +2 -2
  56. package/dist/{packager-tool-qz3r7b6j.js → packager-tool-xdw48m03.js} +7 -7
  57. package/dist/{packager-tool-4tyqv6es.js → packager-tool-z65v3psy.js} +1 -1
  58. package/dist/packager-tool.js +2 -2
  59. package/dist/{provision-node-service-5d0ck7f2.js → provision-node-service-4m29bz9w.js} +4 -4
  60. package/dist/{pt-BR-7H7BP5DT-IOHWNCIU-90mcfwa4.js → pt-BR-7H7BP5DT-IOHWNCIU-c3wz0bqm.js} +1 -1
  61. package/dist/{pt-QWGSZKMD-RTKSQCYA-cmwmgtq8.js → pt-QWGSZKMD-RTKSQCYA-hq87pf0f.js} +1 -1
  62. package/dist/{ro-B7G474JK-Q3BAA4S3-hecehs9a.js → ro-B7G474JK-Q3BAA4S3-qtx0jasw.js} +1 -1
  63. package/dist/{ru-GSCT4ARZ-6OTD7JLB-xwx8apa2.js → ru-GSCT4ARZ-6OTD7JLB-3g2b966y.js} +1 -1
  64. package/dist/{schema-document-service-7wzbh8pf.js → schema-document-service-tddcb2nm.js} +4 -4
  65. package/dist/{serialization-7CB4AREI-5ej8ez23.js → serialization-7CB4AREI-7wtdxm1g.js} +2 -2
  66. package/dist/services/flow-validate-service.d.ts +21 -1
  67. package/dist/{tidy-service-r6w596bn.js → tidy-service-jg6wqn10.js} +2 -2
  68. package/dist/tool.js +2 -2
  69. package/dist/{tr-FX7WCKK2-CEOTUJRD-xqgaxnp9.js → tr-FX7WCKK2-CEOTUJRD-2ekkvt4m.js} +1 -1
  70. package/dist/validation.js +14 -14
  71. package/dist/{variable-service-881jjj6f.js → variable-service-vtwewtc6.js} +2 -2
  72. package/dist/{zh-CN-NCMB6YM5-BB2LRIMQ-s548pgzs.js → zh-CN-NCMB6YM5-BB2LRIMQ-gh9z0c8v.js} +1 -1
  73. package/dist/{zh-TW-UNIEJPLE-ECGOEPYS-e8e0fasm.js → zh-TW-UNIEJPLE-ECGOEPYS-crk9twcf.js} +1 -1
  74. package/package.json +2 -2
package/dist/init.js CHANGED
@@ -5,15 +5,15 @@ import"./packager-tool-t0e7fvqz.js";
5
5
  import"./packager-tool-6azsz9h8.js";
6
6
  import"./packager-tool-dmhmcav3.js";
7
7
  import"./packager-tool-zap4kd3z.js";
8
- import"./packager-tool-t1ph9c30.js";
9
- import"./packager-tool-9x0bn3r4.js";
8
+ import"./packager-tool-h3e7srwc.js";
9
+ import"./packager-tool-5r43z80v.js";
10
10
  import"./packager-tool-wvf6b31h.js";
11
11
  import"./packager-tool-a9xgmn1q.js";
12
- import"./packager-tool-ap23kgmm.js";
12
+ import"./packager-tool-p6772xjh.js";
13
13
  import {
14
14
  FlowInitSdkSourceError2,
15
15
  flowInitAsync2
16
- } from "./packager-tool-vjmv44km.js";
16
+ } from "./packager-tool-q0rwaqyt.js";
17
17
  import"./packager-tool-mvzswn9n.js";
18
18
  import"./packager-tool-3sxg16ft.js";
19
19
  import"./packager-tool-mm6a12y4.js";
@@ -2,11 +2,11 @@ import {
2
2
  resolveInlineEntity2,
3
3
  UnboundInlineEntityError2,
4
4
  assertInlineEntitiesBound2
5
- } from "./packager-tool-h69fr8p6.js";
5
+ } from "./packager-tool-2e8t6fb2.js";
6
6
  import {
7
7
  readSolutionInlineEntities2
8
8
  } from "./packager-tool-gjjr2a2w.js";
9
- import"./packager-tool-t1ph9c30.js";
9
+ import"./packager-tool-h3e7srwc.js";
10
10
  import"./packager-tool-6azsz9h8.js";
11
11
  import"./packager-tool-3sxg16ft.js";
12
12
  import"./packager-tool-mm6a12y4.js";
@@ -26,7 +26,7 @@ import {
26
26
  fetchConnectorMaxPageSize2,
27
27
  fetchConnectorActivityMetadataV42,
28
28
  enrichConnectorNode2
29
- } from "./packager-tool-wfa11h9p.js";
29
+ } from "./packager-tool-mat04n1d.js";
30
30
  import"./packager-tool-tgawhrva.js";
31
31
  import"./packager-tool-bzcphfa8.js";
32
32
  import"./packager-tool-bcsjm5hv.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./packager-tool-t1ph9c30.js";
3
+ } from "./packager-tool-h3e7srwc.js";
4
4
 
5
5
  // ../../node_modules/@uipath/flow-converter/dist/ja-HTS2Q4YG-7Q6WUI6H.js
6
6
  init_esm_shims();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./packager-tool-t1ph9c30.js";
3
+ } from "./packager-tool-h3e7srwc.js";
4
4
 
5
5
  // ../../node_modules/@uipath/flow-converter/dist/ko-3JFGTMNY-VT6UQ3IS.js
6
6
  init_esm_shims();
@@ -12,29 +12,29 @@ import {
12
12
  collectNodeBindingResourceKeys2,
13
13
  addNodeToFlow2,
14
14
  deleteNodeFromFlow2
15
- } from "./packager-tool-qz3r7b6j.js";
16
- import"./packager-tool-f3htkspn.js";
17
- import"./packager-tool-vrb5xxg8.js";
18
- import"./packager-tool-4tyqv6es.js";
19
- import"./packager-tool-h69fr8p6.js";
15
+ } from "./packager-tool-xdw48m03.js";
16
+ import"./packager-tool-g0k16pbp.js";
17
+ import"./packager-tool-ampxwxsy.js";
18
+ import"./packager-tool-z65v3psy.js";
19
+ import"./packager-tool-2e8t6fb2.js";
20
20
  import"./packager-tool-eyjtznrj.js";
21
- import"./packager-tool-bk9vk5db.js";
21
+ import"./packager-tool-433saam7.js";
22
22
  import"./packager-tool-jjnfwfd4.js";
23
23
  import"./packager-tool-xb16e3tz.js";
24
- import"./packager-tool-wfa11h9p.js";
24
+ import"./packager-tool-mat04n1d.js";
25
25
  import"./packager-tool-bn09xgy8.js";
26
26
  import"./packager-tool-4skf6ak1.js";
27
27
  import"./packager-tool-gjjr2a2w.js";
28
- import"./packager-tool-p63spkmm.js";
28
+ import"./packager-tool-7rqcghem.js";
29
29
  import"./packager-tool-7re5d8aq.js";
30
30
  import"./packager-tool-xgvp8a8g.js";
31
31
  import"./packager-tool-rcjtmknf.js";
32
32
  import"./packager-tool-zgzpqfcs.js";
33
33
  import"./packager-tool-tgawhrva.js";
34
34
  import"./packager-tool-bzcphfa8.js";
35
- import"./packager-tool-9x0bn3r4.js";
35
+ import"./packager-tool-5r43z80v.js";
36
36
  import"./packager-tool-dmhmcav3.js";
37
- import"./packager-tool-t1ph9c30.js";
37
+ import"./packager-tool-h3e7srwc.js";
38
38
  import"./packager-tool-6azsz9h8.js";
39
39
  import"./packager-tool-3sxg16ft.js";
40
40
  import"./packager-tool-mm6a12y4.js";
@@ -21,10 +21,10 @@ import {
21
21
  getNodeEnrichedWithDiagnostics2,
22
22
  getLocalNodeEnriched2,
23
23
  searchNodesWithFilters2
24
- } from "./packager-tool-bk9vk5db.js";
24
+ } from "./packager-tool-433saam7.js";
25
25
  import"./packager-tool-jjnfwfd4.js";
26
26
  import"./packager-tool-xb16e3tz.js";
27
- import"./packager-tool-wfa11h9p.js";
27
+ import"./packager-tool-mat04n1d.js";
28
28
  import"./packager-tool-bn09xgy8.js";
29
29
  import"./packager-tool-4skf6ak1.js";
30
30
  import"./packager-tool-tgawhrva.js";
@@ -7,7 +7,7 @@ import {
7
7
  setGlobalLogHandler,
8
8
  ToolLogger,
9
9
  ProjectPackager
10
- } from "./packager-tool-r05wt2j9.js";
10
+ } from "./packager-tool-w97jtnpj.js";
11
11
  import {
12
12
  NodeFileSystem
13
13
  } from "./packager-tool-1db1wqdy.js";
@@ -5,7 +5,7 @@ import {
5
5
  findInlineEntity2,
6
6
  findUnboundInlineEntityNodes2,
7
7
  describeUnboundInlineEntity2
8
- } from "./packager-tool-t1ph9c30.js";
8
+ } from "./packager-tool-h3e7srwc.js";
9
9
 
10
10
  // ../executor/flow-debug/src/inline-entity-resolver.ts
11
11
  async function resolveInlineEntity2(fs, flowFilePath, entityName) {
@@ -5,7 +5,7 @@ import {
5
5
  collectAgentInputLeaves2,
6
6
  isBareProjectIdSource2,
7
7
  isInlineAgentNodeType2
8
- } from "./packager-tool-t1ph9c30.js";
8
+ } from "./packager-tool-h3e7srwc.js";
9
9
  import {
10
10
  isRecord2
11
11
  } from "./packager-tool-7re5d8aq.js";
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  stripJsonStringGuard,
6
6
  validateIntSvcNode
7
- } from "./packager-tool-wfa11h9p.js";
7
+ } from "./packager-tool-mat04n1d.js";
8
8
 
9
9
  // src/services/connector-node-types.ts
10
10
  function isConnectorTriggerType(nodeType) {
@@ -23,7 +23,7 @@ import {
23
23
  } from "./packager-tool-xb16e3tz.js";
24
24
  import {
25
25
  enrichConnectorNode2
26
- } from "./packager-tool-wfa11h9p.js";
26
+ } from "./packager-tool-mat04n1d.js";
27
27
  import {
28
28
  selectMaestroNodes,
29
29
  listKnownSdkNodes2
@@ -11,7 +11,7 @@ import {
11
11
  resolveFlowTarget3,
12
12
  findProjectFlowFile3,
13
13
  writeFlowWorkflow3
14
- } from "./packager-tool-t1ph9c30.js";
14
+ } from "./packager-tool-h3e7srwc.js";
15
15
 
16
16
  // ../executor/flow-debug/src/flow-io.ts
17
17
  async function readFlowWorkflow2(filePath, fs = getFileSystem()) {
@@ -2964,7 +2964,7 @@ Subcommands:
2964
2964
  }
2965
2965
  ];
2966
2966
  registry.command("pull").description(`Pull and sync node data from ${commandPrefix} registry (login first for full registry)`).option("-f, --force", "Force refresh, ignore cache").examples(pullExamples).trackedAction(processContext, async (options) => {
2967
- const { MANIFEST_VALIDATION_NEXT_STEP, pullNodes } = await import("./node-sync-service-76j9d1wj.js");
2967
+ const { MANIFEST_VALIDATION_NEXT_STEP, pullNodes } = await import("./node-sync-service-kqk76zsm.js");
2968
2968
  const [error, result] = await catchError2(pullNodes({
2969
2969
  force: options.force
2970
2970
  }));
@@ -3032,7 +3032,7 @@ In-solution (--local):
3032
3032
  getLocalSolutionSnapshot,
3033
3033
  listNodesWithDiagnostics,
3034
3034
  localContractWarning
3035
- } = await import("./node-sync-service-76j9d1wj.js");
3035
+ } = await import("./node-sync-service-kqk76zsm.js");
3036
3036
  const showAll = options.limit === ALL_NODES;
3037
3037
  if (options.local) {
3038
3038
  const [error, snapshot] = await catchError2(getLocalSolutionSnapshot());
@@ -3167,7 +3167,7 @@ In-solution (--local):
3167
3167
  searchNodeSummariesWithAvailabilityAndDiagnostics,
3168
3168
  searchNodes,
3169
3169
  searchNodesWithFilters
3170
- } = await import("./node-sync-service-76j9d1wj.js");
3170
+ } = await import("./node-sync-service-kqk76zsm.js");
3171
3171
  const searchLocal = () => parsedFilters ? searchNodesWithFilters(keyword, parsedFilters, {
3172
3172
  local: true
3173
3173
  }) : searchNodes(keyword, { local: true });
@@ -3247,7 +3247,7 @@ In-solution (--local):
3247
3247
  getNodeEnrichedWithDiagnostics,
3248
3248
  getLocalNodeEnriched,
3249
3249
  getNode
3250
- } = await import("./node-sync-service-76j9d1wj.js");
3250
+ } = await import("./node-sync-service-kqk76zsm.js");
3251
3251
  const lookup = options.local ? getLocalNodeEnriched(nodeType, options.connectionId).then(({ node, warning }) => ({
3252
3252
  node,
3253
3253
  warning,
@@ -3264,7 +3264,7 @@ In-solution (--local):
3264
3264
  return;
3265
3265
  }
3266
3266
  const result = lookedUp?.node;
3267
- const { isConnectorTriggerNode } = await import("./integration-service-fetcher-3sakq847.js");
3267
+ const { isConnectorTriggerNode } = await import("./integration-service-fetcher-vk0g1n9b.js");
3268
3268
  const unenrichedTrigger = result && !options.connectionId && isConnectorTriggerNode(result);
3269
3269
  const warning = [
3270
3270
  lookedUp?.warning,
@@ -19,7 +19,7 @@ import {
19
19
  import {
20
20
  readFlowWorkflow2,
21
21
  writeFlowWorkflow2
22
- } from "./packager-tool-9x0bn3r4.js";
22
+ } from "./packager-tool-5r43z80v.js";
23
23
  import {
24
24
  collectFieldGroups,
25
25
  collectBusinessCheckHolders,
@@ -28,7 +28,7 @@ import {
28
28
  import {
29
29
  buildScaffoldConfig,
30
30
  provisionIdpProcessorForNode
31
- } from "./packager-tool-vrb5xxg8.js";
31
+ } from "./packager-tool-ampxwxsy.js";
32
32
  import {
33
33
  FIELD_GROUP_ID_EXTENSION,
34
34
  FIELD_ID_EXTENSION,
@@ -22,7 +22,7 @@ import {
22
22
  writeIdpProcessorResource2,
23
23
  collectIdpProcessorUpdates2,
24
24
  DEFAULT_IDP_PROCESSOR_NAME2
25
- } from "./packager-tool-t1ph9c30.js";
25
+ } from "./packager-tool-h3e7srwc.js";
26
26
  import {
27
27
  findFlowProjectRoot2
28
28
  } from "./packager-tool-3sxg16ft.js";
@@ -3,7 +3,7 @@ var package_default = {
3
3
  name: "@uipath/flow-tool",
4
4
  author: "UiPath",
5
5
  license: "SEE LICENSE IN LICENSE.txt",
6
- version: "1.207.0-preview.319",
6
+ version: "1.207.0-preview.321",
7
7
  description: "Create, debug, and run UiPath Flow projects and jobs.",
8
8
  private: false,
9
9
  repository: {
@@ -80,4 +80,4 @@ var package_default = {
80
80
 
81
81
  export { package_default };
82
82
 
83
- //# debugId=D028E41B3DE1072864756E2164756E21
83
+ //# debugId=E437D4004C424F6A64756E2164756E21
@@ -5961,7 +5961,7 @@ var bpmn_spec_default = {
5961
5961
  <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
5962
5962
  </bpmn:sendTask>`,
5963
5963
  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.",
5964
- 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.",
5964
+ 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.',
5965
5965
  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.",
5966
5966
  extensionTagNotes: "In isExecution array, NOT in isEvents array, so uses uipath:activity"
5967
5967
  },
@@ -8787,18 +8787,22 @@ var bpmn_spec_default = {
8787
8787
  bindingPattern: "none",
8788
8788
  requiresDiscovery: false,
8789
8789
  isDynamic: false,
8790
- xmlTemplate: `<bpmn:scriptTask id="{id}" name="{name}">
8790
+ xmlTemplate: `<bpmn:scriptTask id="{id}" name="{name}" scriptFormat="JavaScript">
8791
8791
  <bpmn:extensionElements>
8792
8792
  <uipath:mapping version="v1">
8793
- <uipath:type value="BPMN.ScriptTask" version="v1" />
8794
- <uipath:input name="args" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
8793
+ <uipath:type value="BPMN.Variables" version="v1" />
8794
+ <uipath:context>
8795
+ <uipath:inputSchema type="jsonSchema">{"type":"object","properties":{"vars":{"type":"object"},"metadata":{"type":"object"}}}</uipath:inputSchema>
8796
+ </uipath:context>
8797
+ <uipath:input name="args" type="json" target="bodyField"><![CDATA[{"vars":"=vars","metadata":"=metadata"}]]></uipath:input>
8795
8798
  </uipath:mapping>
8799
+ <uipath:scriptVersion value="v3" />
8796
8800
  </bpmn:extensionElements>
8797
8801
  <bpmn:incoming>{incomingEdge}</bpmn:incoming>
8798
8802
  <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
8799
8803
  </bpmn:scriptTask>`,
8800
- inputNotes: "Inputs are merged into a single json input named 'args' with target 'bodyField'. An inputSchema is created from the input variables.",
8801
- extensionTagNotes: "bpmn:ScriptTask is routed through createModdleExtensionVariableMapping (same as BPMN.Variables). Inputs are merged into a single 'args' JSON body with inputSchema."
8804
+ 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.`,
8805
+ 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."
8802
8806
  },
8803
8807
  "ConversationalService.QueueServiceMessage": {
8804
8808
  extensionType: "ConversationalService.QueueServiceMessage",
@@ -10211,6 +10215,10 @@ var SCRIPT_RUNTIME_GLOBALS = new Set([
10211
10215
  ...JINT_GLOBALS
10212
10216
  ]);
10213
10217
  var KNOWN_UIPATH_TAGS = new Set(SUPPORTED_UIPATH_EXTENSION_TAGS);
10218
+ var SCRIPT_TASK_INPUT_CONTRACT = {
10219
+ ...BPMN_SPEC.extensionTypes["BPMN.ScriptTask"],
10220
+ extensionType: "BPMN.Variables script task"
10221
+ };
10214
10222
  var CALL_ACTIVITY_TYPES = Object.entries(BPMN_SPEC.extensionTypes).filter(([, contract]) => contract.bpmnElement === "bpmn:CallActivity").map(([type]) => type).sort((a, b) => a.localeCompare(b));
10215
10223
  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"));
10216
10224
  var VERSIONED_CONNECTOR_TYPES = new Set([
@@ -10261,4 +10269,4 @@ async function loadRegistry2() {
10261
10269
  }
10262
10270
  export { parse, loadRegistry2 };
10263
10271
 
10264
- //# debugId=7A3D7A4009E9747764756E2164756E21
10272
+ //# debugId=910DEBD11E388A8864756E2164756E21