@uipath/maestro-tool 1.204.0 → 1.205.0-preview.258

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 (258) hide show
  1. package/README.md +3 -3
  2. package/dist/{DmnFactory-VWZOSZHH-ggnfcqpa.js → DmnFactory-L7MABUC6-qkvfv1cw.js} +143 -98
  3. package/dist/{KieDmnMarshaller-6TTUU5B4-6apscj68.js → KieDmnMarshaller-LGE63WDG-cybersk4.js} +3 -3
  4. package/dist/THIRD-PARTY-NOTICES.md +47 -23
  5. package/dist/{authoring-ed7fgg74.js → authoring-5xyc2bbq.js} +8 -6
  6. package/dist/{authoring-1qn6m2g3.js → authoring-ehed6df3.js} +8 -6
  7. package/dist/{authoring-ex7mq672.js → authoring-rw21p50g.js} +8 -6
  8. package/dist/{binding-service-dj04a6e6.js → binding-service-b2v8y2sb.js} +44 -35
  9. package/dist/{bpmn-action-type-validator-cja8vct2.js → bpmn-action-type-validator-xg4ncg63.js} +2 -2
  10. package/dist/{bpmn-binding-resolver-3v5223kx.js → bpmn-binding-resolver-wz7xk54x.js} +9 -7
  11. package/dist/{bpmn-branch-a25m8bc2.js → bpmn-branch-ywmc5egw.js} +48 -47
  12. package/dist/{bpmn-format-service-64fsaq4j.js → bpmn-format-service-aq8ekvy2.js} +7 -5
  13. package/dist/{bpmn-refresh-service-ytf3ngzm.js → bpmn-refresh-service-gy1ekx3m.js} +10 -8
  14. package/dist/{bpmn-update-metadata-service-jpz5mfk4.js → bpmn-update-metadata-service-rnf421er.js} +7 -5
  15. package/dist/bpmn-validate-service-7e3q83nh.js +16 -0
  16. package/dist/{business-rule-export-j6xxtp5s.js → business-rule-export-xa719ws5.js} +2 -2
  17. package/dist/canvas-notes-xc2ejzqj.js +23 -0
  18. package/dist/{case-api-bxcxbgm9.js → case-api-v64traxv.js} +9 -7
  19. package/dist/case-bindings-service-hwz2h03e.js +434 -0
  20. package/dist/case-debug-solution-projects-xae2d4vj.js +34 -0
  21. package/dist/{case-debug-studio-web-service-kt5efenk.js → case-debug-studio-web-service-5h6djff3.js} +22 -14
  22. package/dist/{case-described-io-service-kn3rvy53.js → case-described-io-service-tap9pk70.js} +41 -11
  23. package/dist/case-event-trigger-bindings-z4q1kzgv.js +20 -0
  24. package/dist/{case-format-service-k8rcv0wp.js → case-format-service-q42ba5pn.js} +6 -4
  25. package/dist/{case-pack-service-92trp8xj.js → case-pack-service-0j9r3cd2.js} +9 -7
  26. package/dist/case-schema-version-zs5qsr1b.js +20 -0
  27. package/dist/{case-shape-reader-ftc4ve13.js → case-shape-reader-14qzcj4v.js} +1 -1
  28. package/dist/{case-splice-service-7n51cpx3.js → case-splice-service-bk6rvr75.js} +60 -11
  29. package/dist/{case-validate-service-c8jcvw85.js → case-validate-service-80p52d8r.js} +134 -46
  30. package/dist/{connector-enrichment-service-ba0vq2sk.js → connector-enrichment-service-9p98gfmc.js} +32 -28
  31. package/dist/{connector-lookup-service-mzfsqb21.js → connector-lookup-service-v39ab3qh.js} +10 -8
  32. package/dist/{connector-service-8yk65k3n.js → connector-service-yz5c6xag.js} +229 -52
  33. package/dist/connector-task-shape-dcb3v2r5.js +14 -0
  34. package/dist/{connector-task-spec-bn3qaa1w.js → connector-task-spec-pvzzenwg.js} +206 -49
  35. package/dist/de-UZI7FJDO-awjpqfz0.js +200 -0
  36. package/dist/{de-MUJPA4EB-dpg7t2rw.js → de-UZI7FJDO-mwvc4cxe.js} +29 -2
  37. package/dist/{de-FGHEJRCI-rv513mfh.js → de-WLW6KWOJ-2qnsqdtw.js} +238 -31
  38. package/dist/debug-conversation-trigger-f4a07w23.js +33 -0
  39. package/dist/{debug-http-client-73errmgs.js → debug-http-client-8t7t701c.js} +7 -5
  40. package/dist/{debug-service-8kjtrm88.js → debug-service-c7y7f216.js} +8 -6
  41. package/dist/{edge-service-7092t84f.js → edge-service-vnn1p29d.js} +18 -13
  42. package/dist/{embedded-file-reader-v8c2yj2a.js → embedded-file-reader-r66242ey.js} +2 -2
  43. package/dist/en-EJCBA3LK-0wb3b1xy.js +146 -0
  44. package/dist/{en-FBPVNKFN-dqt573xn.js → en-EJCBA3LK-dtpdghgj.js} +12 -4
  45. package/dist/{en-BWGKA5OE-1qkvb9rn.js → en-M7GQYBV2-5nfmpnfz.js} +88 -6
  46. package/dist/{enrichment-service-yjv2eb8h.js → enrichment-service-njfr2m2s.js} +52 -15
  47. package/dist/{es-7SE7HX2X-8yh1aj2y.js → es-4UBUTCQA-m1ytpyx2.js} +29 -2
  48. package/dist/es-4UBUTCQA-t7hsackg.js +200 -0
  49. package/dist/{es-KR3ZSNMP-84zphx0x.js → es-5THCNRFN-tqwyrdgy.js} +235 -28
  50. package/dist/{es-MX-2MYFZU7X-3rek4r73.js → es-MX-5RELIXKI-9jhqtddc.js} +29 -2
  51. package/dist/es-MX-5RELIXKI-jtjbcxbb.js +200 -0
  52. package/dist/{es-MX-XXZJGC4R-2mr8jtgm.js → es-MX-TWZBRAXK-gqd9swzw.js} +237 -30
  53. package/dist/filter-engine-7ep90g7f.js +11 -0
  54. package/dist/{flow-api-y70m8n82.js → flow-api-qj89cv18.js} +17 -10
  55. package/dist/{flow-debug-service-f59xnvdf.js → flow-debug-service-a7vd9eht.js} +109 -71
  56. package/dist/{flow-eval-node-target-v1gra12k.js → flow-eval-node-target-fv15zc9f.js} +19 -18
  57. package/dist/flow-eval-run-api-3xt5n21a.js +16 -0
  58. package/dist/{flow-eval-run-service-hmfbng78.js → flow-eval-run-service-keqkwjg1.js} +92 -99
  59. package/dist/{flow-eval-service-7tpvhn9b.js → flow-eval-service-5j1rwx32.js} +169 -416
  60. package/dist/{flow-init-sdk-source-3gxfr40c.js → flow-init-sdk-source-spm577pw.js} +8 -6
  61. package/dist/{flow-init-service-jawbgb3b.js → flow-init-service-pz2b02z9.js} +25 -20
  62. package/dist/{flow-io-2qapk1ge.js → flow-io-0yftj03d.js} +17 -12
  63. package/dist/{flow-migrate-service-3vyydvyp.js → flow-migrate-service-f0cavrsr.js} +18 -13
  64. package/dist/{flow-pack-service-ypbwn9p1.js → flow-pack-service-seegwatd.js} +59 -45
  65. package/dist/{flow-validate-service-6ra3j72r.js → flow-validate-service-hgswxecb.js} +198 -93
  66. package/dist/{fr-Y6NPVODW-8vr1ja4b.js → fr-CERONSRC-edpxhbmb.js} +237 -30
  67. package/dist/{fr-MDFKNZ4C-h4a122k9.js → fr-VBM5WRC2-63z7w4mh.js} +29 -2
  68. package/dist/fr-VBM5WRC2-707ha692.js +200 -0
  69. package/dist/{governance-fetcher-09dgr70s.js → governance-fetcher-w11mhrn6.js} +8 -6
  70. package/dist/{headless-7rs6g9wg.js → headless-z9enfh9f.js} +4 -4
  71. package/dist/hitPolicyResult-CGCR73CW-tvmbx1r7.js +66 -0
  72. package/dist/{hitl-service-pc3xwzxh.js → hitl-service-zsnxqkhb.js} +17 -12
  73. package/dist/{index-48tf2e7y.js → index-1a83vhkx.js} +59 -35
  74. package/dist/{index-jmy02p6v.js → index-3366ft04.js} +44 -6
  75. package/dist/{index-wmffgzmr.js → index-5dxh9z60.js} +21751 -11098
  76. package/dist/{index-vj0f8thg.js → index-91v7sjfs.js} +7 -5
  77. package/dist/{index-cpgb4hp8.js → index-d60j7q07.js} +8 -6
  78. package/dist/{index-vhm7bexy.js → index-da0zh33m.js} +8 -6
  79. package/dist/{index-1htnjt3c.js → index-ewv0axs9.js} +1087 -213
  80. package/dist/index-f3pbfe53.js +67 -0
  81. package/dist/{index-ng2f77my.js → index-fyc0k5dd.js} +985 -617
  82. package/dist/{index-n7n2d0tb.js → index-gjg7tpcx.js} +66 -2230
  83. package/dist/index-gmkec7es.js +29 -0
  84. package/dist/{index-3bv3wtc0.js → index-n37fqnh7.js} +6 -5
  85. package/dist/{index-hhsf00x8.js → index-ngs0a2he.js} +1 -1
  86. package/dist/index-s6q9xjhw.js +25 -0
  87. package/dist/{index-j2r3jb6c.js → index-xq6ajhgq.js} +2 -2
  88. package/dist/index.js +2 -2
  89. package/dist/init-entry-points-g4za9kc0.js +102 -0
  90. package/dist/inline-entity-resolver-nzfs8hb6.js +46 -0
  91. package/dist/input-reader-3250qtv2.js +15 -0
  92. package/dist/input-reader-3398edew.js +15 -0
  93. package/dist/{ja-UTQEAP34-8e0q6swp.js → ja-43QL7CGO-c3q8gre9.js} +29 -2
  94. package/dist/ja-43QL7CGO-h6qfxfay.js +200 -0
  95. package/dist/{ja-Q5PXKJ2V-p4msxzjd.js → ja-U2MCNHGT-gz0ap1jk.js} +235 -28
  96. package/dist/{known-types-3dm8xfd0.js → known-types-g1bvvvcw.js} +5 -5
  97. package/dist/ko-TLL6Z6CD-ag6gjynr.js +200 -0
  98. package/dist/{ko-AXCHW2OK-askct7f6.js → ko-TLL6Z6CD-wrt3n8a9.js} +29 -2
  99. package/dist/{ko-AYBDSRZG-41mdmsg1.js → ko-XAUYQWDR-zp81gjp4.js} +237 -30
  100. package/dist/localSolutionDiscovery-3fs774b8.js +17 -0
  101. package/dist/{maestro-automate-entry-4qg1z689.js → maestro-automate-entry-wycktqqt.js} +2 -2
  102. package/dist/{maestro-debug-service-c81w1wrx.js → maestro-debug-service-5edvsets.js} +17 -15
  103. package/dist/{maestro-pack-service-9qbtap5h.js → maestro-pack-service-hpvmq8f9.js} +9 -7
  104. package/dist/migration-diagnosis-5tftr979.js +99 -0
  105. package/dist/{node-epyxn4nd.js → node-5g80as4s.js} +29 -15
  106. package/dist/node-service-gsq162p5.js +101 -0
  107. package/dist/{node-strategy-5pz40tee.js → node-strategy-v442hwgd.js} +1 -1
  108. package/dist/node-sync-service-qxhh9e5m.js +65 -0
  109. package/dist/out-target-666eg2kf.js +115 -0
  110. package/dist/{packager-tool-yphr25e9.js → packager-tool-0jn0my4b.js} +4 -2
  111. package/dist/packager-tool-0z498fh0.js +331 -0
  112. package/dist/{packager-tool-j6q8v3kc.js → packager-tool-1q0ee9ht.js} +5 -4
  113. package/dist/packager-tool-20592jhn.js +74 -0
  114. package/dist/{packager-tool-zvpkw29f.js → packager-tool-212khq09.js} +538 -16
  115. package/dist/{packager-tool-7msx23gd.js → packager-tool-2qywkm61.js} +13 -2
  116. package/dist/{packager-tool-b4t0wt7a.js → packager-tool-3kx2vrwn.js} +12 -13
  117. package/dist/{packager-tool-a0f48rfb.js → packager-tool-42xfgd4y.js} +6 -24
  118. package/dist/{packager-tool-myvay41d.js → packager-tool-57bbfe26.js} +3 -3
  119. package/dist/{packager-tool-vte7g48a.js → packager-tool-5hnx28q0.js} +5 -3
  120. package/dist/{packager-tool-xd3rq6k0.js → packager-tool-629qqbfp.js} +2 -2
  121. package/dist/packager-tool-6g510cab.js +1178 -0
  122. package/dist/packager-tool-6sm17vbx.js +336 -0
  123. package/dist/{packager-tool-yy101ck2.js → packager-tool-6tthp3g5.js} +52 -32
  124. package/dist/{packager-tool-d88rqwk8.js → packager-tool-6z1hsm2h.js} +13 -5
  125. package/dist/packager-tool-7hw344bt.js +107 -0
  126. package/dist/{packager-tool-6xrzgn0z.js → packager-tool-7vh4gasn.js} +1 -1
  127. package/dist/packager-tool-7ym4rqd1.js +153 -0
  128. package/dist/packager-tool-8p3ymd4v.js +14 -0
  129. package/dist/{packager-tool-kme3q8xv.js → packager-tool-8tv6dvs5.js} +18 -8
  130. package/dist/{packager-tool-c94w8xmz.js → packager-tool-9c2hte0h.js} +16110 -13031
  131. package/dist/{packager-tool-npr79108.js → packager-tool-ajhgr4bs.js} +51 -8
  132. package/dist/{packager-tool-8pydv61j.js → packager-tool-ajth6af3.js} +588 -16
  133. package/dist/{packager-tool-nct4k0y8.js → packager-tool-arbc078z.js} +280 -416
  134. package/dist/{packager-tool-k0bc2f6w.js → packager-tool-b84rs07t.js} +137 -45
  135. package/dist/{packager-tool-4tf3tq1b.js → packager-tool-bd7t6p8y.js} +6 -4
  136. package/dist/{packager-tool-q02t6n13.js → packager-tool-bhhym40d.js} +26 -3
  137. package/dist/packager-tool-bttxjdhx.js +94 -0
  138. package/dist/packager-tool-c4n4m87w.js +52 -0
  139. package/dist/{packager-tool-8xyea2av.js → packager-tool-cc2q603y.js} +2 -3
  140. package/dist/{packager-tool-8yjmkys9.js → packager-tool-cza49qc1.js} +1681 -459
  141. package/dist/{packager-tool-5jb06280.js → packager-tool-d1kd88zq.js} +1 -1
  142. package/dist/{packager-tool-w3d2891y.js → packager-tool-dpp8z5q3.js} +8 -5
  143. package/dist/{packager-tool-wbtykfb2.js → packager-tool-dzd3y9p0.js} +2 -2
  144. package/dist/{packager-tool-rs4cgyy5.js → packager-tool-f6bh7bsm.js} +9 -10
  145. package/dist/{packager-tool-83hg21mr.js → packager-tool-f7zn3gsf.js} +6 -6
  146. package/dist/{packager-tool-mtpztxtc.js → packager-tool-fwfh4zz7.js} +2 -1
  147. package/dist/packager-tool-g2b0zqch.js +217 -0
  148. package/dist/{packager-tool-xdxr3ync.js → packager-tool-hdxtgckw.js} +11 -1
  149. package/dist/{packager-tool-gtzw8sw4.js → packager-tool-jexxh6qf.js} +51 -6
  150. package/dist/{packager-tool-zq25fdcg.js → packager-tool-jt51hwvr.js} +5 -5
  151. package/dist/packager-tool-k7n4sf7v.js +16 -0
  152. package/dist/{packager-tool-fgaphqq0.js → packager-tool-kd0whk4p.js} +1 -1
  153. package/dist/{packager-tool-3t417qyw.js → packager-tool-ktnfjmbs.js} +6 -6
  154. package/dist/packager-tool-kvp4ttef.js +307 -0
  155. package/dist/packager-tool-m1901c0c.js +1256 -0
  156. package/dist/packager-tool-mgcz986r.js +143 -0
  157. package/dist/{packager-tool-8xhjr5ya.js → packager-tool-mrskd7mn.js} +1 -1
  158. package/dist/{packager-tool-5s7249f4.js → packager-tool-ms1smy5t.js} +1 -1
  159. package/dist/{packager-tool-kveaemqp.js → packager-tool-msecps3h.js} +74 -47
  160. package/dist/packager-tool-n90231c7.js +2 -0
  161. package/dist/{packager-tool-ajjpgh1s.js → packager-tool-nkbz7fsb.js} +161 -83
  162. package/dist/packager-tool-nsh0qg9g.js +40 -0
  163. package/dist/{packager-tool-7q6z6npd.js → packager-tool-pcvhcn2k.js} +93 -11
  164. package/dist/packager-tool-qrs1525h.js +69 -0
  165. package/dist/packager-tool-qs3gymeb.js +92 -0
  166. package/dist/{packager-tool-wf95q0fn.js → packager-tool-r6a4pjjh.js} +32 -13
  167. package/dist/{packager-tool-2wbgdx7c.js → packager-tool-rcx6mwf1.js} +5 -5
  168. package/dist/{packager-tool-zbrda9sn.js → packager-tool-rk25wp3c.js} +1 -1
  169. package/dist/{packager-tool-nase5ajk.js → packager-tool-rp7pny4t.js} +19 -5
  170. package/dist/packager-tool-s695j0qj.js +2 -0
  171. package/dist/packager-tool-s7c0dg22.js +1117 -0
  172. package/dist/{case-bindings-service-hpz8w81a.js → packager-tool-s7frnjqb.js} +20 -233
  173. package/dist/{packager-tool-2k0hp4st.js → packager-tool-sb08yxk6.js} +2 -2
  174. package/dist/{packager-tool-b39nrh8y.js → packager-tool-sga4h8yj.js} +5 -6
  175. package/dist/packager-tool-sm8ertv4.js +9 -0
  176. package/dist/{packager-tool-ts5t1nmn.js → packager-tool-sxqtxw0e.js} +15 -10
  177. package/dist/packager-tool-t4zrz5gd.js +18 -0
  178. package/dist/{packager-tool-pp11j8zp.js → packager-tool-t79p62kr.js} +3 -2
  179. package/dist/{packager-tool-ps84n76y.js → packager-tool-tgh9btcq.js} +2 -2
  180. package/dist/{packager-tool-x2py933t.js → packager-tool-tzc6xsp3.js} +1802 -378
  181. package/dist/packager-tool-v5ft7109.js +35 -0
  182. package/dist/{packager-tool-rkv04anh.js → packager-tool-vv9cf7n5.js} +12 -56
  183. package/dist/{packager-tool-z1qbc0qf.js → packager-tool-wv85dhy2.js} +2 -8
  184. package/dist/{packager-tool-znhjsec2.js → packager-tool-wwbk750c.js} +10804 -25507
  185. package/dist/packager-tool-xj0agqpk.js +11 -0
  186. package/dist/{packager-tool-t2xr2f9r.js → packager-tool-xqghssg3.js} +1 -1
  187. package/dist/{packager-tool-ma2ra4pe.js → packager-tool-xr5pkebd.js} +6 -6
  188. package/dist/packager-tool-y4tyghzf.js +26 -0
  189. package/dist/{packager-tool-9bt3hs56.js → packager-tool-y57r93yz.js} +721 -90
  190. package/dist/packager-tool-ygdbhb2b.js +62 -0
  191. package/dist/{packager-tool-v99ygh9f.js → packager-tool-yn33pw57.js} +124 -58
  192. package/dist/packager-tool-yp84p93n.js +41 -0
  193. package/dist/{packager-tool-yv10w46z.js → packager-tool-zgm0r4yp.js} +57 -205
  194. package/dist/packager-tool.js +26 -17
  195. package/dist/{project-artifacts-ygsyzgbk.js → project-artifacts-tedh0mf8.js} +1 -1
  196. package/dist/{project-validator-ndx5f8vg.js → project-validator-njsprtzv.js} +5 -4
  197. package/dist/{pt-BR-TKHNHMET-sn91xyq0.js → pt-BR-GNQNAAZ2-xadharv4.js} +237 -30
  198. package/dist/{pt-BR-Y6K6XHXK-mp3hwhw1.js → pt-BR-USP2T7GD-pedn77m1.js} +29 -2
  199. package/dist/pt-BR-USP2T7GD-rppy42ym.js +200 -0
  200. package/dist/{pt-3DIO5QWG-59b3f4bc.js → pt-RMIAKZB4-67enhx3m.js} +29 -2
  201. package/dist/pt-RMIAKZB4-t80exmp7.js +200 -0
  202. package/dist/{pt-ROXU257Y-2f6bxev4.js → pt-TO2DARY2-ftcce1bv.js} +237 -30
  203. package/dist/{resolved-check-r83pjq9y.js → resolved-check-8a1cr6j2.js} +1 -1
  204. package/dist/{resourcesSyncService-9b5nzx36.js → resourcesSyncService-rcbw245w.js} +43 -180
  205. package/dist/ro-GHOBYW2S-4zevc9dy.js +200 -0
  206. package/dist/{ro-BWR3ONRR-vzx3hy8a.js → ro-GHOBYW2S-mhnqsgaa.js} +29 -2
  207. package/dist/{ro-AVAWPKOO-b89pw79r.js → ro-WUYJV6OW-a8d9qy1n.js} +235 -28
  208. package/dist/ru-WBLQ5B2U-dpqvtfwr.js +10 -0
  209. package/dist/{sdd-convert-service-am4cs6zq.js → sdd-convert-service-btj95r5z.js} +690 -447
  210. package/dist/{sdd-lookup-12hfwqjq.js → sdd-lookup-x3fh6svg.js} +6 -4
  211. package/dist/{sdd-resolve-service-e56wtgxt.js → sdd-resolve-service-pzsm3mkz.js} +37 -10
  212. package/dist/sdd-resolve-siblings-wzhvhar8.js +57 -0
  213. package/dist/{shared-utils-611ah3tq.js → shared-utils-w643sejd.js} +6 -4
  214. package/dist/{solution-auth-kddmbm0p.js → solution-auth-30yycqtv.js} +3 -3
  215. package/dist/solution-discovery-pavd4zeb.js +47 -0
  216. package/dist/{strict-case-rules-pn3ypd97.js → strict-case-rules-vnyr3b3k.js} +3 -2
  217. package/dist/{strict-entry-points-a2cya540.js → strict-entry-points-xrddz82q.js} +33 -1
  218. package/dist/{strict-sdd-audit-nc7dk2hy.js → strict-sdd-audit-8deegzad.js} +11 -7
  219. package/dist/task-type-declaration-re9ba03j.js +46 -0
  220. package/dist/{tidy-service-thmayk2h.js → tidy-service-mepxtxqm.js} +144 -39
  221. package/dist/{tool-z7q74wa4.js → tool-13vrxcqw.js} +313 -123
  222. package/dist/{tool-rmcqxt09.js → tool-x8dmgc2y.js} +476 -339
  223. package/dist/tool.js +2 -2
  224. package/dist/{tr-5IIHSFW5-hw4cewew.js → tr-GDTLECMM-k5fhmq13.js} +29 -2
  225. package/dist/tr-GDTLECMM-kngksm3r.js +200 -0
  226. package/dist/{tr-JMIP7ZSL-c39b6pe4.js → tr-M3F5A6AU-bb0tg39m.js} +235 -28
  227. package/dist/{trigger-enrichment-service-fw97esz9.js → trigger-enrichment-service-pc8ecypw.js} +34 -30
  228. package/dist/trigger-entry-point-id-819hnfnn.js +15 -0
  229. package/dist/{variable-service-3gywh851.js → variable-service-8v0b9d66.js} +17 -12
  230. package/dist/{wait-for-flow-job-wdcjjk6p.js → wait-for-flow-job-5rjxh65w.js} +14 -11
  231. package/dist/{zh-CN-IFFXSEJS-9wm9gmrv.js → zh-CN-C5G4PC7C-ds9gkptg.js} +235 -28
  232. package/dist/zh-CN-I5D7WHBD-ge92tbx9.js +200 -0
  233. package/dist/{zh-CN-R2KU4U5L-tc1hat59.js → zh-CN-I5D7WHBD-sr5h0a98.js} +29 -2
  234. package/dist/{zh-TW-GNKMELBF-j674515r.js → zh-TW-2AVLM723-288pkc1z.js} +29 -2
  235. package/dist/zh-TW-2AVLM723-xsmap3gk.js +200 -0
  236. package/dist/{zh-TW-IYBNYAMG-8727c7v2.js → zh-TW-62HZIG6O-787kdwex.js} +234 -27
  237. package/package.json +2 -2
  238. package/dist/bpmn-validate-service-tanm0n47.js +0 -14
  239. package/dist/debug-conversation-trigger-zbxp49z7.js +0 -46
  240. package/dist/flow-eval-run-api-zg951w2f.js +0 -15
  241. package/dist/hitPolicyResult-4WDHTX4A-zpjwpxn1.js +0 -69
  242. package/dist/index-03h6hq69.js +0 -200
  243. package/dist/input-reader-sce4dejb.js +0 -13
  244. package/dist/input-reader-tf6xyfvt.js +0 -13
  245. package/dist/migration-diagnosis-fzj426fa.js +0 -71
  246. package/dist/node-service-3j6w3z2k.js +0 -89
  247. package/dist/node-sync-service-q7dsv2p0.js +0 -43
  248. package/dist/out-target-498z06v5.js +0 -72
  249. package/dist/packager-tool-0g6ktcsq.js +0 -32
  250. package/dist/packager-tool-3mvr6njb.js +0 -305
  251. package/dist/packager-tool-521x949f.js +0 -32
  252. package/dist/packager-tool-64zypey6.js +0 -521
  253. package/dist/packager-tool-7t0xj5pz.js +0 -64
  254. package/dist/packager-tool-j836z6mq.js +0 -208
  255. package/dist/packager-tool-p7eactax.js +0 -267
  256. package/dist/packager-tool-xjtv580j.js +0 -13
  257. package/dist/packager-tool-zm7thgdg.js +0 -456
  258. /package/dist/{localization-p76prk3f.js → localization-d151bzb1.js} +0 -0
@@ -271,14 +271,17 @@ var bpmn_spec_default = {
271
271
  requiresDiscovery: true,
272
272
  isDynamic: true,
273
273
  xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
274
- <uipath:activity type="Orchestrator.StartAgentJob" version="v1">
275
- <uipath:context>
276
- <uipath:input name="name" type="string" value="=bindings.{nameBindingId}" />
277
- <uipath:input name="folderPath" type="string" value="=bindings.{folderPathBindingId}" />
278
- </uipath:context>
279
- <uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
280
- <uipath:output name="Process response" type="Orchestrator.RunJob" var="{varId}" />
281
- </uipath:activity>
274
+ <bpmn:extensionElements>
275
+ <uipath:activity version="v1">
276
+ <uipath:type value="Orchestrator.StartAgentJob" version="v2" />
277
+ <uipath:context>
278
+ <uipath:input name="name" type="string" value="=bindings.{nameBindingId}" />
279
+ <uipath:input name="folderPath" type="string" value="=bindings.{folderPathBindingId}" />
280
+ </uipath:context>
281
+ <uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
282
+ <uipath:output name="Process response" type="Orchestrator.RunJob" var="{varId}" />
283
+ </uipath:activity>
284
+ </bpmn:extensionElements>
282
285
  <bpmn:incoming>{incomingEdge}</bpmn:incoming>
283
286
  <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
284
287
  </bpmn:ServiceTask>`,
@@ -306,7 +309,7 @@ var bpmn_spec_default = {
306
309
  defaultValue: null,
307
310
  bindingInfo: {
308
311
  resource: "BusinessRule",
309
- resourceKeyPattern: "${metadata.key}",
312
+ resourceKeyPattern: "${metadata.folderPath}.${metadata.name}",
310
313
  propertyAttribute: "name"
311
314
  }
312
315
  },
@@ -320,7 +323,7 @@ var bpmn_spec_default = {
320
323
  defaultValue: null,
321
324
  bindingInfo: {
322
325
  resource: "BusinessRule",
323
- resourceKeyPattern: "${metadata.key}",
326
+ resourceKeyPattern: "${metadata.folderPath}.${metadata.name}",
324
327
  propertyAttribute: "folderPath"
325
328
  }
326
329
  },
@@ -337,13 +340,22 @@ var bpmn_spec_default = {
337
340
  inputPattern: "mergedBody",
338
341
  inputName: "JobArguments",
339
342
  inputTarget: "bodyField",
340
- outputSource: null,
341
- outputType: null,
343
+ outputName: "output",
344
+ outputSource: "=result",
345
+ outputType: "jsonSchema",
346
+ additionalOutputs: [
347
+ {
348
+ name: "Error",
349
+ type: "jsonSchema",
350
+ source: "=Error",
351
+ required: true
352
+ }
353
+ ],
342
354
  useRelativeSource: true,
343
355
  bindingPattern: "businessRule",
344
356
  bindingInfo: {
345
357
  resource: "BusinessRule",
346
- resourceKeyPattern: "${metadata.key}",
358
+ resourceKeyPattern: "${metadata.folderPath}.${metadata.name}",
347
359
  propertyAttribute: "name",
348
360
  contextField: "name"
349
361
  },
@@ -352,7 +364,7 @@ var bpmn_spec_default = {
352
364
  xmlTemplate: `<bpmn:BusinessRuleTask id="{id}" name="{name}">
353
365
  <bpmn:extensionElements>
354
366
  <uipath:activity version="v1">
355
- <uipath:type value="Orchestrator.BusinessRules" version="v2" />
367
+ <uipath:type value="Orchestrator.BusinessRules" version="v3" />
356
368
  <uipath:context>
357
369
  <uipath:input name="name" type="string" value="=bindings.{nameBindingId}" />
358
370
  <uipath:input name="folderPath" type="string" value="=bindings.{folderPathBindingId}" />
@@ -360,17 +372,17 @@ var bpmn_spec_default = {
360
372
  <uipath:inputSchema type="jsonSchema"><![CDATA[{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{},"required":[]}]]></uipath:inputSchema>
361
373
  </uipath:context>
362
374
  <uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
375
+ <uipath:output name="output" type="jsonSchema" source="=result" var="{outputVarId}" />
363
376
  <uipath:output name="Error" type="jsonSchema" source="=Error" var="{errorVarId}" />
364
- <uipath:output name="{outputName}" type="{outputType}" source="={outputName}" var="{outputVarId}" />
365
377
  </uipath:activity>
366
378
  </bpmn:extensionElements>
367
379
  <bpmn:incoming>{incomingEdge}</bpmn:incoming>
368
380
  <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
369
381
  </bpmn:BusinessRuleTask>`,
370
- discoveryNotes: "Uses getOrchestratorBusinessRules() to list available business rules",
382
+ discoveryNotes: "Uses `uip rules list --all-folders --output json` to list deployed business rules; it returns 50 rows by default, so keep raising --offset while Pagination.HasMore is true",
371
383
  inputNotes: "isSplitInputs=true in design schema: the canvas shows one input per rule argument and serialization merges them into the single JobArguments JSON body. The uipath:context inputSchema lists each argument with its type, and its required array names the required ones.",
372
- contextFieldNotes: `name and folderPath each point to a root binding with resource="BusinessRule" and propertyAttribute name or folderPath; the engine runs the rule by these two. resourceKey is the rule's entity key, which for a rule in the solution folder is its name; the name and folderPath defaults are the rule name and its folder path. The folderPath binding default is an empty string when the rule lives in the running job's folder. _label holds the rule name as a plain value.`,
373
- outputNotes: "One uipath:output per rule output, named after the output with source =<output name>, plus an Error output (type jsonSchema, source =Error). Each var names a process variable declared as uipath:inputOutput on this element."
384
+ contextFieldNotes: "name and folderPath each point to a root binding for a BusinessRule resource. Both bindings share one resourceKey. Use propertyAttribute name for name and folderPath for folderPath. _label is not bound and holds the rule name.",
385
+ outputNotes: 'One output named output (type jsonSchema, source =result) holding the whole result keyed by decision, so a decision\'s column reads as vars.<outputVarId>.<decision>.<column>; plus an Error output (type jsonSchema, source =Error). Each var names a process variable declared as uipath:inputOutput on this element. Only a decision-keyed rule fits this output: its `uip rules describe` OutputArguments carry "x-uipath-decision-keyed": true; run `uip rules refresh` and redeploy a rule that does not.'
374
386
  },
375
387
  "Intsvc.ActivityExecution": {
376
388
  extensionType: "Intsvc.ActivityExecution",
@@ -1921,52 +1933,123 @@ var bpmn_spec_default = {
1921
1933
  </bpmn:ServiceTask>`,
1922
1934
  discoveryNotes: "Uses getQueueDefinitions(serviceType, search) to list available queues"
1923
1935
  },
1924
- "Orchestrator.StartAgenticProcess": {
1925
- extensionType: "Orchestrator.StartAgenticProcess",
1926
- label: "Start and wait for agentic process",
1927
- bpmnElement: "bpmn:CallActivity",
1936
+ "Orchestrator.SetTransactionStatus": {
1937
+ extensionType: "Orchestrator.SetTransactionStatus",
1938
+ label: "Set transaction status",
1939
+ bpmnElement: "bpmn:ServiceTask",
1928
1940
  placements: {
1929
1941
  activity: {
1930
- type: "bpmn:CallActivity"
1942
+ type: "bpmn:ServiceTask"
1931
1943
  }
1932
1944
  },
1933
1945
  extensionTag: "uipath:activity",
1934
1946
  contextFields: [
1935
1947
  {
1936
- name: "releaseKey",
1937
- displayName: "Process",
1948
+ name: "_label",
1938
1949
  type: "string",
1939
1950
  required: false,
1940
1951
  hidden: true,
1941
1952
  isPrimaryKey: false,
1942
1953
  binding: false,
1954
+ defaultValue: null
1955
+ }
1956
+ ],
1957
+ inputPattern: "mergedBody",
1958
+ outputSource: "=Error",
1959
+ outputType: "jsonSchema",
1960
+ outputName: "Error",
1961
+ bindingPattern: "none",
1962
+ requiresDiscovery: false,
1963
+ isDynamic: false,
1964
+ xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
1965
+ <bpmn:extensionElements>
1966
+ <uipath:activity version="v1">
1967
+ <uipath:type value="Orchestrator.SetTransactionStatus" version="v1" />
1968
+ <uipath:input name="body" type="json" target="body"><![CDATA[{"QueueItem":{QueueItem},"Status":"{Status}","ErrorType":null,"Reason":null,"Details":null}]]></uipath:input>
1969
+ <uipath:output name="Error" type="jsonSchema" source="=Error" var="{varId}" />
1970
+ </uipath:activity>
1971
+ </bpmn:extensionElements>
1972
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
1973
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
1974
+ </bpmn:ServiceTask>`,
1975
+ inputNotes: 'All inputFields go as keys of one <uipath:input name="body" type="json" target="body"> CDATA object. QueueItem takes either a JSON object literal (e.g. an object with an Id property) or a quoted "=expr"; it is not itself quoted in the template. Optional fields default to null in this example; fill only what you use.',
1976
+ inputFields: [
1977
+ {
1978
+ name: "QueueItem",
1979
+ displayName: "Transaction item",
1980
+ type: "object",
1981
+ required: true,
1982
+ hidden: false,
1983
+ isPrimaryKey: false,
1984
+ binding: false,
1943
1985
  defaultValue: null,
1944
- bindingInfo: {
1945
- resource: "process",
1946
- resourceKeyPattern: "${metadata.key}",
1947
- propertyAttribute: "Key"
1948
- }
1986
+ target: "body"
1949
1987
  },
1950
1988
  {
1951
- name: "folderId",
1952
- type: "string",
1989
+ name: "Status",
1990
+ type: "dropdown",
1991
+ required: true,
1992
+ hidden: false,
1993
+ isPrimaryKey: false,
1994
+ binding: false,
1995
+ defaultValue: null,
1996
+ enum: [
1997
+ "Successful",
1998
+ "Failed"
1999
+ ],
2000
+ target: "body"
2001
+ },
2002
+ {
2003
+ name: "ErrorType",
2004
+ type: "dropdown",
1953
2005
  required: false,
1954
- hidden: true,
2006
+ hidden: false,
1955
2007
  isPrimaryKey: false,
1956
2008
  binding: false,
1957
- defaultValue: null
2009
+ defaultValue: null,
2010
+ enum: [
2011
+ "BusinessException",
2012
+ "ApplicationException"
2013
+ ],
2014
+ target: "body"
1958
2015
  },
1959
2016
  {
1960
- name: "folderPath",
2017
+ name: "Reason",
1961
2018
  type: "string",
1962
2019
  required: false,
1963
- hidden: true,
2020
+ hidden: false,
1964
2021
  isPrimaryKey: false,
1965
2022
  binding: false,
1966
- defaultValue: null
2023
+ defaultValue: null,
2024
+ target: "body"
1967
2025
  },
1968
2026
  {
1969
- name: "name",
2027
+ name: "Details",
2028
+ type: "string",
2029
+ required: false,
2030
+ hidden: false,
2031
+ isPrimaryKey: false,
2032
+ binding: false,
2033
+ defaultValue: null,
2034
+ target: "body"
2035
+ }
2036
+ ],
2037
+ inputName: "body",
2038
+ inputTarget: "body"
2039
+ },
2040
+ "Orchestrator.SetTransactionProgress": {
2041
+ extensionType: "Orchestrator.SetTransactionProgress",
2042
+ label: "Set transaction progress",
2043
+ bpmnElement: "bpmn:ServiceTask",
2044
+ placements: {
2045
+ activity: {
2046
+ type: "bpmn:ServiceTask"
2047
+ }
2048
+ },
2049
+ extensionTag: "uipath:activity",
2050
+ contextFields: [
2051
+ {
2052
+ name: "_label",
1970
2053
  type: "string",
1971
2054
  required: false,
1972
2055
  hidden: true,
@@ -1976,74 +2059,151 @@ var bpmn_spec_default = {
1976
2059
  }
1977
2060
  ],
1978
2061
  inputPattern: "mergedBody",
1979
- inputName: "JobArguments",
1980
- inputTarget: "bodyField",
1981
- outputSource: null,
1982
- outputType: "Orchestrator.RunJob",
1983
- outputName: "Process response",
1984
- useRelativeSource: true,
1985
- bindingPattern: "process",
1986
- bindingInfo: {
1987
- resource: "process",
1988
- resourceKeyPattern: "${metadata.key}",
1989
- propertyAttribute: "Key",
1990
- contextField: "releaseKey"
1991
- },
1992
- requiresDiscovery: true,
1993
- isDynamic: true,
1994
- xmlTemplate: `<bpmn:CallActivity id="{id}" name="{name}">
2062
+ outputSource: "=Error",
2063
+ outputType: "jsonSchema",
2064
+ outputName: "Error",
2065
+ bindingPattern: "none",
2066
+ requiresDiscovery: false,
2067
+ isDynamic: false,
2068
+ xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
1995
2069
  <bpmn:extensionElements>
1996
2070
  <uipath:activity version="v1">
1997
- <uipath:type value="Orchestrator.StartAgenticProcess" version="v1" />
1998
- <uipath:context>
1999
- <uipath:input name="releaseKey" type="string" value="{releaseKey}" />
2000
- <uipath:input name="folderId" type="string" value="{folderId}" />
2001
- <uipath:input name="folderPath" type="string" value="{folderPath}" />
2002
- <uipath:input name="name" type="string" value="{name}" />
2003
- </uipath:context>
2004
- <uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
2005
- <uipath:output name="Process response" type="Orchestrator.RunJob" var="{varId}" />
2071
+ <uipath:type value="Orchestrator.SetTransactionProgress" version="v1" />
2072
+ <uipath:input name="body" type="json" target="body"><![CDATA[{"QueueItem":{QueueItem},"Progress":"{Progress}"}]]></uipath:input>
2073
+ <uipath:output name="Error" type="jsonSchema" source="=Error" var="{varId}" />
2006
2074
  </uipath:activity>
2007
2075
  </bpmn:extensionElements>
2008
2076
  <bpmn:incoming>{incomingEdge}</bpmn:incoming>
2009
2077
  <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
2010
- </bpmn:CallActivity>`,
2011
- discoveryNotes: "Uses getSupportedOrchestratorTasks('ProcessOrchestration', search, 0, 100, true) to list available agentic processes"
2078
+ </bpmn:ServiceTask>`,
2079
+ inputFields: [
2080
+ {
2081
+ name: "QueueItem",
2082
+ displayName: "Transaction item",
2083
+ type: "object",
2084
+ required: true,
2085
+ hidden: false,
2086
+ isPrimaryKey: false,
2087
+ binding: false,
2088
+ defaultValue: null,
2089
+ target: "body"
2090
+ },
2091
+ {
2092
+ name: "Progress",
2093
+ type: "string",
2094
+ required: true,
2095
+ hidden: false,
2096
+ isPrimaryKey: false,
2097
+ binding: false,
2098
+ defaultValue: null,
2099
+ target: "body"
2100
+ }
2101
+ ],
2102
+ inputName: "body",
2103
+ inputTarget: "body",
2104
+ inputNotes: 'All inputFields go as keys of one <uipath:input name="body" type="json" target="body"> CDATA object. QueueItem takes either a JSON object literal (e.g. an object with an Id property) or a quoted "=expr"; it is not itself quoted in the template.'
2012
2105
  },
2013
- "Orchestrator.StartAgenticProcessAsync": {
2014
- extensionType: "Orchestrator.StartAgenticProcessAsync",
2015
- label: "Start agentic process",
2016
- bpmnElement: "bpmn:CallActivity",
2106
+ "Orchestrator.PostponeTransactionItem": {
2107
+ extensionType: "Orchestrator.PostponeTransactionItem",
2108
+ label: "Postpone transaction item",
2109
+ bpmnElement: "bpmn:ServiceTask",
2017
2110
  placements: {
2018
2111
  activity: {
2019
- type: "bpmn:CallActivity"
2112
+ type: "bpmn:ServiceTask"
2020
2113
  }
2021
2114
  },
2022
2115
  extensionTag: "uipath:activity",
2023
2116
  contextFields: [
2024
2117
  {
2025
- name: "releaseKey",
2026
- displayName: "Process",
2118
+ name: "_label",
2027
2119
  type: "string",
2028
2120
  required: false,
2029
2121
  hidden: true,
2030
2122
  isPrimaryKey: false,
2031
2123
  binding: false,
2124
+ defaultValue: null
2125
+ }
2126
+ ],
2127
+ inputPattern: "mergedBody",
2128
+ outputSource: "=Error",
2129
+ outputType: "jsonSchema",
2130
+ outputName: "Error",
2131
+ bindingPattern: "none",
2132
+ requiresDiscovery: false,
2133
+ isDynamic: false,
2134
+ xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
2135
+ <bpmn:extensionElements>
2136
+ <uipath:activity version="v1">
2137
+ <uipath:type value="Orchestrator.PostponeTransactionItem" version="v1" />
2138
+ <uipath:input name="body" type="json" target="body"><![CDATA[{"QueueItem":{QueueItem},"PostponeDate":"{PostponeDate}","DueDate":null}]]></uipath:input>
2139
+ <uipath:output name="Error" type="jsonSchema" source="=Error" var="{varId}" />
2140
+ </uipath:activity>
2141
+ </bpmn:extensionElements>
2142
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
2143
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
2144
+ </bpmn:ServiceTask>`,
2145
+ inputFields: [
2146
+ {
2147
+ name: "QueueItem",
2148
+ displayName: "Transaction item",
2149
+ type: "object",
2150
+ required: true,
2151
+ hidden: false,
2152
+ isPrimaryKey: false,
2153
+ binding: false,
2032
2154
  defaultValue: null,
2033
- bindingInfo: {
2034
- resource: "process",
2035
- resourceKeyPattern: "${metadata.key}",
2036
- propertyAttribute: "Key"
2037
- }
2155
+ target: "body"
2038
2156
  },
2039
2157
  {
2040
- name: "folderId",
2158
+ name: "PostponeDate",
2159
+ type: "datetime",
2160
+ required: true,
2161
+ hidden: false,
2162
+ isPrimaryKey: false,
2163
+ binding: false,
2164
+ defaultValue: null,
2165
+ target: "body"
2166
+ },
2167
+ {
2168
+ name: "DueDate",
2169
+ type: "datetime",
2170
+ required: false,
2171
+ hidden: false,
2172
+ isPrimaryKey: false,
2173
+ binding: false,
2174
+ defaultValue: null,
2175
+ target: "body"
2176
+ }
2177
+ ],
2178
+ inputName: "body",
2179
+ inputTarget: "body",
2180
+ inputNotes: 'All inputFields go as keys of one <uipath:input name="body" type="json" target="body"> CDATA object. QueueItem takes either a JSON object literal (e.g. an object with an Id property) or a quoted "=expr"; it is not itself quoted in the template. Optional fields default to null in this example; fill only what you use.'
2181
+ },
2182
+ "Orchestrator.BulkAddQueueItems": {
2183
+ extensionType: "Orchestrator.BulkAddQueueItems",
2184
+ label: "Bulk add queue items",
2185
+ bpmnElement: "bpmn:ServiceTask",
2186
+ placements: {
2187
+ activity: {
2188
+ type: "bpmn:ServiceTask"
2189
+ }
2190
+ },
2191
+ extensionTag: "uipath:activity",
2192
+ contextFields: [
2193
+ {
2194
+ name: "queueName",
2195
+ displayName: "Queue name",
2041
2196
  type: "string",
2042
2197
  required: false,
2043
2198
  hidden: true,
2044
2199
  isPrimaryKey: false,
2045
2200
  binding: false,
2046
- defaultValue: null
2201
+ defaultValue: null,
2202
+ bindingInfo: {
2203
+ resource: "queue",
2204
+ resourceKeyPattern: "${folderPath}.${name}",
2205
+ propertyAttribute: "name"
2206
+ }
2047
2207
  },
2048
2208
  {
2049
2209
  name: "folderPath",
@@ -2055,7 +2215,7 @@ var bpmn_spec_default = {
2055
2215
  defaultValue: null
2056
2216
  },
2057
2217
  {
2058
- name: "name",
2218
+ name: "_label",
2059
2219
  type: "string",
2060
2220
  required: false,
2061
2221
  hidden: true,
@@ -2065,53 +2225,136 @@ var bpmn_spec_default = {
2065
2225
  }
2066
2226
  ],
2067
2227
  inputPattern: "mergedBody",
2068
- inputName: "JobArguments",
2069
- inputTarget: "bodyField",
2070
- outputSource: null,
2071
- outputType: null,
2072
- outputName: null,
2073
- outputNotes: "Fire-and-forget: the canvas clears the process outputs for this type (getAgenticProcessInputOutputValues sets outputs to [] for Orchestrator.StartAgenticProcessAsync), so the payload carries none of the entry-point outputs its sync sibling returns. A process picked straight from Orchestrator (no solutionResourceKey) can still contribute task-definition outputs, which is why this type stays on the canvas-owned dynamic path. Use Orchestrator.StartAgenticProcess when you need the job result.",
2074
- bindingPattern: "process",
2228
+ outputSource: "=response",
2229
+ outputType: "jsonSchema",
2230
+ outputName: "response",
2231
+ bindingPattern: "queue",
2075
2232
  bindingInfo: {
2076
- resource: "process",
2077
- resourceKeyPattern: "${metadata.key}",
2078
- propertyAttribute: "Key",
2079
- contextField: "releaseKey"
2233
+ resource: "queue",
2234
+ resourceKeyPattern: "${folderPath}.${name}",
2235
+ propertyAttribute: "name",
2236
+ contextField: "queueName"
2080
2237
  },
2081
2238
  requiresDiscovery: true,
2082
- isDynamic: true,
2083
- xmlTemplate: `<bpmn:CallActivity id="{id}" name="{name}">
2239
+ isDynamic: false,
2240
+ xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
2084
2241
  <bpmn:extensionElements>
2085
2242
  <uipath:activity version="v1">
2086
- <uipath:type value="Orchestrator.StartAgenticProcessAsync" version="v1" />
2243
+ <uipath:type value="Orchestrator.BulkAddQueueItems" version="v2" />
2087
2244
  <uipath:context>
2088
- <uipath:input name="releaseKey" type="string" value="{releaseKey}" />
2089
- <uipath:input name="folderId" type="string" value="{folderId}" />
2245
+ <uipath:input name="queueName" type="string" value="{queueName}" />
2090
2246
  <uipath:input name="folderPath" type="string" value="{folderPath}" />
2091
- <uipath:input name="name" type="string" value="{name}" />
2092
2247
  </uipath:context>
2093
- <uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
2248
+ <uipath:input name="body" type="json" target="body"><![CDATA[{"QueueItems":{QueueItems},"CommitStrategy":"{CommitStrategy}"}]]></uipath:input>
2249
+ <uipath:output name="response" type="jsonSchema" source="=response" var="{varId}" />
2094
2250
  </uipath:activity>
2095
2251
  </bpmn:extensionElements>
2096
2252
  <bpmn:incoming>{incomingEdge}</bpmn:incoming>
2097
2253
  <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
2098
- </bpmn:CallActivity>`,
2099
- discoveryNotes: "Uses getSupportedOrchestratorTasks('ProcessOrchestration', search, 0, 100, true) to list available agentic processes"
2254
+ </bpmn:ServiceTask>`,
2255
+ discoveryNotes: "Uses getQueueDefinitions(serviceType, search) to list available queues.",
2256
+ inputNotes: 'All inputFields go as keys of one <uipath:input name="body" type="json" target="body"> CDATA object. QueueItems takes either a JSON array literal or a quoted "=expr"; it is not itself quoted in the template.',
2257
+ outputNotes: "isDynamic is false even though the design schema says true: the queue picker only sets context and bindings here, and the input/output pair is fixed (see inputNotes), so the strict field checks are safe and should stay.",
2258
+ inputFields: [
2259
+ {
2260
+ name: "QueueItems",
2261
+ displayName: "Transaction items",
2262
+ type: "json",
2263
+ required: true,
2264
+ hidden: false,
2265
+ isPrimaryKey: false,
2266
+ binding: false,
2267
+ target: "body"
2268
+ },
2269
+ {
2270
+ name: "CommitStrategy",
2271
+ displayName: "Commit strategy",
2272
+ type: "dropdown",
2273
+ required: true,
2274
+ hidden: false,
2275
+ isPrimaryKey: false,
2276
+ binding: false,
2277
+ defaultValue: "AllOrNothing",
2278
+ enum: [
2279
+ "AllOrNothing",
2280
+ "StopOnFirstFailure",
2281
+ "ProcessAllIndependently"
2282
+ ],
2283
+ target: "body"
2284
+ }
2285
+ ],
2286
+ inputName: "body",
2287
+ inputTarget: "body"
2100
2288
  },
2101
- "Orchestrator.StartCaseMgmtProcess": {
2102
- extensionType: "Orchestrator.StartCaseMgmtProcess",
2103
- label: "Start and wait for case management",
2104
- bpmnElement: "bpmn:CallActivity",
2289
+ "Orchestrator.DeleteQueueItems": {
2290
+ extensionType: "Orchestrator.DeleteQueueItems",
2291
+ label: "Delete queue items",
2292
+ bpmnElement: "bpmn:ServiceTask",
2105
2293
  placements: {
2106
2294
  activity: {
2107
- type: "bpmn:CallActivity"
2295
+ type: "bpmn:ServiceTask"
2108
2296
  }
2109
2297
  },
2110
2298
  extensionTag: "uipath:activity",
2111
2299
  contextFields: [
2112
2300
  {
2113
- name: "releaseKey",
2114
- displayName: "Process",
2301
+ name: "_label",
2302
+ type: "string",
2303
+ required: false,
2304
+ hidden: true,
2305
+ isPrimaryKey: false,
2306
+ binding: false,
2307
+ defaultValue: null
2308
+ }
2309
+ ],
2310
+ inputPattern: "mergedBody",
2311
+ outputSource: "=deletedCount",
2312
+ outputType: "jsonSchema",
2313
+ outputName: "deletedCount",
2314
+ bindingPattern: "none",
2315
+ requiresDiscovery: false,
2316
+ isDynamic: false,
2317
+ xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
2318
+ <bpmn:extensionElements>
2319
+ <uipath:activity version="v1">
2320
+ <uipath:type value="Orchestrator.DeleteQueueItems" version="v1" />
2321
+ <uipath:input name="body" type="json" target="body"><![CDATA[{"Items":{Items}}]]></uipath:input>
2322
+ <uipath:output name="deletedCount" type="jsonSchema" source="=deletedCount" var="{varId}" />
2323
+ </uipath:activity>
2324
+ </bpmn:extensionElements>
2325
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
2326
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
2327
+ </bpmn:ServiceTask>`,
2328
+ inputNotes: 'All inputFields go as keys of one <uipath:input name="body" type="json" target="body"> CDATA object. Items takes either a JSON array literal or a quoted "=expr"; it is not itself quoted in the template.',
2329
+ inputFields: [
2330
+ {
2331
+ name: "Items",
2332
+ displayName: "Transaction items",
2333
+ type: "json",
2334
+ required: true,
2335
+ hidden: false,
2336
+ isPrimaryKey: false,
2337
+ binding: false,
2338
+ target: "body"
2339
+ }
2340
+ ],
2341
+ inputName: "body",
2342
+ inputTarget: "body"
2343
+ },
2344
+ "Orchestrator.GetTransactionItem": {
2345
+ extensionType: "Orchestrator.GetTransactionItem",
2346
+ label: "Get transaction item",
2347
+ bpmnElement: "bpmn:ServiceTask",
2348
+ placements: {
2349
+ activity: {
2350
+ type: "bpmn:ServiceTask"
2351
+ }
2352
+ },
2353
+ extensionTag: "uipath:activity",
2354
+ contextFields: [
2355
+ {
2356
+ name: "queueName",
2357
+ displayName: "Queue name",
2115
2358
  type: "string",
2116
2359
  required: false,
2117
2360
  hidden: true,
@@ -2119,13 +2362,13 @@ var bpmn_spec_default = {
2119
2362
  binding: false,
2120
2363
  defaultValue: null,
2121
2364
  bindingInfo: {
2122
- resource: "process",
2123
- resourceKeyPattern: "${metadata.key}",
2124
- propertyAttribute: "Key"
2365
+ resource: "queue",
2366
+ resourceKeyPattern: "${folderPath}.${name}",
2367
+ propertyAttribute: "name"
2125
2368
  }
2126
2369
  },
2127
2370
  {
2128
- name: "folderId",
2371
+ name: "folderPath",
2129
2372
  type: "string",
2130
2373
  required: false,
2131
2374
  hidden: true,
@@ -2134,7 +2377,7 @@ var bpmn_spec_default = {
2134
2377
  defaultValue: null
2135
2378
  },
2136
2379
  {
2137
- name: "folderPath",
2380
+ name: "_label",
2138
2381
  type: "string",
2139
2382
  required: false,
2140
2383
  hidden: true,
@@ -2143,78 +2386,107 @@ var bpmn_spec_default = {
2143
2386
  defaultValue: null
2144
2387
  },
2145
2388
  {
2146
- name: "name",
2389
+ name: "reference",
2390
+ displayName: "Reference",
2147
2391
  type: "string",
2148
2392
  required: false,
2149
2393
  hidden: true,
2150
2394
  isPrimaryKey: false,
2151
2395
  binding: false,
2152
2396
  defaultValue: null
2397
+ },
2398
+ {
2399
+ name: "filterStrategy",
2400
+ displayName: "Reference filter strategy",
2401
+ type: "string",
2402
+ required: false,
2403
+ hidden: true,
2404
+ isPrimaryKey: false,
2405
+ binding: false,
2406
+ defaultValue: "StartsWith",
2407
+ enum: [
2408
+ "StartsWith",
2409
+ "Equals"
2410
+ ]
2153
2411
  }
2154
2412
  ],
2155
- inputPattern: "mergedBody",
2156
- inputName: "JobArguments",
2157
- inputTarget: "bodyField",
2158
- outputSource: null,
2159
- outputType: "Orchestrator.RunJob",
2160
- outputName: "Process response",
2161
- useRelativeSource: true,
2162
- bindingPattern: "process",
2413
+ inputPattern: "none",
2414
+ outputSource: "=result",
2415
+ outputType: "jsonSchema",
2416
+ outputName: "TransactionItem",
2417
+ additionalOutputs: [
2418
+ {
2419
+ name: "hasItem",
2420
+ type: "boolean",
2421
+ source: "=hasItem",
2422
+ required: true
2423
+ },
2424
+ {
2425
+ name: "Error",
2426
+ type: "jsonSchema",
2427
+ source: "=Error",
2428
+ required: true
2429
+ }
2430
+ ],
2431
+ bindingPattern: "queue",
2163
2432
  bindingInfo: {
2164
- resource: "process",
2165
- resourceKeyPattern: "${metadata.key}",
2166
- propertyAttribute: "Key",
2167
- contextField: "releaseKey"
2433
+ resource: "queue",
2434
+ resourceKeyPattern: "${folderPath}.${name}",
2435
+ propertyAttribute: "name",
2436
+ contextField: "queueName"
2168
2437
  },
2169
2438
  requiresDiscovery: true,
2170
- isDynamic: true,
2171
- xmlTemplate: `<bpmn:CallActivity id="{id}" name="{name}">
2439
+ isDynamic: false,
2440
+ xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
2172
2441
  <bpmn:extensionElements>
2173
2442
  <uipath:activity version="v1">
2174
- <uipath:type value="Orchestrator.StartCaseMgmtProcess" version="v1" />
2443
+ <uipath:type value="Orchestrator.GetTransactionItem" version="v2" />
2175
2444
  <uipath:context>
2176
- <uipath:input name="releaseKey" type="string" value="{releaseKey}" />
2177
- <uipath:input name="folderId" type="string" value="{folderId}" />
2445
+ <uipath:input name="queueName" type="string" value="{queueName}" />
2178
2446
  <uipath:input name="folderPath" type="string" value="{folderPath}" />
2179
- <uipath:input name="name" type="string" value="{name}" />
2447
+ <uipath:input name="reference" type="string" value="" />
2448
+ <uipath:input name="filterStrategy" type="string" value="StartsWith" />
2180
2449
  </uipath:context>
2181
- <uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
2182
- <uipath:output name="Process response" type="Orchestrator.RunJob" var="{varId}" />
2450
+ <uipath:output name="hasItem" type="boolean" source="=hasItem" var="{hasItemVarId}" />
2451
+ <uipath:output name="TransactionItem" type="jsonSchema" source="=result" var="{varId}" />
2452
+ <uipath:output name="Error" type="jsonSchema" source="=Error" var="{errorVarId}" />
2183
2453
  </uipath:activity>
2184
2454
  </bpmn:extensionElements>
2185
2455
  <bpmn:incoming>{incomingEdge}</bpmn:incoming>
2186
2456
  <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
2187
- </bpmn:CallActivity>`,
2188
- discoveryNotes: "Uses getSupportedOrchestratorTasks('caseManagement', search, 0, 100, true) to list available case management processes"
2457
+ </bpmn:ServiceTask>`,
2458
+ discoveryNotes: "Uses getQueueDefinitions(serviceType, search) to list available queues.",
2459
+ outputNotes: "hasItem is the branchable empty-queue signal (the only property guaranteed on an empty queue). The engine flattens the dequeued item onto the result root, so =result binds TransactionItem; it is typed like the trigger's item so it chains into Set transaction status / progress / Postpone (their QueueItem input). The canvas serializes three outputs (hasItem, TransactionItem, Error); outputName/outputSource/outputType name the primary (TransactionItem) and additionalOutputs declares the other two, so all three are gated on name, type, source and presence.",
2460
+ contextFieldNotes: "reference and filterStrategy live in uipath:context next to queueName; the backend reads them there. filterStrategy mirrors Orchestrator's QueueItemsFilterStrategy (default StartsWith)."
2189
2461
  },
2190
- "Orchestrator.StartCaseMgmtProcessAsync": {
2191
- extensionType: "Orchestrator.StartCaseMgmtProcessAsync",
2192
- label: "Start case management",
2193
- bpmnElement: "bpmn:CallActivity",
2462
+ "Orchestrator.GetQueueItems": {
2463
+ extensionType: "Orchestrator.GetQueueItems",
2464
+ label: "Get queue items",
2465
+ bpmnElement: "bpmn:ServiceTask",
2194
2466
  placements: {
2195
2467
  activity: {
2196
- type: "bpmn:CallActivity"
2468
+ type: "bpmn:ServiceTask"
2197
2469
  }
2198
2470
  },
2199
2471
  extensionTag: "uipath:activity",
2200
2472
  contextFields: [
2201
2473
  {
2202
- name: "releaseKey",
2203
- displayName: "Process",
2474
+ name: "queueName",
2204
2475
  type: "string",
2205
2476
  required: false,
2206
2477
  hidden: true,
2207
2478
  isPrimaryKey: false,
2208
2479
  binding: false,
2209
2480
  defaultValue: null,
2481
+ displayName: "Queue name",
2210
2482
  bindingInfo: {
2211
- resource: "process",
2212
- resourceKeyPattern: "${metadata.key}",
2213
- propertyAttribute: "Key"
2483
+ resource: "queue",
2484
+ resourceKeyPattern: "${folderPath}.${name}",
2485
+ propertyAttribute: "name"
2214
2486
  }
2215
2487
  },
2216
2488
  {
2217
- name: "folderId",
2489
+ name: "folderPath",
2218
2490
  type: "string",
2219
2491
  required: false,
2220
2492
  hidden: true,
@@ -2223,7 +2495,7 @@ var bpmn_spec_default = {
2223
2495
  defaultValue: null
2224
2496
  },
2225
2497
  {
2226
- name: "folderPath",
2498
+ name: "_label",
2227
2499
  type: "string",
2228
2500
  required: false,
2229
2501
  hidden: true,
@@ -2232,74 +2504,217 @@ var bpmn_spec_default = {
2232
2504
  defaultValue: null
2233
2505
  },
2234
2506
  {
2235
- name: "name",
2507
+ name: "statuses",
2236
2508
  type: "string",
2237
2509
  required: false,
2238
2510
  hidden: true,
2239
2511
  isPrimaryKey: false,
2240
2512
  binding: false,
2241
- defaultValue: null
2513
+ defaultValue: null,
2514
+ displayName: "Status"
2515
+ },
2516
+ {
2517
+ name: "reference",
2518
+ type: "string",
2519
+ required: false,
2520
+ hidden: true,
2521
+ isPrimaryKey: false,
2522
+ binding: false,
2523
+ defaultValue: null,
2524
+ displayName: "Reference"
2242
2525
  }
2243
2526
  ],
2244
- inputPattern: "mergedBody",
2245
- inputName: "JobArguments",
2246
- inputTarget: "bodyField",
2247
- outputSource: null,
2248
- outputType: null,
2249
- outputName: null,
2250
- outputNotes: "Fire-and-forget: the canvas clears the process outputs for this type (getAgenticProcessInputOutputValues sets outputs to [] for Orchestrator.StartCaseMgmtProcessAsync), so the payload carries none of the entry-point outputs its sync sibling returns. A process picked straight from Orchestrator (no solutionResourceKey) can still contribute task-definition outputs, which is why this type stays on the canvas-owned dynamic path. Use Orchestrator.StartCaseMgmtProcess when you need the job result.",
2251
- bindingPattern: "process",
2527
+ inputPattern: "none",
2528
+ outputSource: "=queueItems",
2529
+ outputType: "jsonSchema",
2530
+ outputName: "QueueItems",
2531
+ additionalOutputs: [
2532
+ {
2533
+ name: "Count",
2534
+ type: "number",
2535
+ source: "=count",
2536
+ required: true
2537
+ },
2538
+ {
2539
+ name: "Error",
2540
+ type: "jsonSchema",
2541
+ source: "=Error",
2542
+ required: true
2543
+ }
2544
+ ],
2545
+ bindingPattern: "queue",
2252
2546
  bindingInfo: {
2253
- resource: "process",
2254
- resourceKeyPattern: "${metadata.key}",
2255
- propertyAttribute: "Key",
2256
- contextField: "releaseKey"
2547
+ resource: "queue",
2548
+ resourceKeyPattern: "${folderPath}.${name}",
2549
+ propertyAttribute: "name",
2550
+ contextField: "queueName"
2257
2551
  },
2258
2552
  requiresDiscovery: true,
2259
- isDynamic: true,
2260
- xmlTemplate: `<bpmn:CallActivity id="{id}" name="{name}">
2553
+ isDynamic: false,
2554
+ xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
2261
2555
  <bpmn:extensionElements>
2262
2556
  <uipath:activity version="v1">
2263
- <uipath:type value="Orchestrator.StartCaseMgmtProcessAsync" version="v1" />
2557
+ <uipath:type value="Orchestrator.GetQueueItems" version="v2" />
2264
2558
  <uipath:context>
2265
- <uipath:input name="releaseKey" type="string" value="{releaseKey}" />
2266
- <uipath:input name="folderId" type="string" value="{folderId}" />
2559
+ <uipath:input name="queueName" type="string" value="{queueName}" />
2267
2560
  <uipath:input name="folderPath" type="string" value="{folderPath}" />
2268
- <uipath:input name="name" type="string" value="{name}" />
2561
+ <uipath:input name="statuses" type="string" value="{statuses}" />
2562
+ <uipath:input name="reference" type="string" value="{reference}" />
2269
2563
  </uipath:context>
2270
- <uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
2564
+ <uipath:output name="QueueItems" type="jsonSchema" source="=queueItems" var="{varId}" />
2565
+ <uipath:output name="Count" type="number" source="=count" var="{countVarId}" />
2566
+ <uipath:output name="Error" type="jsonSchema" source="=Error" var="{errorVarId}" />
2271
2567
  </uipath:activity>
2272
2568
  </bpmn:extensionElements>
2273
2569
  <bpmn:incoming>{incomingEdge}</bpmn:incoming>
2274
2570
  <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
2275
- </bpmn:CallActivity>`,
2276
- discoveryNotes: "Uses getSupportedOrchestratorTasks('caseManagement', search, 0, 100, true) to list available case management processes"
2571
+ </bpmn:ServiceTask>`,
2572
+ discoveryNotes: "Uses getQueueDefinitions(serviceType, search) to list available queues.",
2573
+ outputNotes: "The canvas serializes three outputs (QueueItems, Count, Error); outputName/outputSource/outputType name the primary (QueueItems) and additionalOutputs declares the other two, so all three are gated on name, type, source and presence.",
2574
+ contextFieldNotes: "statuses and reference filter the returned items and live in uipath:context alongside queueName."
2277
2575
  },
2278
- "Orchestrator.StartFlowProcess": {
2279
- extensionType: "Orchestrator.StartFlowProcess",
2280
- label: "Start and wait for Maestro Flow",
2281
- bpmnElement: "bpmn:CallActivity",
2576
+ "Queue.WaitForEvent": {
2577
+ extensionType: "Queue.WaitForEvent",
2578
+ label: "Wait for queue item",
2579
+ bpmnElement: "bpmn:ReceiveTask",
2282
2580
  placements: {
2283
2581
  activity: {
2284
- type: "bpmn:CallActivity"
2582
+ type: "bpmn:ReceiveTask"
2583
+ },
2584
+ event: {
2585
+ type: "bpmn:IntermediateCatchEvent",
2586
+ eventDefinition: {
2587
+ type: "bpmn:MessageEventDefinition"
2588
+ }
2285
2589
  }
2286
2590
  },
2287
- extensionTag: "uipath:activity",
2591
+ extensionTag: "uipath:event",
2288
2592
  contextFields: [
2289
2593
  {
2290
- name: "releaseKey",
2291
- displayName: "Maestro Flow",
2594
+ name: "queueName",
2292
2595
  type: "string",
2293
2596
  required: false,
2294
2597
  hidden: true,
2295
2598
  isPrimaryKey: false,
2296
2599
  binding: false,
2297
2600
  defaultValue: null,
2601
+ displayName: "Queue name",
2298
2602
  bindingInfo: {
2299
- resource: "process",
2300
- resourceKeyPattern: "${metadata.key}",
2301
- propertyAttribute: "Key"
2302
- }
2603
+ resource: "queue",
2604
+ resourceKeyPattern: "${folderPath}.${name}",
2605
+ propertyAttribute: "name"
2606
+ }
2607
+ },
2608
+ {
2609
+ name: "folderPath",
2610
+ type: "string",
2611
+ required: false,
2612
+ hidden: true,
2613
+ isPrimaryKey: false,
2614
+ binding: false,
2615
+ defaultValue: null
2616
+ },
2617
+ {
2618
+ name: "_label",
2619
+ type: "string",
2620
+ required: false,
2621
+ hidden: true,
2622
+ isPrimaryKey: false,
2623
+ binding: false,
2624
+ defaultValue: null
2625
+ },
2626
+ {
2627
+ name: "reference",
2628
+ type: "string",
2629
+ required: false,
2630
+ hidden: true,
2631
+ isPrimaryKey: false,
2632
+ binding: false,
2633
+ defaultValue: null,
2634
+ displayName: "Reference"
2635
+ },
2636
+ {
2637
+ name: "filterStrategy",
2638
+ type: "string",
2639
+ required: false,
2640
+ hidden: true,
2641
+ isPrimaryKey: false,
2642
+ binding: false,
2643
+ defaultValue: "StartsWith",
2644
+ displayName: "Reference filter strategy",
2645
+ enum: [
2646
+ "StartsWith",
2647
+ "Equals"
2648
+ ]
2649
+ }
2650
+ ],
2651
+ inputPattern: "none",
2652
+ outputSource: "=result",
2653
+ outputType: "jsonSchema",
2654
+ outputName: "TransactionItem",
2655
+ additionalOutputs: [
2656
+ {
2657
+ name: "Error",
2658
+ type: "jsonSchema",
2659
+ source: "=Error",
2660
+ required: true
2661
+ }
2662
+ ],
2663
+ bindingPattern: "queue",
2664
+ bindingInfo: {
2665
+ resource: "queue",
2666
+ resourceKeyPattern: "${folderPath}.${name}",
2667
+ propertyAttribute: "name",
2668
+ contextField: "queueName"
2669
+ },
2670
+ requiresDiscovery: true,
2671
+ isDynamic: false,
2672
+ xmlTemplate: `<bpmn:ReceiveTask id="{id}" name="{name}">
2673
+ <bpmn:extensionElements>
2674
+ <uipath:event version="v1">
2675
+ <uipath:type value="Queue.WaitForEvent" version="v2" />
2676
+ <uipath:context>
2677
+ <uipath:input name="queueName" type="string" value="{queueName}" />
2678
+ <uipath:input name="folderPath" type="string" value="{folderPath}" />
2679
+ <uipath:input name="reference" type="string" value="" />
2680
+ <uipath:input name="filterStrategy" type="string" value="StartsWith" />
2681
+ </uipath:context>
2682
+ <uipath:output name="TransactionItem" type="jsonSchema" source="=result" var="{varId}" />
2683
+ <uipath:output name="Error" type="jsonSchema" source="=Error" var="{errorVarId}" />
2684
+ </uipath:event>
2685
+ </bpmn:extensionElements>
2686
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
2687
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
2688
+ </bpmn:ReceiveTask>`,
2689
+ discoveryNotes: "Uses getQueueDefinitions(serviceType, search) to list available queues.",
2690
+ outputNotes: "The canvas serializes two outputs (TransactionItem, Error); outputName/outputSource/outputType name the primary (TransactionItem) and additionalOutputs declares Error, so both are gated on name, type, source and presence.",
2691
+ extensionTagNotes: "Registered in the PO.Frontend isEvents array, so it serializes as uipath:event and never reaches the merged-body branch."
2692
+ },
2693
+ "Orchestrator.StartAgenticProcess": {
2694
+ extensionType: "Orchestrator.StartAgenticProcess",
2695
+ label: "Start and wait for agentic process",
2696
+ bpmnElement: "bpmn:CallActivity",
2697
+ placements: {
2698
+ activity: {
2699
+ type: "bpmn:CallActivity"
2700
+ }
2701
+ },
2702
+ extensionTag: "uipath:activity",
2703
+ contextFields: [
2704
+ {
2705
+ name: "releaseKey",
2706
+ displayName: "Process",
2707
+ type: "string",
2708
+ required: false,
2709
+ hidden: true,
2710
+ isPrimaryKey: false,
2711
+ binding: false,
2712
+ defaultValue: null,
2713
+ bindingInfo: {
2714
+ resource: "process",
2715
+ resourceKeyPattern: "${metadata.key}",
2716
+ propertyAttribute: "Key"
2717
+ }
2303
2718
  },
2304
2719
  {
2305
2720
  name: "folderId",
@@ -2348,7 +2763,7 @@ var bpmn_spec_default = {
2348
2763
  xmlTemplate: `<bpmn:CallActivity id="{id}" name="{name}">
2349
2764
  <bpmn:extensionElements>
2350
2765
  <uipath:activity version="v1">
2351
- <uipath:type value="Orchestrator.StartFlowProcess" version="v2" />
2766
+ <uipath:type value="Orchestrator.StartAgenticProcess" version="v1" />
2352
2767
  <uipath:context>
2353
2768
  <uipath:input name="releaseKey" type="string" value="{releaseKey}" />
2354
2769
  <uipath:input name="folderId" type="string" value="{folderId}" />
@@ -2362,11 +2777,11 @@ var bpmn_spec_default = {
2362
2777
  <bpmn:incoming>{incomingEdge}</bpmn:incoming>
2363
2778
  <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
2364
2779
  </bpmn:CallActivity>`,
2365
- discoveryNotes: "Uses getSupportedOrchestratorTasks('Flow', search, 0, 100, true) to list available flow processes. Studio Web bindings use the Flow process resource subtype."
2780
+ discoveryNotes: "Uses getSupportedOrchestratorTasks('ProcessOrchestration', search, 0, 100, true) to list available agentic processes"
2366
2781
  },
2367
- "Orchestrator.StartFlowProcessAsync": {
2368
- extensionType: "Orchestrator.StartFlowProcessAsync",
2369
- label: "Start Maestro Flow",
2782
+ "Orchestrator.StartAgenticProcessAsync": {
2783
+ extensionType: "Orchestrator.StartAgenticProcessAsync",
2784
+ label: "Start agentic process",
2370
2785
  bpmnElement: "bpmn:CallActivity",
2371
2786
  placements: {
2372
2787
  activity: {
@@ -2377,7 +2792,7 @@ var bpmn_spec_default = {
2377
2792
  contextFields: [
2378
2793
  {
2379
2794
  name: "releaseKey",
2380
- displayName: "Maestro Flow",
2795
+ displayName: "Process",
2381
2796
  type: "string",
2382
2797
  required: false,
2383
2798
  hidden: true,
@@ -2424,7 +2839,7 @@ var bpmn_spec_default = {
2424
2839
  outputSource: null,
2425
2840
  outputType: null,
2426
2841
  outputName: null,
2427
- outputNotes: "Fire-and-forget: the canvas clears the process outputs for this type (getAgenticProcessInputOutputValues sets outputs to [] for Orchestrator.StartFlowProcessAsync), so the payload carries none of the entry-point outputs its sync sibling returns. A process picked straight from Orchestrator (no solutionResourceKey) can still contribute task-definition outputs, which is why this type stays on the canvas-owned dynamic path. Use Orchestrator.StartFlowProcess when you need the job result.",
2842
+ outputNotes: "Fire-and-forget: the canvas clears the process outputs for this type (getAgenticProcessInputOutputValues sets outputs to [] for Orchestrator.StartAgenticProcessAsync), so the payload carries none of the entry-point outputs its sync sibling returns. A process picked straight from Orchestrator (no solutionResourceKey) can still contribute task-definition outputs, which is why this type stays on the canvas-owned dynamic path. Use Orchestrator.StartAgenticProcess when you need the job result.",
2428
2843
  bindingPattern: "process",
2429
2844
  bindingInfo: {
2430
2845
  resource: "process",
@@ -2437,7 +2852,7 @@ var bpmn_spec_default = {
2437
2852
  xmlTemplate: `<bpmn:CallActivity id="{id}" name="{name}">
2438
2853
  <bpmn:extensionElements>
2439
2854
  <uipath:activity version="v1">
2440
- <uipath:type value="Orchestrator.StartFlowProcessAsync" version="v2" />
2855
+ <uipath:type value="Orchestrator.StartAgenticProcessAsync" version="v1" />
2441
2856
  <uipath:context>
2442
2857
  <uipath:input name="releaseKey" type="string" value="{releaseKey}" />
2443
2858
  <uipath:input name="folderId" type="string" value="{folderId}" />
@@ -2450,191 +2865,990 @@ var bpmn_spec_default = {
2450
2865
  <bpmn:incoming>{incomingEdge}</bpmn:incoming>
2451
2866
  <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
2452
2867
  </bpmn:CallActivity>`,
2453
- discoveryNotes: "Uses getSupportedOrchestratorTasks('Flow', search, 0, 100, true) to list available flow processes."
2868
+ discoveryNotes: "Uses getSupportedOrchestratorTasks('ProcessOrchestration', search, 0, 100, true) to list available agentic processes"
2454
2869
  },
2455
- "A2A.AgentExecution": {
2456
- extensionType: "A2A.AgentExecution",
2457
- label: "Start and wait for A2A agent",
2458
- bpmnElement: "bpmn:ServiceTask",
2870
+ "Orchestrator.StartCaseMgmtProcess": {
2871
+ extensionType: "Orchestrator.StartCaseMgmtProcess",
2872
+ label: "Start and wait for case management",
2873
+ bpmnElement: "bpmn:CallActivity",
2459
2874
  placements: {
2460
2875
  activity: {
2461
- type: "bpmn:ServiceTask"
2876
+ type: "bpmn:CallActivity"
2462
2877
  }
2463
2878
  },
2464
2879
  extensionTag: "uipath:activity",
2465
- contextFields: [],
2880
+ contextFields: [
2881
+ {
2882
+ name: "releaseKey",
2883
+ displayName: "Process",
2884
+ type: "string",
2885
+ required: false,
2886
+ hidden: true,
2887
+ isPrimaryKey: false,
2888
+ binding: false,
2889
+ defaultValue: null,
2890
+ bindingInfo: {
2891
+ resource: "process",
2892
+ resourceKeyPattern: "${metadata.key}",
2893
+ propertyAttribute: "Key"
2894
+ }
2895
+ },
2896
+ {
2897
+ name: "folderId",
2898
+ type: "string",
2899
+ required: false,
2900
+ hidden: true,
2901
+ isPrimaryKey: false,
2902
+ binding: false,
2903
+ defaultValue: null
2904
+ },
2905
+ {
2906
+ name: "folderPath",
2907
+ type: "string",
2908
+ required: false,
2909
+ hidden: true,
2910
+ isPrimaryKey: false,
2911
+ binding: false,
2912
+ defaultValue: null
2913
+ },
2914
+ {
2915
+ name: "name",
2916
+ type: "string",
2917
+ required: false,
2918
+ hidden: true,
2919
+ isPrimaryKey: false,
2920
+ binding: false,
2921
+ defaultValue: null
2922
+ }
2923
+ ],
2466
2924
  inputPattern: "mergedBody",
2467
- inputName: "body",
2468
- inputTarget: "body",
2925
+ inputName: "JobArguments",
2926
+ inputTarget: "bodyField",
2469
2927
  outputSource: null,
2470
- outputType: "A2A.AgentExecution",
2471
- outputName: "a2aResponse",
2928
+ outputType: "Orchestrator.RunJob",
2929
+ outputName: "Process response",
2472
2930
  useRelativeSource: true,
2473
- bindingPattern: "none",
2474
- requiresDiscovery: false,
2931
+ bindingPattern: "process",
2932
+ bindingInfo: {
2933
+ resource: "process",
2934
+ resourceKeyPattern: "${metadata.key}",
2935
+ propertyAttribute: "Key",
2936
+ contextField: "releaseKey"
2937
+ },
2938
+ requiresDiscovery: true,
2475
2939
  isDynamic: true,
2476
- xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
2940
+ xmlTemplate: `<bpmn:CallActivity id="{id}" name="{name}">
2477
2941
  <bpmn:extensionElements>
2478
2942
  <uipath:activity version="v1">
2479
- <uipath:type value="A2A.AgentExecution" version="v1" />
2480
- <uipath:input name="body" type="json" target="body"><![CDATA[{"agentUrl":"{agentUrl}","skillId":"{skillId}","input":"{input}","authToken":"{authToken}","agentName":"{agentName}"}]]></uipath:input>
2481
- <uipath:output name="a2aResponse" type="A2A.AgentExecution" var="{varId}" />
2943
+ <uipath:type value="Orchestrator.StartCaseMgmtProcess" version="v1" />
2944
+ <uipath:context>
2945
+ <uipath:input name="releaseKey" type="string" value="{releaseKey}" />
2946
+ <uipath:input name="folderId" type="string" value="{folderId}" />
2947
+ <uipath:input name="folderPath" type="string" value="{folderPath}" />
2948
+ <uipath:input name="name" type="string" value="{name}" />
2949
+ </uipath:context>
2950
+ <uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
2951
+ <uipath:output name="Process response" type="Orchestrator.RunJob" var="{varId}" />
2482
2952
  </uipath:activity>
2483
2953
  </bpmn:extensionElements>
2484
2954
  <bpmn:incoming>{incomingEdge}</bpmn:incoming>
2485
2955
  <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
2486
- </bpmn:ServiceTask>`,
2487
- inputFieldNotes: "Auto-initialized by A2AFPSFormControl on load. Version is set to v2. Outputs include a2aResponse (jsonSchema with A2A response schema, source=result) and Error (any, source=Error). authToken should be an expression or variable (for example =vars.authToken), never a literal token.",
2488
- outputNotes: "Output schema includes: isSuccess (boolean), response (string), sessionId (string), status (string), taskId (string), artifacts (array of {index, parts, metadata}). Also includes Error output (type=any, source=Error).",
2489
- inputFields: [
2956
+ </bpmn:CallActivity>`,
2957
+ discoveryNotes: "Uses getSupportedOrchestratorTasks('caseManagement', search, 0, 100, true) to list available case management processes"
2958
+ },
2959
+ "Orchestrator.StartCaseMgmtProcessAsync": {
2960
+ extensionType: "Orchestrator.StartCaseMgmtProcessAsync",
2961
+ label: "Start case management",
2962
+ bpmnElement: "bpmn:CallActivity",
2963
+ placements: {
2964
+ activity: {
2965
+ type: "bpmn:CallActivity"
2966
+ }
2967
+ },
2968
+ extensionTag: "uipath:activity",
2969
+ contextFields: [
2490
2970
  {
2491
- name: "agentUrl",
2492
- displayName: "Agent URL",
2971
+ name: "releaseKey",
2972
+ displayName: "Process",
2493
2973
  type: "string",
2494
- required: true,
2495
- description: "URL of the A2A agent endpoint"
2974
+ required: false,
2975
+ hidden: true,
2976
+ isPrimaryKey: false,
2977
+ binding: false,
2978
+ defaultValue: null,
2979
+ bindingInfo: {
2980
+ resource: "process",
2981
+ resourceKeyPattern: "${metadata.key}",
2982
+ propertyAttribute: "Key"
2983
+ }
2496
2984
  },
2497
2985
  {
2498
- name: "skillId",
2499
- displayName: "Skill ID",
2986
+ name: "folderId",
2500
2987
  type: "string",
2501
- required: true,
2502
- description: "Identifier for the specific skill to invoke on the agent"
2988
+ required: false,
2989
+ hidden: true,
2990
+ isPrimaryKey: false,
2991
+ binding: false,
2992
+ defaultValue: null
2503
2993
  },
2504
2994
  {
2505
- name: "input",
2506
- displayName: "Input",
2995
+ name: "folderPath",
2507
2996
  type: "string",
2508
- required: true,
2509
- description: "Input text/message to send to the A2A agent"
2997
+ required: false,
2998
+ hidden: true,
2999
+ isPrimaryKey: false,
3000
+ binding: false,
3001
+ defaultValue: null
3002
+ },
3003
+ {
3004
+ name: "name",
3005
+ type: "string",
3006
+ required: false,
3007
+ hidden: true,
3008
+ isPrimaryKey: false,
3009
+ binding: false,
3010
+ defaultValue: null
3011
+ }
3012
+ ],
3013
+ inputPattern: "mergedBody",
3014
+ inputName: "JobArguments",
3015
+ inputTarget: "bodyField",
3016
+ outputSource: null,
3017
+ outputType: null,
3018
+ outputName: null,
3019
+ outputNotes: "Fire-and-forget: the canvas clears the process outputs for this type (getAgenticProcessInputOutputValues sets outputs to [] for Orchestrator.StartCaseMgmtProcessAsync), so the payload carries none of the entry-point outputs its sync sibling returns. A process picked straight from Orchestrator (no solutionResourceKey) can still contribute task-definition outputs, which is why this type stays on the canvas-owned dynamic path. Use Orchestrator.StartCaseMgmtProcess when you need the job result.",
3020
+ bindingPattern: "process",
3021
+ bindingInfo: {
3022
+ resource: "process",
3023
+ resourceKeyPattern: "${metadata.key}",
3024
+ propertyAttribute: "Key",
3025
+ contextField: "releaseKey"
3026
+ },
3027
+ requiresDiscovery: true,
3028
+ isDynamic: true,
3029
+ xmlTemplate: `<bpmn:CallActivity id="{id}" name="{name}">
3030
+ <bpmn:extensionElements>
3031
+ <uipath:activity version="v1">
3032
+ <uipath:type value="Orchestrator.StartCaseMgmtProcessAsync" version="v1" />
3033
+ <uipath:context>
3034
+ <uipath:input name="releaseKey" type="string" value="{releaseKey}" />
3035
+ <uipath:input name="folderId" type="string" value="{folderId}" />
3036
+ <uipath:input name="folderPath" type="string" value="{folderPath}" />
3037
+ <uipath:input name="name" type="string" value="{name}" />
3038
+ </uipath:context>
3039
+ <uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
3040
+ </uipath:activity>
3041
+ </bpmn:extensionElements>
3042
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
3043
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
3044
+ </bpmn:CallActivity>`,
3045
+ discoveryNotes: "Uses getSupportedOrchestratorTasks('caseManagement', search, 0, 100, true) to list available case management processes"
3046
+ },
3047
+ "Orchestrator.StartFlowProcess": {
3048
+ extensionType: "Orchestrator.StartFlowProcess",
3049
+ label: "Start and wait for Maestro Flow",
3050
+ bpmnElement: "bpmn:CallActivity",
3051
+ placements: {
3052
+ activity: {
3053
+ type: "bpmn:CallActivity"
3054
+ }
3055
+ },
3056
+ extensionTag: "uipath:activity",
3057
+ contextFields: [
3058
+ {
3059
+ name: "releaseKey",
3060
+ displayName: "Maestro Flow",
3061
+ type: "string",
3062
+ required: false,
3063
+ hidden: true,
3064
+ isPrimaryKey: false,
3065
+ binding: false,
3066
+ defaultValue: null,
3067
+ bindingInfo: {
3068
+ resource: "process",
3069
+ resourceKeyPattern: "${metadata.key}",
3070
+ propertyAttribute: "Key"
3071
+ }
3072
+ },
3073
+ {
3074
+ name: "folderId",
3075
+ type: "string",
3076
+ required: false,
3077
+ hidden: true,
3078
+ isPrimaryKey: false,
3079
+ binding: false,
3080
+ defaultValue: null
3081
+ },
3082
+ {
3083
+ name: "folderPath",
3084
+ type: "string",
3085
+ required: false,
3086
+ hidden: true,
3087
+ isPrimaryKey: false,
3088
+ binding: false,
3089
+ defaultValue: null
3090
+ },
3091
+ {
3092
+ name: "name",
3093
+ type: "string",
3094
+ required: false,
3095
+ hidden: true,
3096
+ isPrimaryKey: false,
3097
+ binding: false,
3098
+ defaultValue: null
3099
+ }
3100
+ ],
3101
+ inputPattern: "mergedBody",
3102
+ inputName: "JobArguments",
3103
+ inputTarget: "bodyField",
3104
+ outputSource: null,
3105
+ outputType: "Orchestrator.RunJob",
3106
+ outputName: "Process response",
3107
+ useRelativeSource: true,
3108
+ bindingPattern: "process",
3109
+ bindingInfo: {
3110
+ resource: "process",
3111
+ resourceKeyPattern: "${metadata.key}",
3112
+ propertyAttribute: "Key",
3113
+ contextField: "releaseKey"
3114
+ },
3115
+ requiresDiscovery: true,
3116
+ isDynamic: true,
3117
+ xmlTemplate: `<bpmn:CallActivity id="{id}" name="{name}">
3118
+ <bpmn:extensionElements>
3119
+ <uipath:activity version="v1">
3120
+ <uipath:type value="Orchestrator.StartFlowProcess" version="v2" />
3121
+ <uipath:context>
3122
+ <uipath:input name="releaseKey" type="string" value="{releaseKey}" />
3123
+ <uipath:input name="folderId" type="string" value="{folderId}" />
3124
+ <uipath:input name="folderPath" type="string" value="{folderPath}" />
3125
+ <uipath:input name="name" type="string" value="{name}" />
3126
+ </uipath:context>
3127
+ <uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
3128
+ <uipath:output name="Process response" type="Orchestrator.RunJob" var="{varId}" />
3129
+ </uipath:activity>
3130
+ </bpmn:extensionElements>
3131
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
3132
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
3133
+ </bpmn:CallActivity>`,
3134
+ discoveryNotes: "Uses getSupportedOrchestratorTasks('Flow', search, 0, 100, true) to list available flow processes. Studio Web bindings use the Flow process resource subtype."
3135
+ },
3136
+ "Orchestrator.StartFlowProcessAsync": {
3137
+ extensionType: "Orchestrator.StartFlowProcessAsync",
3138
+ label: "Start Maestro Flow",
3139
+ bpmnElement: "bpmn:CallActivity",
3140
+ placements: {
3141
+ activity: {
3142
+ type: "bpmn:CallActivity"
3143
+ }
3144
+ },
3145
+ extensionTag: "uipath:activity",
3146
+ contextFields: [
3147
+ {
3148
+ name: "releaseKey",
3149
+ displayName: "Maestro Flow",
3150
+ type: "string",
3151
+ required: false,
3152
+ hidden: true,
3153
+ isPrimaryKey: false,
3154
+ binding: false,
3155
+ defaultValue: null,
3156
+ bindingInfo: {
3157
+ resource: "process",
3158
+ resourceKeyPattern: "${metadata.key}",
3159
+ propertyAttribute: "Key"
3160
+ }
3161
+ },
3162
+ {
3163
+ name: "folderId",
3164
+ type: "string",
3165
+ required: false,
3166
+ hidden: true,
3167
+ isPrimaryKey: false,
3168
+ binding: false,
3169
+ defaultValue: null
3170
+ },
3171
+ {
3172
+ name: "folderPath",
3173
+ type: "string",
3174
+ required: false,
3175
+ hidden: true,
3176
+ isPrimaryKey: false,
3177
+ binding: false,
3178
+ defaultValue: null
3179
+ },
3180
+ {
3181
+ name: "name",
3182
+ type: "string",
3183
+ required: false,
3184
+ hidden: true,
3185
+ isPrimaryKey: false,
3186
+ binding: false,
3187
+ defaultValue: null
3188
+ }
3189
+ ],
3190
+ inputPattern: "mergedBody",
3191
+ inputName: "JobArguments",
3192
+ inputTarget: "bodyField",
3193
+ outputSource: null,
3194
+ outputType: null,
3195
+ outputName: null,
3196
+ outputNotes: "Fire-and-forget: the canvas clears the process outputs for this type (getAgenticProcessInputOutputValues sets outputs to [] for Orchestrator.StartFlowProcessAsync), so the payload carries none of the entry-point outputs its sync sibling returns. A process picked straight from Orchestrator (no solutionResourceKey) can still contribute task-definition outputs, which is why this type stays on the canvas-owned dynamic path. Use Orchestrator.StartFlowProcess when you need the job result.",
3197
+ bindingPattern: "process",
3198
+ bindingInfo: {
3199
+ resource: "process",
3200
+ resourceKeyPattern: "${metadata.key}",
3201
+ propertyAttribute: "Key",
3202
+ contextField: "releaseKey"
3203
+ },
3204
+ requiresDiscovery: true,
3205
+ isDynamic: true,
3206
+ xmlTemplate: `<bpmn:CallActivity id="{id}" name="{name}">
3207
+ <bpmn:extensionElements>
3208
+ <uipath:activity version="v1">
3209
+ <uipath:type value="Orchestrator.StartFlowProcessAsync" version="v2" />
3210
+ <uipath:context>
3211
+ <uipath:input name="releaseKey" type="string" value="{releaseKey}" />
3212
+ <uipath:input name="folderId" type="string" value="{folderId}" />
3213
+ <uipath:input name="folderPath" type="string" value="{folderPath}" />
3214
+ <uipath:input name="name" type="string" value="{name}" />
3215
+ </uipath:context>
3216
+ <uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
3217
+ </uipath:activity>
3218
+ </bpmn:extensionElements>
3219
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
3220
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
3221
+ </bpmn:CallActivity>`,
3222
+ discoveryNotes: "Uses getSupportedOrchestratorTasks('Flow', search, 0, 100, true) to list available flow processes."
3223
+ },
3224
+ "A2A.AgentExecution": {
3225
+ extensionType: "A2A.AgentExecution",
3226
+ label: "Start and wait for A2A agent",
3227
+ bpmnElement: "bpmn:ServiceTask",
3228
+ placements: {
3229
+ activity: {
3230
+ type: "bpmn:ServiceTask"
3231
+ }
3232
+ },
3233
+ extensionTag: "uipath:activity",
3234
+ contextFields: [],
3235
+ inputPattern: "mergedBody",
3236
+ inputName: "body",
3237
+ inputTarget: "body",
3238
+ outputSource: null,
3239
+ outputType: "A2A.AgentExecution",
3240
+ outputName: "a2aResponse",
3241
+ useRelativeSource: true,
3242
+ bindingPattern: "none",
3243
+ requiresDiscovery: false,
3244
+ isDynamic: true,
3245
+ xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
3246
+ <bpmn:extensionElements>
3247
+ <uipath:activity version="v1">
3248
+ <uipath:type value="A2A.AgentExecution" version="v1" />
3249
+ <uipath:input name="body" type="json" target="body"><![CDATA[{"agentUrl":"{agentUrl}","skillId":"{skillId}","input":"{input}","authToken":"{authToken}","agentName":"{agentName}"}]]></uipath:input>
3250
+ <uipath:output name="a2aResponse" type="A2A.AgentExecution" var="{varId}" />
3251
+ </uipath:activity>
3252
+ </bpmn:extensionElements>
3253
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
3254
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
3255
+ </bpmn:ServiceTask>`,
3256
+ inputFieldNotes: "Auto-initialized by A2AFPSFormControl on load. Version is set to v2. Outputs include a2aResponse (jsonSchema with A2A response schema, source=result) and Error (any, source=Error). authToken should be an expression or variable (for example =vars.authToken), never a literal token.",
3257
+ outputNotes: "Output schema includes: isSuccess (boolean), response (string), sessionId (string), status (string), taskId (string), artifacts (array of {index, parts, metadata}). Also includes Error output (type=any, source=Error).",
3258
+ inputFields: [
3259
+ {
3260
+ name: "agentUrl",
3261
+ displayName: "Agent URL",
3262
+ type: "string",
3263
+ required: true,
3264
+ description: "URL of the A2A agent endpoint"
3265
+ },
3266
+ {
3267
+ name: "skillId",
3268
+ displayName: "Skill ID",
3269
+ type: "string",
3270
+ required: true,
3271
+ description: "Identifier for the specific skill to invoke on the agent"
3272
+ },
3273
+ {
3274
+ name: "input",
3275
+ displayName: "Input",
3276
+ type: "string",
3277
+ required: true,
3278
+ description: "Input text/message to send to the A2A agent"
2510
3279
  },
2511
3280
  {
2512
3281
  name: "authToken",
2513
3282
  displayName: "Auth Token",
2514
3283
  type: "string",
2515
3284
  required: true,
2516
- description: "Authentication token for the A2A agent"
3285
+ description: "Authentication token for the A2A agent"
3286
+ },
3287
+ {
3288
+ name: "agentName",
3289
+ displayName: "Agent Name",
3290
+ type: "string",
3291
+ required: true,
3292
+ description: "Display name of the A2A agent"
3293
+ }
3294
+ ]
3295
+ },
3296
+ "BPMN.Variables": {
3297
+ extensionType: "BPMN.Variables",
3298
+ label: "BPMN Variables",
3299
+ bpmnElement: "bpmn:Task",
3300
+ placements: {},
3301
+ extensionTag: "uipath:mapping",
3302
+ contextFields: [],
3303
+ inputPattern: "none",
3304
+ outputSource: null,
3305
+ outputType: null,
3306
+ bindingPattern: "none",
3307
+ requiresDiscovery: false,
3308
+ isDynamic: false,
3309
+ xmlTemplate: `<bpmn:Task id="{id}" name="{name}">
3310
+ <bpmn:extensionElements>
3311
+ <uipath:mapping version="v1">
3312
+ <uipath:type value="BPMN.Variables" version="v1" />
3313
+ </uipath:mapping>
3314
+ </bpmn:extensionElements>
3315
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
3316
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
3317
+ </bpmn:Task>`,
3318
+ inputNotes: "Variable mappings use uipath:mapping with direct input/output elements, not a jsonBody pattern",
3319
+ bpmnElementNotes: "Also used on bpmn:StartEvent, bpmn:EndEvent, bpmn:ScriptTask, and bpmn:SubProcess for variable mappings. On bpmn:Task with no serviceType, defaults to BPMN.Variables.",
3320
+ extensionTagNotes: "Uses uipath:mapping (not uipath:activity). BPMN.Variables mappings are supported on StartEvent, EndEvent, Task, ScriptTask, and SubProcess owners."
3321
+ },
3322
+ "BPMN.ScriptTask": {
3323
+ extensionType: "BPMN.ScriptTask",
3324
+ label: "Execute script",
3325
+ bpmnElement: "bpmn:ScriptTask",
3326
+ placements: {},
3327
+ extensionTag: "uipath:mapping",
3328
+ contextFields: [],
3329
+ inputPattern: "scriptArgs",
3330
+ inputName: "args",
3331
+ inputTarget: "bodyField",
3332
+ outputSource: null,
3333
+ outputType: null,
3334
+ bindingPattern: "none",
3335
+ requiresDiscovery: false,
3336
+ isDynamic: false,
3337
+ xmlTemplate: `<bpmn:ScriptTask id="{id}" name="{name}">
3338
+ <bpmn:extensionElements>
3339
+ <uipath:mapping version="v1">
3340
+ <uipath:type value="BPMN.ScriptTask" version="v1" />
3341
+ <uipath:input name="args" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
3342
+ </uipath:mapping>
3343
+ </bpmn:extensionElements>
3344
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
3345
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
3346
+ </bpmn:ScriptTask>`,
3347
+ inputNotes: "Inputs are merged into a single json input named 'args' with target 'bodyField'. An inputSchema is created from the input variables.",
3348
+ extensionTagNotes: "bpmn:ScriptTask is routed through createModdleExtensionVariableMapping (same as BPMN.Variables). Inputs are merged into a single 'args' JSON body with inputSchema."
3349
+ },
3350
+ "ConversationalService.QueueServiceMessage": {
3351
+ extensionType: "ConversationalService.QueueServiceMessage",
3352
+ label: "Queue service message",
3353
+ bpmnElement: "bpmn:ServiceTask",
3354
+ placements: {
3355
+ activity: {
3356
+ type: "bpmn:ServiceTask"
3357
+ }
3358
+ },
3359
+ extensionTag: "uipath:activity",
3360
+ contextFields: [
3361
+ {
3362
+ name: "_label",
3363
+ type: "string",
3364
+ required: false,
3365
+ hidden: true,
3366
+ isPrimaryKey: false,
3367
+ binding: false,
3368
+ defaultValue: null
3369
+ }
3370
+ ],
3371
+ inputPattern: "mergedBody",
3372
+ inputName: "body",
3373
+ inputTarget: "body",
3374
+ outputSource: "=response",
3375
+ outputType: "jsonSchema",
3376
+ outputName: "response",
3377
+ additionalOutputs: [
3378
+ {
3379
+ name: "Error",
3380
+ type: "jsonSchema",
3381
+ source: "=Error",
3382
+ required: false
3383
+ }
3384
+ ],
3385
+ bindingPattern: "none",
3386
+ requiresDiscovery: false,
3387
+ isDynamic: false,
3388
+ xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
3389
+ <bpmn:extensionElements>
3390
+ <uipath:activity version="v1">
3391
+ <uipath:type value="ConversationalService.QueueServiceMessage" version="v1" />
3392
+ <uipath:input name="body" type="json" target="body"><![CDATA[{"conversationId":"{conversationId}","userContent":"{userContent}","assistantContent":"{assistantContent}"}]]></uipath:input>
3393
+ <uipath:output name="response" type="jsonSchema" source="=response" var="{varId}" />
3394
+ <uipath:output name="Error" type="jsonSchema" source="=Error" var="{errorVarId}" />
3395
+ </uipath:activity>
3396
+ </bpmn:extensionElements>
3397
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
3398
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
3399
+ </bpmn:ServiceTask>`,
3400
+ inputNotes: "The custom Studio Web form seeds conversationId, userContent, and assistantContent as required fields. The generic FPS serializer merges them into the body JSON payload. It also writes a uipath:inputSchema built from those fields inside uipath:context; the template leaves it out because it is derived, not authored.",
3401
+ contextFieldNotes: 'The design schema declares the three fields as context; the shipped custom form (ConversationalServiceFPSFormControl.tsx) declares them as inputs with target: "body", and the generic serializer merges them into the body.',
3402
+ outputNotes: 'The response schema contains the queued message id, conversation and content fields, MIME types, pending state, and timestamps. Studio Web always writes the standard Error output. Validation also accepts files without it. Extra outputs that narrow the response carry custom="true".',
3403
+ inputFields: [
3404
+ {
3405
+ name: "conversationId",
3406
+ displayName: "Conversation ID",
3407
+ type: "string",
3408
+ required: true,
3409
+ hidden: false,
3410
+ isPrimaryKey: false,
3411
+ binding: false,
3412
+ defaultValue: null,
3413
+ target: "body"
3414
+ },
3415
+ {
3416
+ name: "userContent",
3417
+ displayName: "User content",
3418
+ type: "string",
3419
+ required: true,
3420
+ hidden: false,
3421
+ isPrimaryKey: false,
3422
+ binding: false,
3423
+ defaultValue: null,
3424
+ target: "body"
3425
+ },
3426
+ {
3427
+ name: "assistantContent",
3428
+ displayName: "Assistant content",
3429
+ type: "string",
3430
+ required: true,
3431
+ hidden: false,
3432
+ isPrimaryKey: false,
3433
+ binding: false,
3434
+ defaultValue: null,
3435
+ target: "body"
3436
+ }
3437
+ ]
3438
+ },
3439
+ "Intsvc.TimerTrigger": {
3440
+ extensionType: "Intsvc.TimerTrigger",
3441
+ label: "Timer trigger",
3442
+ bpmnElement: "bpmn:StartEvent",
3443
+ placements: {},
3444
+ extensionTag: "uipath:activity",
3445
+ contextFields: [],
3446
+ inputPattern: "none",
3447
+ outputSource: ".",
3448
+ outputType: "custom",
3449
+ outputName: "result",
3450
+ useRelativeSource: false,
3451
+ bindingPattern: "none",
3452
+ requiresDiscovery: false,
3453
+ isDynamic: false,
3454
+ xmlTemplate: `<bpmn:StartEvent id="{id}" name="{name}">
3455
+ <bpmn:extensionElements>
3456
+ <uipath:activity version="v1">
3457
+ <uipath:type value="Intsvc.TimerTrigger" version="v1" />
3458
+ <uipath:output name="result" type="custom" source="." var="{varId}" />
3459
+ </uipath:activity>
3460
+ </bpmn:extensionElements>
3461
+ <bpmn:timerEventDefinition><bpmn:timeDuration xsi:type="bpmn:tFormalExpression">PT1H</bpmn:timeDuration></bpmn:timerEventDefinition>
3462
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
3463
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
3464
+ </bpmn:StartEvent>`,
3465
+ inputNotes: "No jsonBody, no input fields, no isSplitInputs in design schema",
3466
+ bpmnElementNotes: "Used via timer event definition on start events; not directly in FPS_TO_NODE_MAPPING",
3467
+ extensionTagNotes: "NOT in isEvents array, uses uipath:activity. However, isIntsvcTriggerDesignSchemaType returns true.",
3468
+ inputFields: []
3469
+ },
3470
+ "Maestro.ReceiveMessageEvent": {
3471
+ extensionType: "Maestro.ReceiveMessageEvent",
3472
+ label: "Receive internal message",
3473
+ bpmnElement: "bpmn:IntermediateCatchEvent",
3474
+ placements: {
3475
+ startEvent: {
3476
+ type: "bpmn:StartEvent",
3477
+ eventDefinition: {
3478
+ type: "bpmn:MessageEventDefinition"
3479
+ }
3480
+ },
3481
+ intermediateEvent: {
3482
+ type: "bpmn:IntermediateCatchEvent",
3483
+ eventDefinition: {
3484
+ type: "bpmn:MessageEventDefinition"
3485
+ }
3486
+ },
3487
+ boundaryEvent: {
3488
+ type: "bpmn:BoundaryEvent",
3489
+ eventDefinition: {
3490
+ type: "bpmn:MessageEventDefinition"
3491
+ }
3492
+ }
3493
+ },
3494
+ extensionTag: "uipath:event",
3495
+ contextFields: [
3496
+ {
3497
+ name: "name",
3498
+ displayName: "Message name",
3499
+ type: "string",
3500
+ required: true,
3501
+ hidden: false,
3502
+ isPrimaryKey: false,
3503
+ binding: false,
3504
+ defaultValue: null
3505
+ },
3506
+ {
3507
+ name: "_label",
3508
+ type: "string",
3509
+ required: false,
3510
+ hidden: true,
3511
+ isPrimaryKey: false,
3512
+ binding: false,
3513
+ defaultValue: null
3514
+ }
3515
+ ],
3516
+ inputPattern: "separateInputs",
3517
+ inputName: "ItemData",
3518
+ inputTarget: "body",
3519
+ outputSource: null,
3520
+ outputType: "Maestro.ReceiveMessageEvent",
3521
+ outputName: "response",
3522
+ useRelativeSource: true,
3523
+ bindingPattern: "none",
3524
+ requiresDiscovery: false,
3525
+ isDynamic: false,
3526
+ xmlTemplate: `<bpmn:IntermediateCatchEvent id="{id}" name="{name}">
3527
+ <bpmn:extensionElements>
3528
+ <uipath:event version="v1">
3529
+ <uipath:type value="Maestro.ReceiveMessageEvent" version="v1" />
3530
+ <uipath:context>
3531
+ <uipath:input name="name" type="string" value="{name}" />
3532
+ <uipath:input name="_label" type="string" value="{_label}" />
3533
+ </uipath:context>
3534
+ <uipath:input name="ItemData" type="json" target="body"><![CDATA[{}]]></uipath:input>
3535
+ <uipath:output name="response" type="Maestro.ReceiveMessageEvent" var="{varId}" />
3536
+ </uipath:event>
3537
+ </bpmn:extensionElements>
3538
+ <bpmn:messageEventDefinition />
3539
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
3540
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
3541
+ </bpmn:IntermediateCatchEvent>`,
3542
+ inputNotes: "isSplitInputs=true in design schema but NOT in isSplitInputsEvents code array, so inputs are NOT merged into ItemData for this type. They remain separate.",
3543
+ extensionTagNotes: "In isEvents array, uses uipath:event",
3544
+ inputFields: [
3545
+ {
3546
+ name: "Reference",
3547
+ displayName: "Reference",
3548
+ type: "string",
3549
+ required: true,
3550
+ hidden: false,
3551
+ isPrimaryKey: false,
3552
+ binding: false,
3553
+ defaultValue: null,
3554
+ target: "bodyField",
3555
+ description: "Correlation reference to match this receive event to its sender"
3556
+ }
3557
+ ]
3558
+ },
3559
+ "Maestro.SendMessageEvent": {
3560
+ extensionType: "Maestro.SendMessageEvent",
3561
+ label: "Send internal message",
3562
+ bpmnElement: "bpmn:IntermediateThrowEvent",
3563
+ placements: {
3564
+ intermediateEvent: {
3565
+ type: "bpmn:IntermediateThrowEvent",
3566
+ eventDefinition: {
3567
+ type: "bpmn:MessageEventDefinition"
3568
+ }
3569
+ },
3570
+ endEvent: {
3571
+ type: "bpmn:EndEvent",
3572
+ eventDefinition: {
3573
+ type: "bpmn:MessageEventDefinition"
3574
+ }
3575
+ }
3576
+ },
3577
+ extensionTag: "uipath:event",
3578
+ contextFields: [
3579
+ {
3580
+ name: "name",
3581
+ displayName: "Message name",
3582
+ type: "string",
3583
+ required: true,
3584
+ hidden: false,
3585
+ isPrimaryKey: false,
3586
+ binding: false,
3587
+ defaultValue: null
2517
3588
  },
2518
3589
  {
2519
- name: "agentName",
2520
- displayName: "Agent Name",
3590
+ name: "_label",
2521
3591
  type: "string",
3592
+ required: false,
3593
+ hidden: true,
3594
+ isPrimaryKey: false,
3595
+ binding: false,
3596
+ defaultValue: null
3597
+ },
3598
+ {
3599
+ name: "inputSchema",
3600
+ displayName: "Input schema",
3601
+ type: "jsonSchema",
2522
3602
  required: true,
2523
- description: "Display name of the A2A agent"
3603
+ hidden: true,
3604
+ isPrimaryKey: false,
3605
+ binding: false,
3606
+ defaultValue: null
3607
+ }
3608
+ ],
3609
+ inputPattern: "splitInputsItemData",
3610
+ inputName: "ItemData",
3611
+ inputTarget: "body",
3612
+ outputSource: null,
3613
+ outputType: "Maestro.SendMessageEvent",
3614
+ outputName: "response",
3615
+ useRelativeSource: true,
3616
+ bindingPattern: "none",
3617
+ requiresDiscovery: false,
3618
+ isDynamic: false,
3619
+ xmlTemplate: `<bpmn:IntermediateThrowEvent id="{id}" name="{name}">
3620
+ <bpmn:extensionElements>
3621
+ <uipath:event version="v1">
3622
+ <uipath:type value="Maestro.SendMessageEvent" version="v1" />
3623
+ <uipath:context>
3624
+ <uipath:input name="name" type="string" value="{name}" />
3625
+ <uipath:input name="_label" type="string" value="{_label}" />
3626
+ <uipath:input name="inputSchema" type="jsonSchema" value="{inputSchema}" />
3627
+ </uipath:context>
3628
+ <uipath:input name="ItemData" type="json" target="body"><![CDATA[{"Reference":"{Reference}","SpecificContent":{},"TimeToLive":""}]]></uipath:input>
3629
+ <uipath:output name="response" type="Maestro.SendMessageEvent" var="{varId}" />
3630
+ </uipath:event>
3631
+ </bpmn:extensionElements>
3632
+ <bpmn:messageEventDefinition />
3633
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
3634
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
3635
+ </bpmn:IntermediateThrowEvent>`,
3636
+ inputNotes: "In isSplitInputsEvents array. Inputs are merged into a single ItemData JSON body at serialization time. Uses SEND_MESSAGE_EVENT_INPUT_SCHEMA as the inputSchema.",
3637
+ extensionTagNotes: "In isEvents array, uses uipath:event",
3638
+ inputFields: [
3639
+ {
3640
+ name: "Reference",
3641
+ displayName: "Reference",
3642
+ type: "string",
3643
+ required: true,
3644
+ hidden: false,
3645
+ isPrimaryKey: false,
3646
+ binding: false,
3647
+ defaultValue: null,
3648
+ target: "body",
3649
+ description: "Correlation reference to match this send event to its receiver"
3650
+ },
3651
+ {
3652
+ name: "SpecificContent",
3653
+ displayName: "Item information",
3654
+ type: "json",
3655
+ required: false,
3656
+ hidden: false,
3657
+ isPrimaryKey: false,
3658
+ binding: false,
3659
+ defaultValue: null,
3660
+ target: "body",
3661
+ description: "JSON payload with the message content"
3662
+ },
3663
+ {
3664
+ name: "TimeToLive",
3665
+ displayName: "Time to live",
3666
+ type: "duration",
3667
+ required: false,
3668
+ hidden: false,
3669
+ isPrimaryKey: false,
3670
+ binding: false,
3671
+ defaultValue: null,
3672
+ target: "body",
3673
+ description: "Duration after which the message expires if not consumed"
2524
3674
  }
2525
3675
  ]
2526
3676
  },
2527
- "BPMN.Variables": {
2528
- extensionType: "BPMN.Variables",
2529
- label: "BPMN Variables",
3677
+ "Maestro.CaseManagerPlaceholder": {
3678
+ extensionType: "Maestro.CaseManagerPlaceholder",
3679
+ label: "Case manager placeholder",
2530
3680
  bpmnElement: "bpmn:Task",
2531
3681
  placements: {},
2532
- extensionTag: "uipath:mapping",
3682
+ extensionTag: "uipath:activity",
2533
3683
  contextFields: [],
2534
- inputPattern: "none",
2535
- outputSource: null,
2536
- outputType: null,
3684
+ inputPattern: "mergedBody",
3685
+ inputName: "caseManagerInput",
3686
+ inputTarget: "body",
3687
+ outputSource: "=js:(vars.caseRulesDecisions)",
3688
+ outputType: "json",
3689
+ outputName: "caseManagerDecisions",
2537
3690
  bindingPattern: "none",
2538
3691
  requiresDiscovery: false,
2539
3692
  isDynamic: false,
3693
+ contractOutputMayBeCustom: true,
2540
3694
  xmlTemplate: `<bpmn:Task id="{id}" name="{name}">
2541
3695
  <bpmn:extensionElements>
2542
- <uipath:mapping version="v1">
2543
- <uipath:type value="BPMN.Variables" version="v1" />
2544
- </uipath:mapping>
3696
+ <uipath:activity version="v1">
3697
+ <uipath:type value="Maestro.CaseManagerPlaceholder" version="v1" />
3698
+ <uipath:input name="caseManagerInput" type="json" target="body"><![CDATA[{"caseRulesDecisions":{caseRulesDecisions},"caseCurrentExecutionState":{caseCurrentExecutionState}}]]></uipath:input>
3699
+ <uipath:output name="caseManagerDecisions" type="json" source="=js:(vars.caseRulesDecisions)" var="{varId}" custom="true" />
3700
+ </uipath:activity>
2545
3701
  </bpmn:extensionElements>
2546
3702
  <bpmn:incoming>{incomingEdge}</bpmn:incoming>
2547
3703
  <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
2548
3704
  </bpmn:Task>`,
2549
- inputNotes: "Variable mappings use uipath:mapping with direct input/output elements, not a jsonBody pattern",
2550
- bpmnElementNotes: "Also used on bpmn:StartEvent, bpmn:EndEvent, bpmn:ScriptTask, and bpmn:SubProcess for variable mappings. On bpmn:Task with no serviceType, defaults to BPMN.Variables.",
2551
- extensionTagNotes: "Uses uipath:mapping (not uipath:activity). BPMN.Variables mappings are supported on StartEvent, EndEvent, Task, ScriptTask, and SubProcess owners."
3705
+ inputNotes: "The case converter creates this internal fallback task when no case-manager task runs. Its two inputs are merged into caseManagerInput during BPMN serialization.",
3706
+ outputNotes: 'The generated output copies the case-rules decisions into caseManagerDecisions. generateCaseManagerPlaceholderNode (PO.Frontend CaseManagementCaseManagerNodes.ts) spreads caseManagerDecisionsOutputVariable(), which stamps custom="true" on this output - a converter detail, not a panel narrowing, so contractOutputMayBeCustom tells the validator to still shape-check it (name/type/source/var) instead of dropping it as an unrelated custom addition.',
3707
+ inputFields: [
3708
+ {
3709
+ name: "caseRulesDecisions",
3710
+ displayName: "Case rules decisions",
3711
+ type: "json",
3712
+ required: true,
3713
+ hidden: false,
3714
+ isPrimaryKey: false,
3715
+ binding: false,
3716
+ defaultValue: null,
3717
+ target: "body"
3718
+ },
3719
+ {
3720
+ name: "caseCurrentExecutionState",
3721
+ displayName: "Case current execution state",
3722
+ type: "json",
3723
+ required: true,
3724
+ hidden: false,
3725
+ isPrimaryKey: false,
3726
+ binding: false,
3727
+ defaultValue: null,
3728
+ target: "body"
3729
+ }
3730
+ ]
2552
3731
  },
2553
- "BPMN.ScriptTask": {
2554
- extensionType: "BPMN.ScriptTask",
2555
- label: "Execute script",
2556
- bpmnElement: "bpmn:ScriptTask",
3732
+ "Maestro.UpdateCaseState": {
3733
+ extensionType: "Maestro.UpdateCaseState",
3734
+ label: "Update case state",
3735
+ bpmnElement: "bpmn:ServiceTask",
2557
3736
  placements: {},
2558
- extensionTag: "uipath:mapping",
3737
+ extensionTag: "uipath:activity",
2559
3738
  contextFields: [],
2560
- inputPattern: "scriptArgs",
2561
- inputName: "args",
2562
- inputTarget: "bodyField",
3739
+ inputPattern: "mergedBody",
3740
+ inputName: "ItemData",
3741
+ inputTarget: "body",
2563
3742
  outputSource: null,
2564
3743
  outputType: null,
2565
3744
  bindingPattern: "none",
2566
3745
  requiresDiscovery: false,
2567
3746
  isDynamic: false,
2568
- xmlTemplate: `<bpmn:ScriptTask id="{id}" name="{name}">
3747
+ xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
2569
3748
  <bpmn:extensionElements>
2570
- <uipath:mapping version="v1">
2571
- <uipath:type value="BPMN.ScriptTask" version="v1" />
2572
- <uipath:input name="args" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
2573
- </uipath:mapping>
3749
+ <uipath:activity version="v1">
3750
+ <uipath:type value="Maestro.UpdateCaseState" version="v2" />
3751
+ <uipath:input name="ItemData" type="json" target="body"><![CDATA[{"upsertKeys":{upsertKeys},"deleteKeys":{deleteKeys},"tasksCompletedDeleteNames":{tasksCompletedDeleteNames}}]]></uipath:input>
3752
+ </uipath:activity>
2574
3753
  </bpmn:extensionElements>
2575
3754
  <bpmn:incoming>{incomingEdge}</bpmn:incoming>
2576
3755
  <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
2577
- </bpmn:ScriptTask>`,
2578
- inputNotes: "Inputs are merged into a single json input named 'args' with target 'bodyField'. An inputSchema is created from the input variables.",
2579
- extensionTagNotes: "bpmn:ScriptTask is routed through createModdleExtensionVariableMapping (same as BPMN.Variables). Inputs are merged into a single 'args' JSON body with inputSchema."
2580
- },
2581
- "ConversationalService.QueueServiceMessage": {
2582
- extensionType: "ConversationalService.QueueServiceMessage",
2583
- label: "Queue service message",
2584
- bpmnElement: "bpmn:ServiceTask",
2585
- placements: {
2586
- activity: {
2587
- type: "bpmn:ServiceTask"
2588
- }
2589
- },
2590
- extensionTag: "uipath:activity",
2591
- contextFields: [
3756
+ </bpmn:ServiceTask>`,
3757
+ inputNotes: "The case converter always supplies all three fields and the generic serializer merges them into ItemData. upsertKeys is a JSON-typed token: fill with a JSON literal, or a quoted string for an =js:... expression - an unquoted expression breaks the JSON. The generated helper does not bind the design-schema output.",
3758
+ inputFields: [
2592
3759
  {
2593
- name: "_label",
2594
- type: "string",
2595
- required: false,
2596
- hidden: true,
3760
+ name: "upsertKeys",
3761
+ displayName: "Event keys to upsert",
3762
+ type: "json",
3763
+ required: true,
3764
+ hidden: false,
2597
3765
  isPrimaryKey: false,
2598
3766
  binding: false,
2599
- defaultValue: null
2600
- }
2601
- ],
2602
- inputPattern: "mergedBody",
2603
- inputName: "body",
2604
- inputTarget: "body",
2605
- outputSource: "=response",
2606
- outputType: "jsonSchema",
2607
- outputName: "response",
2608
- additionalOutputs: [
3767
+ defaultValue: null,
3768
+ target: "body"
3769
+ },
2609
3770
  {
2610
- name: "Error",
2611
- type: "jsonSchema",
2612
- source: "=Error",
2613
- required: false
3771
+ name: "deleteKeys",
3772
+ displayName: "Event keys to delete",
3773
+ type: "array",
3774
+ required: true,
3775
+ hidden: false,
3776
+ isPrimaryKey: false,
3777
+ binding: false,
3778
+ defaultValue: null,
3779
+ target: "body"
3780
+ },
3781
+ {
3782
+ name: "tasksCompletedDeleteNames",
3783
+ displayName: "Completed task names to delete",
3784
+ type: "array",
3785
+ required: true,
3786
+ hidden: false,
3787
+ isPrimaryKey: false,
3788
+ binding: false,
3789
+ defaultValue: null,
3790
+ target: "body"
2614
3791
  }
2615
- ],
3792
+ ]
3793
+ },
3794
+ "Maestro.RetrieveCaseState": {
3795
+ extensionType: "Maestro.RetrieveCaseState",
3796
+ label: "Retrieve case state",
3797
+ bpmnElement: "bpmn:ServiceTask",
3798
+ placements: {},
3799
+ extensionTag: "uipath:activity",
3800
+ contextFields: [],
3801
+ inputPattern: "none",
3802
+ outputSource: "=caseState",
3803
+ outputType: "jsonSchema",
3804
+ outputName: "latestCaseState",
2616
3805
  bindingPattern: "none",
2617
3806
  requiresDiscovery: false,
2618
3807
  isDynamic: false,
3808
+ contractOutputMayBeCustom: true,
2619
3809
  xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
2620
3810
  <bpmn:extensionElements>
2621
3811
  <uipath:activity version="v1">
2622
- <uipath:type value="ConversationalService.QueueServiceMessage" version="v1" />
2623
- <uipath:input name="body" type="json" target="body"><![CDATA[{"conversationId":"{conversationId}","userContent":"{userContent}","assistantContent":"{assistantContent}"}]]></uipath:input>
2624
- <uipath:output name="response" type="jsonSchema" source="=response" var="{varId}" />
2625
- <uipath:output name="Error" type="jsonSchema" source="=Error" var="{errorVarId}" />
3812
+ <uipath:type value="Maestro.RetrieveCaseState" version="v2" />
3813
+ <uipath:output name="latestCaseState" type="jsonSchema" source="=caseState" var="{varId}" custom="true" />
2626
3814
  </uipath:activity>
2627
3815
  </bpmn:extensionElements>
2628
3816
  <bpmn:incoming>{incomingEdge}</bpmn:incoming>
2629
3817
  <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
2630
3818
  </bpmn:ServiceTask>`,
2631
- inputNotes: "The custom Studio Web form seeds conversationId, userContent, and assistantContent as required fields. The generic FPS serializer merges them into the body JSON payload. It also writes a uipath:inputSchema built from those fields inside uipath:context; the template leaves it out because it is derived, not authored.",
2632
- contextFieldNotes: 'The design schema declares the three fields as context; the shipped custom form (ConversationalServiceFPSFormControl.tsx) declares them as inputs with target: "body", and the generic serializer merges them into the body.',
2633
- outputNotes: 'The response schema contains the queued message id, conversation and content fields, MIME types, pending state, and timestamps. Studio Web always writes the standard Error output. Validation also accepts files without it. Extra outputs that narrow the response carry custom="true".',
3819
+ inputNotes: "The design schema declares an empty body slot, but nothing fills it: generateRetrieveCaseStateNode passes outputs only, and the type is never offered in the canvas palette, so no properties panel can configure an input either. inputPattern none is deliberately stricter than the design schema - a uipath:input on this element did not come out of Studio Web.",
3820
+ outputNotes: `outputName is a fixed literal here, not a variable name. PO.Frontend's generateRetrieveCaseStateNode (BpmnCaseTaskNodeConverterUtils.ts) spreads the caller's variable info and overwrites source with =caseState, and both callers - the pre-scheduler and post-scheduler lifecycle utils - pass baseEventSubprocessLatestCaseStateVariableInfo(), which hardcodes name latestCaseState and var caseState. The diagram's own variable id lands in var, never in name. The post-scheduler caller (CaseManagementAdhocEventSubProcessPostSchedulerUtilsNewGlobals.ts, node EventSubProcessRetrieveCaseStateNodePostCaseManager) additionally spreads custom: true onto this output - a converter detail, not a panel narrowing - so contractOutputMayBeCustom tells the validator to still shape-check a custom="true" output here instead of dropping it as an unrelated custom addition. The pre-scheduler caller omits custom, so a file may show this output either way.`
3821
+ },
3822
+ "Maestro.NotificationService": {
3823
+ extensionType: "Maestro.NotificationService",
3824
+ label: "Notification service",
3825
+ bpmnElement: "bpmn:ServiceTask",
3826
+ placements: {},
3827
+ extensionTag: "uipath:activity",
3828
+ contextFields: [],
3829
+ inputPattern: "mergedBody",
3830
+ inputName: "body",
3831
+ inputTarget: "body",
3832
+ outputSource: null,
3833
+ outputType: null,
3834
+ bindingPattern: "none",
3835
+ requiresDiscovery: false,
3836
+ isDynamic: false,
3837
+ xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
3838
+ <bpmn:extensionElements>
3839
+ <uipath:activity version="v1">
3840
+ <uipath:type value="Maestro.NotificationService" version="v2" />
3841
+ <uipath:input name="body" type="json" target="body"><![CDATA[{"publisherName":"{publisherName}","topicName":"{topicName}","priority":"{priority}","messageParam":{messageParam},"recipients":{recipients}}]]></uipath:input>
3842
+ </uipath:activity>
3843
+ </bpmn:extensionElements>
3844
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
3845
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
3846
+ </bpmn:ServiceTask>`,
3847
+ inputNotes: `Generated case SLA notifications merge publisher, topic, priority, message parameters, and recipients into the body. The case SLA converter sends publisherName 'agenticorchestration', topicName 'CaseManagementAlert.Triggered', and priority 'High'; other callers pick their own. messageParam and recipients are JSON-typed tokens: fill with a JSON literal, or a quoted string for an =js:... expression. recipients is optional - drop its whole "recipients":{recipients} entry to omit it, not just its value. The generated helper does not bind the design-schema response.`,
2634
3848
  inputFields: [
2635
3849
  {
2636
- name: "conversationId",
2637
- displayName: "Conversation ID",
3850
+ name: "publisherName",
3851
+ displayName: "Publisher name",
2638
3852
  type: "string",
2639
3853
  required: true,
2640
3854
  hidden: false,
@@ -2644,8 +3858,8 @@ var bpmn_spec_default = {
2644
3858
  target: "body"
2645
3859
  },
2646
3860
  {
2647
- name: "userContent",
2648
- displayName: "User content",
3861
+ name: "topicName",
3862
+ displayName: "Topic name",
2649
3863
  type: "string",
2650
3864
  required: true,
2651
3865
  hidden: false,
@@ -2655,8 +3869,8 @@ var bpmn_spec_default = {
2655
3869
  target: "body"
2656
3870
  },
2657
3871
  {
2658
- name: "assistantContent",
2659
- displayName: "Assistant content",
3872
+ name: "priority",
3873
+ displayName: "Priority",
2660
3874
  type: "string",
2661
3875
  required: true,
2662
3876
  hidden: false,
@@ -2664,224 +3878,211 @@ var bpmn_spec_default = {
2664
3878
  binding: false,
2665
3879
  defaultValue: null,
2666
3880
  target: "body"
3881
+ },
3882
+ {
3883
+ name: "messageParam",
3884
+ displayName: "Message parameters",
3885
+ type: "json",
3886
+ required: true,
3887
+ hidden: false,
3888
+ isPrimaryKey: false,
3889
+ binding: false,
3890
+ defaultValue: null,
3891
+ target: "body"
3892
+ },
3893
+ {
3894
+ name: "recipients",
3895
+ displayName: "Recipients",
3896
+ type: "json",
3897
+ required: false,
3898
+ hidden: false,
3899
+ isPrimaryKey: false,
3900
+ binding: false,
3901
+ defaultValue: null,
3902
+ target: "body"
2667
3903
  }
2668
3904
  ]
2669
3905
  },
2670
- "Intsvc.TimerTrigger": {
2671
- extensionType: "Intsvc.TimerTrigger",
2672
- label: "Timer trigger",
2673
- bpmnElement: "bpmn:StartEvent",
3906
+ "Maestro.AcquireLock": {
3907
+ extensionType: "Maestro.AcquireLock",
3908
+ label: "Acquire lock",
3909
+ bpmnElement: "bpmn:ServiceTask",
2674
3910
  placements: {},
2675
3911
  extensionTag: "uipath:activity",
2676
3912
  contextFields: [],
2677
- inputPattern: "none",
2678
- outputSource: ".",
2679
- outputType: "custom",
2680
- outputName: "result",
2681
- useRelativeSource: false,
3913
+ inputPattern: "mergedBody",
3914
+ inputName: "body",
3915
+ inputTarget: "body",
3916
+ outputSource: null,
3917
+ outputType: null,
2682
3918
  bindingPattern: "none",
2683
3919
  requiresDiscovery: false,
2684
3920
  isDynamic: false,
2685
- xmlTemplate: `<bpmn:StartEvent id="{id}" name="{name}">
3921
+ xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
2686
3922
  <bpmn:extensionElements>
2687
3923
  <uipath:activity version="v1">
2688
- <uipath:type value="Intsvc.TimerTrigger" version="v1" />
2689
- <uipath:output name="result" type="custom" source="." var="{varId}" />
3924
+ <uipath:type value="Maestro.AcquireLock" version="v2" />
3925
+ <uipath:input name="body" type="json" target="body"><![CDATA[{"lockKey":"{lockKey}","leaseSeconds":{leaseSeconds},"acquireTimeoutSeconds":{acquireTimeoutSeconds}}]]></uipath:input>
2690
3926
  </uipath:activity>
2691
3927
  </bpmn:extensionElements>
2692
- <bpmn:timerEventDefinition><bpmn:timeDuration xsi:type="bpmn:tFormalExpression">PT1H</bpmn:timeDuration></bpmn:timerEventDefinition>
2693
3928
  <bpmn:incoming>{incomingEdge}</bpmn:incoming>
2694
3929
  <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
2695
- </bpmn:StartEvent>`,
2696
- inputNotes: "No jsonBody, no input fields, no isSplitInputs in design schema",
2697
- bpmnElementNotes: "Used via timer event definition on start events; not directly in FPS_TO_NODE_MAPPING",
2698
- extensionTagNotes: "NOT in isEvents array, uses uipath:activity. However, isIntsvcTriggerDesignSchemaType returns true.",
2699
- inputFields: []
2700
- },
2701
- "Maestro.ReceiveMessageEvent": {
2702
- extensionType: "Maestro.ReceiveMessageEvent",
2703
- label: "Receive internal message",
2704
- bpmnElement: "bpmn:IntermediateCatchEvent",
2705
- placements: {
2706
- startEvent: {
2707
- type: "bpmn:StartEvent",
2708
- eventDefinition: {
2709
- type: "bpmn:MessageEventDefinition"
2710
- }
2711
- },
2712
- intermediateEvent: {
2713
- type: "bpmn:IntermediateCatchEvent",
2714
- eventDefinition: {
2715
- type: "bpmn:MessageEventDefinition"
2716
- }
2717
- },
2718
- boundaryEvent: {
2719
- type: "bpmn:BoundaryEvent",
2720
- eventDefinition: {
2721
- type: "bpmn:MessageEventDefinition"
2722
- }
2723
- }
2724
- },
2725
- extensionTag: "uipath:event",
2726
- contextFields: [
3930
+ </bpmn:ServiceTask>`,
3931
+ inputNotes: "Generated SLA flows merge the lock key and timeout settings into the body. leaseSeconds and acquireTimeoutSeconds are tokens carrying their declared defaults (600 and 0); a caller can fill either with a different number. The generated helper does not bind the design-schema response.",
3932
+ inputFields: [
2727
3933
  {
2728
- name: "name",
2729
- displayName: "Message name",
3934
+ name: "lockKey",
3935
+ displayName: "Lock key",
2730
3936
  type: "string",
2731
3937
  required: true,
2732
3938
  hidden: false,
2733
3939
  isPrimaryKey: false,
2734
3940
  binding: false,
2735
- defaultValue: null
3941
+ defaultValue: null,
3942
+ target: "body"
2736
3943
  },
2737
3944
  {
2738
- name: "_label",
2739
- type: "string",
2740
- required: false,
2741
- hidden: true,
3945
+ name: "leaseSeconds",
3946
+ displayName: "Lease seconds",
3947
+ type: "number",
3948
+ required: true,
3949
+ hidden: false,
2742
3950
  isPrimaryKey: false,
2743
3951
  binding: false,
2744
- defaultValue: null
3952
+ defaultValue: 600,
3953
+ target: "body"
3954
+ },
3955
+ {
3956
+ name: "acquireTimeoutSeconds",
3957
+ displayName: "Acquire timeout seconds",
3958
+ type: "number",
3959
+ required: true,
3960
+ hidden: false,
3961
+ isPrimaryKey: false,
3962
+ binding: false,
3963
+ defaultValue: 0,
3964
+ target: "body"
2745
3965
  }
2746
- ],
2747
- inputPattern: "separateInputs",
2748
- inputName: "ItemData",
3966
+ ]
3967
+ },
3968
+ "Maestro.ReleaseLock": {
3969
+ extensionType: "Maestro.ReleaseLock",
3970
+ label: "Release lock",
3971
+ bpmnElement: "bpmn:ServiceTask",
3972
+ placements: {},
3973
+ extensionTag: "uipath:activity",
3974
+ contextFields: [],
3975
+ inputPattern: "mergedBody",
3976
+ inputName: "body",
2749
3977
  inputTarget: "body",
2750
3978
  outputSource: null,
2751
- outputType: "Maestro.ReceiveMessageEvent",
2752
- outputName: "response",
2753
- useRelativeSource: true,
3979
+ outputType: null,
2754
3980
  bindingPattern: "none",
2755
3981
  requiresDiscovery: false,
2756
3982
  isDynamic: false,
2757
- xmlTemplate: `<bpmn:IntermediateCatchEvent id="{id}" name="{name}">
3983
+ xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
2758
3984
  <bpmn:extensionElements>
2759
- <uipath:event version="v1">
2760
- <uipath:type value="Maestro.ReceiveMessageEvent" version="v1" />
2761
- <uipath:context>
2762
- <uipath:input name="name" type="string" value="{name}" />
2763
- <uipath:input name="_label" type="string" value="{_label}" />
2764
- </uipath:context>
2765
- <uipath:input name="ItemData" type="json" target="body"><![CDATA[{}]]></uipath:input>
2766
- <uipath:output name="response" type="Maestro.ReceiveMessageEvent" var="{varId}" />
2767
- </uipath:event>
3985
+ <uipath:activity version="v1">
3986
+ <uipath:type value="Maestro.ReleaseLock" version="v2" />
3987
+ <uipath:input name="body" type="json" target="body"><![CDATA[{"lockKey":"{lockKey}"}]]></uipath:input>
3988
+ </uipath:activity>
2768
3989
  </bpmn:extensionElements>
2769
- <bpmn:messageEventDefinition />
2770
3990
  <bpmn:incoming>{incomingEdge}</bpmn:incoming>
2771
3991
  <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
2772
- </bpmn:IntermediateCatchEvent>`,
2773
- inputNotes: "isSplitInputs=true in design schema but NOT in isSplitInputsEvents code array, so inputs are NOT merged into ItemData for this type. They remain separate.",
2774
- extensionTagNotes: "In isEvents array, uses uipath:event",
3992
+ </bpmn:ServiceTask>`,
3993
+ inputNotes: "Generated SLA flows merge the lock key into the body. The generated helper does not bind the design-schema response.",
2775
3994
  inputFields: [
2776
3995
  {
2777
- name: "Reference",
2778
- displayName: "Reference",
3996
+ name: "lockKey",
3997
+ displayName: "Lock key",
2779
3998
  type: "string",
2780
3999
  required: true,
2781
4000
  hidden: false,
2782
4001
  isPrimaryKey: false,
2783
4002
  binding: false,
2784
4003
  defaultValue: null,
2785
- target: "bodyField",
2786
- description: "Correlation reference to match this receive event to its sender"
4004
+ target: "body"
2787
4005
  }
2788
4006
  ]
2789
4007
  },
2790
- "Maestro.SendMessageEvent": {
2791
- extensionType: "Maestro.SendMessageEvent",
2792
- label: "Send internal message",
2793
- bpmnElement: "bpmn:IntermediateThrowEvent",
2794
- placements: {
2795
- intermediateEvent: {
2796
- type: "bpmn:IntermediateThrowEvent",
2797
- eventDefinition: {
2798
- type: "bpmn:MessageEventDefinition"
2799
- }
2800
- },
2801
- endEvent: {
2802
- type: "bpmn:EndEvent",
2803
- eventDefinition: {
2804
- type: "bpmn:MessageEventDefinition"
2805
- }
2806
- }
2807
- },
2808
- extensionTag: "uipath:event",
2809
- contextFields: [
2810
- {
2811
- name: "name",
2812
- displayName: "Message name",
2813
- type: "string",
2814
- required: true,
2815
- hidden: false,
2816
- isPrimaryKey: false,
2817
- binding: false,
2818
- defaultValue: null
2819
- },
4008
+ "Maestro.CaseCyclePrepare": {
4009
+ extensionType: "Maestro.CaseCyclePrepare",
4010
+ label: "Prepare case decision cycle",
4011
+ bpmnElement: "bpmn:ServiceTask",
4012
+ placements: {},
4013
+ extensionTag: "uipath:activity",
4014
+ contextFields: [],
4015
+ inputPattern: "mergedBody",
4016
+ bindingPattern: "none",
4017
+ requiresDiscovery: false,
4018
+ isDynamic: false,
4019
+ generatedOutputs: true,
4020
+ xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
4021
+ <bpmn:extensionElements>
4022
+ <uipath:activity version="v1">
4023
+ <uipath:type value="Maestro.CaseCyclePrepare" version="v2" />
4024
+ <uipath:input name="body" type="json" target="body"><![CDATA[{"CaseGlobalsLastPrimaryStageExited":"{CaseGlobalsLastPrimaryStageExited}"}]]></uipath:input>
4025
+ <uipath:output name="latestCaseState" type="jsonSchema" source="=caseState" var="{varId}" />
4026
+ </uipath:activity>
4027
+ </bpmn:extensionElements>
4028
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
4029
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
4030
+ </bpmn:ServiceTask>`,
4031
+ inputFields: [
2820
4032
  {
2821
- name: "_label",
4033
+ name: "CaseGlobalsLastPrimaryStageExited",
2822
4034
  type: "string",
2823
4035
  required: false,
2824
- hidden: true,
2825
- isPrimaryKey: false,
2826
- binding: false,
2827
- defaultValue: null
2828
- },
2829
- {
2830
- name: "inputSchema",
2831
- displayName: "Input schema",
2832
- type: "jsonSchema",
2833
- required: true,
2834
- hidden: true,
4036
+ hidden: false,
2835
4037
  isPrimaryKey: false,
2836
4038
  binding: false,
2837
- defaultValue: null
4039
+ defaultValue: "=instanceglobals.CaseGlobalsLastPrimaryStageExited",
4040
+ target: "body",
4041
+ displayName: "Last primary stage exited global"
2838
4042
  }
2839
4043
  ],
2840
- inputPattern: "splitInputsItemData",
2841
- inputName: "ItemData",
2842
- inputTarget: "body",
2843
- outputSource: null,
2844
- outputType: "Maestro.SendMessageEvent",
2845
- outputName: "response",
2846
- useRelativeSource: true,
4044
+ inputNotes: "Generated by the case converter behind the canvas-caseBpmnConsolidatedCycle flag. The input reads the last-primary-stage-exited instance global, and its value is the read expression =instanceglobals.CaseGlobalsLastPrimaryStageExited (see defaultValue) - not the bare key, which is what the similarly named CaseCycleCommit input takes.",
4045
+ outputNotes: "The converter builds a diagram-specific output list (event vars off the message response, latestCaseState from =caseState, the globals copies, eventMetadata, overlays), so no specific output name, type or source can be pinned here. It always emits at least the latestCaseState, globals-copy and eventMetadata entries and every entry carries a nonblank name and binds a variable, so generatedOutputs tells the validator to require at least one uipath:output and to check each one for a nonblank name and a var attribute, and nothing else about it.",
4046
+ inputName: "body",
4047
+ inputTarget: "body"
4048
+ },
4049
+ "Maestro.CaseCycleCommit": {
4050
+ extensionType: "Maestro.CaseCycleCommit",
4051
+ label: "Commit case decision cycle",
4052
+ bpmnElement: "bpmn:ServiceTask",
4053
+ placements: {},
4054
+ extensionTag: "uipath:activity",
4055
+ contextFields: [],
4056
+ inputPattern: "mergedBody",
2847
4057
  bindingPattern: "none",
2848
4058
  requiresDiscovery: false,
2849
4059
  isDynamic: false,
2850
- xmlTemplate: `<bpmn:IntermediateThrowEvent id="{id}" name="{name}">
4060
+ generatedOutputs: true,
4061
+ xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
2851
4062
  <bpmn:extensionElements>
2852
- <uipath:event version="v1">
2853
- <uipath:type value="Maestro.SendMessageEvent" version="v1" />
2854
- <uipath:context>
2855
- <uipath:input name="name" type="string" value="{name}" />
2856
- <uipath:input name="_label" type="string" value="{_label}" />
2857
- <uipath:input name="inputSchema" type="jsonSchema" value="{inputSchema}" />
2858
- </uipath:context>
2859
- <uipath:input name="ItemData" type="json" target="body"><![CDATA[{"Reference":"{Reference}","SpecificContent":{},"TimeToLive":""}]]></uipath:input>
2860
- <uipath:output name="response" type="Maestro.SendMessageEvent" var="{varId}" />
2861
- </uipath:event>
4063
+ <uipath:activity version="v1">
4064
+ <uipath:type value="Maestro.CaseCycleCommit" version="v2" />
4065
+ <uipath:input name="body" type="json" target="body"><![CDATA[{"decisions":{decisions},"sequentialTasksToResetByStageName":{sequentialTasksToResetByStageName},"lastPrimaryStageExitedGlobalKey":"{lastPrimaryStageExitedGlobalKey}"}]]></uipath:input>
4066
+ <uipath:output name="latestCaseState" type="jsonSchema" source="=caseState" var="{varId}" />
4067
+ </uipath:activity>
2862
4068
  </bpmn:extensionElements>
2863
- <bpmn:messageEventDefinition />
2864
4069
  <bpmn:incoming>{incomingEdge}</bpmn:incoming>
2865
4070
  <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
2866
- </bpmn:IntermediateThrowEvent>`,
2867
- inputNotes: "In isSplitInputsEvents array. Inputs are merged into a single ItemData JSON body at serialization time. Uses SEND_MESSAGE_EVENT_INPUT_SCHEMA as the inputSchema.",
2868
- extensionTagNotes: "In isEvents array, uses uipath:event",
4071
+ </bpmn:ServiceTask>`,
2869
4072
  inputFields: [
2870
4073
  {
2871
- name: "Reference",
2872
- displayName: "Reference",
2873
- type: "string",
2874
- required: true,
4074
+ name: "decisions",
4075
+ type: "json",
4076
+ required: false,
2875
4077
  hidden: false,
2876
4078
  isPrimaryKey: false,
2877
4079
  binding: false,
2878
4080
  defaultValue: null,
2879
4081
  target: "body",
2880
- description: "Correlation reference to match this send event to its receiver"
4082
+ displayName: "Case manager decisions"
2881
4083
  },
2882
4084
  {
2883
- name: "SpecificContent",
2884
- displayName: "Item information",
4085
+ name: "sequentialTasksToResetByStageName",
2885
4086
  type: "json",
2886
4087
  required: false,
2887
4088
  hidden: false,
@@ -2889,21 +4090,24 @@ var bpmn_spec_default = {
2889
4090
  binding: false,
2890
4091
  defaultValue: null,
2891
4092
  target: "body",
2892
- description: "JSON payload with the message content"
4093
+ displayName: "Sequential task names to reset, keyed by stage name"
2893
4094
  },
2894
4095
  {
2895
- name: "TimeToLive",
2896
- displayName: "Time to live",
2897
- type: "duration",
4096
+ name: "lastPrimaryStageExitedGlobalKey",
4097
+ type: "string",
2898
4098
  required: false,
2899
4099
  hidden: false,
2900
4100
  isPrimaryKey: false,
2901
4101
  binding: false,
2902
- defaultValue: null,
4102
+ defaultValue: "CaseGlobalsLastPrimaryStageExited",
2903
4103
  target: "body",
2904
- description: "Duration after which the message expires if not consumed"
4104
+ displayName: "Instance-globals key for the last primary stage exited"
2905
4105
  }
2906
- ]
4106
+ ],
4107
+ inputNotes: 'Generated by the case converter. decisions is emitted only when a case-manager decisions variable exists; omitting it makes the engine derive an empty plan - decisions is a JSON-typed token, so omit it by dropping its whole "decisions":{decisions} entry, not by leaving the token empty, and fill it with a JSON literal or a quoted string for an =js:... expression. lastPrimaryStageExitedGlobalKey takes the bare globals key, not an expression - the similarly named CaseCyclePrepare input takes the =instanceglobals read expression instead.',
4108
+ outputNotes: "The converter's epilogue re-reads case state after the commit: it always emits latestCaseState from =caseState, plus one cleared-selected-stage entry per waiting stage. The names and the count are diagram-specific, so no specific output name, type or source can be pinned here, but every entry still carries a nonblank name. generatedOutputs is what tells the validator to require at least one uipath:output and to check each one for a nonblank name and a var attribute, and nothing else about it.",
4109
+ inputName: "body",
4110
+ inputTarget: "body"
2907
4111
  },
2908
4112
  "Maestro.CaseRulesEvaluator": {
2909
4113
  extensionType: "Maestro.CaseRulesEvaluator",
@@ -3468,7 +4672,7 @@ var bpmn_spec_default = {
3468
4672
  extensionTagResolution: {
3469
4673
  description: "How the frontend determines which XML extension tag to use",
3470
4674
  rules: [
3471
- "If serviceType is in isEvents array [Intsvc.WaitForEvent, Intsvc.EventTrigger, Maestro.ReceiveMessageEvent, Maestro.SendMessageEvent] => uipath:event",
4675
+ "If serviceType is in isEvents array [Intsvc.WaitForEvent, Intsvc.EventTrigger, Maestro.ReceiveMessageEvent, Maestro.SendMessageEvent, Queue.WaitForEvent] => uipath:event",
3472
4676
  "If serviceType is BPMN.Variables on bpmn:StartEvent, bpmn:EndEvent, or bpmn:Task => uipath:mapping",
3473
4677
  "If nodeType is bpmn:ScriptTask or bpmn:SubProcess => uipath:mapping",
3474
4678
  "Otherwise => uipath:activity"
@@ -3478,7 +4682,8 @@ var bpmn_spec_default = {
3478
4682
  "Intsvc.WaitForEvent",
3479
4683
  "Intsvc.EventTrigger",
3480
4684
  "Maestro.ReceiveMessageEvent",
3481
- "Maestro.SendMessageEvent"
4685
+ "Maestro.SendMessageEvent",
4686
+ "Queue.WaitForEvent"
3482
4687
  ],
3483
4688
  isExecutionArray: [
3484
4689
  "Intsvc.ActivityExecution",
@@ -3498,6 +4703,23 @@ var bpmn_spec_default = {
3498
4703
  // ../maestro-sdk/src/manifest/bpmn-spec.ts
3499
4704
  var BPMN_SPEC = bpmn_spec_default;
3500
4705
  var MERGED_INPUT_PATTERNS = new Set(["mergedBody", "splitInputsItemData", "scriptArgs"]);
4706
+ var STRUCTURAL_TEMPLATE_TOKENS = Object.freeze([
4707
+ "id",
4708
+ "name",
4709
+ "incomingEdge",
4710
+ "outgoingEdge",
4711
+ "varId",
4712
+ "errorVarId",
4713
+ "outputVarId",
4714
+ "hasItemVarId",
4715
+ "countVarId",
4716
+ "bindingId",
4717
+ "nameBindingId",
4718
+ "folderPathBindingId",
4719
+ "connectionBindingId",
4720
+ "folderBindingId",
4721
+ "fileRef"
4722
+ ]);
3501
4723
  var STATIC_UIPATH_EXTENSION_TAG_NAMES = [
3502
4724
  "binding",
3503
4725
  "bindings",
@@ -3532,4 +4754,4 @@ var SUPPORTED_UIPATH_EXTENSION_TAGS = Object.freeze(SUPPORTED_UIPATH_EXTENSION_T
3532
4754
 
3533
4755
  export { BPMN_SPEC, MERGED_INPUT_PATTERNS, SUPPORTED_UIPATH_EXTENSION_TAG_NAMES, SUPPORTED_UIPATH_EXTENSION_TAGS };
3534
4756
 
3535
- //# debugId=CB42FA93CE31AEE264756E2164756E21
4757
+ //# debugId=2A1BC15CE5C2C85B64756E2164756E21