@uipath/maestro-sdk 0.9.0 → 1.0.0

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.
@@ -0,0 +1,2989 @@
1
+ import { createRequire } from "node:module";
2
+ var __create = Object.create;
3
+ var __getProtoOf = Object.getPrototypeOf;
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ function __accessProp(key) {
8
+ return this[key];
9
+ }
10
+ var __toESMCache_node;
11
+ var __toESMCache_esm;
12
+ var __toESM = (mod, isNodeMode, target) => {
13
+ var canCache = mod != null && typeof mod === "object";
14
+ if (canCache) {
15
+ var cache = isNodeMode ? __toESMCache_node ??= new WeakMap : __toESMCache_esm ??= new WeakMap;
16
+ var cached = cache.get(mod);
17
+ if (cached)
18
+ return cached;
19
+ }
20
+ target = mod != null ? __create(__getProtoOf(mod)) : {};
21
+ const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
22
+ for (let key of __getOwnPropNames(mod))
23
+ if (!__hasOwnProp.call(to, key))
24
+ __defProp(to, key, {
25
+ get: __accessProp.bind(mod, key),
26
+ enumerable: true
27
+ });
28
+ if (canCache)
29
+ cache.set(mod, to);
30
+ return to;
31
+ };
32
+ var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
33
+ var __returnValue = (v) => v;
34
+ function __exportSetter(name, newValue) {
35
+ this[name] = __returnValue.bind(null, newValue);
36
+ }
37
+ var __export = (target, all) => {
38
+ for (var name in all)
39
+ __defProp(target, name, {
40
+ get: all[name],
41
+ enumerable: true,
42
+ configurable: true,
43
+ set: __exportSetter.bind(all, name)
44
+ });
45
+ };
46
+ var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
47
+ var __require = /* @__PURE__ */ createRequire(import.meta.url);
48
+ // src/manifest/bpmn-spec.json
49
+ var bpmn_spec_default = {
50
+ version: "1.0.0",
51
+ source: "PO.Frontend registry generator (2026-04-14) + CLI notes",
52
+ extractedFrom: {
53
+ designSchemaUtils: "src/services/serialization/design-schema/design-schema-utils.ts",
54
+ bpmnModdle: "src/services/serialization/bpmn-moddle.ts",
55
+ fpsFormPropertiesUtils: "src/components/canvases/shared/panels/properties/fps/FPSFormPropertiesUtils.ts",
56
+ constants: "src/constants.ts",
57
+ designSchemaJsonDir: "src/services/serialization/design-schema/*.design-schema.json"
58
+ },
59
+ extensionTypes: {
60
+ "Actions.HITL": {
61
+ extensionType: "Actions.HITL",
62
+ label: "Create action app task",
63
+ bpmnElement: "bpmn:UserTask",
64
+ placements: {
65
+ activity: {
66
+ type: "bpmn:UserTask"
67
+ }
68
+ },
69
+ extensionTag: "uipath:activity",
70
+ contextFields: [
71
+ {
72
+ name: "appId",
73
+ type: "string",
74
+ required: false,
75
+ hidden: true,
76
+ isPrimaryKey: true,
77
+ binding: false,
78
+ defaultValue: null
79
+ },
80
+ {
81
+ name: "appVersion",
82
+ type: "number",
83
+ required: false,
84
+ hidden: true,
85
+ isPrimaryKey: false,
86
+ binding: false,
87
+ defaultValue: null
88
+ },
89
+ {
90
+ name: "actions",
91
+ type: "string",
92
+ required: false,
93
+ hidden: true,
94
+ isPrimaryKey: false,
95
+ binding: false,
96
+ defaultValue: null
97
+ },
98
+ {
99
+ name: "key",
100
+ type: "string",
101
+ required: false,
102
+ hidden: true,
103
+ isPrimaryKey: false,
104
+ binding: false,
105
+ defaultValue: null
106
+ },
107
+ {
108
+ name: "taskTitle",
109
+ type: "string",
110
+ required: false,
111
+ hidden: false,
112
+ isPrimaryKey: false,
113
+ binding: false,
114
+ defaultValue: null
115
+ }
116
+ ],
117
+ inputPattern: "mergedBody",
118
+ inputName: "HitlTaskArguments",
119
+ inputTarget: "bodyField",
120
+ outputSource: null,
121
+ outputType: "Actions.HITL",
122
+ outputName: "Process response",
123
+ useRelativeSource: true,
124
+ bindingPattern: "none",
125
+ requiresDiscovery: true,
126
+ isDynamic: true,
127
+ xmlTemplate: `<bpmn:UserTask id="{id}" name="{name}">
128
+ <bpmn:extensionElements>
129
+ <uipath:activity version="v1">
130
+ <uipath:type value="Actions.HITL" version="v1" />
131
+ <uipath:context>
132
+ <uipath:input name="appId" value="{appId}" />
133
+ <uipath:input name="appVersion" value="{appVersion}" />
134
+ <uipath:input name="actions" value="{actions}" />
135
+ <uipath:input name="key" value="{key}" />
136
+ <uipath:input name="taskTitle" value="{taskTitle}" />
137
+ </uipath:context>
138
+ <uipath:input name="HitlTaskArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
139
+ <uipath:output name="Process response" type="Actions.HITL" var="{varId}" />
140
+ </uipath:activity>
141
+ </bpmn:extensionElements>
142
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
143
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
144
+ </bpmn:UserTask>`,
145
+ discoveryNotes: "Uses getSupportedHumanTasks(search, systemName) to list available action app tasks",
146
+ contextFieldNotes: "Note: 'folderKey' field in design schema has name='key' (the actual XML context input name)"
147
+ },
148
+ "Orchestrator.StartJob": {
149
+ extensionType: "Orchestrator.StartJob",
150
+ label: "Start and wait for RPA workflow",
151
+ bpmnElement: "bpmn:ServiceTask",
152
+ placements: {
153
+ activity: {
154
+ type: "bpmn:ServiceTask"
155
+ }
156
+ },
157
+ extensionTag: "uipath:activity",
158
+ contextFields: [
159
+ {
160
+ name: "releaseKey",
161
+ displayName: "Process",
162
+ type: "string",
163
+ required: false,
164
+ hidden: true,
165
+ isPrimaryKey: false,
166
+ binding: false,
167
+ defaultValue: null,
168
+ bindingInfo: {
169
+ resource: "process",
170
+ resourceKeyPattern: "${metadata.key}",
171
+ propertyAttribute: "Key"
172
+ }
173
+ },
174
+ {
175
+ name: "folderId",
176
+ type: "string",
177
+ required: false,
178
+ hidden: true,
179
+ isPrimaryKey: false,
180
+ binding: false,
181
+ defaultValue: null
182
+ },
183
+ {
184
+ name: "folderPath",
185
+ type: "string",
186
+ required: false,
187
+ hidden: true,
188
+ isPrimaryKey: false,
189
+ binding: false,
190
+ defaultValue: null
191
+ },
192
+ {
193
+ name: "name",
194
+ type: "string",
195
+ required: false,
196
+ hidden: true,
197
+ isPrimaryKey: false,
198
+ binding: false,
199
+ defaultValue: null
200
+ }
201
+ ],
202
+ inputPattern: "mergedBody",
203
+ inputName: "JobArguments",
204
+ inputTarget: "bodyField",
205
+ outputSource: null,
206
+ outputType: "Orchestrator.RunJob",
207
+ outputName: "Process response",
208
+ useRelativeSource: true,
209
+ bindingPattern: "process",
210
+ bindingInfo: {
211
+ resource: "process",
212
+ resourceKeyPattern: "${metadata.key}",
213
+ propertyAttribute: "Key",
214
+ contextField: "releaseKey"
215
+ },
216
+ requiresDiscovery: true,
217
+ isDynamic: true,
218
+ xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
219
+ <bpmn:extensionElements>
220
+ <uipath:activity version="v1">
221
+ <uipath:type value="Orchestrator.StartJob" version="v1" />
222
+ <uipath:context>
223
+ <uipath:input name="releaseKey" value="{releaseKey}" />
224
+ <uipath:input name="folderId" value="{folderId}" />
225
+ <uipath:input name="folderPath" value="{folderPath}" />
226
+ <uipath:input name="name" value="{name}" />
227
+ </uipath:context>
228
+ <uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
229
+ <uipath:output name="Process response" type="Orchestrator.RunJob" var="{varId}" />
230
+ </uipath:activity>
231
+ </bpmn:extensionElements>
232
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
233
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
234
+ </bpmn:ServiceTask>`,
235
+ discoveryNotes: "Uses getSupportedOrchestratorTasks('process', search) to list available processes"
236
+ },
237
+ "Orchestrator.StartAgentJob": {
238
+ extensionType: "Orchestrator.StartAgentJob",
239
+ label: "Start and wait for agent",
240
+ bpmnElement: "bpmn:ServiceTask",
241
+ placements: {
242
+ activity: {
243
+ type: "bpmn:ServiceTask"
244
+ }
245
+ },
246
+ extensionTag: "uipath:activity",
247
+ contextFields: [
248
+ {
249
+ name: "releaseKey",
250
+ displayName: "Process",
251
+ type: "string",
252
+ required: false,
253
+ hidden: true,
254
+ isPrimaryKey: false,
255
+ binding: false,
256
+ defaultValue: null,
257
+ bindingInfo: {
258
+ resource: "process",
259
+ resourceKeyPattern: "${metadata.key}",
260
+ propertyAttribute: "Key"
261
+ }
262
+ },
263
+ {
264
+ name: "folderId",
265
+ type: "string",
266
+ required: false,
267
+ hidden: true,
268
+ isPrimaryKey: false,
269
+ binding: false,
270
+ defaultValue: null
271
+ },
272
+ {
273
+ name: "folderPath",
274
+ type: "string",
275
+ required: false,
276
+ hidden: true,
277
+ isPrimaryKey: false,
278
+ binding: false,
279
+ defaultValue: null
280
+ },
281
+ {
282
+ name: "name",
283
+ type: "string",
284
+ required: false,
285
+ hidden: true,
286
+ isPrimaryKey: false,
287
+ binding: false,
288
+ defaultValue: null
289
+ }
290
+ ],
291
+ inputPattern: "mergedBody",
292
+ inputName: "JobArguments",
293
+ inputTarget: "bodyField",
294
+ outputSource: null,
295
+ outputType: "Orchestrator.RunJob",
296
+ outputName: "Process response",
297
+ useRelativeSource: true,
298
+ bindingPattern: "process",
299
+ bindingInfo: {
300
+ resource: "process",
301
+ resourceKeyPattern: "${metadata.key}",
302
+ propertyAttribute: "Key",
303
+ contextField: "releaseKey"
304
+ },
305
+ requiresDiscovery: true,
306
+ isDynamic: true,
307
+ xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
308
+ <bpmn:extensionElements>
309
+ <uipath:activity version="v1">
310
+ <uipath:type value="Orchestrator.StartAgentJob" version="v1" />
311
+ <uipath:context>
312
+ <uipath:input name="releaseKey" value="{releaseKey}" />
313
+ <uipath:input name="folderId" value="{folderId}" />
314
+ <uipath:input name="folderPath" value="{folderPath}" />
315
+ <uipath:input name="name" value="{name}" />
316
+ </uipath:context>
317
+ <uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
318
+ <uipath:output name="Process response" type="Orchestrator.RunJob" var="{varId}" />
319
+ </uipath:activity>
320
+ </bpmn:extensionElements>
321
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
322
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
323
+ </bpmn:ServiceTask>`,
324
+ discoveryNotes: "Uses getSupportedOrchestratorTasks('agent', search) to list available agents"
325
+ },
326
+ "Orchestrator.BusinessRules": {
327
+ extensionType: "Orchestrator.BusinessRules",
328
+ label: "Execute business rule [Preview]",
329
+ bpmnElement: "bpmn:BusinessRuleTask",
330
+ placements: {
331
+ activity: {
332
+ type: "bpmn:BusinessRuleTask"
333
+ }
334
+ },
335
+ extensionTag: "uipath:activity",
336
+ contextFields: [
337
+ {
338
+ name: "releaseKey",
339
+ displayName: "Process",
340
+ type: "string",
341
+ required: false,
342
+ hidden: true,
343
+ isPrimaryKey: false,
344
+ binding: false,
345
+ defaultValue: null,
346
+ bindingInfo: {
347
+ resource: "process",
348
+ resourceKeyPattern: "${metadata.key}",
349
+ propertyAttribute: "Key"
350
+ }
351
+ },
352
+ {
353
+ name: "folderId",
354
+ type: "string",
355
+ required: false,
356
+ hidden: true,
357
+ isPrimaryKey: false,
358
+ binding: false,
359
+ defaultValue: null
360
+ },
361
+ {
362
+ name: "folderPath",
363
+ type: "string",
364
+ required: false,
365
+ hidden: true,
366
+ isPrimaryKey: false,
367
+ binding: false,
368
+ defaultValue: null
369
+ },
370
+ {
371
+ name: "name",
372
+ type: "string",
373
+ required: false,
374
+ hidden: true,
375
+ isPrimaryKey: false,
376
+ binding: false,
377
+ defaultValue: null
378
+ }
379
+ ],
380
+ inputPattern: "mergedBody",
381
+ inputName: "JobArguments",
382
+ inputTarget: "bodyField",
383
+ outputSource: null,
384
+ outputType: "Orchestrator.BusinessRules",
385
+ outputName: "Execute business rule [Preview]",
386
+ useRelativeSource: true,
387
+ bindingPattern: "businessRule",
388
+ bindingInfo: {
389
+ resource: "process",
390
+ resourceKeyPattern: "${metadata.key}",
391
+ propertyAttribute: "Key",
392
+ contextField: "releaseKey"
393
+ },
394
+ requiresDiscovery: true,
395
+ isDynamic: true,
396
+ xmlTemplate: `<bpmn:BusinessRuleTask id="{id}" name="{name}">
397
+ <bpmn:extensionElements>
398
+ <uipath:activity version="v1">
399
+ <uipath:type value="Orchestrator.BusinessRules" version="v1" />
400
+ <uipath:context>
401
+ <uipath:input name="releaseKey" value="{releaseKey}" />
402
+ <uipath:input name="folderId" value="{folderId}" />
403
+ <uipath:input name="folderPath" value="{folderPath}" />
404
+ <uipath:input name="name" value="{name}" />
405
+ </uipath:context>
406
+ <uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
407
+ <uipath:output name="Execute business rule [Preview]" type="Orchestrator.BusinessRules" var="{varId}" />
408
+ </uipath:activity>
409
+ </bpmn:extensionElements>
410
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
411
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
412
+ </bpmn:BusinessRuleTask>`,
413
+ discoveryNotes: "Uses getOrchestratorBusinessRules() to list available business rules"
414
+ },
415
+ "Intsvc.ActivityExecution": {
416
+ extensionType: "Intsvc.ActivityExecution",
417
+ label: "Execute connector activity",
418
+ bpmnElement: "bpmn:SendTask",
419
+ placements: {
420
+ activity: {
421
+ type: "bpmn:SendTask"
422
+ },
423
+ intermediateEvent: {
424
+ type: "bpmn:IntermediateThrowEvent",
425
+ eventDefinition: {
426
+ type: "bpmn:MessageEventDefinition"
427
+ }
428
+ },
429
+ endEvent: {
430
+ type: "bpmn:EndEvent",
431
+ eventDefinition: {
432
+ type: "bpmn:MessageEventDefinition"
433
+ }
434
+ }
435
+ },
436
+ extensionTag: "uipath:activity",
437
+ contextFields: [
438
+ {
439
+ name: "activity",
440
+ displayName: "Activity",
441
+ type: "string",
442
+ required: true,
443
+ hidden: false,
444
+ isPrimaryKey: true,
445
+ binding: false,
446
+ defaultValue: null
447
+ },
448
+ {
449
+ name: "connectorKey",
450
+ displayName: "Connector key",
451
+ type: "string",
452
+ required: false,
453
+ hidden: true,
454
+ isPrimaryKey: false,
455
+ binding: false,
456
+ defaultValue: null
457
+ },
458
+ {
459
+ name: "connection",
460
+ displayName: "Connection",
461
+ type: "string",
462
+ required: false,
463
+ hidden: true,
464
+ isPrimaryKey: false,
465
+ binding: true,
466
+ defaultValue: null
467
+ },
468
+ {
469
+ name: "folderKey",
470
+ displayName: "Folder key",
471
+ type: "string",
472
+ required: false,
473
+ hidden: true,
474
+ isPrimaryKey: false,
475
+ binding: false,
476
+ defaultValue: null
477
+ },
478
+ {
479
+ name: "method",
480
+ displayName: "Method",
481
+ type: "string",
482
+ required: false,
483
+ hidden: true,
484
+ isPrimaryKey: false,
485
+ binding: false,
486
+ defaultValue: null
487
+ },
488
+ {
489
+ name: "path",
490
+ displayName: "Path",
491
+ type: "string",
492
+ required: false,
493
+ hidden: true,
494
+ isPrimaryKey: false,
495
+ binding: false,
496
+ defaultValue: null
497
+ }
498
+ ],
499
+ inputPattern: "separateInputs",
500
+ inputName: "body",
501
+ inputTarget: "body",
502
+ outputSource: ".",
503
+ outputType: "custom",
504
+ outputName: "result",
505
+ useRelativeSource: false,
506
+ bindingPattern: "connection",
507
+ requiresDiscovery: true,
508
+ isDynamic: true,
509
+ xmlTemplate: `<bpmn:SendTask id="{id}" name="{name}">
510
+ <bpmn:extensionElements>
511
+ <uipath:activity version="v1">
512
+ <uipath:type value="Intsvc.ActivityExecution" version="v1" />
513
+ <uipath:context>
514
+ <uipath:input name="activity" value="{activity}" />
515
+ <uipath:input name="connectorKey" value="{connectorKey}" />
516
+ <uipath:input name="connection" value="=bindings.{bindingId}" />
517
+ <uipath:input name="folderKey" value="{folderKey}" />
518
+ <uipath:input name="method" value="{method}" />
519
+ <uipath:input name="path" value="{path}" />
520
+ </uipath:context>
521
+ <uipath:input name="body" type="json" target="body"><![CDATA[{}]]></uipath:input>
522
+ <uipath:output name="result" type="custom" source="." var="{varId}" />
523
+ </uipath:activity>
524
+ </bpmn:extensionElements>
525
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
526
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
527
+ </bpmn:SendTask>`,
528
+ discoveryNotes: "Uses getConnectorConnections(connectorKey) to list available connections. Activity/connector metadata comes from Integration Service catalog.",
529
+ inputNotes: "isSplitInputs=false in design schema; inputs are sent as separate <uipath:input> elements, not merged into a single JSON body",
530
+ extensionTagNotes: "In isExecution array, NOT in isEvents array, so uses uipath:activity"
531
+ },
532
+ "Intsvc.HttpExecution": {
533
+ extensionType: "Intsvc.HttpExecution",
534
+ label: "Execute HTTP request (Legacy)",
535
+ bpmnElement: "bpmn:SendTask",
536
+ placements: {
537
+ activity: {
538
+ type: "bpmn:SendTask"
539
+ }
540
+ },
541
+ extensionTag: "uipath:activity",
542
+ contextFields: [
543
+ {
544
+ name: "mode",
545
+ displayName: "Mode",
546
+ type: "string",
547
+ required: true,
548
+ hidden: true,
549
+ isPrimaryKey: false,
550
+ binding: false,
551
+ defaultValue: "manual"
552
+ },
553
+ {
554
+ name: "method",
555
+ displayName: "HTTP Method",
556
+ type: "string",
557
+ required: true,
558
+ hidden: false,
559
+ isPrimaryKey: false,
560
+ binding: false,
561
+ defaultValue: "GET"
562
+ },
563
+ {
564
+ name: "url",
565
+ displayName: "URL",
566
+ type: "string",
567
+ required: true,
568
+ hidden: false,
569
+ isPrimaryKey: false,
570
+ binding: true,
571
+ defaultValue: ""
572
+ },
573
+ {
574
+ name: "headers",
575
+ displayName: "Headers",
576
+ type: "json",
577
+ required: false,
578
+ hidden: false,
579
+ isPrimaryKey: false,
580
+ binding: true,
581
+ defaultValue: "{}"
582
+ },
583
+ {
584
+ name: "parameters",
585
+ displayName: "Query Parameters",
586
+ type: "json",
587
+ required: false,
588
+ hidden: false,
589
+ isPrimaryKey: false,
590
+ binding: true,
591
+ defaultValue: "{}"
592
+ },
593
+ {
594
+ name: "body",
595
+ displayName: "Request Body",
596
+ type: "json",
597
+ required: false,
598
+ hidden: false,
599
+ isPrimaryKey: false,
600
+ binding: true,
601
+ defaultValue: "null"
602
+ }
603
+ ],
604
+ inputPattern: "none",
605
+ outputSource: "=response",
606
+ outputType: "jsonSchema",
607
+ outputName: "response",
608
+ useRelativeSource: false,
609
+ bindingPattern: "none",
610
+ requiresDiscovery: false,
611
+ isDynamic: false,
612
+ xmlTemplate: `<bpmn:SendTask id="{id}" name="{name}">
613
+ <bpmn:extensionElements>
614
+ <uipath:activity version="v1">
615
+ <uipath:type value="Intsvc.HttpExecution" version="v1" />
616
+ <uipath:context>
617
+ <uipath:input name="mode" value="manual" />
618
+ <uipath:input name="method" value="GET" />
619
+ <uipath:input name="url" value="=bindings.{bindingId}" />
620
+ <uipath:input name="headers" value="=bindings.{bindingId}" />
621
+ <uipath:input name="parameters" value="=bindings.{bindingId}" />
622
+ <uipath:input name="body" value="=bindings.{bindingId}" />
623
+ </uipath:context>
624
+ <uipath:output name="response" type="jsonSchema" source="=response" var="{varId}" />
625
+ </uipath:activity>
626
+ </bpmn:extensionElements>
627
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
628
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
629
+ </bpmn:SendTask>`,
630
+ inputNotes: "No jsonBody in design schema input section; all configuration is in context fields"
631
+ },
632
+ "Intsvc.UnifiedHttpRequest": {
633
+ extensionType: "Intsvc.UnifiedHttpRequest",
634
+ label: "Execute HTTP request",
635
+ bpmnElement: "bpmn:SendTask",
636
+ placements: {
637
+ activity: {
638
+ type: "bpmn:SendTask"
639
+ }
640
+ },
641
+ extensionTag: "uipath:activity",
642
+ contextFields: [
643
+ {
644
+ name: "mode",
645
+ displayName: "Mode",
646
+ type: "string",
647
+ required: true,
648
+ hidden: true,
649
+ isPrimaryKey: false,
650
+ binding: false,
651
+ defaultValue: "manual"
652
+ },
653
+ {
654
+ name: "method",
655
+ displayName: "HTTP Method",
656
+ type: "string",
657
+ required: true,
658
+ hidden: false,
659
+ isPrimaryKey: false,
660
+ binding: false,
661
+ defaultValue: "GET"
662
+ },
663
+ {
664
+ name: "url",
665
+ displayName: "URL",
666
+ type: "string",
667
+ required: true,
668
+ hidden: false,
669
+ isPrimaryKey: false,
670
+ binding: true,
671
+ defaultValue: ""
672
+ },
673
+ {
674
+ name: "headers",
675
+ displayName: "Headers",
676
+ type: "json",
677
+ required: false,
678
+ hidden: false,
679
+ isPrimaryKey: false,
680
+ binding: true,
681
+ defaultValue: "{}"
682
+ },
683
+ {
684
+ name: "parameters",
685
+ displayName: "Query Parameters",
686
+ type: "json",
687
+ required: false,
688
+ hidden: false,
689
+ isPrimaryKey: false,
690
+ binding: true,
691
+ defaultValue: "{}"
692
+ },
693
+ {
694
+ name: "body",
695
+ displayName: "Request Body",
696
+ type: "json",
697
+ required: false,
698
+ hidden: false,
699
+ isPrimaryKey: false,
700
+ binding: true,
701
+ defaultValue: "null"
702
+ }
703
+ ],
704
+ inputPattern: "separateInputs",
705
+ outputSource: "=response",
706
+ outputType: "jsonSchema",
707
+ outputName: "response",
708
+ useRelativeSource: false,
709
+ bindingPattern: "none",
710
+ requiresDiscovery: false,
711
+ isDynamic: false,
712
+ designSchemaSharedWith: "Intsvc.HttpExecution",
713
+ xmlTemplate: `<bpmn:SendTask id="{id}" name="{name}">
714
+ <bpmn:extensionElements>
715
+ <uipath:activity version="v1">
716
+ <uipath:type value="Intsvc.UnifiedHttpRequest" version="v1" />
717
+ <uipath:context>
718
+ <uipath:input name="mode" value="manual" />
719
+ <uipath:input name="method" value="GET" />
720
+ <uipath:input name="url" value="=bindings.{bindingId}" />
721
+ <uipath:input name="headers" value="=bindings.{bindingId}" />
722
+ <uipath:input name="parameters" value="=bindings.{bindingId}" />
723
+ <uipath:input name="body" value="=bindings.{bindingId}" />
724
+ </uipath:context>
725
+ <uipath:output name="response" type="jsonSchema" source="=response" var="{varId}" />
726
+ </uipath:activity>
727
+ </bpmn:extensionElements>
728
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
729
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
730
+ </bpmn:SendTask>`,
731
+ inputNotes: "In the isExecution array. Despite the design schema having no jsonBody, inputs are managed by the IS connector framework and serialized as separate <uipath:input> elements. The design schema context fields (mode, method, url, headers, parameters, body) are used for the HttpRequestV2Properties panel.",
732
+ contextFieldNotes: "Context fields above come from the legacy design schema (shared with Intsvc.HttpExecution). In the FPS ImplementationSection, this type is routed through IntsvcActivityProperties (IS connector framework), NOT HttpRequestProperties. The IS connector auto-initializes with HTTP_ACTIVITY_CONFIG and manages context dynamically. When used via the uipath.http-request shortcut node, it uses HttpRequestV2Properties which manages these context fields directly.",
733
+ extensionTagNotes: "In isExecution array, uses uipath:activity. Shares design schema with Intsvc.HttpExecution but uses IS connector framework at runtime."
734
+ },
735
+ "Intsvc.WaitForEvent": {
736
+ extensionType: "Intsvc.WaitForEvent",
737
+ label: "Wait for connector event",
738
+ bpmnElement: "bpmn:ReceiveTask",
739
+ placements: {
740
+ activity: {
741
+ type: "bpmn:ReceiveTask"
742
+ },
743
+ intermediateEvent: {
744
+ type: "bpmn:IntermediateCatchEvent",
745
+ eventDefinition: {
746
+ type: "bpmn:MessageEventDefinition"
747
+ }
748
+ },
749
+ boundaryEvent: {
750
+ type: "bpmn:BoundaryEvent",
751
+ eventDefinition: {
752
+ type: "bpmn:MessageEventDefinition"
753
+ }
754
+ }
755
+ },
756
+ extensionTag: "uipath:event",
757
+ contextFields: [],
758
+ inputPattern: "separateInputs",
759
+ outputSource: ".",
760
+ outputType: "custom",
761
+ outputName: "result",
762
+ useRelativeSource: false,
763
+ bindingPattern: "connection",
764
+ requiresDiscovery: true,
765
+ isDynamic: false,
766
+ xmlTemplate: `<bpmn:ReceiveTask id="{id}" name="{name}">
767
+ <bpmn:extensionElements>
768
+ <uipath:event version="v1">
769
+ <uipath:type value="Intsvc.WaitForEvent" version="v1" />
770
+ <uipath:output name="result" type="custom" source="." var="{varId}" />
771
+ </uipath:event>
772
+ </bpmn:extensionElements>
773
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
774
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
775
+ </bpmn:ReceiveTask>`,
776
+ discoveryNotes: "Uses getConnectorConnections(connectorKey) to list available connections",
777
+ inputNotes: "isSplitInputs=false; inputs are defined in input.fields (not jsonBody). Sent as separate <uipath:input> elements.",
778
+ contextFieldNotes: "Context fields are empty in design schema; all field definitions are in inputFields below",
779
+ extensionTagNotes: "In isEvents array, uses uipath:event",
780
+ inputFields: [
781
+ {
782
+ name: "connectionId",
783
+ displayName: "Connection ID",
784
+ type: "string",
785
+ required: true,
786
+ hidden: false,
787
+ isPrimaryKey: false,
788
+ binding: true,
789
+ defaultValue: null,
790
+ description: "Connection ID for the IS connector (bindable)"
791
+ },
792
+ {
793
+ name: "connectorKey",
794
+ displayName: "Connector key",
795
+ type: "string",
796
+ required: true,
797
+ hidden: false,
798
+ isPrimaryKey: false,
799
+ binding: false,
800
+ defaultValue: null,
801
+ description: "Integration Service connector identifier"
802
+ },
803
+ {
804
+ name: "folderId",
805
+ displayName: "Folder ID",
806
+ type: "string",
807
+ required: true,
808
+ hidden: false,
809
+ isPrimaryKey: false,
810
+ binding: false,
811
+ defaultValue: null,
812
+ description: "Folder ID for the connector connection"
813
+ },
814
+ {
815
+ name: "folderPath",
816
+ displayName: "Folder path",
817
+ type: "string",
818
+ required: true,
819
+ hidden: false,
820
+ isPrimaryKey: false,
821
+ binding: false,
822
+ defaultValue: null,
823
+ description: "Folder path for the connector connection"
824
+ },
825
+ {
826
+ name: "folderKey",
827
+ displayName: "Folder key",
828
+ type: "string",
829
+ required: true,
830
+ hidden: false,
831
+ isPrimaryKey: false,
832
+ binding: false,
833
+ defaultValue: null,
834
+ description: "Folder key for the connector connection"
835
+ },
836
+ {
837
+ name: "operation",
838
+ displayName: "Operation",
839
+ type: "string",
840
+ required: true,
841
+ hidden: true,
842
+ isPrimaryKey: true,
843
+ binding: false,
844
+ defaultValue: null,
845
+ description: "Connector event operation to wait for"
846
+ },
847
+ {
848
+ name: "objectName",
849
+ displayName: "Object name",
850
+ type: "string",
851
+ required: true,
852
+ hidden: true,
853
+ isPrimaryKey: false,
854
+ binding: false,
855
+ defaultValue: null,
856
+ description: "Object name associated with the event trigger"
857
+ },
858
+ {
859
+ name: "filter",
860
+ displayName: "Filter",
861
+ type: "object",
862
+ required: false,
863
+ hidden: false,
864
+ isPrimaryKey: false,
865
+ binding: false,
866
+ defaultValue: {},
867
+ description: "Filter criteria for the event"
868
+ },
869
+ {
870
+ name: "parameters",
871
+ displayName: "Parameters",
872
+ type: "object",
873
+ required: false,
874
+ hidden: false,
875
+ isPrimaryKey: false,
876
+ binding: false,
877
+ defaultValue: {},
878
+ description: "Additional parameters for the event"
879
+ }
880
+ ]
881
+ },
882
+ "Intsvc.EventTrigger": {
883
+ extensionType: "Intsvc.EventTrigger",
884
+ label: "Wait for connector event (trigger)",
885
+ bpmnElement: "bpmn:StartEvent",
886
+ placements: {
887
+ startEvent: {
888
+ type: "bpmn:StartEvent",
889
+ eventDefinition: {
890
+ type: "bpmn:MessageEventDefinition"
891
+ }
892
+ }
893
+ },
894
+ extensionTag: "uipath:event",
895
+ contextFields: [],
896
+ inputPattern: "separateInputs",
897
+ outputSource: ".",
898
+ outputType: "custom",
899
+ outputName: "result",
900
+ useRelativeSource: false,
901
+ bindingPattern: "connection",
902
+ requiresDiscovery: true,
903
+ isDynamic: false,
904
+ xmlTemplate: `<bpmn:StartEvent id="{id}" name="{name}">
905
+ <bpmn:extensionElements>
906
+ <uipath:event version="v1">
907
+ <uipath:type value="Intsvc.EventTrigger" version="v1" />
908
+ <uipath:output name="result" type="custom" source="." var="{varId}" />
909
+ </uipath:event>
910
+ </bpmn:extensionElements>
911
+ <bpmn:messageEventDefinition />
912
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
913
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
914
+ </bpmn:StartEvent>`,
915
+ discoveryNotes: "Uses getConnectorConnections(connectorKey) to list available connections",
916
+ inputNotes: "isSplitInputs=false; inputs defined in input.fields. Sent as separate <uipath:input> elements.",
917
+ contextFieldNotes: "Context fields are empty in design schema; all field definitions are in inputFields below",
918
+ extensionTagNotes: "In isEvents array, uses uipath:event",
919
+ inputFields: [
920
+ {
921
+ name: "connectionId",
922
+ displayName: "Connection ID",
923
+ type: "string",
924
+ required: true,
925
+ hidden: false,
926
+ isPrimaryKey: false,
927
+ binding: true,
928
+ defaultValue: null,
929
+ description: "Connection ID for the IS connector (bindable)"
930
+ },
931
+ {
932
+ name: "connectorKey",
933
+ displayName: "Connector key",
934
+ type: "string",
935
+ required: true,
936
+ hidden: false,
937
+ isPrimaryKey: false,
938
+ binding: false,
939
+ defaultValue: null,
940
+ description: "Integration Service connector identifier"
941
+ },
942
+ {
943
+ name: "folderId",
944
+ displayName: "Folder ID",
945
+ type: "string",
946
+ required: true,
947
+ hidden: false,
948
+ isPrimaryKey: false,
949
+ binding: false,
950
+ defaultValue: null,
951
+ description: "Folder ID for the connector connection"
952
+ },
953
+ {
954
+ name: "folderPath",
955
+ displayName: "Folder path",
956
+ type: "string",
957
+ required: true,
958
+ hidden: false,
959
+ isPrimaryKey: false,
960
+ binding: false,
961
+ defaultValue: null,
962
+ description: "Folder path for the connector connection"
963
+ },
964
+ {
965
+ name: "folderKey",
966
+ displayName: "Folder key",
967
+ type: "string",
968
+ required: true,
969
+ hidden: false,
970
+ isPrimaryKey: false,
971
+ binding: false,
972
+ defaultValue: null,
973
+ description: "Folder key for the connector connection"
974
+ },
975
+ {
976
+ name: "operation",
977
+ displayName: "Operation",
978
+ type: "string",
979
+ required: true,
980
+ hidden: true,
981
+ isPrimaryKey: true,
982
+ binding: false,
983
+ defaultValue: null,
984
+ description: "Connector event operation to trigger on"
985
+ },
986
+ {
987
+ name: "objectName",
988
+ displayName: "Object name",
989
+ type: "string",
990
+ required: true,
991
+ hidden: true,
992
+ isPrimaryKey: false,
993
+ binding: false,
994
+ defaultValue: null,
995
+ description: "Object name associated with the event trigger"
996
+ },
997
+ {
998
+ name: "filter",
999
+ displayName: "Filter",
1000
+ type: "object",
1001
+ required: false,
1002
+ hidden: false,
1003
+ isPrimaryKey: false,
1004
+ binding: false,
1005
+ defaultValue: {},
1006
+ description: "Filter criteria for the event trigger"
1007
+ },
1008
+ {
1009
+ name: "parameters",
1010
+ displayName: "Parameters",
1011
+ type: "object",
1012
+ required: false,
1013
+ hidden: false,
1014
+ isPrimaryKey: false,
1015
+ binding: false,
1016
+ defaultValue: {},
1017
+ description: "Additional parameters for the event trigger"
1018
+ }
1019
+ ]
1020
+ },
1021
+ "Intsvc.AsyncExecution": {
1022
+ extensionType: "Intsvc.AsyncExecution",
1023
+ label: "Start and wait for external agent",
1024
+ bpmnElement: "bpmn:ServiceTask",
1025
+ placements: {
1026
+ activity: {
1027
+ type: "bpmn:ServiceTask"
1028
+ }
1029
+ },
1030
+ extensionTag: "uipath:activity",
1031
+ contextFields: [
1032
+ {
1033
+ name: "activity",
1034
+ displayName: "Activity",
1035
+ type: "string",
1036
+ required: true,
1037
+ hidden: false,
1038
+ isPrimaryKey: true,
1039
+ binding: false,
1040
+ defaultValue: null
1041
+ },
1042
+ {
1043
+ name: "connectorKey",
1044
+ displayName: "Connector key",
1045
+ type: "string",
1046
+ required: false,
1047
+ hidden: true,
1048
+ isPrimaryKey: false,
1049
+ binding: false,
1050
+ defaultValue: null
1051
+ },
1052
+ {
1053
+ name: "connection",
1054
+ displayName: "Connection",
1055
+ type: "string",
1056
+ required: false,
1057
+ hidden: true,
1058
+ isPrimaryKey: false,
1059
+ binding: true,
1060
+ defaultValue: null
1061
+ },
1062
+ {
1063
+ name: "folderKey",
1064
+ displayName: "Folder key",
1065
+ type: "string",
1066
+ required: false,
1067
+ hidden: true,
1068
+ isPrimaryKey: false,
1069
+ binding: false,
1070
+ defaultValue: null
1071
+ },
1072
+ {
1073
+ name: "method",
1074
+ displayName: "Method",
1075
+ type: "string",
1076
+ required: false,
1077
+ hidden: true,
1078
+ isPrimaryKey: false,
1079
+ binding: false,
1080
+ defaultValue: null
1081
+ },
1082
+ {
1083
+ name: "path",
1084
+ displayName: "Path",
1085
+ type: "string",
1086
+ required: false,
1087
+ hidden: true,
1088
+ isPrimaryKey: false,
1089
+ binding: false,
1090
+ defaultValue: null
1091
+ }
1092
+ ],
1093
+ inputPattern: "separateInputs",
1094
+ inputName: "body",
1095
+ inputTarget: "body",
1096
+ outputSource: ".",
1097
+ outputType: "custom",
1098
+ outputName: "response",
1099
+ useRelativeSource: false,
1100
+ bindingPattern: "connection",
1101
+ requiresDiscovery: true,
1102
+ isDynamic: true,
1103
+ xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
1104
+ <bpmn:extensionElements>
1105
+ <uipath:activity version="v1">
1106
+ <uipath:type value="Intsvc.AsyncExecution" version="v1" />
1107
+ <uipath:context>
1108
+ <uipath:input name="activity" value="{activity}" />
1109
+ <uipath:input name="connectorKey" value="{connectorKey}" />
1110
+ <uipath:input name="connection" value="=bindings.{bindingId}" />
1111
+ <uipath:input name="folderKey" value="{folderKey}" />
1112
+ <uipath:input name="method" value="{method}" />
1113
+ <uipath:input name="path" value="{path}" />
1114
+ </uipath:context>
1115
+ <uipath:input name="body" type="json" target="body"><![CDATA[{}]]></uipath:input>
1116
+ <uipath:output name="response" type="custom" source="." var="{varId}" />
1117
+ </uipath:activity>
1118
+ </bpmn:extensionElements>
1119
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
1120
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
1121
+ </bpmn:ServiceTask>`,
1122
+ discoveryNotes: "Uses getConnectorConnections(connectorKey) to list available connections",
1123
+ inputNotes: "isSplitInputs=false in design schema; inputs are sent as separate <uipath:input> elements",
1124
+ extensionTagNotes: "In isExecution array, uses uipath:activity"
1125
+ },
1126
+ "Intsvc.SyncAgentExecution": {
1127
+ extensionType: "Intsvc.SyncAgentExecution",
1128
+ label: "Start and wait for external agent",
1129
+ bpmnElement: "bpmn:ServiceTask",
1130
+ placements: {
1131
+ activity: {
1132
+ type: "bpmn:ServiceTask"
1133
+ }
1134
+ },
1135
+ extensionTag: "uipath:activity",
1136
+ contextFields: [
1137
+ {
1138
+ name: "activity",
1139
+ displayName: "Activity",
1140
+ type: "string",
1141
+ required: true,
1142
+ hidden: false,
1143
+ isPrimaryKey: true,
1144
+ binding: false,
1145
+ defaultValue: null
1146
+ },
1147
+ {
1148
+ name: "connectorKey",
1149
+ displayName: "Connector key",
1150
+ type: "string",
1151
+ required: false,
1152
+ hidden: true,
1153
+ isPrimaryKey: false,
1154
+ binding: false,
1155
+ defaultValue: null
1156
+ },
1157
+ {
1158
+ name: "connection",
1159
+ displayName: "Connection",
1160
+ type: "string",
1161
+ required: false,
1162
+ hidden: true,
1163
+ isPrimaryKey: false,
1164
+ binding: true,
1165
+ defaultValue: null
1166
+ },
1167
+ {
1168
+ name: "folderKey",
1169
+ displayName: "Folder key",
1170
+ type: "string",
1171
+ required: false,
1172
+ hidden: true,
1173
+ isPrimaryKey: false,
1174
+ binding: false,
1175
+ defaultValue: null
1176
+ },
1177
+ {
1178
+ name: "method",
1179
+ displayName: "Method",
1180
+ type: "string",
1181
+ required: false,
1182
+ hidden: true,
1183
+ isPrimaryKey: false,
1184
+ binding: false,
1185
+ defaultValue: null
1186
+ },
1187
+ {
1188
+ name: "path",
1189
+ displayName: "Path",
1190
+ type: "string",
1191
+ required: false,
1192
+ hidden: true,
1193
+ isPrimaryKey: false,
1194
+ binding: false,
1195
+ defaultValue: null
1196
+ }
1197
+ ],
1198
+ inputPattern: "separateInputs",
1199
+ inputName: "body",
1200
+ inputTarget: "body",
1201
+ outputSource: ".",
1202
+ outputType: "custom",
1203
+ outputName: "response",
1204
+ useRelativeSource: false,
1205
+ bindingPattern: "connection",
1206
+ requiresDiscovery: true,
1207
+ isDynamic: true,
1208
+ designSchemaSharedWith: "Intsvc.AsyncExecution",
1209
+ xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
1210
+ <bpmn:extensionElements>
1211
+ <uipath:activity version="v1">
1212
+ <uipath:type value="Intsvc.SyncAgentExecution" version="v1" />
1213
+ <uipath:context>
1214
+ <uipath:input name="activity" value="{activity}" />
1215
+ <uipath:input name="connectorKey" value="{connectorKey}" />
1216
+ <uipath:input name="connection" value="=bindings.{bindingId}" />
1217
+ <uipath:input name="folderKey" value="{folderKey}" />
1218
+ <uipath:input name="method" value="{method}" />
1219
+ <uipath:input name="path" value="{path}" />
1220
+ </uipath:context>
1221
+ <uipath:input name="body" type="json" target="body"><![CDATA[{}]]></uipath:input>
1222
+ <uipath:output name="response" type="custom" source="." var="{varId}" />
1223
+ </uipath:activity>
1224
+ </bpmn:extensionElements>
1225
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
1226
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
1227
+ </bpmn:ServiceTask>`,
1228
+ discoveryNotes: "Uses getConnectorConnections(connectorKey) to list available connections",
1229
+ extensionTagNotes: "In isExecution array, uses uipath:activity"
1230
+ },
1231
+ "Intsvc.AsyncAgentExecution": {
1232
+ extensionType: "Intsvc.AsyncAgentExecution",
1233
+ label: "Start and wait for external agent",
1234
+ bpmnElement: "bpmn:ServiceTask",
1235
+ placements: {
1236
+ activity: {
1237
+ type: "bpmn:ServiceTask"
1238
+ }
1239
+ },
1240
+ extensionTag: "uipath:activity",
1241
+ contextFields: [
1242
+ {
1243
+ name: "activity",
1244
+ displayName: "Activity",
1245
+ type: "string",
1246
+ required: true,
1247
+ hidden: false,
1248
+ isPrimaryKey: true,
1249
+ binding: false,
1250
+ defaultValue: null
1251
+ },
1252
+ {
1253
+ name: "connectorKey",
1254
+ displayName: "Connector key",
1255
+ type: "string",
1256
+ required: false,
1257
+ hidden: true,
1258
+ isPrimaryKey: false,
1259
+ binding: false,
1260
+ defaultValue: null
1261
+ },
1262
+ {
1263
+ name: "connection",
1264
+ displayName: "Connection",
1265
+ type: "string",
1266
+ required: false,
1267
+ hidden: true,
1268
+ isPrimaryKey: false,
1269
+ binding: true,
1270
+ defaultValue: null
1271
+ },
1272
+ {
1273
+ name: "folderKey",
1274
+ displayName: "Folder key",
1275
+ type: "string",
1276
+ required: false,
1277
+ hidden: true,
1278
+ isPrimaryKey: false,
1279
+ binding: false,
1280
+ defaultValue: null
1281
+ },
1282
+ {
1283
+ name: "method",
1284
+ displayName: "Method",
1285
+ type: "string",
1286
+ required: false,
1287
+ hidden: true,
1288
+ isPrimaryKey: false,
1289
+ binding: false,
1290
+ defaultValue: null
1291
+ },
1292
+ {
1293
+ name: "path",
1294
+ displayName: "Path",
1295
+ type: "string",
1296
+ required: false,
1297
+ hidden: true,
1298
+ isPrimaryKey: false,
1299
+ binding: false,
1300
+ defaultValue: null
1301
+ }
1302
+ ],
1303
+ inputPattern: "separateInputs",
1304
+ inputName: "body",
1305
+ inputTarget: "body",
1306
+ outputSource: ".",
1307
+ outputType: "custom",
1308
+ outputName: "response",
1309
+ useRelativeSource: false,
1310
+ bindingPattern: "connection",
1311
+ requiresDiscovery: true,
1312
+ isDynamic: true,
1313
+ designSchemaSharedWith: "Intsvc.AsyncExecution",
1314
+ xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
1315
+ <bpmn:extensionElements>
1316
+ <uipath:activity version="v1">
1317
+ <uipath:type value="Intsvc.AsyncAgentExecution" version="v1" />
1318
+ <uipath:context>
1319
+ <uipath:input name="activity" value="{activity}" />
1320
+ <uipath:input name="connectorKey" value="{connectorKey}" />
1321
+ <uipath:input name="connection" value="=bindings.{bindingId}" />
1322
+ <uipath:input name="folderKey" value="{folderKey}" />
1323
+ <uipath:input name="method" value="{method}" />
1324
+ <uipath:input name="path" value="{path}" />
1325
+ </uipath:context>
1326
+ <uipath:input name="body" type="json" target="body"><![CDATA[{}]]></uipath:input>
1327
+ <uipath:output name="response" type="custom" source="." var="{varId}" />
1328
+ </uipath:activity>
1329
+ </bpmn:extensionElements>
1330
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
1331
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
1332
+ </bpmn:ServiceTask>`,
1333
+ discoveryNotes: "Uses getConnectorConnections(connectorKey) to list available connections",
1334
+ extensionTagNotes: "In isExecution array, uses uipath:activity"
1335
+ },
1336
+ "Intsvc.SyncWorkflowExecution": {
1337
+ extensionType: "Intsvc.SyncWorkflowExecution",
1338
+ label: "Start and wait for external workflow",
1339
+ bpmnElement: "bpmn:ServiceTask",
1340
+ placements: {
1341
+ activity: {
1342
+ type: "bpmn:ServiceTask"
1343
+ }
1344
+ },
1345
+ extensionTag: "uipath:activity",
1346
+ contextFields: [
1347
+ {
1348
+ name: "activity",
1349
+ displayName: "Activity",
1350
+ type: "string",
1351
+ required: true,
1352
+ hidden: false,
1353
+ isPrimaryKey: true,
1354
+ binding: false,
1355
+ defaultValue: null
1356
+ },
1357
+ {
1358
+ name: "connectorKey",
1359
+ displayName: "Connector key",
1360
+ type: "string",
1361
+ required: false,
1362
+ hidden: true,
1363
+ isPrimaryKey: false,
1364
+ binding: false,
1365
+ defaultValue: null
1366
+ },
1367
+ {
1368
+ name: "connection",
1369
+ displayName: "Connection",
1370
+ type: "string",
1371
+ required: false,
1372
+ hidden: true,
1373
+ isPrimaryKey: false,
1374
+ binding: true,
1375
+ defaultValue: null
1376
+ },
1377
+ {
1378
+ name: "folderKey",
1379
+ displayName: "Folder key",
1380
+ type: "string",
1381
+ required: false,
1382
+ hidden: true,
1383
+ isPrimaryKey: false,
1384
+ binding: false,
1385
+ defaultValue: null
1386
+ },
1387
+ {
1388
+ name: "method",
1389
+ displayName: "Method",
1390
+ type: "string",
1391
+ required: false,
1392
+ hidden: true,
1393
+ isPrimaryKey: false,
1394
+ binding: false,
1395
+ defaultValue: null
1396
+ },
1397
+ {
1398
+ name: "path",
1399
+ displayName: "Path",
1400
+ type: "string",
1401
+ required: false,
1402
+ hidden: true,
1403
+ isPrimaryKey: false,
1404
+ binding: false,
1405
+ defaultValue: null
1406
+ }
1407
+ ],
1408
+ inputPattern: "separateInputs",
1409
+ inputName: "body",
1410
+ inputTarget: "body",
1411
+ outputSource: ".",
1412
+ outputType: "custom",
1413
+ outputName: "response",
1414
+ useRelativeSource: false,
1415
+ bindingPattern: "connection",
1416
+ requiresDiscovery: true,
1417
+ isDynamic: true,
1418
+ designSchemaSharedWith: "Intsvc.AsyncExecution",
1419
+ xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
1420
+ <bpmn:extensionElements>
1421
+ <uipath:activity version="v1">
1422
+ <uipath:type value="Intsvc.SyncWorkflowExecution" version="v1" />
1423
+ <uipath:context>
1424
+ <uipath:input name="activity" value="{activity}" />
1425
+ <uipath:input name="connectorKey" value="{connectorKey}" />
1426
+ <uipath:input name="connection" value="=bindings.{bindingId}" />
1427
+ <uipath:input name="folderKey" value="{folderKey}" />
1428
+ <uipath:input name="method" value="{method}" />
1429
+ <uipath:input name="path" value="{path}" />
1430
+ </uipath:context>
1431
+ <uipath:input name="body" type="json" target="body"><![CDATA[{}]]></uipath:input>
1432
+ <uipath:output name="response" type="custom" source="." var="{varId}" />
1433
+ </uipath:activity>
1434
+ </bpmn:extensionElements>
1435
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
1436
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
1437
+ </bpmn:ServiceTask>`,
1438
+ discoveryNotes: "Uses getConnectorConnections(connectorKey) to list available connections",
1439
+ extensionTagNotes: "In isExecution array, uses uipath:activity"
1440
+ },
1441
+ "Intsvc.AsyncWorkflowExecution": {
1442
+ extensionType: "Intsvc.AsyncWorkflowExecution",
1443
+ label: "Start and wait for external workflow",
1444
+ bpmnElement: "bpmn:ServiceTask",
1445
+ placements: {
1446
+ activity: {
1447
+ type: "bpmn:ServiceTask"
1448
+ }
1449
+ },
1450
+ extensionTag: "uipath:activity",
1451
+ contextFields: [
1452
+ {
1453
+ name: "activity",
1454
+ displayName: "Activity",
1455
+ type: "string",
1456
+ required: true,
1457
+ hidden: false,
1458
+ isPrimaryKey: true,
1459
+ binding: false,
1460
+ defaultValue: null
1461
+ },
1462
+ {
1463
+ name: "connectorKey",
1464
+ displayName: "Connector key",
1465
+ type: "string",
1466
+ required: false,
1467
+ hidden: true,
1468
+ isPrimaryKey: false,
1469
+ binding: false,
1470
+ defaultValue: null
1471
+ },
1472
+ {
1473
+ name: "connection",
1474
+ displayName: "Connection",
1475
+ type: "string",
1476
+ required: false,
1477
+ hidden: true,
1478
+ isPrimaryKey: false,
1479
+ binding: true,
1480
+ defaultValue: null
1481
+ },
1482
+ {
1483
+ name: "folderKey",
1484
+ displayName: "Folder key",
1485
+ type: "string",
1486
+ required: false,
1487
+ hidden: true,
1488
+ isPrimaryKey: false,
1489
+ binding: false,
1490
+ defaultValue: null
1491
+ },
1492
+ {
1493
+ name: "method",
1494
+ displayName: "Method",
1495
+ type: "string",
1496
+ required: false,
1497
+ hidden: true,
1498
+ isPrimaryKey: false,
1499
+ binding: false,
1500
+ defaultValue: null
1501
+ },
1502
+ {
1503
+ name: "path",
1504
+ displayName: "Path",
1505
+ type: "string",
1506
+ required: false,
1507
+ hidden: true,
1508
+ isPrimaryKey: false,
1509
+ binding: false,
1510
+ defaultValue: null
1511
+ }
1512
+ ],
1513
+ inputPattern: "separateInputs",
1514
+ inputName: "body",
1515
+ inputTarget: "body",
1516
+ outputSource: ".",
1517
+ outputType: "custom",
1518
+ outputName: "response",
1519
+ useRelativeSource: false,
1520
+ bindingPattern: "connection",
1521
+ requiresDiscovery: true,
1522
+ isDynamic: true,
1523
+ designSchemaSharedWith: "Intsvc.AsyncExecution",
1524
+ xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
1525
+ <bpmn:extensionElements>
1526
+ <uipath:activity version="v1">
1527
+ <uipath:type value="Intsvc.AsyncWorkflowExecution" version="v1" />
1528
+ <uipath:context>
1529
+ <uipath:input name="activity" value="{activity}" />
1530
+ <uipath:input name="connectorKey" value="{connectorKey}" />
1531
+ <uipath:input name="connection" value="=bindings.{bindingId}" />
1532
+ <uipath:input name="folderKey" value="{folderKey}" />
1533
+ <uipath:input name="method" value="{method}" />
1534
+ <uipath:input name="path" value="{path}" />
1535
+ </uipath:context>
1536
+ <uipath:input name="body" type="json" target="body"><![CDATA[{}]]></uipath:input>
1537
+ <uipath:output name="response" type="custom" source="." var="{varId}" />
1538
+ </uipath:activity>
1539
+ </bpmn:extensionElements>
1540
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
1541
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
1542
+ </bpmn:ServiceTask>`,
1543
+ discoveryNotes: "Uses getConnectorConnections(connectorKey) to list available connections",
1544
+ extensionTagNotes: "In isExecution array, uses uipath:activity"
1545
+ },
1546
+ "Orchestrator.ExecuteApiWorkflowAsync": {
1547
+ extensionType: "Orchestrator.ExecuteApiWorkflowAsync",
1548
+ label: "Start and wait for API workflow [Preview]",
1549
+ bpmnElement: "bpmn:ServiceTask",
1550
+ placements: {
1551
+ activity: {
1552
+ type: "bpmn:ServiceTask"
1553
+ }
1554
+ },
1555
+ extensionTag: "uipath:activity",
1556
+ contextFields: [
1557
+ {
1558
+ name: "releaseKey",
1559
+ displayName: "Process",
1560
+ type: "string",
1561
+ required: false,
1562
+ hidden: true,
1563
+ isPrimaryKey: false,
1564
+ binding: false,
1565
+ defaultValue: null,
1566
+ bindingInfo: {
1567
+ resource: "process",
1568
+ resourceKeyPattern: "${metadata.key}",
1569
+ propertyAttribute: "Key"
1570
+ }
1571
+ },
1572
+ {
1573
+ name: "folderId",
1574
+ type: "string",
1575
+ required: false,
1576
+ hidden: true,
1577
+ isPrimaryKey: false,
1578
+ binding: false,
1579
+ defaultValue: null
1580
+ },
1581
+ {
1582
+ name: "folderPath",
1583
+ type: "string",
1584
+ required: false,
1585
+ hidden: true,
1586
+ isPrimaryKey: false,
1587
+ binding: false,
1588
+ defaultValue: null
1589
+ },
1590
+ {
1591
+ name: "name",
1592
+ type: "string",
1593
+ required: false,
1594
+ hidden: true,
1595
+ isPrimaryKey: false,
1596
+ binding: false,
1597
+ defaultValue: null
1598
+ }
1599
+ ],
1600
+ inputPattern: "mergedBody",
1601
+ inputName: "JobArguments",
1602
+ inputTarget: "bodyField",
1603
+ outputSource: null,
1604
+ outputType: "Orchestrator.RunJob",
1605
+ outputName: "Process response",
1606
+ useRelativeSource: true,
1607
+ bindingPattern: "process",
1608
+ bindingInfo: {
1609
+ resource: "process",
1610
+ resourceKeyPattern: "${metadata.key}",
1611
+ propertyAttribute: "Key",
1612
+ contextField: "releaseKey"
1613
+ },
1614
+ requiresDiscovery: true,
1615
+ isDynamic: true,
1616
+ xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
1617
+ <bpmn:extensionElements>
1618
+ <uipath:activity version="v1">
1619
+ <uipath:type value="Orchestrator.ExecuteApiWorkflowAsync" version="v1" />
1620
+ <uipath:context>
1621
+ <uipath:input name="releaseKey" value="{releaseKey}" />
1622
+ <uipath:input name="folderId" value="{folderId}" />
1623
+ <uipath:input name="folderPath" value="{folderPath}" />
1624
+ <uipath:input name="name" value="{name}" />
1625
+ </uipath:context>
1626
+ <uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
1627
+ <uipath:output name="Process response" type="Orchestrator.RunJob" var="{varId}" />
1628
+ </uipath:activity>
1629
+ </bpmn:extensionElements>
1630
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
1631
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
1632
+ </bpmn:ServiceTask>`,
1633
+ discoveryNotes: "Uses getResourceCatalogProcesses('API', search) to list available API workflows"
1634
+ },
1635
+ "Orchestrator.CreateQueueItem": {
1636
+ extensionType: "Orchestrator.CreateQueueItem",
1637
+ label: "Create queue item",
1638
+ bpmnElement: "bpmn:SendTask",
1639
+ placements: {
1640
+ activity: {
1641
+ type: "bpmn:SendTask"
1642
+ }
1643
+ },
1644
+ extensionTag: "uipath:activity",
1645
+ contextFields: [
1646
+ {
1647
+ name: "queueName",
1648
+ displayName: "Queue name",
1649
+ type: "string",
1650
+ required: false,
1651
+ hidden: true,
1652
+ isPrimaryKey: false,
1653
+ binding: false,
1654
+ defaultValue: null,
1655
+ bindingInfo: {
1656
+ resource: "queue",
1657
+ resourceKeyPattern: "${metadata.key}",
1658
+ propertyAttribute: "Key"
1659
+ }
1660
+ },
1661
+ {
1662
+ name: "folderId",
1663
+ type: "string",
1664
+ required: false,
1665
+ hidden: true,
1666
+ isPrimaryKey: false,
1667
+ binding: false,
1668
+ defaultValue: null
1669
+ },
1670
+ {
1671
+ name: "folderPath",
1672
+ type: "string",
1673
+ required: false,
1674
+ hidden: true,
1675
+ isPrimaryKey: false,
1676
+ binding: false,
1677
+ defaultValue: null
1678
+ }
1679
+ ],
1680
+ inputPattern: "mergedBody",
1681
+ inputName: "ItemData",
1682
+ inputTarget: "body",
1683
+ outputSource: null,
1684
+ outputType: "Orchestrator.CreateQueueItem",
1685
+ outputName: "response",
1686
+ useRelativeSource: true,
1687
+ bindingPattern: "queue",
1688
+ bindingInfo: {
1689
+ resource: "queue",
1690
+ resourceKeyPattern: "${metadata.key}",
1691
+ propertyAttribute: "Key",
1692
+ contextField: "queueName"
1693
+ },
1694
+ requiresDiscovery: true,
1695
+ isDynamic: true,
1696
+ xmlTemplate: `<bpmn:SendTask id="{id}" name="{name}">
1697
+ <bpmn:extensionElements>
1698
+ <uipath:activity version="v1">
1699
+ <uipath:type value="Orchestrator.CreateQueueItem" version="v1" />
1700
+ <uipath:context>
1701
+ <uipath:input name="queueName" value="{queueName}" />
1702
+ <uipath:input name="folderId" value="{folderId}" />
1703
+ <uipath:input name="folderPath" value="{folderPath}" />
1704
+ </uipath:context>
1705
+ <uipath:input name="ItemData" type="json" target="body"><![CDATA[{}]]></uipath:input>
1706
+ <uipath:output name="response" type="Orchestrator.CreateQueueItem" var="{varId}" />
1707
+ </uipath:activity>
1708
+ </bpmn:extensionElements>
1709
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
1710
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
1711
+ </bpmn:SendTask>`,
1712
+ discoveryNotes: "Uses getQueueDefinitions(serviceType, search) to list available queues"
1713
+ },
1714
+ "Orchestrator.CreateAndWaitForQueueItem": {
1715
+ extensionType: "Orchestrator.CreateAndWaitForQueueItem",
1716
+ label: "Create and wait for queue item",
1717
+ bpmnElement: "bpmn:ServiceTask",
1718
+ placements: {
1719
+ activity: {
1720
+ type: "bpmn:ServiceTask"
1721
+ }
1722
+ },
1723
+ extensionTag: "uipath:activity",
1724
+ contextFields: [
1725
+ {
1726
+ name: "queueName",
1727
+ displayName: "Queue name",
1728
+ type: "string",
1729
+ required: false,
1730
+ hidden: true,
1731
+ isPrimaryKey: false,
1732
+ binding: false,
1733
+ defaultValue: null,
1734
+ bindingInfo: {
1735
+ resource: "queue",
1736
+ resourceKeyPattern: "${metadata.key}",
1737
+ propertyAttribute: "Key"
1738
+ }
1739
+ },
1740
+ {
1741
+ name: "folderId",
1742
+ type: "string",
1743
+ required: false,
1744
+ hidden: true,
1745
+ isPrimaryKey: false,
1746
+ binding: false,
1747
+ defaultValue: null
1748
+ },
1749
+ {
1750
+ name: "folderPath",
1751
+ type: "string",
1752
+ required: false,
1753
+ hidden: true,
1754
+ isPrimaryKey: false,
1755
+ binding: false,
1756
+ defaultValue: null
1757
+ }
1758
+ ],
1759
+ inputPattern: "mergedBody",
1760
+ inputName: "ItemData",
1761
+ inputTarget: "body",
1762
+ outputSource: null,
1763
+ outputType: "Orchestrator.CreateQueueItem",
1764
+ outputName: "response",
1765
+ useRelativeSource: true,
1766
+ bindingPattern: "queue",
1767
+ bindingInfo: {
1768
+ resource: "queue",
1769
+ resourceKeyPattern: "${metadata.key}",
1770
+ propertyAttribute: "Key",
1771
+ contextField: "queueName"
1772
+ },
1773
+ requiresDiscovery: true,
1774
+ isDynamic: true,
1775
+ designSchemaSharedWith: "Orchestrator.CreateQueueItem",
1776
+ xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
1777
+ <bpmn:extensionElements>
1778
+ <uipath:activity version="v1">
1779
+ <uipath:type value="Orchestrator.CreateAndWaitForQueueItem" version="v1" />
1780
+ <uipath:context>
1781
+ <uipath:input name="queueName" value="{queueName}" />
1782
+ <uipath:input name="folderId" value="{folderId}" />
1783
+ <uipath:input name="folderPath" value="{folderPath}" />
1784
+ </uipath:context>
1785
+ <uipath:input name="ItemData" type="json" target="body"><![CDATA[{}]]></uipath:input>
1786
+ <uipath:output name="response" type="Orchestrator.CreateQueueItem" var="{varId}" />
1787
+ </uipath:activity>
1788
+ </bpmn:extensionElements>
1789
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
1790
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
1791
+ </bpmn:ServiceTask>`,
1792
+ discoveryNotes: "Uses getQueueDefinitions(serviceType, search) to list available queues"
1793
+ },
1794
+ "Orchestrator.StartAgenticProcess": {
1795
+ extensionType: "Orchestrator.StartAgenticProcess",
1796
+ label: "Start and wait for agentic process",
1797
+ bpmnElement: "bpmn:CallActivity",
1798
+ placements: {
1799
+ activity: {
1800
+ type: "bpmn:CallActivity"
1801
+ }
1802
+ },
1803
+ extensionTag: "uipath:activity",
1804
+ contextFields: [
1805
+ {
1806
+ name: "releaseKey",
1807
+ displayName: "Process",
1808
+ type: "string",
1809
+ required: false,
1810
+ hidden: true,
1811
+ isPrimaryKey: false,
1812
+ binding: false,
1813
+ defaultValue: null,
1814
+ bindingInfo: {
1815
+ resource: "process",
1816
+ resourceKeyPattern: "${metadata.key}",
1817
+ propertyAttribute: "Key"
1818
+ }
1819
+ },
1820
+ {
1821
+ name: "folderId",
1822
+ type: "string",
1823
+ required: false,
1824
+ hidden: true,
1825
+ isPrimaryKey: false,
1826
+ binding: false,
1827
+ defaultValue: null
1828
+ },
1829
+ {
1830
+ name: "folderPath",
1831
+ type: "string",
1832
+ required: false,
1833
+ hidden: true,
1834
+ isPrimaryKey: false,
1835
+ binding: false,
1836
+ defaultValue: null
1837
+ },
1838
+ {
1839
+ name: "name",
1840
+ type: "string",
1841
+ required: false,
1842
+ hidden: true,
1843
+ isPrimaryKey: false,
1844
+ binding: false,
1845
+ defaultValue: null
1846
+ }
1847
+ ],
1848
+ inputPattern: "mergedBody",
1849
+ inputName: "JobArguments",
1850
+ inputTarget: "bodyField",
1851
+ outputSource: null,
1852
+ outputType: "Orchestrator.RunJob",
1853
+ outputName: "Process response",
1854
+ useRelativeSource: true,
1855
+ bindingPattern: "process",
1856
+ bindingInfo: {
1857
+ resource: "process",
1858
+ resourceKeyPattern: "${metadata.key}",
1859
+ propertyAttribute: "Key",
1860
+ contextField: "releaseKey"
1861
+ },
1862
+ requiresDiscovery: true,
1863
+ isDynamic: true,
1864
+ xmlTemplate: `<bpmn:CallActivity id="{id}" name="{name}">
1865
+ <bpmn:extensionElements>
1866
+ <uipath:activity version="v1">
1867
+ <uipath:type value="Orchestrator.StartAgenticProcess" version="v1" />
1868
+ <uipath:context>
1869
+ <uipath:input name="releaseKey" value="{releaseKey}" />
1870
+ <uipath:input name="folderId" value="{folderId}" />
1871
+ <uipath:input name="folderPath" value="{folderPath}" />
1872
+ <uipath:input name="name" value="{name}" />
1873
+ </uipath:context>
1874
+ <uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
1875
+ <uipath:output name="Process response" type="Orchestrator.RunJob" var="{varId}" />
1876
+ </uipath:activity>
1877
+ </bpmn:extensionElements>
1878
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
1879
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
1880
+ </bpmn:CallActivity>`,
1881
+ discoveryNotes: "Uses getSupportedOrchestratorTasks('ProcessOrchestration', search, 0, 100, true) to list available agentic processes"
1882
+ },
1883
+ "Orchestrator.StartAgenticProcessAsync": {
1884
+ extensionType: "Orchestrator.StartAgenticProcessAsync",
1885
+ label: "Start agentic process",
1886
+ bpmnElement: "bpmn:CallActivity",
1887
+ placements: {
1888
+ activity: {
1889
+ type: "bpmn:CallActivity"
1890
+ }
1891
+ },
1892
+ extensionTag: "uipath:activity",
1893
+ contextFields: [
1894
+ {
1895
+ name: "releaseKey",
1896
+ displayName: "Process",
1897
+ type: "string",
1898
+ required: false,
1899
+ hidden: true,
1900
+ isPrimaryKey: false,
1901
+ binding: false,
1902
+ defaultValue: null,
1903
+ bindingInfo: {
1904
+ resource: "process",
1905
+ resourceKeyPattern: "${metadata.key}",
1906
+ propertyAttribute: "Key"
1907
+ }
1908
+ },
1909
+ {
1910
+ name: "folderId",
1911
+ type: "string",
1912
+ required: false,
1913
+ hidden: true,
1914
+ isPrimaryKey: false,
1915
+ binding: false,
1916
+ defaultValue: null
1917
+ },
1918
+ {
1919
+ name: "folderPath",
1920
+ type: "string",
1921
+ required: false,
1922
+ hidden: true,
1923
+ isPrimaryKey: false,
1924
+ binding: false,
1925
+ defaultValue: null
1926
+ },
1927
+ {
1928
+ name: "name",
1929
+ type: "string",
1930
+ required: false,
1931
+ hidden: true,
1932
+ isPrimaryKey: false,
1933
+ binding: false,
1934
+ defaultValue: null
1935
+ }
1936
+ ],
1937
+ inputPattern: "mergedBody",
1938
+ inputName: "JobArguments",
1939
+ inputTarget: "bodyField",
1940
+ outputSource: null,
1941
+ outputType: "Orchestrator.RunJob",
1942
+ outputName: "Process response",
1943
+ useRelativeSource: true,
1944
+ bindingPattern: "process",
1945
+ bindingInfo: {
1946
+ resource: "process",
1947
+ resourceKeyPattern: "${metadata.key}",
1948
+ propertyAttribute: "Key",
1949
+ contextField: "releaseKey"
1950
+ },
1951
+ requiresDiscovery: true,
1952
+ isDynamic: true,
1953
+ xmlTemplate: `<bpmn:CallActivity id="{id}" name="{name}">
1954
+ <bpmn:extensionElements>
1955
+ <uipath:activity version="v1">
1956
+ <uipath:type value="Orchestrator.StartAgenticProcessAsync" version="v1" />
1957
+ <uipath:context>
1958
+ <uipath:input name="releaseKey" value="{releaseKey}" />
1959
+ <uipath:input name="folderId" value="{folderId}" />
1960
+ <uipath:input name="folderPath" value="{folderPath}" />
1961
+ <uipath:input name="name" value="{name}" />
1962
+ </uipath:context>
1963
+ <uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
1964
+ <uipath:output name="Process response" type="Orchestrator.RunJob" var="{varId}" />
1965
+ </uipath:activity>
1966
+ </bpmn:extensionElements>
1967
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
1968
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
1969
+ </bpmn:CallActivity>`,
1970
+ discoveryNotes: "Uses getSupportedOrchestratorTasks('ProcessOrchestration', search, 0, 100, true) to list available agentic processes"
1971
+ },
1972
+ "Orchestrator.StartCaseMgmtProcess": {
1973
+ extensionType: "Orchestrator.StartCaseMgmtProcess",
1974
+ label: "Start and wait for case management",
1975
+ bpmnElement: "bpmn:CallActivity",
1976
+ placements: {
1977
+ activity: {
1978
+ type: "bpmn:CallActivity"
1979
+ }
1980
+ },
1981
+ extensionTag: "uipath:activity",
1982
+ contextFields: [
1983
+ {
1984
+ name: "releaseKey",
1985
+ displayName: "Process",
1986
+ type: "string",
1987
+ required: false,
1988
+ hidden: true,
1989
+ isPrimaryKey: false,
1990
+ binding: false,
1991
+ defaultValue: null,
1992
+ bindingInfo: {
1993
+ resource: "process",
1994
+ resourceKeyPattern: "${metadata.key}",
1995
+ propertyAttribute: "Key"
1996
+ }
1997
+ },
1998
+ {
1999
+ name: "folderId",
2000
+ type: "string",
2001
+ required: false,
2002
+ hidden: true,
2003
+ isPrimaryKey: false,
2004
+ binding: false,
2005
+ defaultValue: null
2006
+ },
2007
+ {
2008
+ name: "folderPath",
2009
+ type: "string",
2010
+ required: false,
2011
+ hidden: true,
2012
+ isPrimaryKey: false,
2013
+ binding: false,
2014
+ defaultValue: null
2015
+ },
2016
+ {
2017
+ name: "name",
2018
+ type: "string",
2019
+ required: false,
2020
+ hidden: true,
2021
+ isPrimaryKey: false,
2022
+ binding: false,
2023
+ defaultValue: null
2024
+ }
2025
+ ],
2026
+ inputPattern: "mergedBody",
2027
+ inputName: "JobArguments",
2028
+ inputTarget: "bodyField",
2029
+ outputSource: null,
2030
+ outputType: "Orchestrator.RunJob",
2031
+ outputName: "Process response",
2032
+ useRelativeSource: true,
2033
+ bindingPattern: "process",
2034
+ bindingInfo: {
2035
+ resource: "process",
2036
+ resourceKeyPattern: "${metadata.key}",
2037
+ propertyAttribute: "Key",
2038
+ contextField: "releaseKey"
2039
+ },
2040
+ requiresDiscovery: true,
2041
+ isDynamic: true,
2042
+ xmlTemplate: `<bpmn:CallActivity id="{id}" name="{name}">
2043
+ <bpmn:extensionElements>
2044
+ <uipath:activity version="v1">
2045
+ <uipath:type value="Orchestrator.StartCaseMgmtProcess" version="v1" />
2046
+ <uipath:context>
2047
+ <uipath:input name="releaseKey" value="{releaseKey}" />
2048
+ <uipath:input name="folderId" value="{folderId}" />
2049
+ <uipath:input name="folderPath" value="{folderPath}" />
2050
+ <uipath:input name="name" value="{name}" />
2051
+ </uipath:context>
2052
+ <uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
2053
+ <uipath:output name="Process response" type="Orchestrator.RunJob" var="{varId}" />
2054
+ </uipath:activity>
2055
+ </bpmn:extensionElements>
2056
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
2057
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
2058
+ </bpmn:CallActivity>`,
2059
+ discoveryNotes: "Uses getSupportedOrchestratorTasks('caseManagement', search, 0, 100, true) to list available case management processes"
2060
+ },
2061
+ "Orchestrator.StartCaseMgmtProcessAsync": {
2062
+ extensionType: "Orchestrator.StartCaseMgmtProcessAsync",
2063
+ label: "Start case management",
2064
+ bpmnElement: "bpmn:CallActivity",
2065
+ placements: {
2066
+ activity: {
2067
+ type: "bpmn:CallActivity"
2068
+ }
2069
+ },
2070
+ extensionTag: "uipath:activity",
2071
+ contextFields: [
2072
+ {
2073
+ name: "releaseKey",
2074
+ displayName: "Process",
2075
+ type: "string",
2076
+ required: false,
2077
+ hidden: true,
2078
+ isPrimaryKey: false,
2079
+ binding: false,
2080
+ defaultValue: null,
2081
+ bindingInfo: {
2082
+ resource: "process",
2083
+ resourceKeyPattern: "${metadata.key}",
2084
+ propertyAttribute: "Key"
2085
+ }
2086
+ },
2087
+ {
2088
+ name: "folderId",
2089
+ type: "string",
2090
+ required: false,
2091
+ hidden: true,
2092
+ isPrimaryKey: false,
2093
+ binding: false,
2094
+ defaultValue: null
2095
+ },
2096
+ {
2097
+ name: "folderPath",
2098
+ type: "string",
2099
+ required: false,
2100
+ hidden: true,
2101
+ isPrimaryKey: false,
2102
+ binding: false,
2103
+ defaultValue: null
2104
+ },
2105
+ {
2106
+ name: "name",
2107
+ type: "string",
2108
+ required: false,
2109
+ hidden: true,
2110
+ isPrimaryKey: false,
2111
+ binding: false,
2112
+ defaultValue: null
2113
+ }
2114
+ ],
2115
+ inputPattern: "mergedBody",
2116
+ inputName: "JobArguments",
2117
+ inputTarget: "bodyField",
2118
+ outputSource: null,
2119
+ outputType: "Orchestrator.RunJob",
2120
+ outputName: "Process response",
2121
+ useRelativeSource: true,
2122
+ bindingPattern: "process",
2123
+ bindingInfo: {
2124
+ resource: "process",
2125
+ resourceKeyPattern: "${metadata.key}",
2126
+ propertyAttribute: "Key",
2127
+ contextField: "releaseKey"
2128
+ },
2129
+ requiresDiscovery: true,
2130
+ isDynamic: true,
2131
+ xmlTemplate: `<bpmn:CallActivity id="{id}" name="{name}">
2132
+ <bpmn:extensionElements>
2133
+ <uipath:activity version="v1">
2134
+ <uipath:type value="Orchestrator.StartCaseMgmtProcessAsync" version="v1" />
2135
+ <uipath:context>
2136
+ <uipath:input name="releaseKey" value="{releaseKey}" />
2137
+ <uipath:input name="folderId" value="{folderId}" />
2138
+ <uipath:input name="folderPath" value="{folderPath}" />
2139
+ <uipath:input name="name" value="{name}" />
2140
+ </uipath:context>
2141
+ <uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
2142
+ <uipath:output name="Process response" type="Orchestrator.RunJob" var="{varId}" />
2143
+ </uipath:activity>
2144
+ </bpmn:extensionElements>
2145
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
2146
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
2147
+ </bpmn:CallActivity>`,
2148
+ discoveryNotes: "Uses getSupportedOrchestratorTasks('caseManagement', search, 0, 100, true) to list available case management processes"
2149
+ },
2150
+ "A2A.AgentExecution": {
2151
+ extensionType: "A2A.AgentExecution",
2152
+ label: "Start and wait for A2A agent",
2153
+ bpmnElement: "bpmn:ServiceTask",
2154
+ placements: {
2155
+ activity: {
2156
+ type: "bpmn:ServiceTask"
2157
+ }
2158
+ },
2159
+ extensionTag: "uipath:activity",
2160
+ contextFields: [],
2161
+ inputPattern: "mergedBody",
2162
+ inputName: "body",
2163
+ inputTarget: "body",
2164
+ outputSource: null,
2165
+ outputType: "A2A.AgentExecution",
2166
+ outputName: "a2aResponse",
2167
+ useRelativeSource: true,
2168
+ bindingPattern: "none",
2169
+ requiresDiscovery: false,
2170
+ isDynamic: true,
2171
+ xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
2172
+ <bpmn:extensionElements>
2173
+ <uipath:activity version="v1">
2174
+ <uipath:type value="A2A.AgentExecution" version="v1" />
2175
+ <uipath:input name="body" type="json" target="body"><![CDATA[{}]]></uipath:input>
2176
+ <uipath:output name="a2aResponse" type="A2A.AgentExecution" var="{varId}" />
2177
+ </uipath:activity>
2178
+ </bpmn:extensionElements>
2179
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
2180
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
2181
+ </bpmn:ServiceTask>`,
2182
+ 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).",
2183
+ 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).",
2184
+ inputFields: [
2185
+ {
2186
+ name: "agentUrl",
2187
+ displayName: "Agent URL",
2188
+ type: "string",
2189
+ required: true,
2190
+ description: "URL of the A2A agent endpoint"
2191
+ },
2192
+ {
2193
+ name: "skillId",
2194
+ displayName: "Skill ID",
2195
+ type: "string",
2196
+ required: true,
2197
+ description: "Identifier for the specific skill to invoke on the agent"
2198
+ },
2199
+ {
2200
+ name: "input",
2201
+ displayName: "Input",
2202
+ type: "string",
2203
+ required: true,
2204
+ description: "Input text/message to send to the A2A agent"
2205
+ },
2206
+ {
2207
+ name: "authToken",
2208
+ displayName: "Auth Token",
2209
+ type: "string",
2210
+ required: true,
2211
+ description: "Authentication token for the A2A agent"
2212
+ },
2213
+ {
2214
+ name: "agentName",
2215
+ displayName: "Agent Name",
2216
+ type: "string",
2217
+ required: true,
2218
+ description: "Display name of the A2A agent"
2219
+ }
2220
+ ]
2221
+ },
2222
+ "BPMN.Variables": {
2223
+ extensionType: "BPMN.Variables",
2224
+ label: "BPMN Variables",
2225
+ bpmnElement: "bpmn:Task",
2226
+ placements: {},
2227
+ extensionTag: "uipath:mapping",
2228
+ contextFields: [],
2229
+ inputPattern: "none",
2230
+ outputSource: null,
2231
+ outputType: null,
2232
+ bindingPattern: "none",
2233
+ requiresDiscovery: false,
2234
+ isDynamic: false,
2235
+ xmlTemplate: `<bpmn:Task id="{id}" name="{name}">
2236
+ <bpmn:extensionElements>
2237
+ <uipath:mapping version="v1">
2238
+ <uipath:type value="BPMN.Variables" version="v1" />
2239
+ </uipath:mapping>
2240
+ </bpmn:extensionElements>
2241
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
2242
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
2243
+ </bpmn:Task>`,
2244
+ inputNotes: "Variable mappings use uipath:mapping with direct input/output elements, not a jsonBody pattern",
2245
+ bpmnElementNotes: "Also used on bpmn:StartEvent and bpmn:EndEvent for variable mappings. On bpmn:Task with no serviceType, defaults to BPMN.Variables.",
2246
+ extensionTagNotes: "Uses uipath:mapping (not uipath:activity). createExtensionTask checks for serviceType=BPMN.Variables on StartEvent/EndEvent/Task and routes to createModdleExtensionVariableMapping."
2247
+ },
2248
+ "BPMN.ScriptTask": {
2249
+ extensionType: "BPMN.ScriptTask",
2250
+ label: "Execute script",
2251
+ bpmnElement: "bpmn:ScriptTask",
2252
+ placements: {},
2253
+ extensionTag: "uipath:mapping",
2254
+ contextFields: [],
2255
+ inputPattern: "scriptArgs",
2256
+ inputName: "args",
2257
+ inputTarget: "bodyField",
2258
+ outputSource: null,
2259
+ outputType: null,
2260
+ bindingPattern: "none",
2261
+ requiresDiscovery: false,
2262
+ isDynamic: false,
2263
+ xmlTemplate: `<bpmn:ScriptTask id="{id}" name="{name}">
2264
+ <bpmn:extensionElements>
2265
+ <uipath:mapping version="v1">
2266
+ <uipath:type value="BPMN.ScriptTask" version="v1" />
2267
+ <uipath:input name="args" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
2268
+ </uipath:mapping>
2269
+ </bpmn:extensionElements>
2270
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
2271
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
2272
+ </bpmn:ScriptTask>`,
2273
+ inputNotes: "Inputs are merged into a single json input named 'args' with target 'bodyField'. An inputSchema is created from the input variables.",
2274
+ extensionTagNotes: "bpmn:ScriptTask is routed through createModdleExtensionVariableMapping (same as BPMN.Variables). Inputs are merged into a single 'args' JSON body with inputSchema."
2275
+ },
2276
+ "Intsvc.TimerTrigger": {
2277
+ extensionType: "Intsvc.TimerTrigger",
2278
+ label: "Timer trigger",
2279
+ bpmnElement: "bpmn:StartEvent",
2280
+ placements: {},
2281
+ extensionTag: "uipath:activity",
2282
+ contextFields: [],
2283
+ inputPattern: "none",
2284
+ outputSource: ".",
2285
+ outputType: "custom",
2286
+ outputName: "result",
2287
+ useRelativeSource: false,
2288
+ bindingPattern: "none",
2289
+ requiresDiscovery: false,
2290
+ isDynamic: false,
2291
+ xmlTemplate: `<bpmn:StartEvent id="{id}" name="{name}">
2292
+ <bpmn:extensionElements>
2293
+ <uipath:activity version="v1">
2294
+ <uipath:type value="Intsvc.TimerTrigger" version="v1" />
2295
+ <uipath:output name="result" type="custom" source="." var="{varId}" />
2296
+ </uipath:activity>
2297
+ </bpmn:extensionElements>
2298
+ <bpmn:timerEventDefinition><bpmn:timeDuration xsi:type="bpmn:tFormalExpression">PT1H</bpmn:timeDuration></bpmn:timerEventDefinition>
2299
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
2300
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
2301
+ </bpmn:StartEvent>`,
2302
+ inputNotes: "No jsonBody, no input fields, no isSplitInputs in design schema",
2303
+ bpmnElementNotes: "Used via timer event definition on start events; not directly in FPS_TO_NODE_MAPPING",
2304
+ extensionTagNotes: "NOT in isEvents array, uses uipath:activity. However, isIntsvcTriggerDesignSchemaType returns true.",
2305
+ inputFields: []
2306
+ },
2307
+ "Maestro.ReceiveMessageEvent": {
2308
+ extensionType: "Maestro.ReceiveMessageEvent",
2309
+ label: "Receive internal message",
2310
+ bpmnElement: "bpmn:IntermediateCatchEvent",
2311
+ placements: {
2312
+ startEvent: {
2313
+ type: "bpmn:StartEvent",
2314
+ eventDefinition: {
2315
+ type: "bpmn:MessageEventDefinition"
2316
+ }
2317
+ },
2318
+ intermediateEvent: {
2319
+ type: "bpmn:IntermediateCatchEvent",
2320
+ eventDefinition: {
2321
+ type: "bpmn:MessageEventDefinition"
2322
+ }
2323
+ },
2324
+ boundaryEvent: {
2325
+ type: "bpmn:BoundaryEvent",
2326
+ eventDefinition: {
2327
+ type: "bpmn:MessageEventDefinition"
2328
+ }
2329
+ }
2330
+ },
2331
+ extensionTag: "uipath:event",
2332
+ contextFields: [
2333
+ {
2334
+ name: "name",
2335
+ displayName: "Message name",
2336
+ type: "string",
2337
+ required: true,
2338
+ hidden: false,
2339
+ isPrimaryKey: false,
2340
+ binding: false,
2341
+ defaultValue: null
2342
+ },
2343
+ {
2344
+ name: "_label",
2345
+ type: "string",
2346
+ required: false,
2347
+ hidden: true,
2348
+ isPrimaryKey: false,
2349
+ binding: false,
2350
+ defaultValue: null
2351
+ }
2352
+ ],
2353
+ inputPattern: "separateInputs",
2354
+ inputName: "ItemData",
2355
+ inputTarget: "body",
2356
+ outputSource: null,
2357
+ outputType: "Maestro.ReceiveMessageEvent",
2358
+ outputName: "response",
2359
+ useRelativeSource: true,
2360
+ bindingPattern: "none",
2361
+ requiresDiscovery: false,
2362
+ isDynamic: false,
2363
+ xmlTemplate: `<bpmn:IntermediateCatchEvent id="{id}" name="{name}">
2364
+ <bpmn:extensionElements>
2365
+ <uipath:event version="v1">
2366
+ <uipath:type value="Maestro.ReceiveMessageEvent" version="v1" />
2367
+ <uipath:context>
2368
+ <uipath:input name="name" value="{name}" />
2369
+ <uipath:input name="_label" value="{_label}" />
2370
+ </uipath:context>
2371
+ <uipath:input name="ItemData" type="json" target="body"><![CDATA[{}]]></uipath:input>
2372
+ <uipath:output name="response" type="Maestro.ReceiveMessageEvent" var="{varId}" />
2373
+ </uipath:event>
2374
+ </bpmn:extensionElements>
2375
+ <bpmn:messageEventDefinition />
2376
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
2377
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
2378
+ </bpmn:IntermediateCatchEvent>`,
2379
+ 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.",
2380
+ extensionTagNotes: "In isEvents array, uses uipath:event",
2381
+ inputFields: [
2382
+ {
2383
+ name: "Reference",
2384
+ displayName: "Reference",
2385
+ type: "string",
2386
+ required: true,
2387
+ hidden: false,
2388
+ isPrimaryKey: false,
2389
+ binding: false,
2390
+ defaultValue: null,
2391
+ target: "bodyField",
2392
+ description: "Correlation reference to match this receive event to its sender"
2393
+ }
2394
+ ]
2395
+ },
2396
+ "Maestro.SendMessageEvent": {
2397
+ extensionType: "Maestro.SendMessageEvent",
2398
+ label: "Send internal message",
2399
+ bpmnElement: "bpmn:IntermediateThrowEvent",
2400
+ placements: {
2401
+ intermediateEvent: {
2402
+ type: "bpmn:IntermediateThrowEvent",
2403
+ eventDefinition: {
2404
+ type: "bpmn:MessageEventDefinition"
2405
+ }
2406
+ },
2407
+ endEvent: {
2408
+ type: "bpmn:EndEvent",
2409
+ eventDefinition: {
2410
+ type: "bpmn:MessageEventDefinition"
2411
+ }
2412
+ }
2413
+ },
2414
+ extensionTag: "uipath:event",
2415
+ contextFields: [
2416
+ {
2417
+ name: "name",
2418
+ displayName: "Message name",
2419
+ type: "string",
2420
+ required: true,
2421
+ hidden: false,
2422
+ isPrimaryKey: false,
2423
+ binding: false,
2424
+ defaultValue: null
2425
+ },
2426
+ {
2427
+ name: "_label",
2428
+ type: "string",
2429
+ required: false,
2430
+ hidden: true,
2431
+ isPrimaryKey: false,
2432
+ binding: false,
2433
+ defaultValue: null
2434
+ },
2435
+ {
2436
+ name: "inputSchema",
2437
+ displayName: "Input schema",
2438
+ type: "jsonSchema",
2439
+ required: true,
2440
+ hidden: true,
2441
+ isPrimaryKey: false,
2442
+ binding: false,
2443
+ defaultValue: null
2444
+ }
2445
+ ],
2446
+ inputPattern: "splitInputsItemData",
2447
+ inputName: "ItemData",
2448
+ inputTarget: "body",
2449
+ outputSource: null,
2450
+ outputType: "Maestro.SendMessageEvent",
2451
+ outputName: "response",
2452
+ useRelativeSource: true,
2453
+ bindingPattern: "none",
2454
+ requiresDiscovery: false,
2455
+ isDynamic: false,
2456
+ xmlTemplate: `<bpmn:IntermediateThrowEvent id="{id}" name="{name}">
2457
+ <bpmn:extensionElements>
2458
+ <uipath:event version="v1">
2459
+ <uipath:type value="Maestro.SendMessageEvent" version="v1" />
2460
+ <uipath:context>
2461
+ <uipath:input name="name" value="{name}" />
2462
+ <uipath:input name="_label" value="{_label}" />
2463
+ <uipath:input name="inputSchema" value="{inputSchema}" />
2464
+ </uipath:context>
2465
+ <uipath:input name="ItemData" type="json" target="body"><![CDATA[{"Reference":"","SpecificContent":{},"Error":"","TimeToLive":""}]]></uipath:input>
2466
+ <uipath:output name="response" type="Maestro.SendMessageEvent" var="{varId}" />
2467
+ </uipath:event>
2468
+ </bpmn:extensionElements>
2469
+ <bpmn:messageEventDefinition />
2470
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
2471
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
2472
+ </bpmn:IntermediateThrowEvent>`,
2473
+ 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.",
2474
+ extensionTagNotes: "In isEvents array, uses uipath:event",
2475
+ inputFields: [
2476
+ {
2477
+ name: "Reference",
2478
+ displayName: "Reference",
2479
+ type: "string",
2480
+ required: true,
2481
+ hidden: false,
2482
+ isPrimaryKey: false,
2483
+ binding: false,
2484
+ defaultValue: null,
2485
+ target: "body",
2486
+ description: "Correlation reference to match this send event to its receiver"
2487
+ },
2488
+ {
2489
+ name: "SpecificContent",
2490
+ displayName: "Item information",
2491
+ type: "json",
2492
+ required: false,
2493
+ hidden: false,
2494
+ isPrimaryKey: false,
2495
+ binding: false,
2496
+ defaultValue: null,
2497
+ target: "body",
2498
+ description: "JSON payload with the message content"
2499
+ },
2500
+ {
2501
+ name: "TimeToLive",
2502
+ displayName: "Time to live",
2503
+ type: "duration",
2504
+ required: false,
2505
+ hidden: false,
2506
+ isPrimaryKey: false,
2507
+ binding: false,
2508
+ defaultValue: null,
2509
+ target: "body",
2510
+ description: "Duration after which the message expires if not consumed"
2511
+ }
2512
+ ]
2513
+ },
2514
+ "Maestro.CaseRulesEvaluator": {
2515
+ extensionType: "Maestro.CaseRulesEvaluator",
2516
+ label: "Case rules evaluator",
2517
+ bpmnElement: "bpmn:ServiceTask",
2518
+ placements: {},
2519
+ extensionTag: "uipath:activity",
2520
+ contextFields: [
2521
+ {
2522
+ name: "caseDeterministicRules",
2523
+ displayName: "Case deterministic rules",
2524
+ type: "json",
2525
+ required: true,
2526
+ hidden: false,
2527
+ isPrimaryKey: false,
2528
+ binding: false,
2529
+ defaultValue: null
2530
+ },
2531
+ {
2532
+ name: "caseCurrentExecutionState",
2533
+ displayName: "Case current execution state",
2534
+ type: "json",
2535
+ required: true,
2536
+ hidden: false,
2537
+ isPrimaryKey: false,
2538
+ binding: false,
2539
+ defaultValue: null
2540
+ },
2541
+ {
2542
+ name: "_label",
2543
+ type: "string",
2544
+ required: false,
2545
+ hidden: true,
2546
+ isPrimaryKey: false,
2547
+ binding: false,
2548
+ defaultValue: null
2549
+ }
2550
+ ],
2551
+ inputPattern: "mergedBody",
2552
+ inputName: "caseManagerInput",
2553
+ inputTarget: "body",
2554
+ outputSource: null,
2555
+ outputType: "Maestro.CaseRulesEvaluator",
2556
+ outputName: "schedulerOutput",
2557
+ useRelativeSource: true,
2558
+ bindingPattern: "none",
2559
+ requiresDiscovery: false,
2560
+ isDynamic: false,
2561
+ xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
2562
+ <bpmn:extensionElements>
2563
+ <uipath:activity version="v1">
2564
+ <uipath:type value="Maestro.CaseRulesEvaluator" version="v1" />
2565
+ <uipath:context>
2566
+ <uipath:input name="caseDeterministicRules" value="{caseDeterministicRules}" />
2567
+ <uipath:input name="caseCurrentExecutionState" value="{caseCurrentExecutionState}" />
2568
+ <uipath:input name="_label" value="{_label}" />
2569
+ </uipath:context>
2570
+ <uipath:input name="caseManagerInput" type="json" target="body"><![CDATA[{}]]></uipath:input>
2571
+ <uipath:output name="schedulerOutput" type="Maestro.CaseRulesEvaluator" var="{varId}" />
2572
+ </uipath:activity>
2573
+ </bpmn:extensionElements>
2574
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
2575
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
2576
+ </bpmn:ServiceTask>`,
2577
+ bpmnElementNotes: "Not in FPS_TO_NODE_MAPPING activity section; used internally for case management processes. Likely bpmn:ServiceTask or bpmn:Task."
2578
+ },
2579
+ "Maestro.CaseManagerGuardrails": {
2580
+ extensionType: "Maestro.CaseManagerGuardrails",
2581
+ label: "Case manager guardrails",
2582
+ bpmnElement: "bpmn:ServiceTask",
2583
+ placements: {},
2584
+ extensionTag: "uipath:activity",
2585
+ contextFields: [
2586
+ {
2587
+ name: "decisions",
2588
+ displayName: "Decisions",
2589
+ type: "json",
2590
+ required: true,
2591
+ hidden: false,
2592
+ isPrimaryKey: false,
2593
+ binding: false,
2594
+ defaultValue: null
2595
+ },
2596
+ {
2597
+ name: "_label",
2598
+ type: "string",
2599
+ required: false,
2600
+ hidden: true,
2601
+ isPrimaryKey: false,
2602
+ binding: false,
2603
+ defaultValue: null
2604
+ }
2605
+ ],
2606
+ inputPattern: "mergedBody",
2607
+ inputName: "body",
2608
+ inputTarget: "body",
2609
+ outputSource: null,
2610
+ outputType: "Maestro.CaseManagerGuardrails",
2611
+ outputName: "guardrailsOutput",
2612
+ useRelativeSource: true,
2613
+ bindingPattern: "none",
2614
+ requiresDiscovery: false,
2615
+ isDynamic: false,
2616
+ xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
2617
+ <bpmn:extensionElements>
2618
+ <uipath:activity version="v1">
2619
+ <uipath:type value="Maestro.CaseManagerGuardrails" version="v1" />
2620
+ <uipath:context>
2621
+ <uipath:input name="decisions" value="{decisions}" />
2622
+ <uipath:input name="_label" value="{_label}" />
2623
+ </uipath:context>
2624
+ <uipath:input name="body" type="json" target="body"><![CDATA[{}]]></uipath:input>
2625
+ <uipath:output name="guardrailsOutput" type="Maestro.CaseManagerGuardrails" var="{varId}" />
2626
+ </uipath:activity>
2627
+ </bpmn:extensionElements>
2628
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
2629
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
2630
+ </bpmn:ServiceTask>`,
2631
+ bpmnElementNotes: "Not in FPS_TO_NODE_MAPPING activity section; used internally for case management processes. Likely bpmn:ServiceTask or bpmn:Task."
2632
+ }
2633
+ },
2634
+ bpmnElements: {
2635
+ gateways: {
2636
+ "bpmn:ExclusiveGateway": {
2637
+ bpmnElement: "bpmn:ExclusiveGateway",
2638
+ category: "gateway"
2639
+ },
2640
+ "bpmn:ParallelGateway": {
2641
+ bpmnElement: "bpmn:ParallelGateway",
2642
+ category: "gateway"
2643
+ },
2644
+ "bpmn:InclusiveGateway": {
2645
+ bpmnElement: "bpmn:InclusiveGateway",
2646
+ category: "gateway"
2647
+ },
2648
+ "bpmn:ComplexGateway": {
2649
+ bpmnElement: "bpmn:ComplexGateway",
2650
+ category: "gateway"
2651
+ },
2652
+ "bpmn:EventBasedGateway": {
2653
+ bpmnElement: "bpmn:EventBasedGateway",
2654
+ category: "gateway"
2655
+ },
2656
+ "uipath.control-flow.decision": {
2657
+ bpmnElement: "uipath.control-flow.decision",
2658
+ category: "gateway"
2659
+ },
2660
+ "uipath.control-flow.switch": {
2661
+ bpmnElement: "uipath.control-flow.switch",
2662
+ category: "gateway"
2663
+ }
2664
+ },
2665
+ tasks: {
2666
+ "bpmn:Task": {
2667
+ bpmnElement: "bpmn:Task",
2668
+ category: "task"
2669
+ },
2670
+ "bpmn:UserTask": {
2671
+ bpmnElement: "bpmn:UserTask",
2672
+ category: "task"
2673
+ },
2674
+ "bpmn:ServiceTask": {
2675
+ bpmnElement: "bpmn:ServiceTask",
2676
+ category: "task"
2677
+ },
2678
+ "bpmn:SendTask": {
2679
+ bpmnElement: "bpmn:SendTask",
2680
+ category: "task"
2681
+ },
2682
+ "bpmn:ReceiveTask": {
2683
+ bpmnElement: "bpmn:ReceiveTask",
2684
+ category: "task"
2685
+ },
2686
+ "bpmn:ManualTask": {
2687
+ bpmnElement: "bpmn:ManualTask",
2688
+ category: "task"
2689
+ },
2690
+ "bpmn:BusinessRuleTask": {
2691
+ bpmnElement: "bpmn:BusinessRuleTask",
2692
+ category: "task"
2693
+ },
2694
+ "bpmn:ScriptTask": {
2695
+ bpmnElement: "bpmn:ScriptTask",
2696
+ category: "task"
2697
+ },
2698
+ "bpmn:CallActivity": {
2699
+ bpmnElement: "bpmn:CallActivity",
2700
+ category: "task"
2701
+ },
2702
+ "bpmn:SubProcess": {
2703
+ bpmnElement: "bpmn:SubProcess",
2704
+ category: "task",
2705
+ variants: [
2706
+ "collapsed",
2707
+ "expanded",
2708
+ "eventSubprocess"
2709
+ ]
2710
+ },
2711
+ "bpmn:Transaction": {
2712
+ bpmnElement: "bpmn:Transaction",
2713
+ category: "task"
2714
+ }
2715
+ },
2716
+ events: {
2717
+ "bpmn:StartEvent": {
2718
+ bpmnElement: "bpmn:StartEvent",
2719
+ category: "event",
2720
+ eventDefinitions: [
2721
+ {
2722
+ type: "none"
2723
+ },
2724
+ {
2725
+ type: "bpmn:MessageEventDefinition"
2726
+ },
2727
+ {
2728
+ type: "bpmn:TimerEventDefinition"
2729
+ },
2730
+ {
2731
+ type: "bpmn:ConditionalEventDefinition"
2732
+ },
2733
+ {
2734
+ type: "bpmn:SignalEventDefinition"
2735
+ }
2736
+ ]
2737
+ },
2738
+ "bpmn:IntermediateThrowEvent": {
2739
+ bpmnElement: "bpmn:IntermediateThrowEvent",
2740
+ category: "event",
2741
+ eventDefinitions: [
2742
+ {
2743
+ type: "none"
2744
+ },
2745
+ {
2746
+ type: "bpmn:MessageEventDefinition"
2747
+ },
2748
+ {
2749
+ type: "bpmn:EscalationEventDefinition"
2750
+ },
2751
+ {
2752
+ type: "bpmn:SignalEventDefinition"
2753
+ },
2754
+ {
2755
+ type: "bpmn:LinkEventDefinition"
2756
+ },
2757
+ {
2758
+ type: "bpmn:CompensateEventDefinition"
2759
+ }
2760
+ ]
2761
+ },
2762
+ "bpmn:IntermediateCatchEvent": {
2763
+ bpmnElement: "bpmn:IntermediateCatchEvent",
2764
+ category: "event",
2765
+ eventDefinitions: [
2766
+ {
2767
+ type: "bpmn:MessageEventDefinition"
2768
+ },
2769
+ {
2770
+ type: "bpmn:TimerEventDefinition"
2771
+ },
2772
+ {
2773
+ type: "bpmn:EscalationEventDefinition"
2774
+ },
2775
+ {
2776
+ type: "bpmn:SignalEventDefinition"
2777
+ },
2778
+ {
2779
+ type: "bpmn:ConditionalEventDefinition"
2780
+ },
2781
+ {
2782
+ type: "bpmn:LinkEventDefinition"
2783
+ },
2784
+ {
2785
+ type: "bpmn:CompensateEventDefinition"
2786
+ }
2787
+ ]
2788
+ },
2789
+ "bpmn:EndEvent": {
2790
+ bpmnElement: "bpmn:EndEvent",
2791
+ category: "event",
2792
+ eventDefinitions: [
2793
+ {
2794
+ type: "none"
2795
+ },
2796
+ {
2797
+ type: "bpmn:MessageEventDefinition"
2798
+ },
2799
+ {
2800
+ type: "bpmn:EscalationEventDefinition"
2801
+ },
2802
+ {
2803
+ type: "bpmn:ErrorEventDefinition"
2804
+ },
2805
+ {
2806
+ type: "bpmn:CompensateEventDefinition"
2807
+ },
2808
+ {
2809
+ type: "bpmn:SignalEventDefinition"
2810
+ },
2811
+ {
2812
+ type: "bpmn:TerminateEventDefinition"
2813
+ }
2814
+ ]
2815
+ },
2816
+ "bpmn:BoundaryEvent": {
2817
+ bpmnElement: "bpmn:BoundaryEvent",
2818
+ category: "event",
2819
+ eventDefinitions: [
2820
+ {
2821
+ type: "bpmn:MessageEventDefinition"
2822
+ },
2823
+ {
2824
+ type: "bpmn:TimerEventDefinition"
2825
+ },
2826
+ {
2827
+ type: "bpmn:EscalationEventDefinition"
2828
+ },
2829
+ {
2830
+ type: "bpmn:ConditionalEventDefinition"
2831
+ },
2832
+ {
2833
+ type: "bpmn:ErrorEventDefinition"
2834
+ },
2835
+ {
2836
+ type: "bpmn:SignalEventDefinition"
2837
+ },
2838
+ {
2839
+ type: "bpmn:CompensateEventDefinition"
2840
+ },
2841
+ {
2842
+ type: "bpmn:MessageEventDefinition",
2843
+ interrupting: false
2844
+ },
2845
+ {
2846
+ type: "bpmn:TimerEventDefinition",
2847
+ interrupting: false
2848
+ },
2849
+ {
2850
+ type: "bpmn:EscalationEventDefinition",
2851
+ interrupting: false
2852
+ },
2853
+ {
2854
+ type: "bpmn:ConditionalEventDefinition",
2855
+ interrupting: false
2856
+ },
2857
+ {
2858
+ type: "bpmn:SignalEventDefinition",
2859
+ interrupting: false
2860
+ }
2861
+ ]
2862
+ }
2863
+ },
2864
+ data: {
2865
+ "bpmn:DataStoreReference": {
2866
+ bpmnElement: "bpmn:DataStoreReference",
2867
+ category: "data"
2868
+ },
2869
+ "bpmn:DataObjectReference": {
2870
+ bpmnElement: "bpmn:DataObjectReference",
2871
+ category: "data"
2872
+ }
2873
+ },
2874
+ participants: {
2875
+ "bpmn:Participant": {
2876
+ bpmnElement: "bpmn:Participant",
2877
+ category: "participant"
2878
+ }
2879
+ },
2880
+ uipathShortcuts: {
2881
+ "uipath.agent": {
2882
+ bpmnElement: "uipath.agent",
2883
+ category: "uipathShortcut"
2884
+ },
2885
+ "uipath.human-in-the-loop": {
2886
+ bpmnElement: "uipath.human-in-the-loop",
2887
+ category: "uipathShortcut"
2888
+ },
2889
+ "uipath.api-workflow": {
2890
+ bpmnElement: "uipath.api-workflow",
2891
+ category: "uipathShortcut"
2892
+ },
2893
+ "uipath.process-orchestration": {
2894
+ bpmnElement: "uipath.process-orchestration",
2895
+ category: "uipathShortcut"
2896
+ },
2897
+ "uipath.rpa-workflow": {
2898
+ bpmnElement: "uipath.rpa-workflow",
2899
+ category: "uipathShortcut"
2900
+ },
2901
+ "uipath.connector-activity": {
2902
+ bpmnElement: "uipath.connector-activity",
2903
+ category: "uipathShortcut"
2904
+ },
2905
+ "uipath.connector-trigger": {
2906
+ bpmnElement: "uipath.connector-trigger",
2907
+ category: "uipathShortcut"
2908
+ },
2909
+ "uipath.http-request": {
2910
+ bpmnElement: "uipath.http-request",
2911
+ category: "uipathShortcut"
2912
+ },
2913
+ "uipath.timer-activity": {
2914
+ bpmnElement: "uipath.timer-activity",
2915
+ category: "uipathShortcut",
2916
+ eventDefinition: "bpmn:TimerEventDefinition"
2917
+ },
2918
+ "uipath.timer-trigger": {
2919
+ bpmnElement: "uipath.timer-trigger",
2920
+ category: "uipathShortcut",
2921
+ eventDefinition: "bpmn:TimerEventDefinition"
2922
+ }
2923
+ }
2924
+ },
2925
+ serializationRules: {
2926
+ extensionTagResolution: {
2927
+ description: "How the frontend determines which XML extension tag to use",
2928
+ rules: [
2929
+ "If serviceType is in isEvents array [Intsvc.WaitForEvent, Intsvc.EventTrigger, Maestro.ReceiveMessageEvent, Maestro.SendMessageEvent] => uipath:event",
2930
+ "If serviceType is BPMN.Variables on bpmn:StartEvent, bpmn:EndEvent, or bpmn:Task => uipath:mapping",
2931
+ "If nodeType is bpmn:ScriptTask or bpmn:SubProcess => uipath:mapping",
2932
+ "Otherwise => uipath:activity"
2933
+ ]
2934
+ },
2935
+ isEventsArray: [
2936
+ "Intsvc.WaitForEvent",
2937
+ "Intsvc.EventTrigger",
2938
+ "Maestro.ReceiveMessageEvent",
2939
+ "Maestro.SendMessageEvent"
2940
+ ],
2941
+ isExecutionArray: [
2942
+ "Intsvc.ActivityExecution",
2943
+ "Intsvc.AsyncExecution",
2944
+ "Intsvc.SyncAgentExecution",
2945
+ "Intsvc.AsyncAgentExecution",
2946
+ "Intsvc.SyncWorkflowExecution",
2947
+ "Intsvc.AsyncWorkflowExecution",
2948
+ "Intsvc.UnifiedHttpRequest"
2949
+ ],
2950
+ isSplitInputsEventsArray: [
2951
+ "Maestro.SendMessageEvent"
2952
+ ]
2953
+ }
2954
+ };
2955
+
2956
+ // src/manifest/bpmn-spec.ts
2957
+ var BPMN_SPEC = bpmn_spec_default;
2958
+ var STATIC_UIPATH_EXTENSION_TAG_NAMES = [
2959
+ "binding",
2960
+ "bindings",
2961
+ "caseManagement",
2962
+ "context",
2963
+ "entryPointId",
2964
+ "input",
2965
+ "inputOutput",
2966
+ "inputSchema",
2967
+ "intsvcActivityConfig",
2968
+ "loopCharacteristics",
2969
+ "migrationVersion",
2970
+ "output",
2971
+ "retry",
2972
+ "scriptVersion",
2973
+ "tag",
2974
+ "tags",
2975
+ "type",
2976
+ "variables"
2977
+ ];
2978
+ var SUPPORTED_UIPATH_EXTENSION_TAG_NAMES = Object.freeze([
2979
+ ...new Set([
2980
+ ...Object.values(BPMN_SPEC.extensionTypes).map((entry) => entry.extensionTag.replace(/^uipath:/, "")),
2981
+ ...STATIC_UIPATH_EXTENSION_TAG_NAMES
2982
+ ])
2983
+ ].sort());
2984
+ var SUPPORTED_UIPATH_EXTENSION_TAGS = Object.freeze(SUPPORTED_UIPATH_EXTENSION_TAG_NAMES.map((tag) => `uipath:${tag}`));
2985
+ export {
2986
+ SUPPORTED_UIPATH_EXTENSION_TAG_NAMES,
2987
+ SUPPORTED_UIPATH_EXTENSION_TAGS,
2988
+ BPMN_SPEC
2989
+ };