@uipath/maestro-sdk 1.204.0 → 1.205.0-preview.258
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/THIRD-PARTY-NOTICES.md +181 -7
- package/dist/bpmn-packaging/index.js +1690 -459
- package/dist/bpmn-validation/project-validator.js +1836 -538
- package/dist/debug-http-client.js +53 -4
- package/dist/debug-service.js +100 -8
- package/dist/index.js +87218 -57874
- package/dist/json-input.js +53 -4
- package/dist/manifest/bpmn-spec.js +1682 -459
- package/dist/registry/command.js +49170 -19049
- package/dist/registry/snapshot.js +53 -4
- package/dist/shared-commands/index.js +746 -44
- package/dist/shared-utils.js +53 -4
- package/dist/src/bpmn-packaging/package-metadata.d.ts +1 -0
- package/dist/src/bpmn-validation/project-validator.d.ts +1 -0
- package/dist/src/debug-service.d.ts +15 -2
- package/dist/src/debug-types.d.ts +80 -0
- package/dist/src/index.d.ts +3 -3
- package/dist/src/manifest/bpmn-spec.d.ts +23 -2
- package/dist/src/manifest/types.d.ts +63 -0
- package/dist/src/registry/index.d.ts +3 -3
- package/dist/src/registry/node-storage.d.ts +75 -2
- package/dist/src/registry/node-sync-service.d.ts +98 -1
- package/dist/src/registry/registry-service.d.ts +10 -13
- package/dist/src/registry/solution-discovery.d.ts +116 -4
- package/dist/src/shared-commands/examples.d.ts +8 -0
- package/dist/src/types.d.ts +7 -0
- package/dist/with-pims-call.js +172 -32
- package/package.json +2 -2
|
@@ -5896,14 +5896,17 @@ var bpmn_spec_default = {
|
|
|
5896
5896
|
requiresDiscovery: true,
|
|
5897
5897
|
isDynamic: true,
|
|
5898
5898
|
xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
|
|
5899
|
-
<
|
|
5900
|
-
<uipath:
|
|
5901
|
-
<uipath:
|
|
5902
|
-
<uipath:
|
|
5903
|
-
|
|
5904
|
-
|
|
5905
|
-
|
|
5906
|
-
|
|
5899
|
+
<bpmn:extensionElements>
|
|
5900
|
+
<uipath:activity version="v1">
|
|
5901
|
+
<uipath:type value="Orchestrator.StartAgentJob" version="v2" />
|
|
5902
|
+
<uipath:context>
|
|
5903
|
+
<uipath:input name="name" type="string" value="=bindings.{nameBindingId}" />
|
|
5904
|
+
<uipath:input name="folderPath" type="string" value="=bindings.{folderPathBindingId}" />
|
|
5905
|
+
</uipath:context>
|
|
5906
|
+
<uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
|
|
5907
|
+
<uipath:output name="Process response" type="Orchestrator.RunJob" var="{varId}" />
|
|
5908
|
+
</uipath:activity>
|
|
5909
|
+
</bpmn:extensionElements>
|
|
5907
5910
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
5908
5911
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
5909
5912
|
</bpmn:ServiceTask>`,
|
|
@@ -5931,7 +5934,7 @@ var bpmn_spec_default = {
|
|
|
5931
5934
|
defaultValue: null,
|
|
5932
5935
|
bindingInfo: {
|
|
5933
5936
|
resource: "BusinessRule",
|
|
5934
|
-
resourceKeyPattern: "${metadata.
|
|
5937
|
+
resourceKeyPattern: "${metadata.folderPath}.${metadata.name}",
|
|
5935
5938
|
propertyAttribute: "name"
|
|
5936
5939
|
}
|
|
5937
5940
|
},
|
|
@@ -5945,7 +5948,7 @@ var bpmn_spec_default = {
|
|
|
5945
5948
|
defaultValue: null,
|
|
5946
5949
|
bindingInfo: {
|
|
5947
5950
|
resource: "BusinessRule",
|
|
5948
|
-
resourceKeyPattern: "${metadata.
|
|
5951
|
+
resourceKeyPattern: "${metadata.folderPath}.${metadata.name}",
|
|
5949
5952
|
propertyAttribute: "folderPath"
|
|
5950
5953
|
}
|
|
5951
5954
|
},
|
|
@@ -5962,13 +5965,22 @@ var bpmn_spec_default = {
|
|
|
5962
5965
|
inputPattern: "mergedBody",
|
|
5963
5966
|
inputName: "JobArguments",
|
|
5964
5967
|
inputTarget: "bodyField",
|
|
5965
|
-
|
|
5966
|
-
|
|
5968
|
+
outputName: "output",
|
|
5969
|
+
outputSource: "=result",
|
|
5970
|
+
outputType: "jsonSchema",
|
|
5971
|
+
additionalOutputs: [
|
|
5972
|
+
{
|
|
5973
|
+
name: "Error",
|
|
5974
|
+
type: "jsonSchema",
|
|
5975
|
+
source: "=Error",
|
|
5976
|
+
required: true
|
|
5977
|
+
}
|
|
5978
|
+
],
|
|
5967
5979
|
useRelativeSource: true,
|
|
5968
5980
|
bindingPattern: "businessRule",
|
|
5969
5981
|
bindingInfo: {
|
|
5970
5982
|
resource: "BusinessRule",
|
|
5971
|
-
resourceKeyPattern: "${metadata.
|
|
5983
|
+
resourceKeyPattern: "${metadata.folderPath}.${metadata.name}",
|
|
5972
5984
|
propertyAttribute: "name",
|
|
5973
5985
|
contextField: "name"
|
|
5974
5986
|
},
|
|
@@ -5977,7 +5989,7 @@ var bpmn_spec_default = {
|
|
|
5977
5989
|
xmlTemplate: `<bpmn:BusinessRuleTask id="{id}" name="{name}">
|
|
5978
5990
|
<bpmn:extensionElements>
|
|
5979
5991
|
<uipath:activity version="v1">
|
|
5980
|
-
<uipath:type value="Orchestrator.BusinessRules" version="
|
|
5992
|
+
<uipath:type value="Orchestrator.BusinessRules" version="v3" />
|
|
5981
5993
|
<uipath:context>
|
|
5982
5994
|
<uipath:input name="name" type="string" value="=bindings.{nameBindingId}" />
|
|
5983
5995
|
<uipath:input name="folderPath" type="string" value="=bindings.{folderPathBindingId}" />
|
|
@@ -5985,17 +5997,17 @@ var bpmn_spec_default = {
|
|
|
5985
5997
|
<uipath:inputSchema type="jsonSchema"><![CDATA[{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{},"required":[]}]]></uipath:inputSchema>
|
|
5986
5998
|
</uipath:context>
|
|
5987
5999
|
<uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
|
|
6000
|
+
<uipath:output name="output" type="jsonSchema" source="=result" var="{outputVarId}" />
|
|
5988
6001
|
<uipath:output name="Error" type="jsonSchema" source="=Error" var="{errorVarId}" />
|
|
5989
|
-
<uipath:output name="{outputName}" type="{outputType}" source="={outputName}" var="{outputVarId}" />
|
|
5990
6002
|
</uipath:activity>
|
|
5991
6003
|
</bpmn:extensionElements>
|
|
5992
6004
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
5993
6005
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
5994
6006
|
</bpmn:BusinessRuleTask>`,
|
|
5995
|
-
discoveryNotes: "Uses
|
|
6007
|
+
discoveryNotes: "Uses `uip rules list --all-folders --output json` to list deployed business rules; it returns 50 rows by default, so keep raising --offset while Pagination.HasMore is true",
|
|
5996
6008
|
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:
|
|
5998
|
-
outputNotes:
|
|
6009
|
+
contextFieldNotes: "name and folderPath each point to a root binding for a BusinessRule resource. Both bindings share one resourceKey. Use propertyAttribute name for name and folderPath for folderPath. _label is not bound and holds the rule name.",
|
|
6010
|
+
outputNotes: 'One output named output (type jsonSchema, source =result) holding the whole result keyed by decision, so a decision\'s column reads as vars.<outputVarId>.<decision>.<column>; plus an Error output (type jsonSchema, source =Error). Each var names a process variable declared as uipath:inputOutput on this element. Only a decision-keyed rule fits this output: its `uip rules describe` OutputArguments carry "x-uipath-decision-keyed": true; run `uip rules refresh` and redeploy a rule that does not.'
|
|
5999
6011
|
},
|
|
6000
6012
|
"Intsvc.ActivityExecution": {
|
|
6001
6013
|
extensionType: "Intsvc.ActivityExecution",
|
|
@@ -7546,52 +7558,123 @@ var bpmn_spec_default = {
|
|
|
7546
7558
|
</bpmn:ServiceTask>`,
|
|
7547
7559
|
discoveryNotes: "Uses getQueueDefinitions(serviceType, search) to list available queues"
|
|
7548
7560
|
},
|
|
7549
|
-
"Orchestrator.
|
|
7550
|
-
extensionType: "Orchestrator.
|
|
7551
|
-
label: "
|
|
7552
|
-
bpmnElement: "bpmn:
|
|
7561
|
+
"Orchestrator.SetTransactionStatus": {
|
|
7562
|
+
extensionType: "Orchestrator.SetTransactionStatus",
|
|
7563
|
+
label: "Set transaction status",
|
|
7564
|
+
bpmnElement: "bpmn:ServiceTask",
|
|
7553
7565
|
placements: {
|
|
7554
7566
|
activity: {
|
|
7555
|
-
type: "bpmn:
|
|
7567
|
+
type: "bpmn:ServiceTask"
|
|
7556
7568
|
}
|
|
7557
7569
|
},
|
|
7558
7570
|
extensionTag: "uipath:activity",
|
|
7559
7571
|
contextFields: [
|
|
7560
7572
|
{
|
|
7561
|
-
name: "
|
|
7562
|
-
displayName: "Process",
|
|
7573
|
+
name: "_label",
|
|
7563
7574
|
type: "string",
|
|
7564
7575
|
required: false,
|
|
7565
7576
|
hidden: true,
|
|
7566
7577
|
isPrimaryKey: false,
|
|
7567
7578
|
binding: false,
|
|
7579
|
+
defaultValue: null
|
|
7580
|
+
}
|
|
7581
|
+
],
|
|
7582
|
+
inputPattern: "mergedBody",
|
|
7583
|
+
outputSource: "=Error",
|
|
7584
|
+
outputType: "jsonSchema",
|
|
7585
|
+
outputName: "Error",
|
|
7586
|
+
bindingPattern: "none",
|
|
7587
|
+
requiresDiscovery: false,
|
|
7588
|
+
isDynamic: false,
|
|
7589
|
+
xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
|
|
7590
|
+
<bpmn:extensionElements>
|
|
7591
|
+
<uipath:activity version="v1">
|
|
7592
|
+
<uipath:type value="Orchestrator.SetTransactionStatus" version="v1" />
|
|
7593
|
+
<uipath:input name="body" type="json" target="body"><![CDATA[{"QueueItem":{QueueItem},"Status":"{Status}","ErrorType":null,"Reason":null,"Details":null}]]></uipath:input>
|
|
7594
|
+
<uipath:output name="Error" type="jsonSchema" source="=Error" var="{varId}" />
|
|
7595
|
+
</uipath:activity>
|
|
7596
|
+
</bpmn:extensionElements>
|
|
7597
|
+
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
7598
|
+
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
7599
|
+
</bpmn:ServiceTask>`,
|
|
7600
|
+
inputNotes: 'All inputFields go as keys of one <uipath:input name="body" type="json" target="body"> CDATA object. QueueItem takes either a JSON object literal (e.g. an object with an Id property) or a quoted "=expr"; it is not itself quoted in the template. Optional fields default to null in this example; fill only what you use.',
|
|
7601
|
+
inputFields: [
|
|
7602
|
+
{
|
|
7603
|
+
name: "QueueItem",
|
|
7604
|
+
displayName: "Transaction item",
|
|
7605
|
+
type: "object",
|
|
7606
|
+
required: true,
|
|
7607
|
+
hidden: false,
|
|
7608
|
+
isPrimaryKey: false,
|
|
7609
|
+
binding: false,
|
|
7568
7610
|
defaultValue: null,
|
|
7569
|
-
|
|
7570
|
-
resource: "process",
|
|
7571
|
-
resourceKeyPattern: "${metadata.key}",
|
|
7572
|
-
propertyAttribute: "Key"
|
|
7573
|
-
}
|
|
7611
|
+
target: "body"
|
|
7574
7612
|
},
|
|
7575
7613
|
{
|
|
7576
|
-
name: "
|
|
7577
|
-
type: "
|
|
7614
|
+
name: "Status",
|
|
7615
|
+
type: "dropdown",
|
|
7616
|
+
required: true,
|
|
7617
|
+
hidden: false,
|
|
7618
|
+
isPrimaryKey: false,
|
|
7619
|
+
binding: false,
|
|
7620
|
+
defaultValue: null,
|
|
7621
|
+
enum: [
|
|
7622
|
+
"Successful",
|
|
7623
|
+
"Failed"
|
|
7624
|
+
],
|
|
7625
|
+
target: "body"
|
|
7626
|
+
},
|
|
7627
|
+
{
|
|
7628
|
+
name: "ErrorType",
|
|
7629
|
+
type: "dropdown",
|
|
7578
7630
|
required: false,
|
|
7579
|
-
hidden:
|
|
7631
|
+
hidden: false,
|
|
7580
7632
|
isPrimaryKey: false,
|
|
7581
7633
|
binding: false,
|
|
7582
|
-
defaultValue: null
|
|
7634
|
+
defaultValue: null,
|
|
7635
|
+
enum: [
|
|
7636
|
+
"BusinessException",
|
|
7637
|
+
"ApplicationException"
|
|
7638
|
+
],
|
|
7639
|
+
target: "body"
|
|
7583
7640
|
},
|
|
7584
7641
|
{
|
|
7585
|
-
name: "
|
|
7642
|
+
name: "Reason",
|
|
7586
7643
|
type: "string",
|
|
7587
7644
|
required: false,
|
|
7588
|
-
hidden:
|
|
7645
|
+
hidden: false,
|
|
7589
7646
|
isPrimaryKey: false,
|
|
7590
7647
|
binding: false,
|
|
7591
|
-
defaultValue: null
|
|
7648
|
+
defaultValue: null,
|
|
7649
|
+
target: "body"
|
|
7592
7650
|
},
|
|
7593
7651
|
{
|
|
7594
|
-
name: "
|
|
7652
|
+
name: "Details",
|
|
7653
|
+
type: "string",
|
|
7654
|
+
required: false,
|
|
7655
|
+
hidden: false,
|
|
7656
|
+
isPrimaryKey: false,
|
|
7657
|
+
binding: false,
|
|
7658
|
+
defaultValue: null,
|
|
7659
|
+
target: "body"
|
|
7660
|
+
}
|
|
7661
|
+
],
|
|
7662
|
+
inputName: "body",
|
|
7663
|
+
inputTarget: "body"
|
|
7664
|
+
},
|
|
7665
|
+
"Orchestrator.SetTransactionProgress": {
|
|
7666
|
+
extensionType: "Orchestrator.SetTransactionProgress",
|
|
7667
|
+
label: "Set transaction progress",
|
|
7668
|
+
bpmnElement: "bpmn:ServiceTask",
|
|
7669
|
+
placements: {
|
|
7670
|
+
activity: {
|
|
7671
|
+
type: "bpmn:ServiceTask"
|
|
7672
|
+
}
|
|
7673
|
+
},
|
|
7674
|
+
extensionTag: "uipath:activity",
|
|
7675
|
+
contextFields: [
|
|
7676
|
+
{
|
|
7677
|
+
name: "_label",
|
|
7595
7678
|
type: "string",
|
|
7596
7679
|
required: false,
|
|
7597
7680
|
hidden: true,
|
|
@@ -7601,74 +7684,151 @@ var bpmn_spec_default = {
|
|
|
7601
7684
|
}
|
|
7602
7685
|
],
|
|
7603
7686
|
inputPattern: "mergedBody",
|
|
7604
|
-
|
|
7605
|
-
|
|
7606
|
-
|
|
7607
|
-
|
|
7608
|
-
|
|
7609
|
-
|
|
7610
|
-
|
|
7611
|
-
bindingInfo: {
|
|
7612
|
-
resource: "process",
|
|
7613
|
-
resourceKeyPattern: "${metadata.key}",
|
|
7614
|
-
propertyAttribute: "Key",
|
|
7615
|
-
contextField: "releaseKey"
|
|
7616
|
-
},
|
|
7617
|
-
requiresDiscovery: true,
|
|
7618
|
-
isDynamic: true,
|
|
7619
|
-
xmlTemplate: `<bpmn:CallActivity id="{id}" name="{name}">
|
|
7687
|
+
outputSource: "=Error",
|
|
7688
|
+
outputType: "jsonSchema",
|
|
7689
|
+
outputName: "Error",
|
|
7690
|
+
bindingPattern: "none",
|
|
7691
|
+
requiresDiscovery: false,
|
|
7692
|
+
isDynamic: false,
|
|
7693
|
+
xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
|
|
7620
7694
|
<bpmn:extensionElements>
|
|
7621
7695
|
<uipath:activity version="v1">
|
|
7622
|
-
<uipath:type value="Orchestrator.
|
|
7623
|
-
<uipath:
|
|
7624
|
-
|
|
7625
|
-
<uipath:input name="folderId" type="string" value="{folderId}" />
|
|
7626
|
-
<uipath:input name="folderPath" type="string" value="{folderPath}" />
|
|
7627
|
-
<uipath:input name="name" type="string" value="{name}" />
|
|
7628
|
-
</uipath:context>
|
|
7629
|
-
<uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
|
|
7630
|
-
<uipath:output name="Process response" type="Orchestrator.RunJob" var="{varId}" />
|
|
7696
|
+
<uipath:type value="Orchestrator.SetTransactionProgress" version="v1" />
|
|
7697
|
+
<uipath:input name="body" type="json" target="body"><![CDATA[{"QueueItem":{QueueItem},"Progress":"{Progress}"}]]></uipath:input>
|
|
7698
|
+
<uipath:output name="Error" type="jsonSchema" source="=Error" var="{varId}" />
|
|
7631
7699
|
</uipath:activity>
|
|
7632
7700
|
</bpmn:extensionElements>
|
|
7633
7701
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
7634
7702
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
7635
|
-
</bpmn:
|
|
7636
|
-
|
|
7703
|
+
</bpmn:ServiceTask>`,
|
|
7704
|
+
inputFields: [
|
|
7705
|
+
{
|
|
7706
|
+
name: "QueueItem",
|
|
7707
|
+
displayName: "Transaction item",
|
|
7708
|
+
type: "object",
|
|
7709
|
+
required: true,
|
|
7710
|
+
hidden: false,
|
|
7711
|
+
isPrimaryKey: false,
|
|
7712
|
+
binding: false,
|
|
7713
|
+
defaultValue: null,
|
|
7714
|
+
target: "body"
|
|
7715
|
+
},
|
|
7716
|
+
{
|
|
7717
|
+
name: "Progress",
|
|
7718
|
+
type: "string",
|
|
7719
|
+
required: true,
|
|
7720
|
+
hidden: false,
|
|
7721
|
+
isPrimaryKey: false,
|
|
7722
|
+
binding: false,
|
|
7723
|
+
defaultValue: null,
|
|
7724
|
+
target: "body"
|
|
7725
|
+
}
|
|
7726
|
+
],
|
|
7727
|
+
inputName: "body",
|
|
7728
|
+
inputTarget: "body",
|
|
7729
|
+
inputNotes: 'All inputFields go as keys of one <uipath:input name="body" type="json" target="body"> CDATA object. QueueItem takes either a JSON object literal (e.g. an object with an Id property) or a quoted "=expr"; it is not itself quoted in the template.'
|
|
7637
7730
|
},
|
|
7638
|
-
"Orchestrator.
|
|
7639
|
-
extensionType: "Orchestrator.
|
|
7640
|
-
label: "
|
|
7641
|
-
bpmnElement: "bpmn:
|
|
7731
|
+
"Orchestrator.PostponeTransactionItem": {
|
|
7732
|
+
extensionType: "Orchestrator.PostponeTransactionItem",
|
|
7733
|
+
label: "Postpone transaction item",
|
|
7734
|
+
bpmnElement: "bpmn:ServiceTask",
|
|
7642
7735
|
placements: {
|
|
7643
7736
|
activity: {
|
|
7644
|
-
type: "bpmn:
|
|
7737
|
+
type: "bpmn:ServiceTask"
|
|
7645
7738
|
}
|
|
7646
7739
|
},
|
|
7647
7740
|
extensionTag: "uipath:activity",
|
|
7648
7741
|
contextFields: [
|
|
7649
7742
|
{
|
|
7650
|
-
name: "
|
|
7651
|
-
displayName: "Process",
|
|
7743
|
+
name: "_label",
|
|
7652
7744
|
type: "string",
|
|
7653
7745
|
required: false,
|
|
7654
7746
|
hidden: true,
|
|
7655
7747
|
isPrimaryKey: false,
|
|
7656
7748
|
binding: false,
|
|
7749
|
+
defaultValue: null
|
|
7750
|
+
}
|
|
7751
|
+
],
|
|
7752
|
+
inputPattern: "mergedBody",
|
|
7753
|
+
outputSource: "=Error",
|
|
7754
|
+
outputType: "jsonSchema",
|
|
7755
|
+
outputName: "Error",
|
|
7756
|
+
bindingPattern: "none",
|
|
7757
|
+
requiresDiscovery: false,
|
|
7758
|
+
isDynamic: false,
|
|
7759
|
+
xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
|
|
7760
|
+
<bpmn:extensionElements>
|
|
7761
|
+
<uipath:activity version="v1">
|
|
7762
|
+
<uipath:type value="Orchestrator.PostponeTransactionItem" version="v1" />
|
|
7763
|
+
<uipath:input name="body" type="json" target="body"><![CDATA[{"QueueItem":{QueueItem},"PostponeDate":"{PostponeDate}","DueDate":null}]]></uipath:input>
|
|
7764
|
+
<uipath:output name="Error" type="jsonSchema" source="=Error" var="{varId}" />
|
|
7765
|
+
</uipath:activity>
|
|
7766
|
+
</bpmn:extensionElements>
|
|
7767
|
+
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
7768
|
+
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
7769
|
+
</bpmn:ServiceTask>`,
|
|
7770
|
+
inputFields: [
|
|
7771
|
+
{
|
|
7772
|
+
name: "QueueItem",
|
|
7773
|
+
displayName: "Transaction item",
|
|
7774
|
+
type: "object",
|
|
7775
|
+
required: true,
|
|
7776
|
+
hidden: false,
|
|
7777
|
+
isPrimaryKey: false,
|
|
7778
|
+
binding: false,
|
|
7657
7779
|
defaultValue: null,
|
|
7658
|
-
|
|
7659
|
-
resource: "process",
|
|
7660
|
-
resourceKeyPattern: "${metadata.key}",
|
|
7661
|
-
propertyAttribute: "Key"
|
|
7662
|
-
}
|
|
7780
|
+
target: "body"
|
|
7663
7781
|
},
|
|
7664
7782
|
{
|
|
7665
|
-
name: "
|
|
7783
|
+
name: "PostponeDate",
|
|
7784
|
+
type: "datetime",
|
|
7785
|
+
required: true,
|
|
7786
|
+
hidden: false,
|
|
7787
|
+
isPrimaryKey: false,
|
|
7788
|
+
binding: false,
|
|
7789
|
+
defaultValue: null,
|
|
7790
|
+
target: "body"
|
|
7791
|
+
},
|
|
7792
|
+
{
|
|
7793
|
+
name: "DueDate",
|
|
7794
|
+
type: "datetime",
|
|
7795
|
+
required: false,
|
|
7796
|
+
hidden: false,
|
|
7797
|
+
isPrimaryKey: false,
|
|
7798
|
+
binding: false,
|
|
7799
|
+
defaultValue: null,
|
|
7800
|
+
target: "body"
|
|
7801
|
+
}
|
|
7802
|
+
],
|
|
7803
|
+
inputName: "body",
|
|
7804
|
+
inputTarget: "body",
|
|
7805
|
+
inputNotes: 'All inputFields go as keys of one <uipath:input name="body" type="json" target="body"> CDATA object. QueueItem takes either a JSON object literal (e.g. an object with an Id property) or a quoted "=expr"; it is not itself quoted in the template. Optional fields default to null in this example; fill only what you use.'
|
|
7806
|
+
},
|
|
7807
|
+
"Orchestrator.BulkAddQueueItems": {
|
|
7808
|
+
extensionType: "Orchestrator.BulkAddQueueItems",
|
|
7809
|
+
label: "Bulk add queue items",
|
|
7810
|
+
bpmnElement: "bpmn:ServiceTask",
|
|
7811
|
+
placements: {
|
|
7812
|
+
activity: {
|
|
7813
|
+
type: "bpmn:ServiceTask"
|
|
7814
|
+
}
|
|
7815
|
+
},
|
|
7816
|
+
extensionTag: "uipath:activity",
|
|
7817
|
+
contextFields: [
|
|
7818
|
+
{
|
|
7819
|
+
name: "queueName",
|
|
7820
|
+
displayName: "Queue name",
|
|
7666
7821
|
type: "string",
|
|
7667
7822
|
required: false,
|
|
7668
7823
|
hidden: true,
|
|
7669
7824
|
isPrimaryKey: false,
|
|
7670
7825
|
binding: false,
|
|
7671
|
-
defaultValue: null
|
|
7826
|
+
defaultValue: null,
|
|
7827
|
+
bindingInfo: {
|
|
7828
|
+
resource: "queue",
|
|
7829
|
+
resourceKeyPattern: "${folderPath}.${name}",
|
|
7830
|
+
propertyAttribute: "name"
|
|
7831
|
+
}
|
|
7672
7832
|
},
|
|
7673
7833
|
{
|
|
7674
7834
|
name: "folderPath",
|
|
@@ -7680,7 +7840,7 @@ var bpmn_spec_default = {
|
|
|
7680
7840
|
defaultValue: null
|
|
7681
7841
|
},
|
|
7682
7842
|
{
|
|
7683
|
-
name: "
|
|
7843
|
+
name: "_label",
|
|
7684
7844
|
type: "string",
|
|
7685
7845
|
required: false,
|
|
7686
7846
|
hidden: true,
|
|
@@ -7690,53 +7850,136 @@ var bpmn_spec_default = {
|
|
|
7690
7850
|
}
|
|
7691
7851
|
],
|
|
7692
7852
|
inputPattern: "mergedBody",
|
|
7693
|
-
|
|
7694
|
-
|
|
7695
|
-
|
|
7696
|
-
|
|
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.",
|
|
7699
|
-
bindingPattern: "process",
|
|
7853
|
+
outputSource: "=response",
|
|
7854
|
+
outputType: "jsonSchema",
|
|
7855
|
+
outputName: "response",
|
|
7856
|
+
bindingPattern: "queue",
|
|
7700
7857
|
bindingInfo: {
|
|
7701
|
-
resource: "
|
|
7702
|
-
resourceKeyPattern: "${
|
|
7703
|
-
propertyAttribute: "
|
|
7704
|
-
contextField: "
|
|
7858
|
+
resource: "queue",
|
|
7859
|
+
resourceKeyPattern: "${folderPath}.${name}",
|
|
7860
|
+
propertyAttribute: "name",
|
|
7861
|
+
contextField: "queueName"
|
|
7705
7862
|
},
|
|
7706
7863
|
requiresDiscovery: true,
|
|
7707
|
-
isDynamic:
|
|
7708
|
-
xmlTemplate: `<bpmn:
|
|
7864
|
+
isDynamic: false,
|
|
7865
|
+
xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
|
|
7709
7866
|
<bpmn:extensionElements>
|
|
7710
7867
|
<uipath:activity version="v1">
|
|
7711
|
-
<uipath:type value="Orchestrator.
|
|
7868
|
+
<uipath:type value="Orchestrator.BulkAddQueueItems" version="v2" />
|
|
7712
7869
|
<uipath:context>
|
|
7713
|
-
<uipath:input name="
|
|
7714
|
-
<uipath:input name="folderId" type="string" value="{folderId}" />
|
|
7870
|
+
<uipath:input name="queueName" type="string" value="{queueName}" />
|
|
7715
7871
|
<uipath:input name="folderPath" type="string" value="{folderPath}" />
|
|
7716
|
-
<uipath:input name="name" type="string" value="{name}" />
|
|
7717
7872
|
</uipath:context>
|
|
7718
|
-
<uipath:input name="
|
|
7873
|
+
<uipath:input name="body" type="json" target="body"><![CDATA[{"QueueItems":{QueueItems},"CommitStrategy":"{CommitStrategy}"}]]></uipath:input>
|
|
7874
|
+
<uipath:output name="response" type="jsonSchema" source="=response" var="{varId}" />
|
|
7719
7875
|
</uipath:activity>
|
|
7720
7876
|
</bpmn:extensionElements>
|
|
7721
7877
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
7722
7878
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
7723
|
-
</bpmn:
|
|
7724
|
-
discoveryNotes: "Uses
|
|
7879
|
+
</bpmn:ServiceTask>`,
|
|
7880
|
+
discoveryNotes: "Uses getQueueDefinitions(serviceType, search) to list available queues.",
|
|
7881
|
+
inputNotes: 'All inputFields go as keys of one <uipath:input name="body" type="json" target="body"> CDATA object. QueueItems takes either a JSON array literal or a quoted "=expr"; it is not itself quoted in the template.',
|
|
7882
|
+
outputNotes: "isDynamic is false even though the design schema says true: the queue picker only sets context and bindings here, and the input/output pair is fixed (see inputNotes), so the strict field checks are safe and should stay.",
|
|
7883
|
+
inputFields: [
|
|
7884
|
+
{
|
|
7885
|
+
name: "QueueItems",
|
|
7886
|
+
displayName: "Transaction items",
|
|
7887
|
+
type: "json",
|
|
7888
|
+
required: true,
|
|
7889
|
+
hidden: false,
|
|
7890
|
+
isPrimaryKey: false,
|
|
7891
|
+
binding: false,
|
|
7892
|
+
target: "body"
|
|
7893
|
+
},
|
|
7894
|
+
{
|
|
7895
|
+
name: "CommitStrategy",
|
|
7896
|
+
displayName: "Commit strategy",
|
|
7897
|
+
type: "dropdown",
|
|
7898
|
+
required: true,
|
|
7899
|
+
hidden: false,
|
|
7900
|
+
isPrimaryKey: false,
|
|
7901
|
+
binding: false,
|
|
7902
|
+
defaultValue: "AllOrNothing",
|
|
7903
|
+
enum: [
|
|
7904
|
+
"AllOrNothing",
|
|
7905
|
+
"StopOnFirstFailure",
|
|
7906
|
+
"ProcessAllIndependently"
|
|
7907
|
+
],
|
|
7908
|
+
target: "body"
|
|
7909
|
+
}
|
|
7910
|
+
],
|
|
7911
|
+
inputName: "body",
|
|
7912
|
+
inputTarget: "body"
|
|
7725
7913
|
},
|
|
7726
|
-
"Orchestrator.
|
|
7727
|
-
extensionType: "Orchestrator.
|
|
7728
|
-
label: "
|
|
7729
|
-
bpmnElement: "bpmn:
|
|
7914
|
+
"Orchestrator.DeleteQueueItems": {
|
|
7915
|
+
extensionType: "Orchestrator.DeleteQueueItems",
|
|
7916
|
+
label: "Delete queue items",
|
|
7917
|
+
bpmnElement: "bpmn:ServiceTask",
|
|
7730
7918
|
placements: {
|
|
7731
7919
|
activity: {
|
|
7732
|
-
type: "bpmn:
|
|
7920
|
+
type: "bpmn:ServiceTask"
|
|
7733
7921
|
}
|
|
7734
7922
|
},
|
|
7735
7923
|
extensionTag: "uipath:activity",
|
|
7736
7924
|
contextFields: [
|
|
7737
7925
|
{
|
|
7738
|
-
name: "
|
|
7739
|
-
|
|
7926
|
+
name: "_label",
|
|
7927
|
+
type: "string",
|
|
7928
|
+
required: false,
|
|
7929
|
+
hidden: true,
|
|
7930
|
+
isPrimaryKey: false,
|
|
7931
|
+
binding: false,
|
|
7932
|
+
defaultValue: null
|
|
7933
|
+
}
|
|
7934
|
+
],
|
|
7935
|
+
inputPattern: "mergedBody",
|
|
7936
|
+
outputSource: "=deletedCount",
|
|
7937
|
+
outputType: "jsonSchema",
|
|
7938
|
+
outputName: "deletedCount",
|
|
7939
|
+
bindingPattern: "none",
|
|
7940
|
+
requiresDiscovery: false,
|
|
7941
|
+
isDynamic: false,
|
|
7942
|
+
xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
|
|
7943
|
+
<bpmn:extensionElements>
|
|
7944
|
+
<uipath:activity version="v1">
|
|
7945
|
+
<uipath:type value="Orchestrator.DeleteQueueItems" version="v1" />
|
|
7946
|
+
<uipath:input name="body" type="json" target="body"><![CDATA[{"Items":{Items}}]]></uipath:input>
|
|
7947
|
+
<uipath:output name="deletedCount" type="jsonSchema" source="=deletedCount" var="{varId}" />
|
|
7948
|
+
</uipath:activity>
|
|
7949
|
+
</bpmn:extensionElements>
|
|
7950
|
+
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
7951
|
+
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
7952
|
+
</bpmn:ServiceTask>`,
|
|
7953
|
+
inputNotes: 'All inputFields go as keys of one <uipath:input name="body" type="json" target="body"> CDATA object. Items takes either a JSON array literal or a quoted "=expr"; it is not itself quoted in the template.',
|
|
7954
|
+
inputFields: [
|
|
7955
|
+
{
|
|
7956
|
+
name: "Items",
|
|
7957
|
+
displayName: "Transaction items",
|
|
7958
|
+
type: "json",
|
|
7959
|
+
required: true,
|
|
7960
|
+
hidden: false,
|
|
7961
|
+
isPrimaryKey: false,
|
|
7962
|
+
binding: false,
|
|
7963
|
+
target: "body"
|
|
7964
|
+
}
|
|
7965
|
+
],
|
|
7966
|
+
inputName: "body",
|
|
7967
|
+
inputTarget: "body"
|
|
7968
|
+
},
|
|
7969
|
+
"Orchestrator.GetTransactionItem": {
|
|
7970
|
+
extensionType: "Orchestrator.GetTransactionItem",
|
|
7971
|
+
label: "Get transaction item",
|
|
7972
|
+
bpmnElement: "bpmn:ServiceTask",
|
|
7973
|
+
placements: {
|
|
7974
|
+
activity: {
|
|
7975
|
+
type: "bpmn:ServiceTask"
|
|
7976
|
+
}
|
|
7977
|
+
},
|
|
7978
|
+
extensionTag: "uipath:activity",
|
|
7979
|
+
contextFields: [
|
|
7980
|
+
{
|
|
7981
|
+
name: "queueName",
|
|
7982
|
+
displayName: "Queue name",
|
|
7740
7983
|
type: "string",
|
|
7741
7984
|
required: false,
|
|
7742
7985
|
hidden: true,
|
|
@@ -7744,13 +7987,13 @@ var bpmn_spec_default = {
|
|
|
7744
7987
|
binding: false,
|
|
7745
7988
|
defaultValue: null,
|
|
7746
7989
|
bindingInfo: {
|
|
7747
|
-
resource: "
|
|
7748
|
-
resourceKeyPattern: "${
|
|
7749
|
-
propertyAttribute: "
|
|
7990
|
+
resource: "queue",
|
|
7991
|
+
resourceKeyPattern: "${folderPath}.${name}",
|
|
7992
|
+
propertyAttribute: "name"
|
|
7750
7993
|
}
|
|
7751
7994
|
},
|
|
7752
7995
|
{
|
|
7753
|
-
name: "
|
|
7996
|
+
name: "folderPath",
|
|
7754
7997
|
type: "string",
|
|
7755
7998
|
required: false,
|
|
7756
7999
|
hidden: true,
|
|
@@ -7759,7 +8002,7 @@ var bpmn_spec_default = {
|
|
|
7759
8002
|
defaultValue: null
|
|
7760
8003
|
},
|
|
7761
8004
|
{
|
|
7762
|
-
name: "
|
|
8005
|
+
name: "_label",
|
|
7763
8006
|
type: "string",
|
|
7764
8007
|
required: false,
|
|
7765
8008
|
hidden: true,
|
|
@@ -7768,78 +8011,107 @@ var bpmn_spec_default = {
|
|
|
7768
8011
|
defaultValue: null
|
|
7769
8012
|
},
|
|
7770
8013
|
{
|
|
7771
|
-
name: "
|
|
8014
|
+
name: "reference",
|
|
8015
|
+
displayName: "Reference",
|
|
7772
8016
|
type: "string",
|
|
7773
8017
|
required: false,
|
|
7774
8018
|
hidden: true,
|
|
7775
8019
|
isPrimaryKey: false,
|
|
7776
8020
|
binding: false,
|
|
7777
8021
|
defaultValue: null
|
|
8022
|
+
},
|
|
8023
|
+
{
|
|
8024
|
+
name: "filterStrategy",
|
|
8025
|
+
displayName: "Reference filter strategy",
|
|
8026
|
+
type: "string",
|
|
8027
|
+
required: false,
|
|
8028
|
+
hidden: true,
|
|
8029
|
+
isPrimaryKey: false,
|
|
8030
|
+
binding: false,
|
|
8031
|
+
defaultValue: "StartsWith",
|
|
8032
|
+
enum: [
|
|
8033
|
+
"StartsWith",
|
|
8034
|
+
"Equals"
|
|
8035
|
+
]
|
|
7778
8036
|
}
|
|
7779
8037
|
],
|
|
7780
|
-
inputPattern: "
|
|
7781
|
-
|
|
7782
|
-
|
|
7783
|
-
|
|
7784
|
-
|
|
7785
|
-
|
|
7786
|
-
|
|
7787
|
-
|
|
8038
|
+
inputPattern: "none",
|
|
8039
|
+
outputSource: "=result",
|
|
8040
|
+
outputType: "jsonSchema",
|
|
8041
|
+
outputName: "TransactionItem",
|
|
8042
|
+
additionalOutputs: [
|
|
8043
|
+
{
|
|
8044
|
+
name: "hasItem",
|
|
8045
|
+
type: "boolean",
|
|
8046
|
+
source: "=hasItem",
|
|
8047
|
+
required: true
|
|
8048
|
+
},
|
|
8049
|
+
{
|
|
8050
|
+
name: "Error",
|
|
8051
|
+
type: "jsonSchema",
|
|
8052
|
+
source: "=Error",
|
|
8053
|
+
required: true
|
|
8054
|
+
}
|
|
8055
|
+
],
|
|
8056
|
+
bindingPattern: "queue",
|
|
7788
8057
|
bindingInfo: {
|
|
7789
|
-
resource: "
|
|
7790
|
-
resourceKeyPattern: "${
|
|
7791
|
-
propertyAttribute: "
|
|
7792
|
-
contextField: "
|
|
8058
|
+
resource: "queue",
|
|
8059
|
+
resourceKeyPattern: "${folderPath}.${name}",
|
|
8060
|
+
propertyAttribute: "name",
|
|
8061
|
+
contextField: "queueName"
|
|
7793
8062
|
},
|
|
7794
8063
|
requiresDiscovery: true,
|
|
7795
|
-
isDynamic:
|
|
7796
|
-
xmlTemplate: `<bpmn:
|
|
8064
|
+
isDynamic: false,
|
|
8065
|
+
xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
|
|
7797
8066
|
<bpmn:extensionElements>
|
|
7798
8067
|
<uipath:activity version="v1">
|
|
7799
|
-
<uipath:type value="Orchestrator.
|
|
8068
|
+
<uipath:type value="Orchestrator.GetTransactionItem" version="v2" />
|
|
7800
8069
|
<uipath:context>
|
|
7801
|
-
<uipath:input name="
|
|
7802
|
-
<uipath:input name="folderId" type="string" value="{folderId}" />
|
|
8070
|
+
<uipath:input name="queueName" type="string" value="{queueName}" />
|
|
7803
8071
|
<uipath:input name="folderPath" type="string" value="{folderPath}" />
|
|
7804
|
-
<uipath:input name="
|
|
8072
|
+
<uipath:input name="reference" type="string" value="" />
|
|
8073
|
+
<uipath:input name="filterStrategy" type="string" value="StartsWith" />
|
|
7805
8074
|
</uipath:context>
|
|
7806
|
-
<uipath:
|
|
7807
|
-
<uipath:output name="
|
|
8075
|
+
<uipath:output name="hasItem" type="boolean" source="=hasItem" var="{hasItemVarId}" />
|
|
8076
|
+
<uipath:output name="TransactionItem" type="jsonSchema" source="=result" var="{varId}" />
|
|
8077
|
+
<uipath:output name="Error" type="jsonSchema" source="=Error" var="{errorVarId}" />
|
|
7808
8078
|
</uipath:activity>
|
|
7809
8079
|
</bpmn:extensionElements>
|
|
7810
8080
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
7811
8081
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
7812
|
-
</bpmn:
|
|
7813
|
-
discoveryNotes: "Uses
|
|
8082
|
+
</bpmn:ServiceTask>`,
|
|
8083
|
+
discoveryNotes: "Uses getQueueDefinitions(serviceType, search) to list available queues.",
|
|
8084
|
+
outputNotes: "hasItem is the branchable empty-queue signal (the only property guaranteed on an empty queue). The engine flattens the dequeued item onto the result root, so =result binds TransactionItem; it is typed like the trigger's item so it chains into Set transaction status / progress / Postpone (their QueueItem input). The canvas serializes three outputs (hasItem, TransactionItem, Error); outputName/outputSource/outputType name the primary (TransactionItem) and additionalOutputs declares the other two, so all three are gated on name, type, source and presence.",
|
|
8085
|
+
contextFieldNotes: "reference and filterStrategy live in uipath:context next to queueName; the backend reads them there. filterStrategy mirrors Orchestrator's QueueItemsFilterStrategy (default StartsWith)."
|
|
7814
8086
|
},
|
|
7815
|
-
"Orchestrator.
|
|
7816
|
-
extensionType: "Orchestrator.
|
|
7817
|
-
label: "
|
|
7818
|
-
bpmnElement: "bpmn:
|
|
8087
|
+
"Orchestrator.GetQueueItems": {
|
|
8088
|
+
extensionType: "Orchestrator.GetQueueItems",
|
|
8089
|
+
label: "Get queue items",
|
|
8090
|
+
bpmnElement: "bpmn:ServiceTask",
|
|
7819
8091
|
placements: {
|
|
7820
8092
|
activity: {
|
|
7821
|
-
type: "bpmn:
|
|
8093
|
+
type: "bpmn:ServiceTask"
|
|
7822
8094
|
}
|
|
7823
8095
|
},
|
|
7824
8096
|
extensionTag: "uipath:activity",
|
|
7825
8097
|
contextFields: [
|
|
7826
8098
|
{
|
|
7827
|
-
name: "
|
|
7828
|
-
displayName: "Process",
|
|
8099
|
+
name: "queueName",
|
|
7829
8100
|
type: "string",
|
|
7830
8101
|
required: false,
|
|
7831
8102
|
hidden: true,
|
|
7832
8103
|
isPrimaryKey: false,
|
|
7833
8104
|
binding: false,
|
|
7834
8105
|
defaultValue: null,
|
|
8106
|
+
displayName: "Queue name",
|
|
7835
8107
|
bindingInfo: {
|
|
7836
|
-
resource: "
|
|
7837
|
-
resourceKeyPattern: "${
|
|
7838
|
-
propertyAttribute: "
|
|
8108
|
+
resource: "queue",
|
|
8109
|
+
resourceKeyPattern: "${folderPath}.${name}",
|
|
8110
|
+
propertyAttribute: "name"
|
|
7839
8111
|
}
|
|
7840
8112
|
},
|
|
7841
8113
|
{
|
|
7842
|
-
name: "
|
|
8114
|
+
name: "folderPath",
|
|
7843
8115
|
type: "string",
|
|
7844
8116
|
required: false,
|
|
7845
8117
|
hidden: true,
|
|
@@ -7848,7 +8120,7 @@ var bpmn_spec_default = {
|
|
|
7848
8120
|
defaultValue: null
|
|
7849
8121
|
},
|
|
7850
8122
|
{
|
|
7851
|
-
name: "
|
|
8123
|
+
name: "_label",
|
|
7852
8124
|
type: "string",
|
|
7853
8125
|
required: false,
|
|
7854
8126
|
hidden: true,
|
|
@@ -7857,74 +8129,217 @@ var bpmn_spec_default = {
|
|
|
7857
8129
|
defaultValue: null
|
|
7858
8130
|
},
|
|
7859
8131
|
{
|
|
7860
|
-
name: "
|
|
8132
|
+
name: "statuses",
|
|
7861
8133
|
type: "string",
|
|
7862
8134
|
required: false,
|
|
7863
8135
|
hidden: true,
|
|
7864
8136
|
isPrimaryKey: false,
|
|
7865
8137
|
binding: false,
|
|
7866
|
-
defaultValue: null
|
|
8138
|
+
defaultValue: null,
|
|
8139
|
+
displayName: "Status"
|
|
8140
|
+
},
|
|
8141
|
+
{
|
|
8142
|
+
name: "reference",
|
|
8143
|
+
type: "string",
|
|
8144
|
+
required: false,
|
|
8145
|
+
hidden: true,
|
|
8146
|
+
isPrimaryKey: false,
|
|
8147
|
+
binding: false,
|
|
8148
|
+
defaultValue: null,
|
|
8149
|
+
displayName: "Reference"
|
|
7867
8150
|
}
|
|
7868
8151
|
],
|
|
7869
|
-
inputPattern: "
|
|
7870
|
-
|
|
7871
|
-
|
|
7872
|
-
|
|
7873
|
-
|
|
7874
|
-
|
|
7875
|
-
|
|
7876
|
-
|
|
8152
|
+
inputPattern: "none",
|
|
8153
|
+
outputSource: "=queueItems",
|
|
8154
|
+
outputType: "jsonSchema",
|
|
8155
|
+
outputName: "QueueItems",
|
|
8156
|
+
additionalOutputs: [
|
|
8157
|
+
{
|
|
8158
|
+
name: "Count",
|
|
8159
|
+
type: "number",
|
|
8160
|
+
source: "=count",
|
|
8161
|
+
required: true
|
|
8162
|
+
},
|
|
8163
|
+
{
|
|
8164
|
+
name: "Error",
|
|
8165
|
+
type: "jsonSchema",
|
|
8166
|
+
source: "=Error",
|
|
8167
|
+
required: true
|
|
8168
|
+
}
|
|
8169
|
+
],
|
|
8170
|
+
bindingPattern: "queue",
|
|
7877
8171
|
bindingInfo: {
|
|
7878
|
-
resource: "
|
|
7879
|
-
resourceKeyPattern: "${
|
|
7880
|
-
propertyAttribute: "
|
|
7881
|
-
contextField: "
|
|
8172
|
+
resource: "queue",
|
|
8173
|
+
resourceKeyPattern: "${folderPath}.${name}",
|
|
8174
|
+
propertyAttribute: "name",
|
|
8175
|
+
contextField: "queueName"
|
|
7882
8176
|
},
|
|
7883
8177
|
requiresDiscovery: true,
|
|
7884
|
-
isDynamic:
|
|
7885
|
-
xmlTemplate: `<bpmn:
|
|
8178
|
+
isDynamic: false,
|
|
8179
|
+
xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
|
|
7886
8180
|
<bpmn:extensionElements>
|
|
7887
8181
|
<uipath:activity version="v1">
|
|
7888
|
-
<uipath:type value="Orchestrator.
|
|
8182
|
+
<uipath:type value="Orchestrator.GetQueueItems" version="v2" />
|
|
7889
8183
|
<uipath:context>
|
|
7890
|
-
<uipath:input name="
|
|
7891
|
-
<uipath:input name="folderId" type="string" value="{folderId}" />
|
|
8184
|
+
<uipath:input name="queueName" type="string" value="{queueName}" />
|
|
7892
8185
|
<uipath:input name="folderPath" type="string" value="{folderPath}" />
|
|
7893
|
-
<uipath:input name="
|
|
8186
|
+
<uipath:input name="statuses" type="string" value="{statuses}" />
|
|
8187
|
+
<uipath:input name="reference" type="string" value="{reference}" />
|
|
7894
8188
|
</uipath:context>
|
|
7895
|
-
<uipath:
|
|
8189
|
+
<uipath:output name="QueueItems" type="jsonSchema" source="=queueItems" var="{varId}" />
|
|
8190
|
+
<uipath:output name="Count" type="number" source="=count" var="{countVarId}" />
|
|
8191
|
+
<uipath:output name="Error" type="jsonSchema" source="=Error" var="{errorVarId}" />
|
|
7896
8192
|
</uipath:activity>
|
|
7897
8193
|
</bpmn:extensionElements>
|
|
7898
8194
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
7899
8195
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
7900
|
-
</bpmn:
|
|
7901
|
-
discoveryNotes: "Uses
|
|
8196
|
+
</bpmn:ServiceTask>`,
|
|
8197
|
+
discoveryNotes: "Uses getQueueDefinitions(serviceType, search) to list available queues.",
|
|
8198
|
+
outputNotes: "The canvas serializes three outputs (QueueItems, Count, Error); outputName/outputSource/outputType name the primary (QueueItems) and additionalOutputs declares the other two, so all three are gated on name, type, source and presence.",
|
|
8199
|
+
contextFieldNotes: "statuses and reference filter the returned items and live in uipath:context alongside queueName."
|
|
7902
8200
|
},
|
|
7903
|
-
"
|
|
7904
|
-
extensionType: "
|
|
7905
|
-
label: "
|
|
7906
|
-
bpmnElement: "bpmn:
|
|
8201
|
+
"Queue.WaitForEvent": {
|
|
8202
|
+
extensionType: "Queue.WaitForEvent",
|
|
8203
|
+
label: "Wait for queue item",
|
|
8204
|
+
bpmnElement: "bpmn:ReceiveTask",
|
|
7907
8205
|
placements: {
|
|
7908
8206
|
activity: {
|
|
7909
|
-
type: "bpmn:
|
|
8207
|
+
type: "bpmn:ReceiveTask"
|
|
8208
|
+
},
|
|
8209
|
+
event: {
|
|
8210
|
+
type: "bpmn:IntermediateCatchEvent",
|
|
8211
|
+
eventDefinition: {
|
|
8212
|
+
type: "bpmn:MessageEventDefinition"
|
|
8213
|
+
}
|
|
7910
8214
|
}
|
|
7911
8215
|
},
|
|
7912
|
-
extensionTag: "uipath:
|
|
8216
|
+
extensionTag: "uipath:event",
|
|
7913
8217
|
contextFields: [
|
|
7914
8218
|
{
|
|
7915
|
-
name: "
|
|
7916
|
-
displayName: "Maestro Flow",
|
|
8219
|
+
name: "queueName",
|
|
7917
8220
|
type: "string",
|
|
7918
8221
|
required: false,
|
|
7919
8222
|
hidden: true,
|
|
7920
8223
|
isPrimaryKey: false,
|
|
7921
8224
|
binding: false,
|
|
7922
8225
|
defaultValue: null,
|
|
8226
|
+
displayName: "Queue name",
|
|
7923
8227
|
bindingInfo: {
|
|
7924
|
-
resource: "
|
|
7925
|
-
resourceKeyPattern: "${
|
|
7926
|
-
propertyAttribute: "
|
|
7927
|
-
}
|
|
8228
|
+
resource: "queue",
|
|
8229
|
+
resourceKeyPattern: "${folderPath}.${name}",
|
|
8230
|
+
propertyAttribute: "name"
|
|
8231
|
+
}
|
|
8232
|
+
},
|
|
8233
|
+
{
|
|
8234
|
+
name: "folderPath",
|
|
8235
|
+
type: "string",
|
|
8236
|
+
required: false,
|
|
8237
|
+
hidden: true,
|
|
8238
|
+
isPrimaryKey: false,
|
|
8239
|
+
binding: false,
|
|
8240
|
+
defaultValue: null
|
|
8241
|
+
},
|
|
8242
|
+
{
|
|
8243
|
+
name: "_label",
|
|
8244
|
+
type: "string",
|
|
8245
|
+
required: false,
|
|
8246
|
+
hidden: true,
|
|
8247
|
+
isPrimaryKey: false,
|
|
8248
|
+
binding: false,
|
|
8249
|
+
defaultValue: null
|
|
8250
|
+
},
|
|
8251
|
+
{
|
|
8252
|
+
name: "reference",
|
|
8253
|
+
type: "string",
|
|
8254
|
+
required: false,
|
|
8255
|
+
hidden: true,
|
|
8256
|
+
isPrimaryKey: false,
|
|
8257
|
+
binding: false,
|
|
8258
|
+
defaultValue: null,
|
|
8259
|
+
displayName: "Reference"
|
|
8260
|
+
},
|
|
8261
|
+
{
|
|
8262
|
+
name: "filterStrategy",
|
|
8263
|
+
type: "string",
|
|
8264
|
+
required: false,
|
|
8265
|
+
hidden: true,
|
|
8266
|
+
isPrimaryKey: false,
|
|
8267
|
+
binding: false,
|
|
8268
|
+
defaultValue: "StartsWith",
|
|
8269
|
+
displayName: "Reference filter strategy",
|
|
8270
|
+
enum: [
|
|
8271
|
+
"StartsWith",
|
|
8272
|
+
"Equals"
|
|
8273
|
+
]
|
|
8274
|
+
}
|
|
8275
|
+
],
|
|
8276
|
+
inputPattern: "none",
|
|
8277
|
+
outputSource: "=result",
|
|
8278
|
+
outputType: "jsonSchema",
|
|
8279
|
+
outputName: "TransactionItem",
|
|
8280
|
+
additionalOutputs: [
|
|
8281
|
+
{
|
|
8282
|
+
name: "Error",
|
|
8283
|
+
type: "jsonSchema",
|
|
8284
|
+
source: "=Error",
|
|
8285
|
+
required: true
|
|
8286
|
+
}
|
|
8287
|
+
],
|
|
8288
|
+
bindingPattern: "queue",
|
|
8289
|
+
bindingInfo: {
|
|
8290
|
+
resource: "queue",
|
|
8291
|
+
resourceKeyPattern: "${folderPath}.${name}",
|
|
8292
|
+
propertyAttribute: "name",
|
|
8293
|
+
contextField: "queueName"
|
|
8294
|
+
},
|
|
8295
|
+
requiresDiscovery: true,
|
|
8296
|
+
isDynamic: false,
|
|
8297
|
+
xmlTemplate: `<bpmn:ReceiveTask id="{id}" name="{name}">
|
|
8298
|
+
<bpmn:extensionElements>
|
|
8299
|
+
<uipath:event version="v1">
|
|
8300
|
+
<uipath:type value="Queue.WaitForEvent" version="v2" />
|
|
8301
|
+
<uipath:context>
|
|
8302
|
+
<uipath:input name="queueName" type="string" value="{queueName}" />
|
|
8303
|
+
<uipath:input name="folderPath" type="string" value="{folderPath}" />
|
|
8304
|
+
<uipath:input name="reference" type="string" value="" />
|
|
8305
|
+
<uipath:input name="filterStrategy" type="string" value="StartsWith" />
|
|
8306
|
+
</uipath:context>
|
|
8307
|
+
<uipath:output name="TransactionItem" type="jsonSchema" source="=result" var="{varId}" />
|
|
8308
|
+
<uipath:output name="Error" type="jsonSchema" source="=Error" var="{errorVarId}" />
|
|
8309
|
+
</uipath:event>
|
|
8310
|
+
</bpmn:extensionElements>
|
|
8311
|
+
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
8312
|
+
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
8313
|
+
</bpmn:ReceiveTask>`,
|
|
8314
|
+
discoveryNotes: "Uses getQueueDefinitions(serviceType, search) to list available queues.",
|
|
8315
|
+
outputNotes: "The canvas serializes two outputs (TransactionItem, Error); outputName/outputSource/outputType name the primary (TransactionItem) and additionalOutputs declares Error, so both are gated on name, type, source and presence.",
|
|
8316
|
+
extensionTagNotes: "Registered in the PO.Frontend isEvents array, so it serializes as uipath:event and never reaches the merged-body branch."
|
|
8317
|
+
},
|
|
8318
|
+
"Orchestrator.StartAgenticProcess": {
|
|
8319
|
+
extensionType: "Orchestrator.StartAgenticProcess",
|
|
8320
|
+
label: "Start and wait for agentic process",
|
|
8321
|
+
bpmnElement: "bpmn:CallActivity",
|
|
8322
|
+
placements: {
|
|
8323
|
+
activity: {
|
|
8324
|
+
type: "bpmn:CallActivity"
|
|
8325
|
+
}
|
|
8326
|
+
},
|
|
8327
|
+
extensionTag: "uipath:activity",
|
|
8328
|
+
contextFields: [
|
|
8329
|
+
{
|
|
8330
|
+
name: "releaseKey",
|
|
8331
|
+
displayName: "Process",
|
|
8332
|
+
type: "string",
|
|
8333
|
+
required: false,
|
|
8334
|
+
hidden: true,
|
|
8335
|
+
isPrimaryKey: false,
|
|
8336
|
+
binding: false,
|
|
8337
|
+
defaultValue: null,
|
|
8338
|
+
bindingInfo: {
|
|
8339
|
+
resource: "process",
|
|
8340
|
+
resourceKeyPattern: "${metadata.key}",
|
|
8341
|
+
propertyAttribute: "Key"
|
|
8342
|
+
}
|
|
7928
8343
|
},
|
|
7929
8344
|
{
|
|
7930
8345
|
name: "folderId",
|
|
@@ -7973,7 +8388,7 @@ var bpmn_spec_default = {
|
|
|
7973
8388
|
xmlTemplate: `<bpmn:CallActivity id="{id}" name="{name}">
|
|
7974
8389
|
<bpmn:extensionElements>
|
|
7975
8390
|
<uipath:activity version="v1">
|
|
7976
|
-
<uipath:type value="Orchestrator.
|
|
8391
|
+
<uipath:type value="Orchestrator.StartAgenticProcess" version="v1" />
|
|
7977
8392
|
<uipath:context>
|
|
7978
8393
|
<uipath:input name="releaseKey" type="string" value="{releaseKey}" />
|
|
7979
8394
|
<uipath:input name="folderId" type="string" value="{folderId}" />
|
|
@@ -7987,11 +8402,11 @@ var bpmn_spec_default = {
|
|
|
7987
8402
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
7988
8403
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
7989
8404
|
</bpmn:CallActivity>`,
|
|
7990
|
-
discoveryNotes: "Uses getSupportedOrchestratorTasks('
|
|
8405
|
+
discoveryNotes: "Uses getSupportedOrchestratorTasks('ProcessOrchestration', search, 0, 100, true) to list available agentic processes"
|
|
7991
8406
|
},
|
|
7992
|
-
"Orchestrator.
|
|
7993
|
-
extensionType: "Orchestrator.
|
|
7994
|
-
label: "Start
|
|
8407
|
+
"Orchestrator.StartAgenticProcessAsync": {
|
|
8408
|
+
extensionType: "Orchestrator.StartAgenticProcessAsync",
|
|
8409
|
+
label: "Start agentic process",
|
|
7995
8410
|
bpmnElement: "bpmn:CallActivity",
|
|
7996
8411
|
placements: {
|
|
7997
8412
|
activity: {
|
|
@@ -8002,7 +8417,7 @@ var bpmn_spec_default = {
|
|
|
8002
8417
|
contextFields: [
|
|
8003
8418
|
{
|
|
8004
8419
|
name: "releaseKey",
|
|
8005
|
-
displayName: "
|
|
8420
|
+
displayName: "Process",
|
|
8006
8421
|
type: "string",
|
|
8007
8422
|
required: false,
|
|
8008
8423
|
hidden: true,
|
|
@@ -8049,7 +8464,7 @@ var bpmn_spec_default = {
|
|
|
8049
8464
|
outputSource: null,
|
|
8050
8465
|
outputType: null,
|
|
8051
8466
|
outputName: null,
|
|
8052
|
-
outputNotes: "Fire-and-forget: the canvas clears the process outputs for this type (getAgenticProcessInputOutputValues sets outputs to [] for Orchestrator.
|
|
8467
|
+
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.",
|
|
8053
8468
|
bindingPattern: "process",
|
|
8054
8469
|
bindingInfo: {
|
|
8055
8470
|
resource: "process",
|
|
@@ -8062,7 +8477,7 @@ var bpmn_spec_default = {
|
|
|
8062
8477
|
xmlTemplate: `<bpmn:CallActivity id="{id}" name="{name}">
|
|
8063
8478
|
<bpmn:extensionElements>
|
|
8064
8479
|
<uipath:activity version="v1">
|
|
8065
|
-
<uipath:type value="Orchestrator.
|
|
8480
|
+
<uipath:type value="Orchestrator.StartAgenticProcessAsync" version="v1" />
|
|
8066
8481
|
<uipath:context>
|
|
8067
8482
|
<uipath:input name="releaseKey" type="string" value="{releaseKey}" />
|
|
8068
8483
|
<uipath:input name="folderId" type="string" value="{folderId}" />
|
|
@@ -8075,191 +8490,990 @@ var bpmn_spec_default = {
|
|
|
8075
8490
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
8076
8491
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
8077
8492
|
</bpmn:CallActivity>`,
|
|
8078
|
-
discoveryNotes: "Uses getSupportedOrchestratorTasks('
|
|
8493
|
+
discoveryNotes: "Uses getSupportedOrchestratorTasks('ProcessOrchestration', search, 0, 100, true) to list available agentic processes"
|
|
8079
8494
|
},
|
|
8080
|
-
"
|
|
8081
|
-
extensionType: "
|
|
8082
|
-
label: "Start and wait for
|
|
8083
|
-
bpmnElement: "bpmn:
|
|
8495
|
+
"Orchestrator.StartCaseMgmtProcess": {
|
|
8496
|
+
extensionType: "Orchestrator.StartCaseMgmtProcess",
|
|
8497
|
+
label: "Start and wait for case management",
|
|
8498
|
+
bpmnElement: "bpmn:CallActivity",
|
|
8084
8499
|
placements: {
|
|
8085
8500
|
activity: {
|
|
8086
|
-
type: "bpmn:
|
|
8501
|
+
type: "bpmn:CallActivity"
|
|
8087
8502
|
}
|
|
8088
8503
|
},
|
|
8089
8504
|
extensionTag: "uipath:activity",
|
|
8090
|
-
contextFields: [
|
|
8505
|
+
contextFields: [
|
|
8506
|
+
{
|
|
8507
|
+
name: "releaseKey",
|
|
8508
|
+
displayName: "Process",
|
|
8509
|
+
type: "string",
|
|
8510
|
+
required: false,
|
|
8511
|
+
hidden: true,
|
|
8512
|
+
isPrimaryKey: false,
|
|
8513
|
+
binding: false,
|
|
8514
|
+
defaultValue: null,
|
|
8515
|
+
bindingInfo: {
|
|
8516
|
+
resource: "process",
|
|
8517
|
+
resourceKeyPattern: "${metadata.key}",
|
|
8518
|
+
propertyAttribute: "Key"
|
|
8519
|
+
}
|
|
8520
|
+
},
|
|
8521
|
+
{
|
|
8522
|
+
name: "folderId",
|
|
8523
|
+
type: "string",
|
|
8524
|
+
required: false,
|
|
8525
|
+
hidden: true,
|
|
8526
|
+
isPrimaryKey: false,
|
|
8527
|
+
binding: false,
|
|
8528
|
+
defaultValue: null
|
|
8529
|
+
},
|
|
8530
|
+
{
|
|
8531
|
+
name: "folderPath",
|
|
8532
|
+
type: "string",
|
|
8533
|
+
required: false,
|
|
8534
|
+
hidden: true,
|
|
8535
|
+
isPrimaryKey: false,
|
|
8536
|
+
binding: false,
|
|
8537
|
+
defaultValue: null
|
|
8538
|
+
},
|
|
8539
|
+
{
|
|
8540
|
+
name: "name",
|
|
8541
|
+
type: "string",
|
|
8542
|
+
required: false,
|
|
8543
|
+
hidden: true,
|
|
8544
|
+
isPrimaryKey: false,
|
|
8545
|
+
binding: false,
|
|
8546
|
+
defaultValue: null
|
|
8547
|
+
}
|
|
8548
|
+
],
|
|
8091
8549
|
inputPattern: "mergedBody",
|
|
8092
|
-
inputName: "
|
|
8093
|
-
inputTarget: "
|
|
8550
|
+
inputName: "JobArguments",
|
|
8551
|
+
inputTarget: "bodyField",
|
|
8094
8552
|
outputSource: null,
|
|
8095
|
-
outputType: "
|
|
8096
|
-
outputName: "
|
|
8553
|
+
outputType: "Orchestrator.RunJob",
|
|
8554
|
+
outputName: "Process response",
|
|
8097
8555
|
useRelativeSource: true,
|
|
8098
|
-
bindingPattern: "
|
|
8099
|
-
|
|
8556
|
+
bindingPattern: "process",
|
|
8557
|
+
bindingInfo: {
|
|
8558
|
+
resource: "process",
|
|
8559
|
+
resourceKeyPattern: "${metadata.key}",
|
|
8560
|
+
propertyAttribute: "Key",
|
|
8561
|
+
contextField: "releaseKey"
|
|
8562
|
+
},
|
|
8563
|
+
requiresDiscovery: true,
|
|
8100
8564
|
isDynamic: true,
|
|
8101
|
-
xmlTemplate: `<bpmn:
|
|
8565
|
+
xmlTemplate: `<bpmn:CallActivity id="{id}" name="{name}">
|
|
8102
8566
|
<bpmn:extensionElements>
|
|
8103
8567
|
<uipath:activity version="v1">
|
|
8104
|
-
<uipath:type value="
|
|
8105
|
-
<uipath:
|
|
8106
|
-
|
|
8568
|
+
<uipath:type value="Orchestrator.StartCaseMgmtProcess" version="v1" />
|
|
8569
|
+
<uipath:context>
|
|
8570
|
+
<uipath:input name="releaseKey" type="string" value="{releaseKey}" />
|
|
8571
|
+
<uipath:input name="folderId" type="string" value="{folderId}" />
|
|
8572
|
+
<uipath:input name="folderPath" type="string" value="{folderPath}" />
|
|
8573
|
+
<uipath:input name="name" type="string" value="{name}" />
|
|
8574
|
+
</uipath:context>
|
|
8575
|
+
<uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
|
|
8576
|
+
<uipath:output name="Process response" type="Orchestrator.RunJob" var="{varId}" />
|
|
8107
8577
|
</uipath:activity>
|
|
8108
8578
|
</bpmn:extensionElements>
|
|
8109
8579
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
8110
8580
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
8111
|
-
</bpmn:
|
|
8112
|
-
|
|
8113
|
-
|
|
8114
|
-
|
|
8581
|
+
</bpmn:CallActivity>`,
|
|
8582
|
+
discoveryNotes: "Uses getSupportedOrchestratorTasks('caseManagement', search, 0, 100, true) to list available case management processes"
|
|
8583
|
+
},
|
|
8584
|
+
"Orchestrator.StartCaseMgmtProcessAsync": {
|
|
8585
|
+
extensionType: "Orchestrator.StartCaseMgmtProcessAsync",
|
|
8586
|
+
label: "Start case management",
|
|
8587
|
+
bpmnElement: "bpmn:CallActivity",
|
|
8588
|
+
placements: {
|
|
8589
|
+
activity: {
|
|
8590
|
+
type: "bpmn:CallActivity"
|
|
8591
|
+
}
|
|
8592
|
+
},
|
|
8593
|
+
extensionTag: "uipath:activity",
|
|
8594
|
+
contextFields: [
|
|
8115
8595
|
{
|
|
8116
|
-
name: "
|
|
8117
|
-
displayName: "
|
|
8596
|
+
name: "releaseKey",
|
|
8597
|
+
displayName: "Process",
|
|
8118
8598
|
type: "string",
|
|
8119
|
-
required:
|
|
8120
|
-
|
|
8599
|
+
required: false,
|
|
8600
|
+
hidden: true,
|
|
8601
|
+
isPrimaryKey: false,
|
|
8602
|
+
binding: false,
|
|
8603
|
+
defaultValue: null,
|
|
8604
|
+
bindingInfo: {
|
|
8605
|
+
resource: "process",
|
|
8606
|
+
resourceKeyPattern: "${metadata.key}",
|
|
8607
|
+
propertyAttribute: "Key"
|
|
8608
|
+
}
|
|
8121
8609
|
},
|
|
8122
8610
|
{
|
|
8123
|
-
name: "
|
|
8124
|
-
displayName: "Skill ID",
|
|
8611
|
+
name: "folderId",
|
|
8125
8612
|
type: "string",
|
|
8126
|
-
required:
|
|
8127
|
-
|
|
8613
|
+
required: false,
|
|
8614
|
+
hidden: true,
|
|
8615
|
+
isPrimaryKey: false,
|
|
8616
|
+
binding: false,
|
|
8617
|
+
defaultValue: null
|
|
8128
8618
|
},
|
|
8129
8619
|
{
|
|
8130
|
-
name: "
|
|
8131
|
-
displayName: "Input",
|
|
8620
|
+
name: "folderPath",
|
|
8132
8621
|
type: "string",
|
|
8133
|
-
required:
|
|
8134
|
-
|
|
8622
|
+
required: false,
|
|
8623
|
+
hidden: true,
|
|
8624
|
+
isPrimaryKey: false,
|
|
8625
|
+
binding: false,
|
|
8626
|
+
defaultValue: null
|
|
8627
|
+
},
|
|
8628
|
+
{
|
|
8629
|
+
name: "name",
|
|
8630
|
+
type: "string",
|
|
8631
|
+
required: false,
|
|
8632
|
+
hidden: true,
|
|
8633
|
+
isPrimaryKey: false,
|
|
8634
|
+
binding: false,
|
|
8635
|
+
defaultValue: null
|
|
8636
|
+
}
|
|
8637
|
+
],
|
|
8638
|
+
inputPattern: "mergedBody",
|
|
8639
|
+
inputName: "JobArguments",
|
|
8640
|
+
inputTarget: "bodyField",
|
|
8641
|
+
outputSource: null,
|
|
8642
|
+
outputType: null,
|
|
8643
|
+
outputName: null,
|
|
8644
|
+
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.",
|
|
8645
|
+
bindingPattern: "process",
|
|
8646
|
+
bindingInfo: {
|
|
8647
|
+
resource: "process",
|
|
8648
|
+
resourceKeyPattern: "${metadata.key}",
|
|
8649
|
+
propertyAttribute: "Key",
|
|
8650
|
+
contextField: "releaseKey"
|
|
8651
|
+
},
|
|
8652
|
+
requiresDiscovery: true,
|
|
8653
|
+
isDynamic: true,
|
|
8654
|
+
xmlTemplate: `<bpmn:CallActivity id="{id}" name="{name}">
|
|
8655
|
+
<bpmn:extensionElements>
|
|
8656
|
+
<uipath:activity version="v1">
|
|
8657
|
+
<uipath:type value="Orchestrator.StartCaseMgmtProcessAsync" version="v1" />
|
|
8658
|
+
<uipath:context>
|
|
8659
|
+
<uipath:input name="releaseKey" type="string" value="{releaseKey}" />
|
|
8660
|
+
<uipath:input name="folderId" type="string" value="{folderId}" />
|
|
8661
|
+
<uipath:input name="folderPath" type="string" value="{folderPath}" />
|
|
8662
|
+
<uipath:input name="name" type="string" value="{name}" />
|
|
8663
|
+
</uipath:context>
|
|
8664
|
+
<uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
|
|
8665
|
+
</uipath:activity>
|
|
8666
|
+
</bpmn:extensionElements>
|
|
8667
|
+
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
8668
|
+
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
8669
|
+
</bpmn:CallActivity>`,
|
|
8670
|
+
discoveryNotes: "Uses getSupportedOrchestratorTasks('caseManagement', search, 0, 100, true) to list available case management processes"
|
|
8671
|
+
},
|
|
8672
|
+
"Orchestrator.StartFlowProcess": {
|
|
8673
|
+
extensionType: "Orchestrator.StartFlowProcess",
|
|
8674
|
+
label: "Start and wait for Maestro Flow",
|
|
8675
|
+
bpmnElement: "bpmn:CallActivity",
|
|
8676
|
+
placements: {
|
|
8677
|
+
activity: {
|
|
8678
|
+
type: "bpmn:CallActivity"
|
|
8679
|
+
}
|
|
8680
|
+
},
|
|
8681
|
+
extensionTag: "uipath:activity",
|
|
8682
|
+
contextFields: [
|
|
8683
|
+
{
|
|
8684
|
+
name: "releaseKey",
|
|
8685
|
+
displayName: "Maestro Flow",
|
|
8686
|
+
type: "string",
|
|
8687
|
+
required: false,
|
|
8688
|
+
hidden: true,
|
|
8689
|
+
isPrimaryKey: false,
|
|
8690
|
+
binding: false,
|
|
8691
|
+
defaultValue: null,
|
|
8692
|
+
bindingInfo: {
|
|
8693
|
+
resource: "process",
|
|
8694
|
+
resourceKeyPattern: "${metadata.key}",
|
|
8695
|
+
propertyAttribute: "Key"
|
|
8696
|
+
}
|
|
8697
|
+
},
|
|
8698
|
+
{
|
|
8699
|
+
name: "folderId",
|
|
8700
|
+
type: "string",
|
|
8701
|
+
required: false,
|
|
8702
|
+
hidden: true,
|
|
8703
|
+
isPrimaryKey: false,
|
|
8704
|
+
binding: false,
|
|
8705
|
+
defaultValue: null
|
|
8706
|
+
},
|
|
8707
|
+
{
|
|
8708
|
+
name: "folderPath",
|
|
8709
|
+
type: "string",
|
|
8710
|
+
required: false,
|
|
8711
|
+
hidden: true,
|
|
8712
|
+
isPrimaryKey: false,
|
|
8713
|
+
binding: false,
|
|
8714
|
+
defaultValue: null
|
|
8715
|
+
},
|
|
8716
|
+
{
|
|
8717
|
+
name: "name",
|
|
8718
|
+
type: "string",
|
|
8719
|
+
required: false,
|
|
8720
|
+
hidden: true,
|
|
8721
|
+
isPrimaryKey: false,
|
|
8722
|
+
binding: false,
|
|
8723
|
+
defaultValue: null
|
|
8724
|
+
}
|
|
8725
|
+
],
|
|
8726
|
+
inputPattern: "mergedBody",
|
|
8727
|
+
inputName: "JobArguments",
|
|
8728
|
+
inputTarget: "bodyField",
|
|
8729
|
+
outputSource: null,
|
|
8730
|
+
outputType: "Orchestrator.RunJob",
|
|
8731
|
+
outputName: "Process response",
|
|
8732
|
+
useRelativeSource: true,
|
|
8733
|
+
bindingPattern: "process",
|
|
8734
|
+
bindingInfo: {
|
|
8735
|
+
resource: "process",
|
|
8736
|
+
resourceKeyPattern: "${metadata.key}",
|
|
8737
|
+
propertyAttribute: "Key",
|
|
8738
|
+
contextField: "releaseKey"
|
|
8739
|
+
},
|
|
8740
|
+
requiresDiscovery: true,
|
|
8741
|
+
isDynamic: true,
|
|
8742
|
+
xmlTemplate: `<bpmn:CallActivity id="{id}" name="{name}">
|
|
8743
|
+
<bpmn:extensionElements>
|
|
8744
|
+
<uipath:activity version="v1">
|
|
8745
|
+
<uipath:type value="Orchestrator.StartFlowProcess" version="v2" />
|
|
8746
|
+
<uipath:context>
|
|
8747
|
+
<uipath:input name="releaseKey" type="string" value="{releaseKey}" />
|
|
8748
|
+
<uipath:input name="folderId" type="string" value="{folderId}" />
|
|
8749
|
+
<uipath:input name="folderPath" type="string" value="{folderPath}" />
|
|
8750
|
+
<uipath:input name="name" type="string" value="{name}" />
|
|
8751
|
+
</uipath:context>
|
|
8752
|
+
<uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
|
|
8753
|
+
<uipath:output name="Process response" type="Orchestrator.RunJob" var="{varId}" />
|
|
8754
|
+
</uipath:activity>
|
|
8755
|
+
</bpmn:extensionElements>
|
|
8756
|
+
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
8757
|
+
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
8758
|
+
</bpmn:CallActivity>`,
|
|
8759
|
+
discoveryNotes: "Uses getSupportedOrchestratorTasks('Flow', search, 0, 100, true) to list available flow processes. Studio Web bindings use the Flow process resource subtype."
|
|
8760
|
+
},
|
|
8761
|
+
"Orchestrator.StartFlowProcessAsync": {
|
|
8762
|
+
extensionType: "Orchestrator.StartFlowProcessAsync",
|
|
8763
|
+
label: "Start Maestro Flow",
|
|
8764
|
+
bpmnElement: "bpmn:CallActivity",
|
|
8765
|
+
placements: {
|
|
8766
|
+
activity: {
|
|
8767
|
+
type: "bpmn:CallActivity"
|
|
8768
|
+
}
|
|
8769
|
+
},
|
|
8770
|
+
extensionTag: "uipath:activity",
|
|
8771
|
+
contextFields: [
|
|
8772
|
+
{
|
|
8773
|
+
name: "releaseKey",
|
|
8774
|
+
displayName: "Maestro Flow",
|
|
8775
|
+
type: "string",
|
|
8776
|
+
required: false,
|
|
8777
|
+
hidden: true,
|
|
8778
|
+
isPrimaryKey: false,
|
|
8779
|
+
binding: false,
|
|
8780
|
+
defaultValue: null,
|
|
8781
|
+
bindingInfo: {
|
|
8782
|
+
resource: "process",
|
|
8783
|
+
resourceKeyPattern: "${metadata.key}",
|
|
8784
|
+
propertyAttribute: "Key"
|
|
8785
|
+
}
|
|
8786
|
+
},
|
|
8787
|
+
{
|
|
8788
|
+
name: "folderId",
|
|
8789
|
+
type: "string",
|
|
8790
|
+
required: false,
|
|
8791
|
+
hidden: true,
|
|
8792
|
+
isPrimaryKey: false,
|
|
8793
|
+
binding: false,
|
|
8794
|
+
defaultValue: null
|
|
8795
|
+
},
|
|
8796
|
+
{
|
|
8797
|
+
name: "folderPath",
|
|
8798
|
+
type: "string",
|
|
8799
|
+
required: false,
|
|
8800
|
+
hidden: true,
|
|
8801
|
+
isPrimaryKey: false,
|
|
8802
|
+
binding: false,
|
|
8803
|
+
defaultValue: null
|
|
8804
|
+
},
|
|
8805
|
+
{
|
|
8806
|
+
name: "name",
|
|
8807
|
+
type: "string",
|
|
8808
|
+
required: false,
|
|
8809
|
+
hidden: true,
|
|
8810
|
+
isPrimaryKey: false,
|
|
8811
|
+
binding: false,
|
|
8812
|
+
defaultValue: null
|
|
8813
|
+
}
|
|
8814
|
+
],
|
|
8815
|
+
inputPattern: "mergedBody",
|
|
8816
|
+
inputName: "JobArguments",
|
|
8817
|
+
inputTarget: "bodyField",
|
|
8818
|
+
outputSource: null,
|
|
8819
|
+
outputType: null,
|
|
8820
|
+
outputName: null,
|
|
8821
|
+
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.",
|
|
8822
|
+
bindingPattern: "process",
|
|
8823
|
+
bindingInfo: {
|
|
8824
|
+
resource: "process",
|
|
8825
|
+
resourceKeyPattern: "${metadata.key}",
|
|
8826
|
+
propertyAttribute: "Key",
|
|
8827
|
+
contextField: "releaseKey"
|
|
8828
|
+
},
|
|
8829
|
+
requiresDiscovery: true,
|
|
8830
|
+
isDynamic: true,
|
|
8831
|
+
xmlTemplate: `<bpmn:CallActivity id="{id}" name="{name}">
|
|
8832
|
+
<bpmn:extensionElements>
|
|
8833
|
+
<uipath:activity version="v1">
|
|
8834
|
+
<uipath:type value="Orchestrator.StartFlowProcessAsync" version="v2" />
|
|
8835
|
+
<uipath:context>
|
|
8836
|
+
<uipath:input name="releaseKey" type="string" value="{releaseKey}" />
|
|
8837
|
+
<uipath:input name="folderId" type="string" value="{folderId}" />
|
|
8838
|
+
<uipath:input name="folderPath" type="string" value="{folderPath}" />
|
|
8839
|
+
<uipath:input name="name" type="string" value="{name}" />
|
|
8840
|
+
</uipath:context>
|
|
8841
|
+
<uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
|
|
8842
|
+
</uipath:activity>
|
|
8843
|
+
</bpmn:extensionElements>
|
|
8844
|
+
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
8845
|
+
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
8846
|
+
</bpmn:CallActivity>`,
|
|
8847
|
+
discoveryNotes: "Uses getSupportedOrchestratorTasks('Flow', search, 0, 100, true) to list available flow processes."
|
|
8848
|
+
},
|
|
8849
|
+
"A2A.AgentExecution": {
|
|
8850
|
+
extensionType: "A2A.AgentExecution",
|
|
8851
|
+
label: "Start and wait for A2A agent",
|
|
8852
|
+
bpmnElement: "bpmn:ServiceTask",
|
|
8853
|
+
placements: {
|
|
8854
|
+
activity: {
|
|
8855
|
+
type: "bpmn:ServiceTask"
|
|
8856
|
+
}
|
|
8857
|
+
},
|
|
8858
|
+
extensionTag: "uipath:activity",
|
|
8859
|
+
contextFields: [],
|
|
8860
|
+
inputPattern: "mergedBody",
|
|
8861
|
+
inputName: "body",
|
|
8862
|
+
inputTarget: "body",
|
|
8863
|
+
outputSource: null,
|
|
8864
|
+
outputType: "A2A.AgentExecution",
|
|
8865
|
+
outputName: "a2aResponse",
|
|
8866
|
+
useRelativeSource: true,
|
|
8867
|
+
bindingPattern: "none",
|
|
8868
|
+
requiresDiscovery: false,
|
|
8869
|
+
isDynamic: true,
|
|
8870
|
+
xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
|
|
8871
|
+
<bpmn:extensionElements>
|
|
8872
|
+
<uipath:activity version="v1">
|
|
8873
|
+
<uipath:type value="A2A.AgentExecution" version="v1" />
|
|
8874
|
+
<uipath:input name="body" type="json" target="body"><![CDATA[{"agentUrl":"{agentUrl}","skillId":"{skillId}","input":"{input}","authToken":"{authToken}","agentName":"{agentName}"}]]></uipath:input>
|
|
8875
|
+
<uipath:output name="a2aResponse" type="A2A.AgentExecution" var="{varId}" />
|
|
8876
|
+
</uipath:activity>
|
|
8877
|
+
</bpmn:extensionElements>
|
|
8878
|
+
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
8879
|
+
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
8880
|
+
</bpmn:ServiceTask>`,
|
|
8881
|
+
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.",
|
|
8882
|
+
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).",
|
|
8883
|
+
inputFields: [
|
|
8884
|
+
{
|
|
8885
|
+
name: "agentUrl",
|
|
8886
|
+
displayName: "Agent URL",
|
|
8887
|
+
type: "string",
|
|
8888
|
+
required: true,
|
|
8889
|
+
description: "URL of the A2A agent endpoint"
|
|
8890
|
+
},
|
|
8891
|
+
{
|
|
8892
|
+
name: "skillId",
|
|
8893
|
+
displayName: "Skill ID",
|
|
8894
|
+
type: "string",
|
|
8895
|
+
required: true,
|
|
8896
|
+
description: "Identifier for the specific skill to invoke on the agent"
|
|
8897
|
+
},
|
|
8898
|
+
{
|
|
8899
|
+
name: "input",
|
|
8900
|
+
displayName: "Input",
|
|
8901
|
+
type: "string",
|
|
8902
|
+
required: true,
|
|
8903
|
+
description: "Input text/message to send to the A2A agent"
|
|
8135
8904
|
},
|
|
8136
8905
|
{
|
|
8137
8906
|
name: "authToken",
|
|
8138
8907
|
displayName: "Auth Token",
|
|
8139
8908
|
type: "string",
|
|
8140
8909
|
required: true,
|
|
8141
|
-
description: "Authentication token for the A2A agent"
|
|
8910
|
+
description: "Authentication token for the A2A agent"
|
|
8911
|
+
},
|
|
8912
|
+
{
|
|
8913
|
+
name: "agentName",
|
|
8914
|
+
displayName: "Agent Name",
|
|
8915
|
+
type: "string",
|
|
8916
|
+
required: true,
|
|
8917
|
+
description: "Display name of the A2A agent"
|
|
8918
|
+
}
|
|
8919
|
+
]
|
|
8920
|
+
},
|
|
8921
|
+
"BPMN.Variables": {
|
|
8922
|
+
extensionType: "BPMN.Variables",
|
|
8923
|
+
label: "BPMN Variables",
|
|
8924
|
+
bpmnElement: "bpmn:Task",
|
|
8925
|
+
placements: {},
|
|
8926
|
+
extensionTag: "uipath:mapping",
|
|
8927
|
+
contextFields: [],
|
|
8928
|
+
inputPattern: "none",
|
|
8929
|
+
outputSource: null,
|
|
8930
|
+
outputType: null,
|
|
8931
|
+
bindingPattern: "none",
|
|
8932
|
+
requiresDiscovery: false,
|
|
8933
|
+
isDynamic: false,
|
|
8934
|
+
xmlTemplate: `<bpmn:Task id="{id}" name="{name}">
|
|
8935
|
+
<bpmn:extensionElements>
|
|
8936
|
+
<uipath:mapping version="v1">
|
|
8937
|
+
<uipath:type value="BPMN.Variables" version="v1" />
|
|
8938
|
+
</uipath:mapping>
|
|
8939
|
+
</bpmn:extensionElements>
|
|
8940
|
+
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
8941
|
+
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
8942
|
+
</bpmn:Task>`,
|
|
8943
|
+
inputNotes: "Variable mappings use uipath:mapping with direct input/output elements, not a jsonBody pattern",
|
|
8944
|
+
bpmnElementNotes: "Also used on bpmn:StartEvent, bpmn:EndEvent, bpmn:ScriptTask, and bpmn:SubProcess for variable mappings. On bpmn:Task with no serviceType, defaults to BPMN.Variables.",
|
|
8945
|
+
extensionTagNotes: "Uses uipath:mapping (not uipath:activity). BPMN.Variables mappings are supported on StartEvent, EndEvent, Task, ScriptTask, and SubProcess owners."
|
|
8946
|
+
},
|
|
8947
|
+
"BPMN.ScriptTask": {
|
|
8948
|
+
extensionType: "BPMN.ScriptTask",
|
|
8949
|
+
label: "Execute script",
|
|
8950
|
+
bpmnElement: "bpmn:ScriptTask",
|
|
8951
|
+
placements: {},
|
|
8952
|
+
extensionTag: "uipath:mapping",
|
|
8953
|
+
contextFields: [],
|
|
8954
|
+
inputPattern: "scriptArgs",
|
|
8955
|
+
inputName: "args",
|
|
8956
|
+
inputTarget: "bodyField",
|
|
8957
|
+
outputSource: null,
|
|
8958
|
+
outputType: null,
|
|
8959
|
+
bindingPattern: "none",
|
|
8960
|
+
requiresDiscovery: false,
|
|
8961
|
+
isDynamic: false,
|
|
8962
|
+
xmlTemplate: `<bpmn:ScriptTask id="{id}" name="{name}">
|
|
8963
|
+
<bpmn:extensionElements>
|
|
8964
|
+
<uipath:mapping version="v1">
|
|
8965
|
+
<uipath:type value="BPMN.ScriptTask" version="v1" />
|
|
8966
|
+
<uipath:input name="args" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
|
|
8967
|
+
</uipath:mapping>
|
|
8968
|
+
</bpmn:extensionElements>
|
|
8969
|
+
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
8970
|
+
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
8971
|
+
</bpmn:ScriptTask>`,
|
|
8972
|
+
inputNotes: "Inputs are merged into a single json input named 'args' with target 'bodyField'. An inputSchema is created from the input variables.",
|
|
8973
|
+
extensionTagNotes: "bpmn:ScriptTask is routed through createModdleExtensionVariableMapping (same as BPMN.Variables). Inputs are merged into a single 'args' JSON body with inputSchema."
|
|
8974
|
+
},
|
|
8975
|
+
"ConversationalService.QueueServiceMessage": {
|
|
8976
|
+
extensionType: "ConversationalService.QueueServiceMessage",
|
|
8977
|
+
label: "Queue service message",
|
|
8978
|
+
bpmnElement: "bpmn:ServiceTask",
|
|
8979
|
+
placements: {
|
|
8980
|
+
activity: {
|
|
8981
|
+
type: "bpmn:ServiceTask"
|
|
8982
|
+
}
|
|
8983
|
+
},
|
|
8984
|
+
extensionTag: "uipath:activity",
|
|
8985
|
+
contextFields: [
|
|
8986
|
+
{
|
|
8987
|
+
name: "_label",
|
|
8988
|
+
type: "string",
|
|
8989
|
+
required: false,
|
|
8990
|
+
hidden: true,
|
|
8991
|
+
isPrimaryKey: false,
|
|
8992
|
+
binding: false,
|
|
8993
|
+
defaultValue: null
|
|
8994
|
+
}
|
|
8995
|
+
],
|
|
8996
|
+
inputPattern: "mergedBody",
|
|
8997
|
+
inputName: "body",
|
|
8998
|
+
inputTarget: "body",
|
|
8999
|
+
outputSource: "=response",
|
|
9000
|
+
outputType: "jsonSchema",
|
|
9001
|
+
outputName: "response",
|
|
9002
|
+
additionalOutputs: [
|
|
9003
|
+
{
|
|
9004
|
+
name: "Error",
|
|
9005
|
+
type: "jsonSchema",
|
|
9006
|
+
source: "=Error",
|
|
9007
|
+
required: false
|
|
9008
|
+
}
|
|
9009
|
+
],
|
|
9010
|
+
bindingPattern: "none",
|
|
9011
|
+
requiresDiscovery: false,
|
|
9012
|
+
isDynamic: false,
|
|
9013
|
+
xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
|
|
9014
|
+
<bpmn:extensionElements>
|
|
9015
|
+
<uipath:activity version="v1">
|
|
9016
|
+
<uipath:type value="ConversationalService.QueueServiceMessage" version="v1" />
|
|
9017
|
+
<uipath:input name="body" type="json" target="body"><![CDATA[{"conversationId":"{conversationId}","userContent":"{userContent}","assistantContent":"{assistantContent}"}]]></uipath:input>
|
|
9018
|
+
<uipath:output name="response" type="jsonSchema" source="=response" var="{varId}" />
|
|
9019
|
+
<uipath:output name="Error" type="jsonSchema" source="=Error" var="{errorVarId}" />
|
|
9020
|
+
</uipath:activity>
|
|
9021
|
+
</bpmn:extensionElements>
|
|
9022
|
+
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
9023
|
+
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
9024
|
+
</bpmn:ServiceTask>`,
|
|
9025
|
+
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.",
|
|
9026
|
+
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.',
|
|
9027
|
+
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".',
|
|
9028
|
+
inputFields: [
|
|
9029
|
+
{
|
|
9030
|
+
name: "conversationId",
|
|
9031
|
+
displayName: "Conversation ID",
|
|
9032
|
+
type: "string",
|
|
9033
|
+
required: true,
|
|
9034
|
+
hidden: false,
|
|
9035
|
+
isPrimaryKey: false,
|
|
9036
|
+
binding: false,
|
|
9037
|
+
defaultValue: null,
|
|
9038
|
+
target: "body"
|
|
9039
|
+
},
|
|
9040
|
+
{
|
|
9041
|
+
name: "userContent",
|
|
9042
|
+
displayName: "User content",
|
|
9043
|
+
type: "string",
|
|
9044
|
+
required: true,
|
|
9045
|
+
hidden: false,
|
|
9046
|
+
isPrimaryKey: false,
|
|
9047
|
+
binding: false,
|
|
9048
|
+
defaultValue: null,
|
|
9049
|
+
target: "body"
|
|
9050
|
+
},
|
|
9051
|
+
{
|
|
9052
|
+
name: "assistantContent",
|
|
9053
|
+
displayName: "Assistant content",
|
|
9054
|
+
type: "string",
|
|
9055
|
+
required: true,
|
|
9056
|
+
hidden: false,
|
|
9057
|
+
isPrimaryKey: false,
|
|
9058
|
+
binding: false,
|
|
9059
|
+
defaultValue: null,
|
|
9060
|
+
target: "body"
|
|
9061
|
+
}
|
|
9062
|
+
]
|
|
9063
|
+
},
|
|
9064
|
+
"Intsvc.TimerTrigger": {
|
|
9065
|
+
extensionType: "Intsvc.TimerTrigger",
|
|
9066
|
+
label: "Timer trigger",
|
|
9067
|
+
bpmnElement: "bpmn:StartEvent",
|
|
9068
|
+
placements: {},
|
|
9069
|
+
extensionTag: "uipath:activity",
|
|
9070
|
+
contextFields: [],
|
|
9071
|
+
inputPattern: "none",
|
|
9072
|
+
outputSource: ".",
|
|
9073
|
+
outputType: "custom",
|
|
9074
|
+
outputName: "result",
|
|
9075
|
+
useRelativeSource: false,
|
|
9076
|
+
bindingPattern: "none",
|
|
9077
|
+
requiresDiscovery: false,
|
|
9078
|
+
isDynamic: false,
|
|
9079
|
+
xmlTemplate: `<bpmn:StartEvent id="{id}" name="{name}">
|
|
9080
|
+
<bpmn:extensionElements>
|
|
9081
|
+
<uipath:activity version="v1">
|
|
9082
|
+
<uipath:type value="Intsvc.TimerTrigger" version="v1" />
|
|
9083
|
+
<uipath:output name="result" type="custom" source="." var="{varId}" />
|
|
9084
|
+
</uipath:activity>
|
|
9085
|
+
</bpmn:extensionElements>
|
|
9086
|
+
<bpmn:timerEventDefinition><bpmn:timeDuration xsi:type="bpmn:tFormalExpression">PT1H</bpmn:timeDuration></bpmn:timerEventDefinition>
|
|
9087
|
+
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
9088
|
+
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
9089
|
+
</bpmn:StartEvent>`,
|
|
9090
|
+
inputNotes: "No jsonBody, no input fields, no isSplitInputs in design schema",
|
|
9091
|
+
bpmnElementNotes: "Used via timer event definition on start events; not directly in FPS_TO_NODE_MAPPING",
|
|
9092
|
+
extensionTagNotes: "NOT in isEvents array, uses uipath:activity. However, isIntsvcTriggerDesignSchemaType returns true.",
|
|
9093
|
+
inputFields: []
|
|
9094
|
+
},
|
|
9095
|
+
"Maestro.ReceiveMessageEvent": {
|
|
9096
|
+
extensionType: "Maestro.ReceiveMessageEvent",
|
|
9097
|
+
label: "Receive internal message",
|
|
9098
|
+
bpmnElement: "bpmn:IntermediateCatchEvent",
|
|
9099
|
+
placements: {
|
|
9100
|
+
startEvent: {
|
|
9101
|
+
type: "bpmn:StartEvent",
|
|
9102
|
+
eventDefinition: {
|
|
9103
|
+
type: "bpmn:MessageEventDefinition"
|
|
9104
|
+
}
|
|
9105
|
+
},
|
|
9106
|
+
intermediateEvent: {
|
|
9107
|
+
type: "bpmn:IntermediateCatchEvent",
|
|
9108
|
+
eventDefinition: {
|
|
9109
|
+
type: "bpmn:MessageEventDefinition"
|
|
9110
|
+
}
|
|
9111
|
+
},
|
|
9112
|
+
boundaryEvent: {
|
|
9113
|
+
type: "bpmn:BoundaryEvent",
|
|
9114
|
+
eventDefinition: {
|
|
9115
|
+
type: "bpmn:MessageEventDefinition"
|
|
9116
|
+
}
|
|
9117
|
+
}
|
|
9118
|
+
},
|
|
9119
|
+
extensionTag: "uipath:event",
|
|
9120
|
+
contextFields: [
|
|
9121
|
+
{
|
|
9122
|
+
name: "name",
|
|
9123
|
+
displayName: "Message name",
|
|
9124
|
+
type: "string",
|
|
9125
|
+
required: true,
|
|
9126
|
+
hidden: false,
|
|
9127
|
+
isPrimaryKey: false,
|
|
9128
|
+
binding: false,
|
|
9129
|
+
defaultValue: null
|
|
9130
|
+
},
|
|
9131
|
+
{
|
|
9132
|
+
name: "_label",
|
|
9133
|
+
type: "string",
|
|
9134
|
+
required: false,
|
|
9135
|
+
hidden: true,
|
|
9136
|
+
isPrimaryKey: false,
|
|
9137
|
+
binding: false,
|
|
9138
|
+
defaultValue: null
|
|
9139
|
+
}
|
|
9140
|
+
],
|
|
9141
|
+
inputPattern: "separateInputs",
|
|
9142
|
+
inputName: "ItemData",
|
|
9143
|
+
inputTarget: "body",
|
|
9144
|
+
outputSource: null,
|
|
9145
|
+
outputType: "Maestro.ReceiveMessageEvent",
|
|
9146
|
+
outputName: "response",
|
|
9147
|
+
useRelativeSource: true,
|
|
9148
|
+
bindingPattern: "none",
|
|
9149
|
+
requiresDiscovery: false,
|
|
9150
|
+
isDynamic: false,
|
|
9151
|
+
xmlTemplate: `<bpmn:IntermediateCatchEvent id="{id}" name="{name}">
|
|
9152
|
+
<bpmn:extensionElements>
|
|
9153
|
+
<uipath:event version="v1">
|
|
9154
|
+
<uipath:type value="Maestro.ReceiveMessageEvent" version="v1" />
|
|
9155
|
+
<uipath:context>
|
|
9156
|
+
<uipath:input name="name" type="string" value="{name}" />
|
|
9157
|
+
<uipath:input name="_label" type="string" value="{_label}" />
|
|
9158
|
+
</uipath:context>
|
|
9159
|
+
<uipath:input name="ItemData" type="json" target="body"><![CDATA[{}]]></uipath:input>
|
|
9160
|
+
<uipath:output name="response" type="Maestro.ReceiveMessageEvent" var="{varId}" />
|
|
9161
|
+
</uipath:event>
|
|
9162
|
+
</bpmn:extensionElements>
|
|
9163
|
+
<bpmn:messageEventDefinition />
|
|
9164
|
+
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
9165
|
+
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
9166
|
+
</bpmn:IntermediateCatchEvent>`,
|
|
9167
|
+
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.",
|
|
9168
|
+
extensionTagNotes: "In isEvents array, uses uipath:event",
|
|
9169
|
+
inputFields: [
|
|
9170
|
+
{
|
|
9171
|
+
name: "Reference",
|
|
9172
|
+
displayName: "Reference",
|
|
9173
|
+
type: "string",
|
|
9174
|
+
required: true,
|
|
9175
|
+
hidden: false,
|
|
9176
|
+
isPrimaryKey: false,
|
|
9177
|
+
binding: false,
|
|
9178
|
+
defaultValue: null,
|
|
9179
|
+
target: "bodyField",
|
|
9180
|
+
description: "Correlation reference to match this receive event to its sender"
|
|
9181
|
+
}
|
|
9182
|
+
]
|
|
9183
|
+
},
|
|
9184
|
+
"Maestro.SendMessageEvent": {
|
|
9185
|
+
extensionType: "Maestro.SendMessageEvent",
|
|
9186
|
+
label: "Send internal message",
|
|
9187
|
+
bpmnElement: "bpmn:IntermediateThrowEvent",
|
|
9188
|
+
placements: {
|
|
9189
|
+
intermediateEvent: {
|
|
9190
|
+
type: "bpmn:IntermediateThrowEvent",
|
|
9191
|
+
eventDefinition: {
|
|
9192
|
+
type: "bpmn:MessageEventDefinition"
|
|
9193
|
+
}
|
|
9194
|
+
},
|
|
9195
|
+
endEvent: {
|
|
9196
|
+
type: "bpmn:EndEvent",
|
|
9197
|
+
eventDefinition: {
|
|
9198
|
+
type: "bpmn:MessageEventDefinition"
|
|
9199
|
+
}
|
|
9200
|
+
}
|
|
9201
|
+
},
|
|
9202
|
+
extensionTag: "uipath:event",
|
|
9203
|
+
contextFields: [
|
|
9204
|
+
{
|
|
9205
|
+
name: "name",
|
|
9206
|
+
displayName: "Message name",
|
|
9207
|
+
type: "string",
|
|
9208
|
+
required: true,
|
|
9209
|
+
hidden: false,
|
|
9210
|
+
isPrimaryKey: false,
|
|
9211
|
+
binding: false,
|
|
9212
|
+
defaultValue: null
|
|
8142
9213
|
},
|
|
8143
9214
|
{
|
|
8144
|
-
name: "
|
|
8145
|
-
displayName: "Agent Name",
|
|
9215
|
+
name: "_label",
|
|
8146
9216
|
type: "string",
|
|
9217
|
+
required: false,
|
|
9218
|
+
hidden: true,
|
|
9219
|
+
isPrimaryKey: false,
|
|
9220
|
+
binding: false,
|
|
9221
|
+
defaultValue: null
|
|
9222
|
+
},
|
|
9223
|
+
{
|
|
9224
|
+
name: "inputSchema",
|
|
9225
|
+
displayName: "Input schema",
|
|
9226
|
+
type: "jsonSchema",
|
|
8147
9227
|
required: true,
|
|
8148
|
-
|
|
9228
|
+
hidden: true,
|
|
9229
|
+
isPrimaryKey: false,
|
|
9230
|
+
binding: false,
|
|
9231
|
+
defaultValue: null
|
|
9232
|
+
}
|
|
9233
|
+
],
|
|
9234
|
+
inputPattern: "splitInputsItemData",
|
|
9235
|
+
inputName: "ItemData",
|
|
9236
|
+
inputTarget: "body",
|
|
9237
|
+
outputSource: null,
|
|
9238
|
+
outputType: "Maestro.SendMessageEvent",
|
|
9239
|
+
outputName: "response",
|
|
9240
|
+
useRelativeSource: true,
|
|
9241
|
+
bindingPattern: "none",
|
|
9242
|
+
requiresDiscovery: false,
|
|
9243
|
+
isDynamic: false,
|
|
9244
|
+
xmlTemplate: `<bpmn:IntermediateThrowEvent id="{id}" name="{name}">
|
|
9245
|
+
<bpmn:extensionElements>
|
|
9246
|
+
<uipath:event version="v1">
|
|
9247
|
+
<uipath:type value="Maestro.SendMessageEvent" version="v1" />
|
|
9248
|
+
<uipath:context>
|
|
9249
|
+
<uipath:input name="name" type="string" value="{name}" />
|
|
9250
|
+
<uipath:input name="_label" type="string" value="{_label}" />
|
|
9251
|
+
<uipath:input name="inputSchema" type="jsonSchema" value="{inputSchema}" />
|
|
9252
|
+
</uipath:context>
|
|
9253
|
+
<uipath:input name="ItemData" type="json" target="body"><![CDATA[{"Reference":"{Reference}","SpecificContent":{},"TimeToLive":""}]]></uipath:input>
|
|
9254
|
+
<uipath:output name="response" type="Maestro.SendMessageEvent" var="{varId}" />
|
|
9255
|
+
</uipath:event>
|
|
9256
|
+
</bpmn:extensionElements>
|
|
9257
|
+
<bpmn:messageEventDefinition />
|
|
9258
|
+
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
9259
|
+
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
9260
|
+
</bpmn:IntermediateThrowEvent>`,
|
|
9261
|
+
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.",
|
|
9262
|
+
extensionTagNotes: "In isEvents array, uses uipath:event",
|
|
9263
|
+
inputFields: [
|
|
9264
|
+
{
|
|
9265
|
+
name: "Reference",
|
|
9266
|
+
displayName: "Reference",
|
|
9267
|
+
type: "string",
|
|
9268
|
+
required: true,
|
|
9269
|
+
hidden: false,
|
|
9270
|
+
isPrimaryKey: false,
|
|
9271
|
+
binding: false,
|
|
9272
|
+
defaultValue: null,
|
|
9273
|
+
target: "body",
|
|
9274
|
+
description: "Correlation reference to match this send event to its receiver"
|
|
9275
|
+
},
|
|
9276
|
+
{
|
|
9277
|
+
name: "SpecificContent",
|
|
9278
|
+
displayName: "Item information",
|
|
9279
|
+
type: "json",
|
|
9280
|
+
required: false,
|
|
9281
|
+
hidden: false,
|
|
9282
|
+
isPrimaryKey: false,
|
|
9283
|
+
binding: false,
|
|
9284
|
+
defaultValue: null,
|
|
9285
|
+
target: "body",
|
|
9286
|
+
description: "JSON payload with the message content"
|
|
9287
|
+
},
|
|
9288
|
+
{
|
|
9289
|
+
name: "TimeToLive",
|
|
9290
|
+
displayName: "Time to live",
|
|
9291
|
+
type: "duration",
|
|
9292
|
+
required: false,
|
|
9293
|
+
hidden: false,
|
|
9294
|
+
isPrimaryKey: false,
|
|
9295
|
+
binding: false,
|
|
9296
|
+
defaultValue: null,
|
|
9297
|
+
target: "body",
|
|
9298
|
+
description: "Duration after which the message expires if not consumed"
|
|
8149
9299
|
}
|
|
8150
9300
|
]
|
|
8151
9301
|
},
|
|
8152
|
-
"
|
|
8153
|
-
extensionType: "
|
|
8154
|
-
label: "
|
|
9302
|
+
"Maestro.CaseManagerPlaceholder": {
|
|
9303
|
+
extensionType: "Maestro.CaseManagerPlaceholder",
|
|
9304
|
+
label: "Case manager placeholder",
|
|
8155
9305
|
bpmnElement: "bpmn:Task",
|
|
8156
9306
|
placements: {},
|
|
8157
|
-
extensionTag: "uipath:
|
|
9307
|
+
extensionTag: "uipath:activity",
|
|
8158
9308
|
contextFields: [],
|
|
8159
|
-
inputPattern: "
|
|
8160
|
-
|
|
8161
|
-
|
|
9309
|
+
inputPattern: "mergedBody",
|
|
9310
|
+
inputName: "caseManagerInput",
|
|
9311
|
+
inputTarget: "body",
|
|
9312
|
+
outputSource: "=js:(vars.caseRulesDecisions)",
|
|
9313
|
+
outputType: "json",
|
|
9314
|
+
outputName: "caseManagerDecisions",
|
|
8162
9315
|
bindingPattern: "none",
|
|
8163
9316
|
requiresDiscovery: false,
|
|
8164
9317
|
isDynamic: false,
|
|
9318
|
+
contractOutputMayBeCustom: true,
|
|
8165
9319
|
xmlTemplate: `<bpmn:Task id="{id}" name="{name}">
|
|
8166
9320
|
<bpmn:extensionElements>
|
|
8167
|
-
<uipath:
|
|
8168
|
-
<uipath:type value="
|
|
8169
|
-
|
|
9321
|
+
<uipath:activity version="v1">
|
|
9322
|
+
<uipath:type value="Maestro.CaseManagerPlaceholder" version="v1" />
|
|
9323
|
+
<uipath:input name="caseManagerInput" type="json" target="body"><![CDATA[{"caseRulesDecisions":{caseRulesDecisions},"caseCurrentExecutionState":{caseCurrentExecutionState}}]]></uipath:input>
|
|
9324
|
+
<uipath:output name="caseManagerDecisions" type="json" source="=js:(vars.caseRulesDecisions)" var="{varId}" custom="true" />
|
|
9325
|
+
</uipath:activity>
|
|
8170
9326
|
</bpmn:extensionElements>
|
|
8171
9327
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
8172
9328
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
8173
9329
|
</bpmn:Task>`,
|
|
8174
|
-
inputNotes: "
|
|
8175
|
-
|
|
8176
|
-
|
|
9330
|
+
inputNotes: "The case converter creates this internal fallback task when no case-manager task runs. Its two inputs are merged into caseManagerInput during BPMN serialization.",
|
|
9331
|
+
outputNotes: 'The generated output copies the case-rules decisions into caseManagerDecisions. generateCaseManagerPlaceholderNode (PO.Frontend CaseManagementCaseManagerNodes.ts) spreads caseManagerDecisionsOutputVariable(), which stamps custom="true" on this output - a converter detail, not a panel narrowing, so contractOutputMayBeCustom tells the validator to still shape-check it (name/type/source/var) instead of dropping it as an unrelated custom addition.',
|
|
9332
|
+
inputFields: [
|
|
9333
|
+
{
|
|
9334
|
+
name: "caseRulesDecisions",
|
|
9335
|
+
displayName: "Case rules decisions",
|
|
9336
|
+
type: "json",
|
|
9337
|
+
required: true,
|
|
9338
|
+
hidden: false,
|
|
9339
|
+
isPrimaryKey: false,
|
|
9340
|
+
binding: false,
|
|
9341
|
+
defaultValue: null,
|
|
9342
|
+
target: "body"
|
|
9343
|
+
},
|
|
9344
|
+
{
|
|
9345
|
+
name: "caseCurrentExecutionState",
|
|
9346
|
+
displayName: "Case current execution state",
|
|
9347
|
+
type: "json",
|
|
9348
|
+
required: true,
|
|
9349
|
+
hidden: false,
|
|
9350
|
+
isPrimaryKey: false,
|
|
9351
|
+
binding: false,
|
|
9352
|
+
defaultValue: null,
|
|
9353
|
+
target: "body"
|
|
9354
|
+
}
|
|
9355
|
+
]
|
|
8177
9356
|
},
|
|
8178
|
-
"
|
|
8179
|
-
extensionType: "
|
|
8180
|
-
label: "
|
|
8181
|
-
bpmnElement: "bpmn:
|
|
9357
|
+
"Maestro.UpdateCaseState": {
|
|
9358
|
+
extensionType: "Maestro.UpdateCaseState",
|
|
9359
|
+
label: "Update case state",
|
|
9360
|
+
bpmnElement: "bpmn:ServiceTask",
|
|
8182
9361
|
placements: {},
|
|
8183
|
-
extensionTag: "uipath:
|
|
9362
|
+
extensionTag: "uipath:activity",
|
|
8184
9363
|
contextFields: [],
|
|
8185
|
-
inputPattern: "
|
|
8186
|
-
inputName: "
|
|
8187
|
-
inputTarget: "
|
|
9364
|
+
inputPattern: "mergedBody",
|
|
9365
|
+
inputName: "ItemData",
|
|
9366
|
+
inputTarget: "body",
|
|
8188
9367
|
outputSource: null,
|
|
8189
9368
|
outputType: null,
|
|
8190
9369
|
bindingPattern: "none",
|
|
8191
9370
|
requiresDiscovery: false,
|
|
8192
9371
|
isDynamic: false,
|
|
8193
|
-
xmlTemplate: `<bpmn:
|
|
9372
|
+
xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
|
|
8194
9373
|
<bpmn:extensionElements>
|
|
8195
|
-
<uipath:
|
|
8196
|
-
<uipath:type value="
|
|
8197
|
-
<uipath:input name="
|
|
8198
|
-
</uipath:
|
|
9374
|
+
<uipath:activity version="v1">
|
|
9375
|
+
<uipath:type value="Maestro.UpdateCaseState" version="v2" />
|
|
9376
|
+
<uipath:input name="ItemData" type="json" target="body"><![CDATA[{"upsertKeys":{upsertKeys},"deleteKeys":{deleteKeys},"tasksCompletedDeleteNames":{tasksCompletedDeleteNames}}]]></uipath:input>
|
|
9377
|
+
</uipath:activity>
|
|
8199
9378
|
</bpmn:extensionElements>
|
|
8200
9379
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
8201
9380
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
8202
|
-
</bpmn:
|
|
8203
|
-
inputNotes: "
|
|
8204
|
-
|
|
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: [
|
|
9381
|
+
</bpmn:ServiceTask>`,
|
|
9382
|
+
inputNotes: "The case converter always supplies all three fields and the generic serializer merges them into ItemData. upsertKeys is a JSON-typed token: fill with a JSON literal, or a quoted string for an =js:... expression - an unquoted expression breaks the JSON. The generated helper does not bind the design-schema output.",
|
|
9383
|
+
inputFields: [
|
|
8217
9384
|
{
|
|
8218
|
-
name: "
|
|
8219
|
-
|
|
8220
|
-
|
|
8221
|
-
|
|
9385
|
+
name: "upsertKeys",
|
|
9386
|
+
displayName: "Event keys to upsert",
|
|
9387
|
+
type: "json",
|
|
9388
|
+
required: true,
|
|
9389
|
+
hidden: false,
|
|
8222
9390
|
isPrimaryKey: false,
|
|
8223
9391
|
binding: false,
|
|
8224
|
-
defaultValue: null
|
|
9392
|
+
defaultValue: null,
|
|
9393
|
+
target: "body"
|
|
9394
|
+
},
|
|
9395
|
+
{
|
|
9396
|
+
name: "deleteKeys",
|
|
9397
|
+
displayName: "Event keys to delete",
|
|
9398
|
+
type: "array",
|
|
9399
|
+
required: true,
|
|
9400
|
+
hidden: false,
|
|
9401
|
+
isPrimaryKey: false,
|
|
9402
|
+
binding: false,
|
|
9403
|
+
defaultValue: null,
|
|
9404
|
+
target: "body"
|
|
9405
|
+
},
|
|
9406
|
+
{
|
|
9407
|
+
name: "tasksCompletedDeleteNames",
|
|
9408
|
+
displayName: "Completed task names to delete",
|
|
9409
|
+
type: "array",
|
|
9410
|
+
required: true,
|
|
9411
|
+
hidden: false,
|
|
9412
|
+
isPrimaryKey: false,
|
|
9413
|
+
binding: false,
|
|
9414
|
+
defaultValue: null,
|
|
9415
|
+
target: "body"
|
|
8225
9416
|
}
|
|
8226
|
-
]
|
|
9417
|
+
]
|
|
9418
|
+
},
|
|
9419
|
+
"Maestro.RetrieveCaseState": {
|
|
9420
|
+
extensionType: "Maestro.RetrieveCaseState",
|
|
9421
|
+
label: "Retrieve case state",
|
|
9422
|
+
bpmnElement: "bpmn:ServiceTask",
|
|
9423
|
+
placements: {},
|
|
9424
|
+
extensionTag: "uipath:activity",
|
|
9425
|
+
contextFields: [],
|
|
9426
|
+
inputPattern: "none",
|
|
9427
|
+
outputSource: "=caseState",
|
|
9428
|
+
outputType: "jsonSchema",
|
|
9429
|
+
outputName: "latestCaseState",
|
|
9430
|
+
bindingPattern: "none",
|
|
9431
|
+
requiresDiscovery: false,
|
|
9432
|
+
isDynamic: false,
|
|
9433
|
+
contractOutputMayBeCustom: true,
|
|
9434
|
+
xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
|
|
9435
|
+
<bpmn:extensionElements>
|
|
9436
|
+
<uipath:activity version="v1">
|
|
9437
|
+
<uipath:type value="Maestro.RetrieveCaseState" version="v2" />
|
|
9438
|
+
<uipath:output name="latestCaseState" type="jsonSchema" source="=caseState" var="{varId}" custom="true" />
|
|
9439
|
+
</uipath:activity>
|
|
9440
|
+
</bpmn:extensionElements>
|
|
9441
|
+
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
9442
|
+
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
9443
|
+
</bpmn:ServiceTask>`,
|
|
9444
|
+
inputNotes: "The design schema declares an empty body slot, but nothing fills it: generateRetrieveCaseStateNode passes outputs only, and the type is never offered in the canvas palette, so no properties panel can configure an input either. inputPattern none is deliberately stricter than the design schema - a uipath:input on this element did not come out of Studio Web.",
|
|
9445
|
+
outputNotes: `outputName is a fixed literal here, not a variable name. PO.Frontend's generateRetrieveCaseStateNode (BpmnCaseTaskNodeConverterUtils.ts) spreads the caller's variable info and overwrites source with =caseState, and both callers - the pre-scheduler and post-scheduler lifecycle utils - pass baseEventSubprocessLatestCaseStateVariableInfo(), which hardcodes name latestCaseState and var caseState. The diagram's own variable id lands in var, never in name. The post-scheduler caller (CaseManagementAdhocEventSubProcessPostSchedulerUtilsNewGlobals.ts, node EventSubProcessRetrieveCaseStateNodePostCaseManager) additionally spreads custom: true onto this output - a converter detail, not a panel narrowing - so contractOutputMayBeCustom tells the validator to still shape-check a custom="true" output here instead of dropping it as an unrelated custom addition. The pre-scheduler caller omits custom, so a file may show this output either way.`
|
|
9446
|
+
},
|
|
9447
|
+
"Maestro.NotificationService": {
|
|
9448
|
+
extensionType: "Maestro.NotificationService",
|
|
9449
|
+
label: "Notification service",
|
|
9450
|
+
bpmnElement: "bpmn:ServiceTask",
|
|
9451
|
+
placements: {},
|
|
9452
|
+
extensionTag: "uipath:activity",
|
|
9453
|
+
contextFields: [],
|
|
8227
9454
|
inputPattern: "mergedBody",
|
|
8228
9455
|
inputName: "body",
|
|
8229
9456
|
inputTarget: "body",
|
|
8230
|
-
outputSource:
|
|
8231
|
-
outputType:
|
|
8232
|
-
outputName: "response",
|
|
8233
|
-
additionalOutputs: [
|
|
8234
|
-
{
|
|
8235
|
-
name: "Error",
|
|
8236
|
-
type: "jsonSchema",
|
|
8237
|
-
source: "=Error",
|
|
8238
|
-
required: false
|
|
8239
|
-
}
|
|
8240
|
-
],
|
|
9457
|
+
outputSource: null,
|
|
9458
|
+
outputType: null,
|
|
8241
9459
|
bindingPattern: "none",
|
|
8242
9460
|
requiresDiscovery: false,
|
|
8243
9461
|
isDynamic: false,
|
|
8244
9462
|
xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
|
|
8245
9463
|
<bpmn:extensionElements>
|
|
8246
9464
|
<uipath:activity version="v1">
|
|
8247
|
-
<uipath:type value="
|
|
8248
|
-
<uipath:input name="body" type="json" target="body"><![CDATA[{"
|
|
8249
|
-
<uipath:output name="response" type="jsonSchema" source="=response" var="{varId}" />
|
|
8250
|
-
<uipath:output name="Error" type="jsonSchema" source="=Error" var="{errorVarId}" />
|
|
9465
|
+
<uipath:type value="Maestro.NotificationService" version="v2" />
|
|
9466
|
+
<uipath:input name="body" type="json" target="body"><![CDATA[{"publisherName":"{publisherName}","topicName":"{topicName}","priority":"{priority}","messageParam":{messageParam},"recipients":{recipients}}]]></uipath:input>
|
|
8251
9467
|
</uipath:activity>
|
|
8252
9468
|
</bpmn:extensionElements>
|
|
8253
9469
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
8254
9470
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
8255
9471
|
</bpmn:ServiceTask>`,
|
|
8256
|
-
inputNotes:
|
|
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".',
|
|
9472
|
+
inputNotes: `Generated case SLA notifications merge publisher, topic, priority, message parameters, and recipients into the body. The case SLA converter sends publisherName 'agenticorchestration', topicName 'CaseManagementAlert.Triggered', and priority 'High'; other callers pick their own. messageParam and recipients are JSON-typed tokens: fill with a JSON literal, or a quoted string for an =js:... expression. recipients is optional - drop its whole "recipients":{recipients} entry to omit it, not just its value. The generated helper does not bind the design-schema response.`,
|
|
8259
9473
|
inputFields: [
|
|
8260
9474
|
{
|
|
8261
|
-
name: "
|
|
8262
|
-
displayName: "
|
|
9475
|
+
name: "publisherName",
|
|
9476
|
+
displayName: "Publisher name",
|
|
8263
9477
|
type: "string",
|
|
8264
9478
|
required: true,
|
|
8265
9479
|
hidden: false,
|
|
@@ -8269,8 +9483,8 @@ var bpmn_spec_default = {
|
|
|
8269
9483
|
target: "body"
|
|
8270
9484
|
},
|
|
8271
9485
|
{
|
|
8272
|
-
name: "
|
|
8273
|
-
displayName: "
|
|
9486
|
+
name: "topicName",
|
|
9487
|
+
displayName: "Topic name",
|
|
8274
9488
|
type: "string",
|
|
8275
9489
|
required: true,
|
|
8276
9490
|
hidden: false,
|
|
@@ -8280,8 +9494,8 @@ var bpmn_spec_default = {
|
|
|
8280
9494
|
target: "body"
|
|
8281
9495
|
},
|
|
8282
9496
|
{
|
|
8283
|
-
name: "
|
|
8284
|
-
displayName: "
|
|
9497
|
+
name: "priority",
|
|
9498
|
+
displayName: "Priority",
|
|
8285
9499
|
type: "string",
|
|
8286
9500
|
required: true,
|
|
8287
9501
|
hidden: false,
|
|
@@ -8289,224 +9503,211 @@ var bpmn_spec_default = {
|
|
|
8289
9503
|
binding: false,
|
|
8290
9504
|
defaultValue: null,
|
|
8291
9505
|
target: "body"
|
|
9506
|
+
},
|
|
9507
|
+
{
|
|
9508
|
+
name: "messageParam",
|
|
9509
|
+
displayName: "Message parameters",
|
|
9510
|
+
type: "json",
|
|
9511
|
+
required: true,
|
|
9512
|
+
hidden: false,
|
|
9513
|
+
isPrimaryKey: false,
|
|
9514
|
+
binding: false,
|
|
9515
|
+
defaultValue: null,
|
|
9516
|
+
target: "body"
|
|
9517
|
+
},
|
|
9518
|
+
{
|
|
9519
|
+
name: "recipients",
|
|
9520
|
+
displayName: "Recipients",
|
|
9521
|
+
type: "json",
|
|
9522
|
+
required: false,
|
|
9523
|
+
hidden: false,
|
|
9524
|
+
isPrimaryKey: false,
|
|
9525
|
+
binding: false,
|
|
9526
|
+
defaultValue: null,
|
|
9527
|
+
target: "body"
|
|
8292
9528
|
}
|
|
8293
9529
|
]
|
|
8294
9530
|
},
|
|
8295
|
-
"
|
|
8296
|
-
extensionType: "
|
|
8297
|
-
label: "
|
|
8298
|
-
bpmnElement: "bpmn:
|
|
9531
|
+
"Maestro.AcquireLock": {
|
|
9532
|
+
extensionType: "Maestro.AcquireLock",
|
|
9533
|
+
label: "Acquire lock",
|
|
9534
|
+
bpmnElement: "bpmn:ServiceTask",
|
|
8299
9535
|
placements: {},
|
|
8300
9536
|
extensionTag: "uipath:activity",
|
|
8301
9537
|
contextFields: [],
|
|
8302
|
-
inputPattern: "
|
|
8303
|
-
|
|
8304
|
-
|
|
8305
|
-
|
|
8306
|
-
|
|
9538
|
+
inputPattern: "mergedBody",
|
|
9539
|
+
inputName: "body",
|
|
9540
|
+
inputTarget: "body",
|
|
9541
|
+
outputSource: null,
|
|
9542
|
+
outputType: null,
|
|
8307
9543
|
bindingPattern: "none",
|
|
8308
9544
|
requiresDiscovery: false,
|
|
8309
9545
|
isDynamic: false,
|
|
8310
|
-
xmlTemplate: `<bpmn:
|
|
9546
|
+
xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
|
|
8311
9547
|
<bpmn:extensionElements>
|
|
8312
9548
|
<uipath:activity version="v1">
|
|
8313
|
-
<uipath:type value="
|
|
8314
|
-
<uipath:
|
|
9549
|
+
<uipath:type value="Maestro.AcquireLock" version="v2" />
|
|
9550
|
+
<uipath:input name="body" type="json" target="body"><![CDATA[{"lockKey":"{lockKey}","leaseSeconds":{leaseSeconds},"acquireTimeoutSeconds":{acquireTimeoutSeconds}}]]></uipath:input>
|
|
8315
9551
|
</uipath:activity>
|
|
8316
9552
|
</bpmn:extensionElements>
|
|
8317
|
-
<bpmn:timerEventDefinition><bpmn:timeDuration xsi:type="bpmn:tFormalExpression">PT1H</bpmn:timeDuration></bpmn:timerEventDefinition>
|
|
8318
9553
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
8319
9554
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
8320
|
-
</bpmn:
|
|
8321
|
-
inputNotes: "
|
|
8322
|
-
|
|
8323
|
-
extensionTagNotes: "NOT in isEvents array, uses uipath:activity. However, isIntsvcTriggerDesignSchemaType returns true.",
|
|
8324
|
-
inputFields: []
|
|
8325
|
-
},
|
|
8326
|
-
"Maestro.ReceiveMessageEvent": {
|
|
8327
|
-
extensionType: "Maestro.ReceiveMessageEvent",
|
|
8328
|
-
label: "Receive internal message",
|
|
8329
|
-
bpmnElement: "bpmn:IntermediateCatchEvent",
|
|
8330
|
-
placements: {
|
|
8331
|
-
startEvent: {
|
|
8332
|
-
type: "bpmn:StartEvent",
|
|
8333
|
-
eventDefinition: {
|
|
8334
|
-
type: "bpmn:MessageEventDefinition"
|
|
8335
|
-
}
|
|
8336
|
-
},
|
|
8337
|
-
intermediateEvent: {
|
|
8338
|
-
type: "bpmn:IntermediateCatchEvent",
|
|
8339
|
-
eventDefinition: {
|
|
8340
|
-
type: "bpmn:MessageEventDefinition"
|
|
8341
|
-
}
|
|
8342
|
-
},
|
|
8343
|
-
boundaryEvent: {
|
|
8344
|
-
type: "bpmn:BoundaryEvent",
|
|
8345
|
-
eventDefinition: {
|
|
8346
|
-
type: "bpmn:MessageEventDefinition"
|
|
8347
|
-
}
|
|
8348
|
-
}
|
|
8349
|
-
},
|
|
8350
|
-
extensionTag: "uipath:event",
|
|
8351
|
-
contextFields: [
|
|
9555
|
+
</bpmn:ServiceTask>`,
|
|
9556
|
+
inputNotes: "Generated SLA flows merge the lock key and timeout settings into the body. leaseSeconds and acquireTimeoutSeconds are tokens carrying their declared defaults (600 and 0); a caller can fill either with a different number. The generated helper does not bind the design-schema response.",
|
|
9557
|
+
inputFields: [
|
|
8352
9558
|
{
|
|
8353
|
-
name: "
|
|
8354
|
-
displayName: "
|
|
9559
|
+
name: "lockKey",
|
|
9560
|
+
displayName: "Lock key",
|
|
8355
9561
|
type: "string",
|
|
8356
9562
|
required: true,
|
|
8357
9563
|
hidden: false,
|
|
8358
9564
|
isPrimaryKey: false,
|
|
8359
9565
|
binding: false,
|
|
8360
|
-
defaultValue: null
|
|
9566
|
+
defaultValue: null,
|
|
9567
|
+
target: "body"
|
|
8361
9568
|
},
|
|
8362
9569
|
{
|
|
8363
|
-
name: "
|
|
8364
|
-
|
|
8365
|
-
|
|
8366
|
-
|
|
9570
|
+
name: "leaseSeconds",
|
|
9571
|
+
displayName: "Lease seconds",
|
|
9572
|
+
type: "number",
|
|
9573
|
+
required: true,
|
|
9574
|
+
hidden: false,
|
|
8367
9575
|
isPrimaryKey: false,
|
|
8368
9576
|
binding: false,
|
|
8369
|
-
defaultValue:
|
|
9577
|
+
defaultValue: 600,
|
|
9578
|
+
target: "body"
|
|
9579
|
+
},
|
|
9580
|
+
{
|
|
9581
|
+
name: "acquireTimeoutSeconds",
|
|
9582
|
+
displayName: "Acquire timeout seconds",
|
|
9583
|
+
type: "number",
|
|
9584
|
+
required: true,
|
|
9585
|
+
hidden: false,
|
|
9586
|
+
isPrimaryKey: false,
|
|
9587
|
+
binding: false,
|
|
9588
|
+
defaultValue: 0,
|
|
9589
|
+
target: "body"
|
|
8370
9590
|
}
|
|
8371
|
-
]
|
|
8372
|
-
|
|
8373
|
-
|
|
9591
|
+
]
|
|
9592
|
+
},
|
|
9593
|
+
"Maestro.ReleaseLock": {
|
|
9594
|
+
extensionType: "Maestro.ReleaseLock",
|
|
9595
|
+
label: "Release lock",
|
|
9596
|
+
bpmnElement: "bpmn:ServiceTask",
|
|
9597
|
+
placements: {},
|
|
9598
|
+
extensionTag: "uipath:activity",
|
|
9599
|
+
contextFields: [],
|
|
9600
|
+
inputPattern: "mergedBody",
|
|
9601
|
+
inputName: "body",
|
|
8374
9602
|
inputTarget: "body",
|
|
8375
9603
|
outputSource: null,
|
|
8376
|
-
outputType:
|
|
8377
|
-
outputName: "response",
|
|
8378
|
-
useRelativeSource: true,
|
|
9604
|
+
outputType: null,
|
|
8379
9605
|
bindingPattern: "none",
|
|
8380
9606
|
requiresDiscovery: false,
|
|
8381
9607
|
isDynamic: false,
|
|
8382
|
-
xmlTemplate: `<bpmn:
|
|
9608
|
+
xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
|
|
8383
9609
|
<bpmn:extensionElements>
|
|
8384
|
-
<uipath:
|
|
8385
|
-
<uipath:type value="Maestro.
|
|
8386
|
-
<uipath:
|
|
8387
|
-
|
|
8388
|
-
<uipath:input name="_label" type="string" value="{_label}" />
|
|
8389
|
-
</uipath:context>
|
|
8390
|
-
<uipath:input name="ItemData" type="json" target="body"><![CDATA[{}]]></uipath:input>
|
|
8391
|
-
<uipath:output name="response" type="Maestro.ReceiveMessageEvent" var="{varId}" />
|
|
8392
|
-
</uipath:event>
|
|
9610
|
+
<uipath:activity version="v1">
|
|
9611
|
+
<uipath:type value="Maestro.ReleaseLock" version="v2" />
|
|
9612
|
+
<uipath:input name="body" type="json" target="body"><![CDATA[{"lockKey":"{lockKey}"}]]></uipath:input>
|
|
9613
|
+
</uipath:activity>
|
|
8393
9614
|
</bpmn:extensionElements>
|
|
8394
|
-
<bpmn:messageEventDefinition />
|
|
8395
9615
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
8396
9616
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
8397
|
-
</bpmn:
|
|
8398
|
-
inputNotes: "
|
|
8399
|
-
extensionTagNotes: "In isEvents array, uses uipath:event",
|
|
9617
|
+
</bpmn:ServiceTask>`,
|
|
9618
|
+
inputNotes: "Generated SLA flows merge the lock key into the body. The generated helper does not bind the design-schema response.",
|
|
8400
9619
|
inputFields: [
|
|
8401
9620
|
{
|
|
8402
|
-
name: "
|
|
8403
|
-
displayName: "
|
|
9621
|
+
name: "lockKey",
|
|
9622
|
+
displayName: "Lock key",
|
|
8404
9623
|
type: "string",
|
|
8405
9624
|
required: true,
|
|
8406
9625
|
hidden: false,
|
|
8407
9626
|
isPrimaryKey: false,
|
|
8408
9627
|
binding: false,
|
|
8409
9628
|
defaultValue: null,
|
|
8410
|
-
target: "
|
|
8411
|
-
description: "Correlation reference to match this receive event to its sender"
|
|
9629
|
+
target: "body"
|
|
8412
9630
|
}
|
|
8413
9631
|
]
|
|
8414
9632
|
},
|
|
8415
|
-
"Maestro.
|
|
8416
|
-
extensionType: "Maestro.
|
|
8417
|
-
label: "
|
|
8418
|
-
bpmnElement: "bpmn:
|
|
8419
|
-
placements: {
|
|
8420
|
-
|
|
8421
|
-
|
|
8422
|
-
|
|
8423
|
-
|
|
8424
|
-
|
|
8425
|
-
|
|
8426
|
-
|
|
8427
|
-
|
|
8428
|
-
|
|
8429
|
-
|
|
8430
|
-
|
|
8431
|
-
|
|
8432
|
-
}
|
|
8433
|
-
|
|
8434
|
-
|
|
8435
|
-
|
|
8436
|
-
|
|
8437
|
-
|
|
8438
|
-
|
|
8439
|
-
required: true,
|
|
8440
|
-
hidden: false,
|
|
8441
|
-
isPrimaryKey: false,
|
|
8442
|
-
binding: false,
|
|
8443
|
-
defaultValue: null
|
|
8444
|
-
},
|
|
9633
|
+
"Maestro.CaseCyclePrepare": {
|
|
9634
|
+
extensionType: "Maestro.CaseCyclePrepare",
|
|
9635
|
+
label: "Prepare case decision cycle",
|
|
9636
|
+
bpmnElement: "bpmn:ServiceTask",
|
|
9637
|
+
placements: {},
|
|
9638
|
+
extensionTag: "uipath:activity",
|
|
9639
|
+
contextFields: [],
|
|
9640
|
+
inputPattern: "mergedBody",
|
|
9641
|
+
bindingPattern: "none",
|
|
9642
|
+
requiresDiscovery: false,
|
|
9643
|
+
isDynamic: false,
|
|
9644
|
+
generatedOutputs: true,
|
|
9645
|
+
xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
|
|
9646
|
+
<bpmn:extensionElements>
|
|
9647
|
+
<uipath:activity version="v1">
|
|
9648
|
+
<uipath:type value="Maestro.CaseCyclePrepare" version="v2" />
|
|
9649
|
+
<uipath:input name="body" type="json" target="body"><![CDATA[{"CaseGlobalsLastPrimaryStageExited":"{CaseGlobalsLastPrimaryStageExited}"}]]></uipath:input>
|
|
9650
|
+
<uipath:output name="latestCaseState" type="jsonSchema" source="=caseState" var="{varId}" />
|
|
9651
|
+
</uipath:activity>
|
|
9652
|
+
</bpmn:extensionElements>
|
|
9653
|
+
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
9654
|
+
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
9655
|
+
</bpmn:ServiceTask>`,
|
|
9656
|
+
inputFields: [
|
|
8445
9657
|
{
|
|
8446
|
-
name: "
|
|
9658
|
+
name: "CaseGlobalsLastPrimaryStageExited",
|
|
8447
9659
|
type: "string",
|
|
8448
9660
|
required: false,
|
|
8449
|
-
hidden:
|
|
8450
|
-
isPrimaryKey: false,
|
|
8451
|
-
binding: false,
|
|
8452
|
-
defaultValue: null
|
|
8453
|
-
},
|
|
8454
|
-
{
|
|
8455
|
-
name: "inputSchema",
|
|
8456
|
-
displayName: "Input schema",
|
|
8457
|
-
type: "jsonSchema",
|
|
8458
|
-
required: true,
|
|
8459
|
-
hidden: true,
|
|
9661
|
+
hidden: false,
|
|
8460
9662
|
isPrimaryKey: false,
|
|
8461
9663
|
binding: false,
|
|
8462
|
-
defaultValue:
|
|
9664
|
+
defaultValue: "=instanceglobals.CaseGlobalsLastPrimaryStageExited",
|
|
9665
|
+
target: "body",
|
|
9666
|
+
displayName: "Last primary stage exited global"
|
|
8463
9667
|
}
|
|
8464
9668
|
],
|
|
8465
|
-
|
|
8466
|
-
|
|
8467
|
-
|
|
8468
|
-
|
|
8469
|
-
|
|
8470
|
-
|
|
8471
|
-
|
|
9669
|
+
inputNotes: "Generated by the case converter behind the canvas-caseBpmnConsolidatedCycle flag. The input reads the last-primary-stage-exited instance global, and its value is the read expression =instanceglobals.CaseGlobalsLastPrimaryStageExited (see defaultValue) - not the bare key, which is what the similarly named CaseCycleCommit input takes.",
|
|
9670
|
+
outputNotes: "The converter builds a diagram-specific output list (event vars off the message response, latestCaseState from =caseState, the globals copies, eventMetadata, overlays), so no specific output name, type or source can be pinned here. It always emits at least the latestCaseState, globals-copy and eventMetadata entries and every entry carries a nonblank name and binds a variable, so generatedOutputs tells the validator to require at least one uipath:output and to check each one for a nonblank name and a var attribute, and nothing else about it.",
|
|
9671
|
+
inputName: "body",
|
|
9672
|
+
inputTarget: "body"
|
|
9673
|
+
},
|
|
9674
|
+
"Maestro.CaseCycleCommit": {
|
|
9675
|
+
extensionType: "Maestro.CaseCycleCommit",
|
|
9676
|
+
label: "Commit case decision cycle",
|
|
9677
|
+
bpmnElement: "bpmn:ServiceTask",
|
|
9678
|
+
placements: {},
|
|
9679
|
+
extensionTag: "uipath:activity",
|
|
9680
|
+
contextFields: [],
|
|
9681
|
+
inputPattern: "mergedBody",
|
|
8472
9682
|
bindingPattern: "none",
|
|
8473
9683
|
requiresDiscovery: false,
|
|
8474
9684
|
isDynamic: false,
|
|
8475
|
-
|
|
9685
|
+
generatedOutputs: true,
|
|
9686
|
+
xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
|
|
8476
9687
|
<bpmn:extensionElements>
|
|
8477
|
-
<uipath:
|
|
8478
|
-
<uipath:type value="Maestro.
|
|
8479
|
-
<uipath:
|
|
8480
|
-
|
|
8481
|
-
|
|
8482
|
-
<uipath:input name="inputSchema" type="jsonSchema" value="{inputSchema}" />
|
|
8483
|
-
</uipath:context>
|
|
8484
|
-
<uipath:input name="ItemData" type="json" target="body"><![CDATA[{"Reference":"{Reference}","SpecificContent":{},"TimeToLive":""}]]></uipath:input>
|
|
8485
|
-
<uipath:output name="response" type="Maestro.SendMessageEvent" var="{varId}" />
|
|
8486
|
-
</uipath:event>
|
|
9688
|
+
<uipath:activity version="v1">
|
|
9689
|
+
<uipath:type value="Maestro.CaseCycleCommit" version="v2" />
|
|
9690
|
+
<uipath:input name="body" type="json" target="body"><![CDATA[{"decisions":{decisions},"sequentialTasksToResetByStageName":{sequentialTasksToResetByStageName},"lastPrimaryStageExitedGlobalKey":"{lastPrimaryStageExitedGlobalKey}"}]]></uipath:input>
|
|
9691
|
+
<uipath:output name="latestCaseState" type="jsonSchema" source="=caseState" var="{varId}" />
|
|
9692
|
+
</uipath:activity>
|
|
8487
9693
|
</bpmn:extensionElements>
|
|
8488
|
-
<bpmn:messageEventDefinition />
|
|
8489
9694
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
8490
9695
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
8491
|
-
</bpmn:
|
|
8492
|
-
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.",
|
|
8493
|
-
extensionTagNotes: "In isEvents array, uses uipath:event",
|
|
9696
|
+
</bpmn:ServiceTask>`,
|
|
8494
9697
|
inputFields: [
|
|
8495
9698
|
{
|
|
8496
|
-
name: "
|
|
8497
|
-
|
|
8498
|
-
|
|
8499
|
-
required: true,
|
|
9699
|
+
name: "decisions",
|
|
9700
|
+
type: "json",
|
|
9701
|
+
required: false,
|
|
8500
9702
|
hidden: false,
|
|
8501
9703
|
isPrimaryKey: false,
|
|
8502
9704
|
binding: false,
|
|
8503
9705
|
defaultValue: null,
|
|
8504
9706
|
target: "body",
|
|
8505
|
-
|
|
9707
|
+
displayName: "Case manager decisions"
|
|
8506
9708
|
},
|
|
8507
9709
|
{
|
|
8508
|
-
name: "
|
|
8509
|
-
displayName: "Item information",
|
|
9710
|
+
name: "sequentialTasksToResetByStageName",
|
|
8510
9711
|
type: "json",
|
|
8511
9712
|
required: false,
|
|
8512
9713
|
hidden: false,
|
|
@@ -8514,21 +9715,24 @@ var bpmn_spec_default = {
|
|
|
8514
9715
|
binding: false,
|
|
8515
9716
|
defaultValue: null,
|
|
8516
9717
|
target: "body",
|
|
8517
|
-
|
|
9718
|
+
displayName: "Sequential task names to reset, keyed by stage name"
|
|
8518
9719
|
},
|
|
8519
9720
|
{
|
|
8520
|
-
name: "
|
|
8521
|
-
|
|
8522
|
-
type: "duration",
|
|
9721
|
+
name: "lastPrimaryStageExitedGlobalKey",
|
|
9722
|
+
type: "string",
|
|
8523
9723
|
required: false,
|
|
8524
9724
|
hidden: false,
|
|
8525
9725
|
isPrimaryKey: false,
|
|
8526
9726
|
binding: false,
|
|
8527
|
-
defaultValue:
|
|
9727
|
+
defaultValue: "CaseGlobalsLastPrimaryStageExited",
|
|
8528
9728
|
target: "body",
|
|
8529
|
-
|
|
9729
|
+
displayName: "Instance-globals key for the last primary stage exited"
|
|
8530
9730
|
}
|
|
8531
|
-
]
|
|
9731
|
+
],
|
|
9732
|
+
inputNotes: 'Generated by the case converter. decisions is emitted only when a case-manager decisions variable exists; omitting it makes the engine derive an empty plan - decisions is a JSON-typed token, so omit it by dropping its whole "decisions":{decisions} entry, not by leaving the token empty, and fill it with a JSON literal or a quoted string for an =js:... expression. lastPrimaryStageExitedGlobalKey takes the bare globals key, not an expression - the similarly named CaseCyclePrepare input takes the =instanceglobals read expression instead.',
|
|
9733
|
+
outputNotes: "The converter's epilogue re-reads case state after the commit: it always emits latestCaseState from =caseState, plus one cleared-selected-stage entry per waiting stage. The names and the count are diagram-specific, so no specific output name, type or source can be pinned here, but every entry still carries a nonblank name. generatedOutputs is what tells the validator to require at least one uipath:output and to check each one for a nonblank name and a var attribute, and nothing else about it.",
|
|
9734
|
+
inputName: "body",
|
|
9735
|
+
inputTarget: "body"
|
|
8532
9736
|
},
|
|
8533
9737
|
"Maestro.CaseRulesEvaluator": {
|
|
8534
9738
|
extensionType: "Maestro.CaseRulesEvaluator",
|
|
@@ -9093,7 +10297,7 @@ var bpmn_spec_default = {
|
|
|
9093
10297
|
extensionTagResolution: {
|
|
9094
10298
|
description: "How the frontend determines which XML extension tag to use",
|
|
9095
10299
|
rules: [
|
|
9096
|
-
"If serviceType is in isEvents array [Intsvc.WaitForEvent, Intsvc.EventTrigger, Maestro.ReceiveMessageEvent, Maestro.SendMessageEvent] => uipath:event",
|
|
10300
|
+
"If serviceType is in isEvents array [Intsvc.WaitForEvent, Intsvc.EventTrigger, Maestro.ReceiveMessageEvent, Maestro.SendMessageEvent, Queue.WaitForEvent] => uipath:event",
|
|
9097
10301
|
"If serviceType is BPMN.Variables on bpmn:StartEvent, bpmn:EndEvent, or bpmn:Task => uipath:mapping",
|
|
9098
10302
|
"If nodeType is bpmn:ScriptTask or bpmn:SubProcess => uipath:mapping",
|
|
9099
10303
|
"Otherwise => uipath:activity"
|
|
@@ -9103,7 +10307,8 @@ var bpmn_spec_default = {
|
|
|
9103
10307
|
"Intsvc.WaitForEvent",
|
|
9104
10308
|
"Intsvc.EventTrigger",
|
|
9105
10309
|
"Maestro.ReceiveMessageEvent",
|
|
9106
|
-
"Maestro.SendMessageEvent"
|
|
10310
|
+
"Maestro.SendMessageEvent",
|
|
10311
|
+
"Queue.WaitForEvent"
|
|
9107
10312
|
],
|
|
9108
10313
|
isExecutionArray: [
|
|
9109
10314
|
"Intsvc.ActivityExecution",
|
|
@@ -9123,6 +10328,23 @@ var bpmn_spec_default = {
|
|
|
9123
10328
|
// src/manifest/bpmn-spec.ts
|
|
9124
10329
|
var BPMN_SPEC = bpmn_spec_default;
|
|
9125
10330
|
var MERGED_INPUT_PATTERNS = new Set(["mergedBody", "splitInputsItemData", "scriptArgs"]);
|
|
10331
|
+
var STRUCTURAL_TEMPLATE_TOKENS = Object.freeze([
|
|
10332
|
+
"id",
|
|
10333
|
+
"name",
|
|
10334
|
+
"incomingEdge",
|
|
10335
|
+
"outgoingEdge",
|
|
10336
|
+
"varId",
|
|
10337
|
+
"errorVarId",
|
|
10338
|
+
"outputVarId",
|
|
10339
|
+
"hasItemVarId",
|
|
10340
|
+
"countVarId",
|
|
10341
|
+
"bindingId",
|
|
10342
|
+
"nameBindingId",
|
|
10343
|
+
"folderPathBindingId",
|
|
10344
|
+
"connectionBindingId",
|
|
10345
|
+
"folderBindingId",
|
|
10346
|
+
"fileRef"
|
|
10347
|
+
]);
|
|
9126
10348
|
var STATIC_UIPATH_EXTENSION_TAG_NAMES = [
|
|
9127
10349
|
"binding",
|
|
9128
10350
|
"bindings",
|
|
@@ -9171,6 +10393,12 @@ var CALL_ACTIVITY_PAYLOAD_TAGS = new Set(Object.values(BPMN_SPEC.extensionTypes)
|
|
|
9171
10393
|
var ACTIVITY_CONFIGURATION_V1 = "v1";
|
|
9172
10394
|
var FREE_TEXT_ELEMENTS = new Set(["documentation", "text"]);
|
|
9173
10395
|
var VARIABLE_DECLARATION_NAMES = new Set(["input", "inputoutput", "output"]);
|
|
10396
|
+
var COLLAPSED_MULTI_INSTANCE_OUTPUT_CONTRACTS = new Set([
|
|
10397
|
+
"Orchestrator.GetTransactionItem",
|
|
10398
|
+
"Orchestrator.GetQueueItems",
|
|
10399
|
+
"Orchestrator.DeleteQueueItems",
|
|
10400
|
+
"Queue.WaitForEvent"
|
|
10401
|
+
]);
|
|
9174
10402
|
function isIntsvcActivityExecutionV1(nodeVersion, workflowVersion) {
|
|
9175
10403
|
const version2 = nodeVersion ?? workflowVersion;
|
|
9176
10404
|
return version2 === undefined || version2 === ACTIVITY_CONFIGURATION_V1;
|
|
@@ -15297,7 +16525,8 @@ function buildBpmnPackageMetadata(options) {
|
|
|
15297
16525
|
type: "ProcessOrchestration",
|
|
15298
16526
|
input: mergeSchemaAnnotations(oldEntry?.input, entryPoint.input),
|
|
15299
16527
|
output: mergeSchemaAnnotations(oldEntry?.output, entryPoint.output),
|
|
15300
|
-
displayName: entryPoint.displayName
|
|
16528
|
+
displayName: entryPoint.displayName,
|
|
16529
|
+
...entryPoint.isTransactionRoot ? { isTransactionRoot: true } : {}
|
|
15301
16530
|
};
|
|
15302
16531
|
});
|
|
15303
16532
|
const existingOperate = existing["operate.json"] ?? {};
|
|
@@ -15391,6 +16620,7 @@ function deriveEntryPointsForProcess(process) {
|
|
|
15391
16620
|
const manualStartEvents = flowElements.filter((element) => element.$type === "bpmn:StartEvent" && (element.eventDefinitions?.length ?? 0) === 0 && !extensionValues(element).some((node) => node.$type === "uipath:event"));
|
|
15392
16621
|
if (manualStartEvents.length === 0)
|
|
15393
16622
|
return [];
|
|
16623
|
+
const isTransactionRoot = extensionValues(process).find((node) => node.$type === "uipath:isTransactionRoot")?.value === "true";
|
|
15394
16624
|
const variables = childNodes(extensionValues(process).find((node) => node.$type === "uipath:variables"));
|
|
15395
16625
|
const inputs = variables.filter((node) => node.$type === "uipath:input");
|
|
15396
16626
|
const rootEndIds = new Set(flowElements.filter((element) => element.$type === "bpmn:EndEvent").map((element) => element.id).filter((id) => id !== undefined));
|
|
@@ -15413,7 +16643,8 @@ function deriveEntryPointsForProcess(process) {
|
|
|
15413
16643
|
entryPointId,
|
|
15414
16644
|
displayName: entryPointDisplayName(startEvent.name),
|
|
15415
16645
|
input: variableSchema(inputs.filter((input) => input.elementId === startEventId), "input"),
|
|
15416
|
-
output: outputSchema
|
|
16646
|
+
output: outputSchema,
|
|
16647
|
+
isTransactionRoot
|
|
15417
16648
|
};
|
|
15418
16649
|
});
|
|
15419
16650
|
}
|
|
@@ -15493,4 +16724,4 @@ export {
|
|
|
15493
16724
|
required
|
|
15494
16725
|
};
|
|
15495
16726
|
|
|
15496
|
-
//# debugId=
|
|
16727
|
+
//# debugId=9EA9C35124E099A064756E2164756E21
|