@uipath/maestro-sdk 1.203.0-preview.205 → 1.204.0-preview.206

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.
@@ -5553,9 +5553,79 @@ Parser.acorn = {
5553
5553
  lineBreakG,
5554
5554
  nonASCIIwhitespace
5555
5555
  };
5556
+
5557
+ // src/jint-globals.ts
5558
+ var JINT_GLOBALS = [
5559
+ "AggregateError",
5560
+ "Array",
5561
+ "ArrayBuffer",
5562
+ "AsyncDisposableStack",
5563
+ "Atomics",
5564
+ "BigInt",
5565
+ "BigInt64Array",
5566
+ "BigUint64Array",
5567
+ "Boolean",
5568
+ "DataView",
5569
+ "Date",
5570
+ "DisposableStack",
5571
+ "Error",
5572
+ "EvalError",
5573
+ "FinalizationRegistry",
5574
+ "Float16Array",
5575
+ "Float32Array",
5576
+ "Float64Array",
5577
+ "Function",
5578
+ "Generator",
5579
+ "Infinity",
5580
+ "Int16Array",
5581
+ "Int32Array",
5582
+ "Int8Array",
5583
+ "JSON",
5584
+ "Map",
5585
+ "Math",
5586
+ "NaN",
5587
+ "Number",
5588
+ "Object",
5589
+ "Promise",
5590
+ "Proxy",
5591
+ "RangeError",
5592
+ "ReferenceError",
5593
+ "Reflect",
5594
+ "RegExp",
5595
+ "Set",
5596
+ "ShadowRealm",
5597
+ "SharedArrayBuffer",
5598
+ "String",
5599
+ "SuppressedError",
5600
+ "Symbol",
5601
+ "SyntaxError",
5602
+ "TypeError",
5603
+ "TypedArray",
5604
+ "URIError",
5605
+ "Uint16Array",
5606
+ "Uint32Array",
5607
+ "Uint8Array",
5608
+ "Uint8ClampedArray",
5609
+ "WeakMap",
5610
+ "WeakRef",
5611
+ "WeakSet",
5612
+ "decodeURI",
5613
+ "decodeURIComponent",
5614
+ "encodeURI",
5615
+ "encodeURIComponent",
5616
+ "escape",
5617
+ "eval",
5618
+ "globalThis",
5619
+ "isFinite",
5620
+ "isNaN",
5621
+ "parseFloat",
5622
+ "parseInt",
5623
+ "undefined",
5624
+ "unescape"
5625
+ ];
5556
5626
  // src/manifest/bpmn-spec.json
5557
5627
  var bpmn_spec_default = {
5558
- version: "1.0.0",
5628
+ version: "1.1.0",
5559
5629
  source: "PO.Frontend registry generator (2026-04-14) + CLI notes",
5560
5630
  extractedFrom: {
5561
5631
  designSchemaUtils: "src/services/serialization/design-schema/design-schema-utils.ts",
@@ -5851,40 +5921,36 @@ var bpmn_spec_default = {
5851
5921
  extensionTag: "uipath:activity",
5852
5922
  contextFields: [
5853
5923
  {
5854
- name: "releaseKey",
5855
- displayName: "Process",
5924
+ name: "name",
5925
+ displayName: "Business rule",
5856
5926
  type: "string",
5857
- required: false,
5927
+ required: true,
5858
5928
  hidden: true,
5859
5929
  isPrimaryKey: false,
5860
- binding: false,
5930
+ binding: true,
5861
5931
  defaultValue: null,
5862
5932
  bindingInfo: {
5863
- resource: "process",
5933
+ resource: "BusinessRule",
5864
5934
  resourceKeyPattern: "${metadata.key}",
5865
- propertyAttribute: "Key"
5935
+ propertyAttribute: "name"
5866
5936
  }
5867
5937
  },
5868
- {
5869
- name: "folderId",
5870
- type: "string",
5871
- required: false,
5872
- hidden: true,
5873
- isPrimaryKey: false,
5874
- binding: false,
5875
- defaultValue: null
5876
- },
5877
5938
  {
5878
5939
  name: "folderPath",
5879
5940
  type: "string",
5880
- required: false,
5941
+ required: true,
5881
5942
  hidden: true,
5882
5943
  isPrimaryKey: false,
5883
- binding: false,
5884
- defaultValue: null
5944
+ binding: true,
5945
+ defaultValue: null,
5946
+ bindingInfo: {
5947
+ resource: "BusinessRule",
5948
+ resourceKeyPattern: "${metadata.key}",
5949
+ propertyAttribute: "folderPath"
5950
+ }
5885
5951
  },
5886
5952
  {
5887
- name: "name",
5953
+ name: "_label",
5888
5954
  type: "string",
5889
5955
  required: false,
5890
5956
  hidden: true,
@@ -5897,36 +5963,39 @@ var bpmn_spec_default = {
5897
5963
  inputName: "JobArguments",
5898
5964
  inputTarget: "bodyField",
5899
5965
  outputSource: null,
5900
- outputType: "Orchestrator.BusinessRules",
5901
- outputName: "Execute business rule [Preview]",
5966
+ outputType: null,
5902
5967
  useRelativeSource: true,
5903
5968
  bindingPattern: "businessRule",
5904
5969
  bindingInfo: {
5905
- resource: "process",
5970
+ resource: "BusinessRule",
5906
5971
  resourceKeyPattern: "${metadata.key}",
5907
- propertyAttribute: "Key",
5908
- contextField: "releaseKey"
5972
+ propertyAttribute: "name",
5973
+ contextField: "name"
5909
5974
  },
5910
5975
  requiresDiscovery: true,
5911
5976
  isDynamic: true,
5912
5977
  xmlTemplate: `<bpmn:BusinessRuleTask id="{id}" name="{name}">
5913
5978
  <bpmn:extensionElements>
5914
5979
  <uipath:activity version="v1">
5915
- <uipath:type value="Orchestrator.BusinessRules" version="v1" />
5980
+ <uipath:type value="Orchestrator.BusinessRules" version="v2" />
5916
5981
  <uipath:context>
5917
- <uipath:input name="releaseKey" type="string" value="{releaseKey}" />
5918
- <uipath:input name="folderId" type="string" value="{folderId}" />
5919
- <uipath:input name="folderPath" type="string" value="{folderPath}" />
5920
- <uipath:input name="name" type="string" value="{name}" />
5982
+ <uipath:input name="name" type="string" value="=bindings.{nameBindingId}" />
5983
+ <uipath:input name="folderPath" type="string" value="=bindings.{folderPathBindingId}" />
5984
+ <uipath:input name="_label" type="string" value="{_label}" />
5985
+ <uipath:inputSchema type="jsonSchema"><![CDATA[{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{},"required":[]}]]></uipath:inputSchema>
5921
5986
  </uipath:context>
5922
5987
  <uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
5923
- <uipath:output name="Execute business rule [Preview]" type="Orchestrator.BusinessRules" var="{varId}" />
5988
+ <uipath:output name="Error" type="jsonSchema" source="=Error" var="{errorVarId}" />
5989
+ <uipath:output name="{outputName}" type="{outputType}" source="={outputName}" var="{outputVarId}" />
5924
5990
  </uipath:activity>
5925
5991
  </bpmn:extensionElements>
5926
5992
  <bpmn:incoming>{incomingEdge}</bpmn:incoming>
5927
5993
  <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
5928
5994
  </bpmn:BusinessRuleTask>`,
5929
- discoveryNotes: "Uses getOrchestratorBusinessRules() to list available business rules"
5995
+ discoveryNotes: "Uses getOrchestratorBusinessRules() to list available business rules",
5996
+ inputNotes: "isSplitInputs=true in design schema: the canvas shows one input per rule argument and serialization merges them into the single JobArguments JSON body. The uipath:context inputSchema lists each argument with its type, and its required array names the required ones.",
5997
+ contextFieldNotes: `name and folderPath each point to a root binding with resource="BusinessRule" and propertyAttribute name or folderPath; the engine runs the rule by these two. resourceKey is the rule's entity key, which for a rule in the solution folder is its name; the name and folderPath defaults are the rule name and its folder path. The folderPath binding default is an empty string when the rule lives in the running job's folder. _label holds the rule name as a plain value.`,
5998
+ outputNotes: "One uipath:output per rule output, named after the output with source =<output name>, plus an Error output (type jsonSchema, source =Error). Each var names a process variable declared as uipath:inputOutput on this element."
5930
5999
  },
5931
6000
  "Intsvc.ActivityExecution": {
5932
6001
  extensionType: "Intsvc.ActivityExecution",
@@ -7229,6 +7298,95 @@ var bpmn_spec_default = {
7229
7298
  </bpmn:ServiceTask>`,
7230
7299
  discoveryNotes: "Uses getResourceCatalogProcesses('API', search) to list available API workflows"
7231
7300
  },
7301
+ "Orchestrator.ExecuteFunctionAsync": {
7302
+ extensionType: "Orchestrator.ExecuteFunctionAsync",
7303
+ label: "Start and wait for Function [Preview]",
7304
+ bpmnElement: "bpmn:ServiceTask",
7305
+ placements: {
7306
+ activity: {
7307
+ type: "bpmn:ServiceTask"
7308
+ }
7309
+ },
7310
+ extensionTag: "uipath:activity",
7311
+ contextFields: [
7312
+ {
7313
+ name: "releaseKey",
7314
+ displayName: "Function",
7315
+ type: "string",
7316
+ required: false,
7317
+ hidden: true,
7318
+ isPrimaryKey: false,
7319
+ binding: false,
7320
+ defaultValue: null,
7321
+ bindingInfo: {
7322
+ resource: "process",
7323
+ resourceKeyPattern: "${metadata.key}",
7324
+ propertyAttribute: "Key"
7325
+ }
7326
+ },
7327
+ {
7328
+ name: "folderId",
7329
+ type: "string",
7330
+ required: false,
7331
+ hidden: true,
7332
+ isPrimaryKey: false,
7333
+ binding: false,
7334
+ defaultValue: null
7335
+ },
7336
+ {
7337
+ name: "folderPath",
7338
+ type: "string",
7339
+ required: false,
7340
+ hidden: true,
7341
+ isPrimaryKey: false,
7342
+ binding: false,
7343
+ defaultValue: null
7344
+ },
7345
+ {
7346
+ name: "name",
7347
+ type: "string",
7348
+ required: false,
7349
+ hidden: true,
7350
+ isPrimaryKey: false,
7351
+ binding: false,
7352
+ defaultValue: null
7353
+ }
7354
+ ],
7355
+ inputPattern: "mergedBody",
7356
+ inputName: "JobArguments",
7357
+ inputTarget: "bodyField",
7358
+ outputSource: null,
7359
+ outputType: "Orchestrator.RunJob",
7360
+ outputName: "Process response",
7361
+ useRelativeSource: true,
7362
+ bindingPattern: "process",
7363
+ bindingInfo: {
7364
+ resource: "process",
7365
+ resourceKeyPattern: "${metadata.key}",
7366
+ propertyAttribute: "Key",
7367
+ contextField: "releaseKey"
7368
+ },
7369
+ requiresDiscovery: true,
7370
+ isDynamic: true,
7371
+ xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
7372
+ <bpmn:extensionElements>
7373
+ <uipath:activity version="v1">
7374
+ <uipath:type value="Orchestrator.ExecuteFunctionAsync" version="v2" />
7375
+ <uipath:context>
7376
+ <uipath:input name="releaseKey" type="string" value="{releaseKey}" />
7377
+ <uipath:input name="folderId" type="string" value="{folderId}" />
7378
+ <uipath:input name="folderPath" type="string" value="{folderPath}" />
7379
+ <uipath:input name="name" type="string" value="{name}" />
7380
+ </uipath:context>
7381
+ <uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
7382
+ <uipath:output name="Process response" type="Orchestrator.RunJob" var="{varId}" />
7383
+ </uipath:activity>
7384
+ </bpmn:extensionElements>
7385
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
7386
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
7387
+ </bpmn:ServiceTask>`,
7388
+ discoveryNotes: "Uses getResourceCatalogProcesses('function', search) to list available Functions. Studio Web bindings use the Function process resource subtype."
7389
+ },
7232
7390
  "Orchestrator.CreateQueueItem": {
7233
7391
  extensionType: "Orchestrator.CreateQueueItem",
7234
7392
  label: "Create queue item",
@@ -7535,9 +7693,9 @@ var bpmn_spec_default = {
7535
7693
  inputName: "JobArguments",
7536
7694
  inputTarget: "bodyField",
7537
7695
  outputSource: null,
7538
- outputType: "Orchestrator.RunJob",
7539
- outputName: "Process response",
7540
- useRelativeSource: true,
7696
+ outputType: null,
7697
+ outputName: null,
7698
+ outputNotes: "Fire-and-forget: the canvas clears the process outputs for this type (getAgenticProcessInputOutputValues sets outputs to [] for Orchestrator.StartAgenticProcessAsync), so the payload carries none of the entry-point outputs its sync sibling returns. A process picked straight from Orchestrator (no solutionResourceKey) can still contribute task-definition outputs, which is why this type stays on the canvas-owned dynamic path. Use Orchestrator.StartAgenticProcess when you need the job result.",
7541
7699
  bindingPattern: "process",
7542
7700
  bindingInfo: {
7543
7701
  resource: "process",
@@ -7558,7 +7716,6 @@ var bpmn_spec_default = {
7558
7716
  <uipath:input name="name" type="string" value="{name}" />
7559
7717
  </uipath:context>
7560
7718
  <uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
7561
- <uipath:output name="Process response" type="Orchestrator.RunJob" var="{varId}" />
7562
7719
  </uipath:activity>
7563
7720
  </bpmn:extensionElements>
7564
7721
  <bpmn:incoming>{incomingEdge}</bpmn:incoming>
@@ -7713,9 +7870,9 @@ var bpmn_spec_default = {
7713
7870
  inputName: "JobArguments",
7714
7871
  inputTarget: "bodyField",
7715
7872
  outputSource: null,
7716
- outputType: "Orchestrator.RunJob",
7717
- outputName: "Process response",
7718
- useRelativeSource: true,
7873
+ outputType: null,
7874
+ outputName: null,
7875
+ outputNotes: "Fire-and-forget: the canvas clears the process outputs for this type (getAgenticProcessInputOutputValues sets outputs to [] for Orchestrator.StartCaseMgmtProcessAsync), so the payload carries none of the entry-point outputs its sync sibling returns. A process picked straight from Orchestrator (no solutionResourceKey) can still contribute task-definition outputs, which is why this type stays on the canvas-owned dynamic path. Use Orchestrator.StartCaseMgmtProcess when you need the job result.",
7719
7876
  bindingPattern: "process",
7720
7877
  bindingInfo: {
7721
7878
  resource: "process",
@@ -7736,7 +7893,6 @@ var bpmn_spec_default = {
7736
7893
  <uipath:input name="name" type="string" value="{name}" />
7737
7894
  </uipath:context>
7738
7895
  <uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
7739
- <uipath:output name="Process response" type="Orchestrator.RunJob" var="{varId}" />
7740
7896
  </uipath:activity>
7741
7897
  </bpmn:extensionElements>
7742
7898
  <bpmn:incoming>{incomingEdge}</bpmn:incoming>
@@ -7744,55 +7900,232 @@ var bpmn_spec_default = {
7744
7900
  </bpmn:CallActivity>`,
7745
7901
  discoveryNotes: "Uses getSupportedOrchestratorTasks('caseManagement', search, 0, 100, true) to list available case management processes"
7746
7902
  },
7747
- "A2A.AgentExecution": {
7748
- extensionType: "A2A.AgentExecution",
7749
- label: "Start and wait for A2A agent",
7750
- bpmnElement: "bpmn:ServiceTask",
7903
+ "Orchestrator.StartFlowProcess": {
7904
+ extensionType: "Orchestrator.StartFlowProcess",
7905
+ label: "Start and wait for Maestro Flow",
7906
+ bpmnElement: "bpmn:CallActivity",
7751
7907
  placements: {
7752
7908
  activity: {
7753
- type: "bpmn:ServiceTask"
7909
+ type: "bpmn:CallActivity"
7754
7910
  }
7755
7911
  },
7756
7912
  extensionTag: "uipath:activity",
7757
- contextFields: [],
7758
- inputPattern: "mergedBody",
7759
- inputName: "body",
7760
- inputTarget: "body",
7761
- outputSource: null,
7762
- outputType: "A2A.AgentExecution",
7763
- outputName: "a2aResponse",
7764
- useRelativeSource: true,
7765
- bindingPattern: "none",
7766
- requiresDiscovery: false,
7767
- isDynamic: true,
7768
- xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
7769
- <bpmn:extensionElements>
7770
- <uipath:activity version="v1">
7771
- <uipath:type value="A2A.AgentExecution" version="v1" />
7772
- <uipath:input name="body" type="json" target="body"><![CDATA[{}]]></uipath:input>
7773
- <uipath:output name="a2aResponse" type="A2A.AgentExecution" var="{varId}" />
7774
- </uipath:activity>
7775
- </bpmn:extensionElements>
7776
- <bpmn:incoming>{incomingEdge}</bpmn:incoming>
7777
- <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
7778
- </bpmn:ServiceTask>`,
7779
- 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).",
7780
- 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).",
7781
- inputFields: [
7913
+ contextFields: [
7782
7914
  {
7783
- name: "agentUrl",
7784
- displayName: "Agent URL",
7915
+ name: "releaseKey",
7916
+ displayName: "Maestro Flow",
7785
7917
  type: "string",
7786
- required: true,
7787
- description: "URL of the A2A agent endpoint"
7918
+ required: false,
7919
+ hidden: true,
7920
+ isPrimaryKey: false,
7921
+ binding: false,
7922
+ defaultValue: null,
7923
+ bindingInfo: {
7924
+ resource: "process",
7925
+ resourceKeyPattern: "${metadata.key}",
7926
+ propertyAttribute: "Key"
7927
+ }
7788
7928
  },
7789
7929
  {
7790
- name: "skillId",
7791
- displayName: "Skill ID",
7930
+ name: "folderId",
7792
7931
  type: "string",
7793
- required: true,
7794
- description: "Identifier for the specific skill to invoke on the agent"
7795
- },
7932
+ required: false,
7933
+ hidden: true,
7934
+ isPrimaryKey: false,
7935
+ binding: false,
7936
+ defaultValue: null
7937
+ },
7938
+ {
7939
+ name: "folderPath",
7940
+ type: "string",
7941
+ required: false,
7942
+ hidden: true,
7943
+ isPrimaryKey: false,
7944
+ binding: false,
7945
+ defaultValue: null
7946
+ },
7947
+ {
7948
+ name: "name",
7949
+ type: "string",
7950
+ required: false,
7951
+ hidden: true,
7952
+ isPrimaryKey: false,
7953
+ binding: false,
7954
+ defaultValue: null
7955
+ }
7956
+ ],
7957
+ inputPattern: "mergedBody",
7958
+ inputName: "JobArguments",
7959
+ inputTarget: "bodyField",
7960
+ outputSource: null,
7961
+ outputType: "Orchestrator.RunJob",
7962
+ outputName: "Process response",
7963
+ useRelativeSource: true,
7964
+ bindingPattern: "process",
7965
+ bindingInfo: {
7966
+ resource: "process",
7967
+ resourceKeyPattern: "${metadata.key}",
7968
+ propertyAttribute: "Key",
7969
+ contextField: "releaseKey"
7970
+ },
7971
+ requiresDiscovery: true,
7972
+ isDynamic: true,
7973
+ xmlTemplate: `<bpmn:CallActivity id="{id}" name="{name}">
7974
+ <bpmn:extensionElements>
7975
+ <uipath:activity version="v1">
7976
+ <uipath:type value="Orchestrator.StartFlowProcess" version="v2" />
7977
+ <uipath:context>
7978
+ <uipath:input name="releaseKey" type="string" value="{releaseKey}" />
7979
+ <uipath:input name="folderId" type="string" value="{folderId}" />
7980
+ <uipath:input name="folderPath" type="string" value="{folderPath}" />
7981
+ <uipath:input name="name" type="string" value="{name}" />
7982
+ </uipath:context>
7983
+ <uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
7984
+ <uipath:output name="Process response" type="Orchestrator.RunJob" var="{varId}" />
7985
+ </uipath:activity>
7986
+ </bpmn:extensionElements>
7987
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
7988
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
7989
+ </bpmn:CallActivity>`,
7990
+ discoveryNotes: "Uses getSupportedOrchestratorTasks('Flow', search, 0, 100, true) to list available flow processes. Studio Web bindings use the Flow process resource subtype."
7991
+ },
7992
+ "Orchestrator.StartFlowProcessAsync": {
7993
+ extensionType: "Orchestrator.StartFlowProcessAsync",
7994
+ label: "Start Maestro Flow",
7995
+ bpmnElement: "bpmn:CallActivity",
7996
+ placements: {
7997
+ activity: {
7998
+ type: "bpmn:CallActivity"
7999
+ }
8000
+ },
8001
+ extensionTag: "uipath:activity",
8002
+ contextFields: [
8003
+ {
8004
+ name: "releaseKey",
8005
+ displayName: "Maestro Flow",
8006
+ type: "string",
8007
+ required: false,
8008
+ hidden: true,
8009
+ isPrimaryKey: false,
8010
+ binding: false,
8011
+ defaultValue: null,
8012
+ bindingInfo: {
8013
+ resource: "process",
8014
+ resourceKeyPattern: "${metadata.key}",
8015
+ propertyAttribute: "Key"
8016
+ }
8017
+ },
8018
+ {
8019
+ name: "folderId",
8020
+ type: "string",
8021
+ required: false,
8022
+ hidden: true,
8023
+ isPrimaryKey: false,
8024
+ binding: false,
8025
+ defaultValue: null
8026
+ },
8027
+ {
8028
+ name: "folderPath",
8029
+ type: "string",
8030
+ required: false,
8031
+ hidden: true,
8032
+ isPrimaryKey: false,
8033
+ binding: false,
8034
+ defaultValue: null
8035
+ },
8036
+ {
8037
+ name: "name",
8038
+ type: "string",
8039
+ required: false,
8040
+ hidden: true,
8041
+ isPrimaryKey: false,
8042
+ binding: false,
8043
+ defaultValue: null
8044
+ }
8045
+ ],
8046
+ inputPattern: "mergedBody",
8047
+ inputName: "JobArguments",
8048
+ inputTarget: "bodyField",
8049
+ outputSource: null,
8050
+ outputType: null,
8051
+ outputName: null,
8052
+ outputNotes: "Fire-and-forget: the canvas clears the process outputs for this type (getAgenticProcessInputOutputValues sets outputs to [] for Orchestrator.StartFlowProcessAsync), so the payload carries none of the entry-point outputs its sync sibling returns. A process picked straight from Orchestrator (no solutionResourceKey) can still contribute task-definition outputs, which is why this type stays on the canvas-owned dynamic path. Use Orchestrator.StartFlowProcess when you need the job result.",
8053
+ bindingPattern: "process",
8054
+ bindingInfo: {
8055
+ resource: "process",
8056
+ resourceKeyPattern: "${metadata.key}",
8057
+ propertyAttribute: "Key",
8058
+ contextField: "releaseKey"
8059
+ },
8060
+ requiresDiscovery: true,
8061
+ isDynamic: true,
8062
+ xmlTemplate: `<bpmn:CallActivity id="{id}" name="{name}">
8063
+ <bpmn:extensionElements>
8064
+ <uipath:activity version="v1">
8065
+ <uipath:type value="Orchestrator.StartFlowProcessAsync" version="v2" />
8066
+ <uipath:context>
8067
+ <uipath:input name="releaseKey" type="string" value="{releaseKey}" />
8068
+ <uipath:input name="folderId" type="string" value="{folderId}" />
8069
+ <uipath:input name="folderPath" type="string" value="{folderPath}" />
8070
+ <uipath:input name="name" type="string" value="{name}" />
8071
+ </uipath:context>
8072
+ <uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
8073
+ </uipath:activity>
8074
+ </bpmn:extensionElements>
8075
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
8076
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
8077
+ </bpmn:CallActivity>`,
8078
+ discoveryNotes: "Uses getSupportedOrchestratorTasks('Flow', search, 0, 100, true) to list available flow processes."
8079
+ },
8080
+ "A2A.AgentExecution": {
8081
+ extensionType: "A2A.AgentExecution",
8082
+ label: "Start and wait for A2A agent",
8083
+ bpmnElement: "bpmn:ServiceTask",
8084
+ placements: {
8085
+ activity: {
8086
+ type: "bpmn:ServiceTask"
8087
+ }
8088
+ },
8089
+ extensionTag: "uipath:activity",
8090
+ contextFields: [],
8091
+ inputPattern: "mergedBody",
8092
+ inputName: "body",
8093
+ inputTarget: "body",
8094
+ outputSource: null,
8095
+ outputType: "A2A.AgentExecution",
8096
+ outputName: "a2aResponse",
8097
+ useRelativeSource: true,
8098
+ bindingPattern: "none",
8099
+ requiresDiscovery: false,
8100
+ isDynamic: true,
8101
+ xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
8102
+ <bpmn:extensionElements>
8103
+ <uipath:activity version="v1">
8104
+ <uipath:type value="A2A.AgentExecution" version="v1" />
8105
+ <uipath:input name="body" type="json" target="body"><![CDATA[{"agentUrl":"{agentUrl}","skillId":"{skillId}","input":"{input}","authToken":"{authToken}","agentName":"{agentName}"}]]></uipath:input>
8106
+ <uipath:output name="a2aResponse" type="A2A.AgentExecution" var="{varId}" />
8107
+ </uipath:activity>
8108
+ </bpmn:extensionElements>
8109
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
8110
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
8111
+ </bpmn:ServiceTask>`,
8112
+ inputFieldNotes: "Auto-initialized by A2AFPSFormControl on load. Version is set to v2. Outputs include a2aResponse (jsonSchema with A2A response schema, source=result) and Error (any, source=Error). authToken should be an expression or variable (for example =vars.authToken), never a literal token.",
8113
+ 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).",
8114
+ inputFields: [
8115
+ {
8116
+ name: "agentUrl",
8117
+ displayName: "Agent URL",
8118
+ type: "string",
8119
+ required: true,
8120
+ description: "URL of the A2A agent endpoint"
8121
+ },
8122
+ {
8123
+ name: "skillId",
8124
+ displayName: "Skill ID",
8125
+ type: "string",
8126
+ required: true,
8127
+ description: "Identifier for the specific skill to invoke on the agent"
8128
+ },
7796
8129
  {
7797
8130
  name: "input",
7798
8131
  displayName: "Input",
@@ -7870,6 +8203,95 @@ var bpmn_spec_default = {
7870
8203
  inputNotes: "Inputs are merged into a single json input named 'args' with target 'bodyField'. An inputSchema is created from the input variables.",
7871
8204
  extensionTagNotes: "bpmn:ScriptTask is routed through createModdleExtensionVariableMapping (same as BPMN.Variables). Inputs are merged into a single 'args' JSON body with inputSchema."
7872
8205
  },
8206
+ "ConversationalService.QueueServiceMessage": {
8207
+ extensionType: "ConversationalService.QueueServiceMessage",
8208
+ label: "Queue service message",
8209
+ bpmnElement: "bpmn:ServiceTask",
8210
+ placements: {
8211
+ activity: {
8212
+ type: "bpmn:ServiceTask"
8213
+ }
8214
+ },
8215
+ extensionTag: "uipath:activity",
8216
+ contextFields: [
8217
+ {
8218
+ name: "_label",
8219
+ type: "string",
8220
+ required: false,
8221
+ hidden: true,
8222
+ isPrimaryKey: false,
8223
+ binding: false,
8224
+ defaultValue: null
8225
+ }
8226
+ ],
8227
+ inputPattern: "mergedBody",
8228
+ inputName: "body",
8229
+ inputTarget: "body",
8230
+ outputSource: "=response",
8231
+ outputType: "jsonSchema",
8232
+ outputName: "response",
8233
+ additionalOutputs: [
8234
+ {
8235
+ name: "Error",
8236
+ type: "jsonSchema",
8237
+ source: "=Error",
8238
+ required: false
8239
+ }
8240
+ ],
8241
+ bindingPattern: "none",
8242
+ requiresDiscovery: false,
8243
+ isDynamic: false,
8244
+ xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
8245
+ <bpmn:extensionElements>
8246
+ <uipath:activity version="v1">
8247
+ <uipath:type value="ConversationalService.QueueServiceMessage" version="v1" />
8248
+ <uipath:input name="body" type="json" target="body"><![CDATA[{"conversationId":"{conversationId}","userContent":"{userContent}","assistantContent":"{assistantContent}"}]]></uipath:input>
8249
+ <uipath:output name="response" type="jsonSchema" source="=response" var="{varId}" />
8250
+ <uipath:output name="Error" type="jsonSchema" source="=Error" var="{errorVarId}" />
8251
+ </uipath:activity>
8252
+ </bpmn:extensionElements>
8253
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
8254
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
8255
+ </bpmn:ServiceTask>`,
8256
+ inputNotes: "The custom Studio Web form seeds conversationId, userContent, and assistantContent as required fields. The generic FPS serializer merges them into the body JSON payload. It also writes a uipath:inputSchema built from those fields inside uipath:context; the template leaves it out because it is derived, not authored.",
8257
+ contextFieldNotes: 'The design schema declares the three fields as context; the shipped custom form (ConversationalServiceFPSFormControl.tsx) declares them as inputs with target: "body", and the generic serializer merges them into the body.',
8258
+ outputNotes: 'The response schema contains the queued message id, conversation and content fields, MIME types, pending state, and timestamps. Studio Web always writes the standard Error output. Validation also accepts files without it. Extra outputs that narrow the response carry custom="true".',
8259
+ inputFields: [
8260
+ {
8261
+ name: "conversationId",
8262
+ displayName: "Conversation ID",
8263
+ type: "string",
8264
+ required: true,
8265
+ hidden: false,
8266
+ isPrimaryKey: false,
8267
+ binding: false,
8268
+ defaultValue: null,
8269
+ target: "body"
8270
+ },
8271
+ {
8272
+ name: "userContent",
8273
+ displayName: "User content",
8274
+ type: "string",
8275
+ required: true,
8276
+ hidden: false,
8277
+ isPrimaryKey: false,
8278
+ binding: false,
8279
+ defaultValue: null,
8280
+ target: "body"
8281
+ },
8282
+ {
8283
+ name: "assistantContent",
8284
+ displayName: "Assistant content",
8285
+ type: "string",
8286
+ required: true,
8287
+ hidden: false,
8288
+ isPrimaryKey: false,
8289
+ binding: false,
8290
+ defaultValue: null,
8291
+ target: "body"
8292
+ }
8293
+ ]
8294
+ },
7873
8295
  "Intsvc.TimerTrigger": {
7874
8296
  extensionType: "Intsvc.TimerTrigger",
7875
8297
  label: "Timer trigger",
@@ -8059,7 +8481,7 @@ var bpmn_spec_default = {
8059
8481
  <uipath:input name="_label" type="string" value="{_label}" />
8060
8482
  <uipath:input name="inputSchema" type="jsonSchema" value="{inputSchema}" />
8061
8483
  </uipath:context>
8062
- <uipath:input name="ItemData" type="json" target="body"><![CDATA[{"Reference":"","SpecificContent":{},"Error":"","TimeToLive":""}]]></uipath:input>
8484
+ <uipath:input name="ItemData" type="json" target="body"><![CDATA[{"Reference":"{Reference}","SpecificContent":{},"TimeToLive":""}]]></uipath:input>
8063
8485
  <uipath:output name="response" type="Maestro.SendMessageEvent" var="{varId}" />
8064
8486
  </uipath:event>
8065
8487
  </bpmn:extensionElements>
@@ -8226,6 +8648,154 @@ var bpmn_spec_default = {
8226
8648
  <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
8227
8649
  </bpmn:ServiceTask>`,
8228
8650
  bpmnElementNotes: "Not in FPS_TO_NODE_MAPPING activity section; used internally for case management processes. Likely bpmn:ServiceTask or bpmn:Task."
8651
+ },
8652
+ "IXP.Extraction": {
8653
+ extensionType: "IXP.Extraction",
8654
+ label: "Document extraction",
8655
+ bpmnElement: "bpmn:ServiceTask",
8656
+ placements: {
8657
+ activity: {
8658
+ type: "bpmn:ServiceTask"
8659
+ }
8660
+ },
8661
+ extensionTag: "uipath:activity",
8662
+ contextFields: [
8663
+ {
8664
+ name: "solutionResourceKey",
8665
+ displayName: "Solution resource key",
8666
+ type: "string",
8667
+ required: true,
8668
+ hidden: true,
8669
+ isPrimaryKey: true,
8670
+ binding: false,
8671
+ defaultValue: null
8672
+ },
8673
+ {
8674
+ name: "name",
8675
+ displayName: "Deployment name",
8676
+ type: "string",
8677
+ required: false,
8678
+ hidden: true,
8679
+ isPrimaryKey: false,
8680
+ binding: true,
8681
+ defaultValue: null,
8682
+ bindingInfo: {
8683
+ resource: "ixpDeployment",
8684
+ resourceKeyPattern: "${context.solutionResourceKey}",
8685
+ propertyAttribute: "name"
8686
+ }
8687
+ },
8688
+ {
8689
+ name: "folderKey",
8690
+ displayName: "Folder key",
8691
+ type: "string",
8692
+ required: false,
8693
+ hidden: true,
8694
+ isPrimaryKey: false,
8695
+ binding: false,
8696
+ defaultValue: null
8697
+ },
8698
+ {
8699
+ name: "folderName",
8700
+ displayName: "Folder name",
8701
+ type: "string",
8702
+ required: false,
8703
+ hidden: true,
8704
+ isPrimaryKey: false,
8705
+ binding: false,
8706
+ defaultValue: null
8707
+ },
8708
+ {
8709
+ name: "modelName",
8710
+ displayName: "Model name",
8711
+ type: "string",
8712
+ required: false,
8713
+ hidden: true,
8714
+ isPrimaryKey: false,
8715
+ binding: false,
8716
+ defaultValue: null
8717
+ },
8718
+ {
8719
+ name: "modelDisplayName",
8720
+ displayName: "Model display name",
8721
+ type: "string",
8722
+ required: false,
8723
+ hidden: true,
8724
+ isPrimaryKey: false,
8725
+ binding: false,
8726
+ defaultValue: null
8727
+ },
8728
+ {
8729
+ name: "digitizationMode",
8730
+ displayName: "Digitization mode",
8731
+ type: "string",
8732
+ required: false,
8733
+ hidden: true,
8734
+ isPrimaryKey: false,
8735
+ binding: false,
8736
+ defaultValue: "fileUpload",
8737
+ enum: [
8738
+ "fileUpload"
8739
+ ],
8740
+ description: "Only value the canvas can emit today; DU has not exposed other digitization modes for IXP extraction. The enum is documentary — the validator does not enforce context-field enums."
8741
+ }
8742
+ ],
8743
+ inputPattern: "mergedBody",
8744
+ inputName: "input",
8745
+ inputTarget: "bodyField",
8746
+ additionalInputs: [
8747
+ {
8748
+ name: "pageRange",
8749
+ type: "string",
8750
+ target: "header",
8751
+ required: false
8752
+ }
8753
+ ],
8754
+ outputSource: "=result",
8755
+ outputType: "jsonSchema",
8756
+ outputName: "output",
8757
+ additionalOutputs: [
8758
+ {
8759
+ name: "error",
8760
+ type: "jsonSchema",
8761
+ source: "=Error",
8762
+ required: true
8763
+ }
8764
+ ],
8765
+ bindingPattern: "ixpDeployment",
8766
+ bindingInfo: {
8767
+ resource: "ixpDeployment",
8768
+ resourceKeyPattern: "${context.solutionResourceKey}",
8769
+ propertyAttribute: "name",
8770
+ contextField: "name"
8771
+ },
8772
+ requiresDiscovery: true,
8773
+ isDynamic: false,
8774
+ xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
8775
+ <bpmn:extensionElements>
8776
+ <uipath:activity version="v1">
8777
+ <uipath:type value="IXP.Extraction" version="v2" />
8778
+ <uipath:context>
8779
+ <uipath:input name="solutionResourceKey" type="string" value="{solutionResourceKey}" />
8780
+ <uipath:input name="name" type="string" value="=bindings.{bindingId}" />
8781
+ <uipath:input name="folderKey" type="string" value="{folderKey}" />
8782
+ <uipath:input name="folderName" type="string" value="{folderName}" />
8783
+ <uipath:input name="modelName" type="string" value="{modelName}" />
8784
+ <uipath:input name="modelDisplayName" type="string" value="{modelDisplayName}" />
8785
+ <uipath:input name="digitizationMode" type="string" value="fileUpload" />
8786
+ </uipath:context>
8787
+ <uipath:input name="input" type="json" target="bodyField"><![CDATA[{"downloadedFileOutput":"{fileRef}"}]]></uipath:input>
8788
+ <uipath:output name="output" type="jsonSchema" source="=result" var="{varId}" />
8789
+ <uipath:output name="error" type="jsonSchema" source="=Error" var="{errorVarId}" />
8790
+ </uipath:activity>
8791
+ </bpmn:extensionElements>
8792
+ <bpmn:incoming>{incomingEdge}</bpmn:incoming>
8793
+ <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
8794
+ </bpmn:ServiceTask>`,
8795
+ discoveryNotes: "Uses the Studio Web solution resource picker to select an IXP deployment, resolve its folder and model details, and create the deployment name binding.",
8796
+ inputNotes: 'Studio Web turns the design-time fileRef input into the runtime input JSON body. When the author fills in a page range it also writes a sibling <uipath:input name="pageRange" type="string" target="header" value="..." /> next to the merged body, so pageRange is declared in additionalInputs rather than folded into the bodyField payload. It is left out when empty, which is why the template does not show it.',
8797
+ contextFieldNotes: "The serializer keeps the solution resource key and bound deployment name, fills folder/model display fallbacks, and currently forces digitizationMode=fileUpload. The deployment name is a binding on the ixpDeployment resource whose resourceKey is the same value as the solutionResourceKey context input. The canvas passes unknown context entries through; this contract rejects them.",
8798
+ outputNotes: "Studio Web adds both the extraction result output (jsonSchema, source=result) and the standard error output (jsonSchema, source=Error). Exports older than PO.Frontend migration S199 use =this or =this.result; rewrite to =result."
8229
8799
  }
8230
8800
  },
8231
8801
  bpmnElements: {
@@ -8552,6 +9122,7 @@ var bpmn_spec_default = {
8552
9122
 
8553
9123
  // src/manifest/bpmn-spec.ts
8554
9124
  var BPMN_SPEC = bpmn_spec_default;
9125
+ var MERGED_INPUT_PATTERNS = new Set(["mergedBody", "splitInputsItemData", "scriptArgs"]);
8555
9126
  var STATIC_UIPATH_EXTENSION_TAG_NAMES = [
8556
9127
  "binding",
8557
9128
  "bindings",
@@ -8592,72 +9163,7 @@ var SCRIPT_RUNTIME_GLOBALS = new Set([
8592
9163
  "uipath",
8593
9164
  "console",
8594
9165
  "arguments",
8595
- "AggregateError",
8596
- "Array",
8597
- "ArrayBuffer",
8598
- "AsyncDisposableStack",
8599
- "Atomics",
8600
- "BigInt",
8601
- "BigInt64Array",
8602
- "BigUint64Array",
8603
- "Boolean",
8604
- "DataView",
8605
- "Date",
8606
- "DisposableStack",
8607
- "Error",
8608
- "EvalError",
8609
- "FinalizationRegistry",
8610
- "Float16Array",
8611
- "Float32Array",
8612
- "Float64Array",
8613
- "Function",
8614
- "Generator",
8615
- "Infinity",
8616
- "Int16Array",
8617
- "Int32Array",
8618
- "Int8Array",
8619
- "JSON",
8620
- "Map",
8621
- "Math",
8622
- "NaN",
8623
- "Number",
8624
- "Object",
8625
- "Promise",
8626
- "Proxy",
8627
- "RangeError",
8628
- "ReferenceError",
8629
- "Reflect",
8630
- "RegExp",
8631
- "Set",
8632
- "ShadowRealm",
8633
- "SharedArrayBuffer",
8634
- "String",
8635
- "SuppressedError",
8636
- "Symbol",
8637
- "SyntaxError",
8638
- "TypeError",
8639
- "TypedArray",
8640
- "URIError",
8641
- "Uint16Array",
8642
- "Uint32Array",
8643
- "Uint8Array",
8644
- "Uint8ClampedArray",
8645
- "WeakMap",
8646
- "WeakRef",
8647
- "WeakSet",
8648
- "decodeURI",
8649
- "decodeURIComponent",
8650
- "encodeURI",
8651
- "encodeURIComponent",
8652
- "escape",
8653
- "eval",
8654
- "globalThis",
8655
- "isFinite",
8656
- "isNaN",
8657
- "parseFloat",
8658
- "parseInt",
8659
- "undefined",
8660
- "unescape"
9166
+ ...JINT_GLOBALS
8661
9167
  ]);
8662
9168
  var KNOWN_UIPATH_TAGS = new Set(SUPPORTED_UIPATH_EXTENSION_TAGS);
8663
9169
  var CALL_ACTIVITY_TYPES = Object.entries(BPMN_SPEC.extensionTypes).filter(([, contract]) => contract.bpmnElement === "bpmn:CallActivity").map(([type]) => type).sort((a, b) => a.localeCompare(b));
@@ -14987,4 +15493,4 @@ export {
14987
15493
  required
14988
15494
  };
14989
15495
 
14990
- //# debugId=D498F43DC99B894364756E2164756E21
15496
+ //# debugId=1D96FC89C6AD269B64756E2164756E21