@uipath/packager-tool-bpmn 1.206.0-preview.301 → 1.207.0-preview.305
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/index.js +688 -300
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -54,13 +54,15 @@ var init_telemetry_dimensions = __esm(() => {
|
|
|
54
54
|
SolutionKey: "SolutionKey",
|
|
55
55
|
SolutionProjectKey: "SolutionProjectKey",
|
|
56
56
|
SolutionIdentityStatus: "SolutionIdentityStatus",
|
|
57
|
-
PreviousSolutionKey: "PreviousSolutionKey"
|
|
57
|
+
PreviousSolutionKey: "PreviousSolutionKey",
|
|
58
|
+
PreviousProjectKey: "PreviousProjectKey"
|
|
58
59
|
};
|
|
59
60
|
GUID_KEY_DIMENSIONS = new Set([
|
|
60
61
|
ProjectDimensions.ProjectKey,
|
|
61
62
|
ProjectDimensions.SolutionKey,
|
|
62
63
|
ProjectDimensions.SolutionProjectKey,
|
|
63
|
-
ProjectDimensions.PreviousSolutionKey
|
|
64
|
+
ProjectDimensions.PreviousSolutionKey,
|
|
65
|
+
ProjectDimensions.PreviousProjectKey
|
|
64
66
|
]);
|
|
65
67
|
ShipDimensions = {
|
|
66
68
|
ShipKind: "ShipKind",
|
|
@@ -165,9 +167,9 @@ var init_project_identity = __esm(() => {
|
|
|
165
167
|
init_telemetry_dimensions();
|
|
166
168
|
});
|
|
167
169
|
|
|
168
|
-
// ../../common/src/
|
|
170
|
+
// ../../common/src/sha256.ts
|
|
169
171
|
var SHA256_K, SHA256_INITIAL_STATE;
|
|
170
|
-
var
|
|
172
|
+
var init_sha256 = __esm(() => {
|
|
171
173
|
SHA256_K = new Uint32Array([
|
|
172
174
|
1116352408,
|
|
173
175
|
1899447441,
|
|
@@ -246,6 +248,11 @@ var init_pseudonymize = __esm(() => {
|
|
|
246
248
|
]);
|
|
247
249
|
});
|
|
248
250
|
|
|
251
|
+
// ../../common/src/telemetry/pseudonymize.ts
|
|
252
|
+
var init_pseudonymize = __esm(() => {
|
|
253
|
+
init_sha256();
|
|
254
|
+
});
|
|
255
|
+
|
|
249
256
|
// ../../common/src/singleton.ts
|
|
250
257
|
function singleton(ctorOrName) {
|
|
251
258
|
const name = typeof ctorOrName === "string" ? ctorOrName : ctorOrName.name;
|
|
@@ -5904,6 +5911,18 @@ var init_acorn = __esm(() => {
|
|
|
5904
5911
|
};
|
|
5905
5912
|
});
|
|
5906
5913
|
|
|
5914
|
+
// ../../maestro-sdk/src/binding-id.ts
|
|
5915
|
+
var VALID_BINDING_ID_REGEX, invalidBindingIdMessage = (id, effect = "the task faults at run time") => ({
|
|
5916
|
+
message: `Binding id "${id}" is not an identifier (letters, digits and "_", not starting with a digit). The engine reads "=bindings.${id}" as a C# expression, so the reference does not resolve and ${effect}.`,
|
|
5917
|
+
instruction: `Rename the binding and every "=bindings.${id}" reference to it.`
|
|
5918
|
+
});
|
|
5919
|
+
var init_binding_id = __esm(() => {
|
|
5920
|
+
VALID_BINDING_ID_REGEX = /^[A-Za-z_][A-Za-z0-9_]*$/;
|
|
5921
|
+
});
|
|
5922
|
+
|
|
5923
|
+
// ../../maestro-sdk/src/bpmn-packaging/studio-web-migrations.ts
|
|
5924
|
+
var STUDIO_WEB_MIGRATION_VERSION = 21, SCRIPT_TASK_V2_MIGRATION_VERSION = 4;
|
|
5925
|
+
|
|
5907
5926
|
// ../../maestro-sdk/src/jint-globals.ts
|
|
5908
5927
|
var JINT_GLOBALS;
|
|
5909
5928
|
var init_jint_globals = __esm(() => {
|
|
@@ -6029,40 +6048,33 @@ var init_bpmn_spec = __esm(() => {
|
|
|
6029
6048
|
extensionTag: "uipath:activity",
|
|
6030
6049
|
contextFields: [
|
|
6031
6050
|
{
|
|
6032
|
-
name: "
|
|
6033
|
-
|
|
6034
|
-
required: false,
|
|
6035
|
-
hidden: true,
|
|
6036
|
-
isPrimaryKey: true,
|
|
6037
|
-
binding: false,
|
|
6038
|
-
defaultValue: null
|
|
6039
|
-
},
|
|
6040
|
-
{
|
|
6041
|
-
name: "appVersion",
|
|
6042
|
-
type: "number",
|
|
6043
|
-
required: false,
|
|
6044
|
-
hidden: true,
|
|
6045
|
-
isPrimaryKey: false,
|
|
6046
|
-
binding: false,
|
|
6047
|
-
defaultValue: null
|
|
6048
|
-
},
|
|
6049
|
-
{
|
|
6050
|
-
name: "actions",
|
|
6051
|
+
name: "name",
|
|
6052
|
+
displayName: "App",
|
|
6051
6053
|
type: "string",
|
|
6052
|
-
required:
|
|
6054
|
+
required: true,
|
|
6053
6055
|
hidden: true,
|
|
6054
6056
|
isPrimaryKey: false,
|
|
6055
|
-
binding:
|
|
6056
|
-
defaultValue: null
|
|
6057
|
+
binding: true,
|
|
6058
|
+
defaultValue: null,
|
|
6059
|
+
bindingInfo: {
|
|
6060
|
+
resource: "app",
|
|
6061
|
+
resourceKeyPattern: "${metadata.key}",
|
|
6062
|
+
propertyAttribute: "name"
|
|
6063
|
+
}
|
|
6057
6064
|
},
|
|
6058
6065
|
{
|
|
6059
|
-
name: "
|
|
6066
|
+
name: "folderPath",
|
|
6060
6067
|
type: "string",
|
|
6061
|
-
required:
|
|
6068
|
+
required: true,
|
|
6062
6069
|
hidden: true,
|
|
6063
6070
|
isPrimaryKey: false,
|
|
6064
|
-
binding:
|
|
6065
|
-
defaultValue: null
|
|
6071
|
+
binding: true,
|
|
6072
|
+
defaultValue: null,
|
|
6073
|
+
bindingInfo: {
|
|
6074
|
+
resource: "app",
|
|
6075
|
+
resourceKeyPattern: "${metadata.key}",
|
|
6076
|
+
propertyAttribute: "folderPath"
|
|
6077
|
+
}
|
|
6066
6078
|
},
|
|
6067
6079
|
{
|
|
6068
6080
|
name: "taskTitle",
|
|
@@ -6081,18 +6093,16 @@ var init_bpmn_spec = __esm(() => {
|
|
|
6081
6093
|
outputType: "Actions.HITL",
|
|
6082
6094
|
outputName: "Process response",
|
|
6083
6095
|
useRelativeSource: true,
|
|
6084
|
-
bindingPattern: "
|
|
6096
|
+
bindingPattern: "app",
|
|
6085
6097
|
requiresDiscovery: true,
|
|
6086
6098
|
isDynamic: true,
|
|
6087
|
-
xmlTemplate: `<bpmn:
|
|
6099
|
+
xmlTemplate: `<bpmn:userTask id="{id}" name="{name}">
|
|
6088
6100
|
<bpmn:extensionElements>
|
|
6089
6101
|
<uipath:activity version="v1">
|
|
6090
|
-
<uipath:type value="Actions.HITL" version="
|
|
6102
|
+
<uipath:type value="Actions.HITL" version="v2" />
|
|
6091
6103
|
<uipath:context>
|
|
6092
|
-
<uipath:input name="
|
|
6093
|
-
<uipath:input name="
|
|
6094
|
-
<uipath:input name="actions" type="string" value="{actions}" />
|
|
6095
|
-
<uipath:input name="key" type="string" value="{key}" />
|
|
6104
|
+
<uipath:input name="name" type="string" value="=bindings.{nameBindingId}" />
|
|
6105
|
+
<uipath:input name="folderPath" type="string" value="=bindings.{folderPathBindingId}" />
|
|
6096
6106
|
<uipath:input name="taskTitle" type="string" value="{taskTitle}" />
|
|
6097
6107
|
</uipath:context>
|
|
6098
6108
|
<uipath:input name="HitlTaskArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
|
|
@@ -6101,9 +6111,14 @@ var init_bpmn_spec = __esm(() => {
|
|
|
6101
6111
|
</bpmn:extensionElements>
|
|
6102
6112
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
6103
6113
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
6104
|
-
</bpmn:
|
|
6105
|
-
discoveryNotes: "Uses getSupportedHumanTasks(search, systemName) to list available action app tasks",
|
|
6106
|
-
|
|
6114
|
+
</bpmn:userTask>`,
|
|
6115
|
+
discoveryNotes: "Uses getSupportedHumanTasks(search, systemName) to list available action app tasks. A quick-form task (hitlType=quick, no app) takes no name or folderPath; write it as Studio Web does or with builder-sdk humanTask({ form }).",
|
|
6116
|
+
bindingInfo: {
|
|
6117
|
+
resource: "app",
|
|
6118
|
+
resourceKeyPattern: "${metadata.key}",
|
|
6119
|
+
propertyAttribute: "name",
|
|
6120
|
+
contextField: "name"
|
|
6121
|
+
}
|
|
6107
6122
|
},
|
|
6108
6123
|
"Orchestrator.StartJob": {
|
|
6109
6124
|
extensionType: "Orchestrator.StartJob",
|
|
@@ -6117,46 +6132,33 @@ var init_bpmn_spec = __esm(() => {
|
|
|
6117
6132
|
extensionTag: "uipath:activity",
|
|
6118
6133
|
contextFields: [
|
|
6119
6134
|
{
|
|
6120
|
-
name: "
|
|
6135
|
+
name: "name",
|
|
6121
6136
|
displayName: "Process",
|
|
6122
6137
|
type: "string",
|
|
6123
|
-
required:
|
|
6138
|
+
required: true,
|
|
6124
6139
|
hidden: true,
|
|
6125
6140
|
isPrimaryKey: false,
|
|
6126
|
-
binding:
|
|
6141
|
+
binding: true,
|
|
6127
6142
|
defaultValue: null,
|
|
6128
6143
|
bindingInfo: {
|
|
6129
6144
|
resource: "process",
|
|
6130
6145
|
resourceKeyPattern: "${metadata.key}",
|
|
6131
|
-
propertyAttribute: "
|
|
6146
|
+
propertyAttribute: "name"
|
|
6132
6147
|
}
|
|
6133
6148
|
},
|
|
6134
|
-
{
|
|
6135
|
-
name: "folderId",
|
|
6136
|
-
type: "string",
|
|
6137
|
-
required: false,
|
|
6138
|
-
hidden: true,
|
|
6139
|
-
isPrimaryKey: false,
|
|
6140
|
-
binding: false,
|
|
6141
|
-
defaultValue: null
|
|
6142
|
-
},
|
|
6143
6149
|
{
|
|
6144
6150
|
name: "folderPath",
|
|
6145
6151
|
type: "string",
|
|
6146
|
-
required:
|
|
6147
|
-
hidden: true,
|
|
6148
|
-
isPrimaryKey: false,
|
|
6149
|
-
binding: false,
|
|
6150
|
-
defaultValue: null
|
|
6151
|
-
},
|
|
6152
|
-
{
|
|
6153
|
-
name: "name",
|
|
6154
|
-
type: "string",
|
|
6155
|
-
required: false,
|
|
6152
|
+
required: true,
|
|
6156
6153
|
hidden: true,
|
|
6157
6154
|
isPrimaryKey: false,
|
|
6158
|
-
binding:
|
|
6159
|
-
defaultValue: null
|
|
6155
|
+
binding: true,
|
|
6156
|
+
defaultValue: null,
|
|
6157
|
+
bindingInfo: {
|
|
6158
|
+
resource: "process",
|
|
6159
|
+
resourceKeyPattern: "${metadata.key}",
|
|
6160
|
+
propertyAttribute: "folderPath"
|
|
6161
|
+
}
|
|
6160
6162
|
}
|
|
6161
6163
|
],
|
|
6162
6164
|
inputPattern: "mergedBody",
|
|
@@ -6170,20 +6172,18 @@ var init_bpmn_spec = __esm(() => {
|
|
|
6170
6172
|
bindingInfo: {
|
|
6171
6173
|
resource: "process",
|
|
6172
6174
|
resourceKeyPattern: "${metadata.key}",
|
|
6173
|
-
propertyAttribute: "
|
|
6174
|
-
contextField: "
|
|
6175
|
+
propertyAttribute: "name",
|
|
6176
|
+
contextField: "name"
|
|
6175
6177
|
},
|
|
6176
6178
|
requiresDiscovery: true,
|
|
6177
6179
|
isDynamic: true,
|
|
6178
|
-
xmlTemplate: `<bpmn:
|
|
6180
|
+
xmlTemplate: `<bpmn:serviceTask id="{id}" name="{name}">
|
|
6179
6181
|
<bpmn:extensionElements>
|
|
6180
6182
|
<uipath:activity version="v1">
|
|
6181
|
-
<uipath:type value="Orchestrator.StartJob" version="
|
|
6183
|
+
<uipath:type value="Orchestrator.StartJob" version="v2" />
|
|
6182
6184
|
<uipath:context>
|
|
6183
|
-
<uipath:input name="
|
|
6184
|
-
<uipath:input name="
|
|
6185
|
-
<uipath:input name="folderPath" type="string" value="{folderPath}" />
|
|
6186
|
-
<uipath:input name="name" type="string" value="{name}" />
|
|
6185
|
+
<uipath:input name="name" type="string" value="=bindings.{nameBindingId}" />
|
|
6186
|
+
<uipath:input name="folderPath" type="string" value="=bindings.{folderPathBindingId}" />
|
|
6187
6187
|
</uipath:context>
|
|
6188
6188
|
<uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
|
|
6189
6189
|
<uipath:output name="Process response" type="Orchestrator.RunJob" var="{varId}" />
|
|
@@ -6191,7 +6191,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
6191
6191
|
</bpmn:extensionElements>
|
|
6192
6192
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
6193
6193
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
6194
|
-
</bpmn:
|
|
6194
|
+
</bpmn:serviceTask>`,
|
|
6195
6195
|
discoveryNotes: "Uses getSupportedOrchestratorTasks('process', search) to list available processes"
|
|
6196
6196
|
},
|
|
6197
6197
|
"Orchestrator.StartAgentJob": {
|
|
@@ -6251,7 +6251,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
6251
6251
|
},
|
|
6252
6252
|
requiresDiscovery: true,
|
|
6253
6253
|
isDynamic: true,
|
|
6254
|
-
xmlTemplate: `<bpmn:
|
|
6254
|
+
xmlTemplate: `<bpmn:serviceTask id="{id}" name="{name}">
|
|
6255
6255
|
<bpmn:extensionElements>
|
|
6256
6256
|
<uipath:activity version="v1">
|
|
6257
6257
|
<uipath:type value="Orchestrator.StartAgentJob" version="v2" />
|
|
@@ -6265,7 +6265,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
6265
6265
|
</bpmn:extensionElements>
|
|
6266
6266
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
6267
6267
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
6268
|
-
</bpmn:
|
|
6268
|
+
</bpmn:serviceTask>`,
|
|
6269
6269
|
discoveryNotes: "Uses getSupportedOrchestratorTasks('agent', search) to list available agents"
|
|
6270
6270
|
},
|
|
6271
6271
|
"Orchestrator.BusinessRules": {
|
|
@@ -6342,7 +6342,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
6342
6342
|
},
|
|
6343
6343
|
requiresDiscovery: true,
|
|
6344
6344
|
isDynamic: true,
|
|
6345
|
-
xmlTemplate: `<bpmn:
|
|
6345
|
+
xmlTemplate: `<bpmn:businessRuleTask id="{id}" name="{name}">
|
|
6346
6346
|
<bpmn:extensionElements>
|
|
6347
6347
|
<uipath:activity version="v1">
|
|
6348
6348
|
<uipath:type value="Orchestrator.BusinessRules" version="v3" />
|
|
@@ -6359,7 +6359,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
6359
6359
|
</bpmn:extensionElements>
|
|
6360
6360
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
6361
6361
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
6362
|
-
</bpmn:
|
|
6362
|
+
</bpmn:businessRuleTask>`,
|
|
6363
6363
|
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",
|
|
6364
6364
|
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.",
|
|
6365
6365
|
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.",
|
|
@@ -6616,7 +6616,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
6616
6616
|
bindingPattern: "none",
|
|
6617
6617
|
requiresDiscovery: false,
|
|
6618
6618
|
isDynamic: false,
|
|
6619
|
-
xmlTemplate: `<bpmn:
|
|
6619
|
+
xmlTemplate: `<bpmn:sendTask id="{id}" name="{name}">
|
|
6620
6620
|
<bpmn:extensionElements>
|
|
6621
6621
|
<uipath:activity version="v1">
|
|
6622
6622
|
<uipath:type value="Intsvc.HttpExecution" version="v1" />
|
|
@@ -6633,7 +6633,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
6633
6633
|
</bpmn:extensionElements>
|
|
6634
6634
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
6635
6635
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
6636
|
-
</bpmn:
|
|
6636
|
+
</bpmn:sendTask>`,
|
|
6637
6637
|
inputNotes: "No jsonBody in design schema input section; all configuration is in context fields"
|
|
6638
6638
|
},
|
|
6639
6639
|
"Intsvc.UnifiedHttpRequest": {
|
|
@@ -6812,7 +6812,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
6812
6812
|
bindingPattern: "connection",
|
|
6813
6813
|
requiresDiscovery: true,
|
|
6814
6814
|
isDynamic: false,
|
|
6815
|
-
xmlTemplate: `<bpmn:
|
|
6815
|
+
xmlTemplate: `<bpmn:receiveTask id="{id}" name="{name}">
|
|
6816
6816
|
<bpmn:extensionElements>
|
|
6817
6817
|
<uipath:event version="v1">
|
|
6818
6818
|
<uipath:type value="Intsvc.WaitForEvent" version="v1" />
|
|
@@ -6830,7 +6830,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
6830
6830
|
</bpmn:extensionElements>
|
|
6831
6831
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
6832
6832
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
6833
|
-
</bpmn:
|
|
6833
|
+
</bpmn:receiveTask>`,
|
|
6834
6834
|
discoveryNotes: "Uses getConnectorConnections(connectorKey) to list available connections",
|
|
6835
6835
|
inputNotes: "isSplitInputs=false; inputs are defined in input.fields (not jsonBody). Sent as separate <uipath:input> elements.",
|
|
6836
6836
|
contextFieldNotes: "Context fields are empty in design schema; all field definitions are in inputFields below",
|
|
@@ -6964,7 +6964,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
6964
6964
|
bindingPattern: "connection",
|
|
6965
6965
|
requiresDiscovery: true,
|
|
6966
6966
|
isDynamic: false,
|
|
6967
|
-
xmlTemplate: `<bpmn:
|
|
6967
|
+
xmlTemplate: `<bpmn:startEvent id="{id}" name="{name}">
|
|
6968
6968
|
<bpmn:extensionElements>
|
|
6969
6969
|
<uipath:event version="v1">
|
|
6970
6970
|
<uipath:type value="Intsvc.EventTrigger" version="v1" />
|
|
@@ -6983,7 +6983,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
6983
6983
|
<bpmn:messageEventDefinition />
|
|
6984
6984
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
6985
6985
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
6986
|
-
</bpmn:
|
|
6986
|
+
</bpmn:startEvent>`,
|
|
6987
6987
|
discoveryNotes: "Uses getConnectorConnections(connectorKey) to list available connections",
|
|
6988
6988
|
inputNotes: "isSplitInputs=false; inputs defined in input.fields. Sent as separate <uipath:input> elements.",
|
|
6989
6989
|
contextFieldNotes: "Context fields are empty in design schema; all field definitions are in inputFields below",
|
|
@@ -7177,7 +7177,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
7177
7177
|
bindingPattern: "connection",
|
|
7178
7178
|
requiresDiscovery: true,
|
|
7179
7179
|
isDynamic: true,
|
|
7180
|
-
xmlTemplate: `<bpmn:
|
|
7180
|
+
xmlTemplate: `<bpmn:serviceTask id="{id}" name="{name}">
|
|
7181
7181
|
<bpmn:extensionElements>
|
|
7182
7182
|
<uipath:activity version="v1">
|
|
7183
7183
|
<uipath:type value="Intsvc.AsyncExecution" version="v1" />
|
|
@@ -7195,7 +7195,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
7195
7195
|
</bpmn:extensionElements>
|
|
7196
7196
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
7197
7197
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
7198
|
-
</bpmn:
|
|
7198
|
+
</bpmn:serviceTask>`,
|
|
7199
7199
|
discoveryNotes: "Uses getConnectorConnections(connectorKey) to list available connections",
|
|
7200
7200
|
inputNotes: "isSplitInputs=false in design schema; inputs are sent as separate <uipath:input> elements",
|
|
7201
7201
|
extensionTagNotes: "In isExecution array, uses uipath:activity"
|
|
@@ -7283,7 +7283,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
7283
7283
|
requiresDiscovery: true,
|
|
7284
7284
|
isDynamic: true,
|
|
7285
7285
|
designSchemaSharedWith: "Intsvc.AsyncExecution",
|
|
7286
|
-
xmlTemplate: `<bpmn:
|
|
7286
|
+
xmlTemplate: `<bpmn:serviceTask id="{id}" name="{name}">
|
|
7287
7287
|
<bpmn:extensionElements>
|
|
7288
7288
|
<uipath:activity version="v1">
|
|
7289
7289
|
<uipath:type value="Intsvc.SyncAgentExecution" version="v1" />
|
|
@@ -7301,7 +7301,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
7301
7301
|
</bpmn:extensionElements>
|
|
7302
7302
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
7303
7303
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
7304
|
-
</bpmn:
|
|
7304
|
+
</bpmn:serviceTask>`,
|
|
7305
7305
|
discoveryNotes: "Uses getConnectorConnections(connectorKey) to list available connections",
|
|
7306
7306
|
extensionTagNotes: "In isExecution array, uses uipath:activity"
|
|
7307
7307
|
},
|
|
@@ -7388,7 +7388,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
7388
7388
|
requiresDiscovery: true,
|
|
7389
7389
|
isDynamic: true,
|
|
7390
7390
|
designSchemaSharedWith: "Intsvc.AsyncExecution",
|
|
7391
|
-
xmlTemplate: `<bpmn:
|
|
7391
|
+
xmlTemplate: `<bpmn:serviceTask id="{id}" name="{name}">
|
|
7392
7392
|
<bpmn:extensionElements>
|
|
7393
7393
|
<uipath:activity version="v1">
|
|
7394
7394
|
<uipath:type value="Intsvc.AsyncAgentExecution" version="v1" />
|
|
@@ -7406,7 +7406,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
7406
7406
|
</bpmn:extensionElements>
|
|
7407
7407
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
7408
7408
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
7409
|
-
</bpmn:
|
|
7409
|
+
</bpmn:serviceTask>`,
|
|
7410
7410
|
discoveryNotes: "Uses getConnectorConnections(connectorKey) to list available connections",
|
|
7411
7411
|
extensionTagNotes: "In isExecution array, uses uipath:activity"
|
|
7412
7412
|
},
|
|
@@ -7493,7 +7493,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
7493
7493
|
requiresDiscovery: true,
|
|
7494
7494
|
isDynamic: true,
|
|
7495
7495
|
designSchemaSharedWith: "Intsvc.AsyncExecution",
|
|
7496
|
-
xmlTemplate: `<bpmn:
|
|
7496
|
+
xmlTemplate: `<bpmn:serviceTask id="{id}" name="{name}">
|
|
7497
7497
|
<bpmn:extensionElements>
|
|
7498
7498
|
<uipath:activity version="v1">
|
|
7499
7499
|
<uipath:type value="Intsvc.SyncWorkflowExecution" version="v1" />
|
|
@@ -7511,7 +7511,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
7511
7511
|
</bpmn:extensionElements>
|
|
7512
7512
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
7513
7513
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
7514
|
-
</bpmn:
|
|
7514
|
+
</bpmn:serviceTask>`,
|
|
7515
7515
|
discoveryNotes: "Uses getConnectorConnections(connectorKey) to list available connections",
|
|
7516
7516
|
extensionTagNotes: "In isExecution array, uses uipath:activity"
|
|
7517
7517
|
},
|
|
@@ -7598,7 +7598,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
7598
7598
|
requiresDiscovery: true,
|
|
7599
7599
|
isDynamic: true,
|
|
7600
7600
|
designSchemaSharedWith: "Intsvc.AsyncExecution",
|
|
7601
|
-
xmlTemplate: `<bpmn:
|
|
7601
|
+
xmlTemplate: `<bpmn:serviceTask id="{id}" name="{name}">
|
|
7602
7602
|
<bpmn:extensionElements>
|
|
7603
7603
|
<uipath:activity version="v1">
|
|
7604
7604
|
<uipath:type value="Intsvc.AsyncWorkflowExecution" version="v1" />
|
|
@@ -7616,7 +7616,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
7616
7616
|
</bpmn:extensionElements>
|
|
7617
7617
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
7618
7618
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
7619
|
-
</bpmn:
|
|
7619
|
+
</bpmn:serviceTask>`,
|
|
7620
7620
|
discoveryNotes: "Uses getConnectorConnections(connectorKey) to list available connections",
|
|
7621
7621
|
extensionTagNotes: "In isExecution array, uses uipath:activity"
|
|
7622
7622
|
},
|
|
@@ -7690,7 +7690,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
7690
7690
|
},
|
|
7691
7691
|
requiresDiscovery: true,
|
|
7692
7692
|
isDynamic: true,
|
|
7693
|
-
xmlTemplate: `<bpmn:
|
|
7693
|
+
xmlTemplate: `<bpmn:serviceTask id="{id}" name="{name}">
|
|
7694
7694
|
<bpmn:extensionElements>
|
|
7695
7695
|
<uipath:activity version="v1">
|
|
7696
7696
|
<uipath:type value="Orchestrator.ExecuteApiWorkflowAsync" version="v1" />
|
|
@@ -7706,7 +7706,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
7706
7706
|
</bpmn:extensionElements>
|
|
7707
7707
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
7708
7708
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
7709
|
-
</bpmn:
|
|
7709
|
+
</bpmn:serviceTask>`,
|
|
7710
7710
|
discoveryNotes: "Uses getResourceCatalogProcesses('API', search) to list available API workflows"
|
|
7711
7711
|
},
|
|
7712
7712
|
"Orchestrator.ExecuteFunctionAsync": {
|
|
@@ -7779,7 +7779,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
7779
7779
|
},
|
|
7780
7780
|
requiresDiscovery: true,
|
|
7781
7781
|
isDynamic: true,
|
|
7782
|
-
xmlTemplate: `<bpmn:
|
|
7782
|
+
xmlTemplate: `<bpmn:serviceTask id="{id}" name="{name}">
|
|
7783
7783
|
<bpmn:extensionElements>
|
|
7784
7784
|
<uipath:activity version="v1">
|
|
7785
7785
|
<uipath:type value="Orchestrator.ExecuteFunctionAsync" version="v2" />
|
|
@@ -7795,7 +7795,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
7795
7795
|
</bpmn:extensionElements>
|
|
7796
7796
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
7797
7797
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
7798
|
-
</bpmn:
|
|
7798
|
+
</bpmn:serviceTask>`,
|
|
7799
7799
|
discoveryNotes: "Uses getResourceCatalogProcesses('function', search) to list available Functions. Studio Web bindings use the Function process resource subtype."
|
|
7800
7800
|
},
|
|
7801
7801
|
"Orchestrator.CreateQueueItem": {
|
|
@@ -7859,7 +7859,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
7859
7859
|
},
|
|
7860
7860
|
requiresDiscovery: true,
|
|
7861
7861
|
isDynamic: true,
|
|
7862
|
-
xmlTemplate: `<bpmn:
|
|
7862
|
+
xmlTemplate: `<bpmn:sendTask id="{id}" name="{name}">
|
|
7863
7863
|
<bpmn:extensionElements>
|
|
7864
7864
|
<uipath:activity version="v1">
|
|
7865
7865
|
<uipath:type value="Orchestrator.CreateQueueItem" version="v1" />
|
|
@@ -7874,7 +7874,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
7874
7874
|
</bpmn:extensionElements>
|
|
7875
7875
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
7876
7876
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
7877
|
-
</bpmn:
|
|
7877
|
+
</bpmn:sendTask>`,
|
|
7878
7878
|
discoveryNotes: "Uses getQueueDefinitions(serviceType, search) to list available queues"
|
|
7879
7879
|
},
|
|
7880
7880
|
"Orchestrator.CreateAndWaitForQueueItem": {
|
|
@@ -7939,7 +7939,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
7939
7939
|
requiresDiscovery: true,
|
|
7940
7940
|
isDynamic: true,
|
|
7941
7941
|
designSchemaSharedWith: "Orchestrator.CreateQueueItem",
|
|
7942
|
-
xmlTemplate: `<bpmn:
|
|
7942
|
+
xmlTemplate: `<bpmn:serviceTask id="{id}" name="{name}">
|
|
7943
7943
|
<bpmn:extensionElements>
|
|
7944
7944
|
<uipath:activity version="v1">
|
|
7945
7945
|
<uipath:type value="Orchestrator.CreateAndWaitForQueueItem" version="v1" />
|
|
@@ -7954,7 +7954,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
7954
7954
|
</bpmn:extensionElements>
|
|
7955
7955
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
7956
7956
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
7957
|
-
</bpmn:
|
|
7957
|
+
</bpmn:serviceTask>`,
|
|
7958
7958
|
discoveryNotes: "Uses getQueueDefinitions(serviceType, search) to list available queues"
|
|
7959
7959
|
},
|
|
7960
7960
|
"Orchestrator.SetTransactionStatus": {
|
|
@@ -7985,7 +7985,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
7985
7985
|
bindingPattern: "none",
|
|
7986
7986
|
requiresDiscovery: false,
|
|
7987
7987
|
isDynamic: false,
|
|
7988
|
-
xmlTemplate: `<bpmn:
|
|
7988
|
+
xmlTemplate: `<bpmn:serviceTask id="{id}" name="{name}">
|
|
7989
7989
|
<bpmn:extensionElements>
|
|
7990
7990
|
<uipath:activity version="v1">
|
|
7991
7991
|
<uipath:type value="Orchestrator.SetTransactionStatus" version="v1" />
|
|
@@ -7995,7 +7995,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
7995
7995
|
</bpmn:extensionElements>
|
|
7996
7996
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
7997
7997
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
7998
|
-
</bpmn:
|
|
7998
|
+
</bpmn:serviceTask>`,
|
|
7999
7999
|
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.',
|
|
8000
8000
|
inputFields: [
|
|
8001
8001
|
{
|
|
@@ -8089,7 +8089,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
8089
8089
|
bindingPattern: "none",
|
|
8090
8090
|
requiresDiscovery: false,
|
|
8091
8091
|
isDynamic: false,
|
|
8092
|
-
xmlTemplate: `<bpmn:
|
|
8092
|
+
xmlTemplate: `<bpmn:serviceTask id="{id}" name="{name}">
|
|
8093
8093
|
<bpmn:extensionElements>
|
|
8094
8094
|
<uipath:activity version="v1">
|
|
8095
8095
|
<uipath:type value="Orchestrator.SetTransactionProgress" version="v1" />
|
|
@@ -8099,7 +8099,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
8099
8099
|
</bpmn:extensionElements>
|
|
8100
8100
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
8101
8101
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
8102
|
-
</bpmn:
|
|
8102
|
+
</bpmn:serviceTask>`,
|
|
8103
8103
|
inputFields: [
|
|
8104
8104
|
{
|
|
8105
8105
|
name: "QueueItem",
|
|
@@ -8155,7 +8155,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
8155
8155
|
bindingPattern: "none",
|
|
8156
8156
|
requiresDiscovery: false,
|
|
8157
8157
|
isDynamic: false,
|
|
8158
|
-
xmlTemplate: `<bpmn:
|
|
8158
|
+
xmlTemplate: `<bpmn:serviceTask id="{id}" name="{name}">
|
|
8159
8159
|
<bpmn:extensionElements>
|
|
8160
8160
|
<uipath:activity version="v1">
|
|
8161
8161
|
<uipath:type value="Orchestrator.PostponeTransactionItem" version="v1" />
|
|
@@ -8165,7 +8165,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
8165
8165
|
</bpmn:extensionElements>
|
|
8166
8166
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
8167
8167
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
8168
|
-
</bpmn:
|
|
8168
|
+
</bpmn:serviceTask>`,
|
|
8169
8169
|
inputFields: [
|
|
8170
8170
|
{
|
|
8171
8171
|
name: "QueueItem",
|
|
@@ -8261,7 +8261,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
8261
8261
|
},
|
|
8262
8262
|
requiresDiscovery: true,
|
|
8263
8263
|
isDynamic: false,
|
|
8264
|
-
xmlTemplate: `<bpmn:
|
|
8264
|
+
xmlTemplate: `<bpmn:serviceTask id="{id}" name="{name}">
|
|
8265
8265
|
<bpmn:extensionElements>
|
|
8266
8266
|
<uipath:activity version="v1">
|
|
8267
8267
|
<uipath:type value="Orchestrator.BulkAddQueueItems" version="v2" />
|
|
@@ -8275,7 +8275,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
8275
8275
|
</bpmn:extensionElements>
|
|
8276
8276
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
8277
8277
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
8278
|
-
</bpmn:
|
|
8278
|
+
</bpmn:serviceTask>`,
|
|
8279
8279
|
discoveryNotes: "Uses getQueueDefinitions(serviceType, search) to list available queues.",
|
|
8280
8280
|
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.',
|
|
8281
8281
|
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.",
|
|
@@ -8338,7 +8338,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
8338
8338
|
bindingPattern: "none",
|
|
8339
8339
|
requiresDiscovery: false,
|
|
8340
8340
|
isDynamic: false,
|
|
8341
|
-
xmlTemplate: `<bpmn:
|
|
8341
|
+
xmlTemplate: `<bpmn:serviceTask id="{id}" name="{name}">
|
|
8342
8342
|
<bpmn:extensionElements>
|
|
8343
8343
|
<uipath:activity version="v1">
|
|
8344
8344
|
<uipath:type value="Orchestrator.DeleteQueueItems" version="v1" />
|
|
@@ -8348,7 +8348,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
8348
8348
|
</bpmn:extensionElements>
|
|
8349
8349
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
8350
8350
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
8351
|
-
</bpmn:
|
|
8351
|
+
</bpmn:serviceTask>`,
|
|
8352
8352
|
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.',
|
|
8353
8353
|
inputFields: [
|
|
8354
8354
|
{
|
|
@@ -8461,7 +8461,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
8461
8461
|
},
|
|
8462
8462
|
requiresDiscovery: true,
|
|
8463
8463
|
isDynamic: false,
|
|
8464
|
-
xmlTemplate: `<bpmn:
|
|
8464
|
+
xmlTemplate: `<bpmn:serviceTask id="{id}" name="{name}">
|
|
8465
8465
|
<bpmn:extensionElements>
|
|
8466
8466
|
<uipath:activity version="v1">
|
|
8467
8467
|
<uipath:type value="Orchestrator.GetTransactionItem" version="v2" />
|
|
@@ -8478,7 +8478,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
8478
8478
|
</bpmn:extensionElements>
|
|
8479
8479
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
8480
8480
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
8481
|
-
</bpmn:
|
|
8481
|
+
</bpmn:serviceTask>`,
|
|
8482
8482
|
discoveryNotes: "Uses getQueueDefinitions(serviceType, search) to list available queues.",
|
|
8483
8483
|
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.",
|
|
8484
8484
|
contextFieldNotes: "reference and filterStrategy live in uipath:context next to queueName; the backend reads them there. filterStrategy mirrors Orchestrator's QueueItemsFilterStrategy (default StartsWith)."
|
|
@@ -8575,7 +8575,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
8575
8575
|
},
|
|
8576
8576
|
requiresDiscovery: true,
|
|
8577
8577
|
isDynamic: false,
|
|
8578
|
-
xmlTemplate: `<bpmn:
|
|
8578
|
+
xmlTemplate: `<bpmn:serviceTask id="{id}" name="{name}">
|
|
8579
8579
|
<bpmn:extensionElements>
|
|
8580
8580
|
<uipath:activity version="v1">
|
|
8581
8581
|
<uipath:type value="Orchestrator.GetQueueItems" version="v2" />
|
|
@@ -8592,7 +8592,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
8592
8592
|
</bpmn:extensionElements>
|
|
8593
8593
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
8594
8594
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
8595
|
-
</bpmn:
|
|
8595
|
+
</bpmn:serviceTask>`,
|
|
8596
8596
|
discoveryNotes: "Uses getQueueDefinitions(serviceType, search) to list available queues.",
|
|
8597
8597
|
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.",
|
|
8598
8598
|
contextFieldNotes: "statuses and reference filter the returned items and live in uipath:context alongside queueName."
|
|
@@ -8693,7 +8693,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
8693
8693
|
},
|
|
8694
8694
|
requiresDiscovery: true,
|
|
8695
8695
|
isDynamic: false,
|
|
8696
|
-
xmlTemplate: `<bpmn:
|
|
8696
|
+
xmlTemplate: `<bpmn:receiveTask id="{id}" name="{name}">
|
|
8697
8697
|
<bpmn:extensionElements>
|
|
8698
8698
|
<uipath:event version="v1">
|
|
8699
8699
|
<uipath:type value="Queue.WaitForEvent" version="v2" />
|
|
@@ -8709,7 +8709,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
8709
8709
|
</bpmn:extensionElements>
|
|
8710
8710
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
8711
8711
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
8712
|
-
</bpmn:
|
|
8712
|
+
</bpmn:receiveTask>`,
|
|
8713
8713
|
discoveryNotes: "Uses getQueueDefinitions(serviceType, search) to list available queues.",
|
|
8714
8714
|
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.",
|
|
8715
8715
|
extensionTagNotes: "Registered in the PO.Frontend isEvents array, so it serializes as uipath:event and never reaches the merged-body branch."
|
|
@@ -8784,7 +8784,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
8784
8784
|
},
|
|
8785
8785
|
requiresDiscovery: true,
|
|
8786
8786
|
isDynamic: true,
|
|
8787
|
-
xmlTemplate: `<bpmn:
|
|
8787
|
+
xmlTemplate: `<bpmn:callActivity id="{id}" name="{name}">
|
|
8788
8788
|
<bpmn:extensionElements>
|
|
8789
8789
|
<uipath:activity version="v1">
|
|
8790
8790
|
<uipath:type value="Orchestrator.StartAgenticProcess" version="v1" />
|
|
@@ -8800,7 +8800,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
8800
8800
|
</bpmn:extensionElements>
|
|
8801
8801
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
8802
8802
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
8803
|
-
</bpmn:
|
|
8803
|
+
</bpmn:callActivity>`,
|
|
8804
8804
|
discoveryNotes: "Uses getSupportedOrchestratorTasks('ProcessOrchestration', search, 0, 100, true) to list available agentic processes"
|
|
8805
8805
|
},
|
|
8806
8806
|
"Orchestrator.StartAgenticProcessAsync": {
|
|
@@ -8873,7 +8873,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
8873
8873
|
},
|
|
8874
8874
|
requiresDiscovery: true,
|
|
8875
8875
|
isDynamic: true,
|
|
8876
|
-
xmlTemplate: `<bpmn:
|
|
8876
|
+
xmlTemplate: `<bpmn:callActivity id="{id}" name="{name}">
|
|
8877
8877
|
<bpmn:extensionElements>
|
|
8878
8878
|
<uipath:activity version="v1">
|
|
8879
8879
|
<uipath:type value="Orchestrator.StartAgenticProcessAsync" version="v1" />
|
|
@@ -8888,7 +8888,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
8888
8888
|
</bpmn:extensionElements>
|
|
8889
8889
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
8890
8890
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
8891
|
-
</bpmn:
|
|
8891
|
+
</bpmn:callActivity>`,
|
|
8892
8892
|
discoveryNotes: "Uses getSupportedOrchestratorTasks('ProcessOrchestration', search, 0, 100, true) to list available agentic processes"
|
|
8893
8893
|
},
|
|
8894
8894
|
"Orchestrator.StartCaseMgmtProcess": {
|
|
@@ -8961,7 +8961,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
8961
8961
|
},
|
|
8962
8962
|
requiresDiscovery: true,
|
|
8963
8963
|
isDynamic: true,
|
|
8964
|
-
xmlTemplate: `<bpmn:
|
|
8964
|
+
xmlTemplate: `<bpmn:callActivity id="{id}" name="{name}">
|
|
8965
8965
|
<bpmn:extensionElements>
|
|
8966
8966
|
<uipath:activity version="v1">
|
|
8967
8967
|
<uipath:type value="Orchestrator.StartCaseMgmtProcess" version="v1" />
|
|
@@ -8977,7 +8977,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
8977
8977
|
</bpmn:extensionElements>
|
|
8978
8978
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
8979
8979
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
8980
|
-
</bpmn:
|
|
8980
|
+
</bpmn:callActivity>`,
|
|
8981
8981
|
discoveryNotes: "Uses getSupportedOrchestratorTasks('caseManagement', search, 0, 100, true) to list available case management processes"
|
|
8982
8982
|
},
|
|
8983
8983
|
"Orchestrator.StartCaseMgmtProcessAsync": {
|
|
@@ -9050,7 +9050,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
9050
9050
|
},
|
|
9051
9051
|
requiresDiscovery: true,
|
|
9052
9052
|
isDynamic: true,
|
|
9053
|
-
xmlTemplate: `<bpmn:
|
|
9053
|
+
xmlTemplate: `<bpmn:callActivity id="{id}" name="{name}">
|
|
9054
9054
|
<bpmn:extensionElements>
|
|
9055
9055
|
<uipath:activity version="v1">
|
|
9056
9056
|
<uipath:type value="Orchestrator.StartCaseMgmtProcessAsync" version="v1" />
|
|
@@ -9065,7 +9065,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
9065
9065
|
</bpmn:extensionElements>
|
|
9066
9066
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
9067
9067
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
9068
|
-
</bpmn:
|
|
9068
|
+
</bpmn:callActivity>`,
|
|
9069
9069
|
discoveryNotes: "Uses getSupportedOrchestratorTasks('caseManagement', search, 0, 100, true) to list available case management processes"
|
|
9070
9070
|
},
|
|
9071
9071
|
"Orchestrator.StartFlowProcess": {
|
|
@@ -9138,7 +9138,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
9138
9138
|
},
|
|
9139
9139
|
requiresDiscovery: true,
|
|
9140
9140
|
isDynamic: true,
|
|
9141
|
-
xmlTemplate: `<bpmn:
|
|
9141
|
+
xmlTemplate: `<bpmn:callActivity id="{id}" name="{name}">
|
|
9142
9142
|
<bpmn:extensionElements>
|
|
9143
9143
|
<uipath:activity version="v1">
|
|
9144
9144
|
<uipath:type value="Orchestrator.StartFlowProcess" version="v2" />
|
|
@@ -9154,7 +9154,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
9154
9154
|
</bpmn:extensionElements>
|
|
9155
9155
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
9156
9156
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
9157
|
-
</bpmn:
|
|
9157
|
+
</bpmn:callActivity>`,
|
|
9158
9158
|
discoveryNotes: "Uses getSupportedOrchestratorTasks('Flow', search, 0, 100, true) to list available flow processes. Studio Web bindings use the Flow process resource subtype."
|
|
9159
9159
|
},
|
|
9160
9160
|
"Orchestrator.StartFlowProcessAsync": {
|
|
@@ -9227,7 +9227,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
9227
9227
|
},
|
|
9228
9228
|
requiresDiscovery: true,
|
|
9229
9229
|
isDynamic: true,
|
|
9230
|
-
xmlTemplate: `<bpmn:
|
|
9230
|
+
xmlTemplate: `<bpmn:callActivity id="{id}" name="{name}">
|
|
9231
9231
|
<bpmn:extensionElements>
|
|
9232
9232
|
<uipath:activity version="v1">
|
|
9233
9233
|
<uipath:type value="Orchestrator.StartFlowProcessAsync" version="v2" />
|
|
@@ -9242,7 +9242,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
9242
9242
|
</bpmn:extensionElements>
|
|
9243
9243
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
9244
9244
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
9245
|
-
</bpmn:
|
|
9245
|
+
</bpmn:callActivity>`,
|
|
9246
9246
|
discoveryNotes: "Uses getSupportedOrchestratorTasks('Flow', search, 0, 100, true) to list available flow processes."
|
|
9247
9247
|
},
|
|
9248
9248
|
"A2A.AgentExecution": {
|
|
@@ -9266,7 +9266,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
9266
9266
|
bindingPattern: "none",
|
|
9267
9267
|
requiresDiscovery: false,
|
|
9268
9268
|
isDynamic: true,
|
|
9269
|
-
xmlTemplate: `<bpmn:
|
|
9269
|
+
xmlTemplate: `<bpmn:serviceTask id="{id}" name="{name}">
|
|
9270
9270
|
<bpmn:extensionElements>
|
|
9271
9271
|
<uipath:activity version="v1">
|
|
9272
9272
|
<uipath:type value="A2A.AgentExecution" version="v1" />
|
|
@@ -9276,7 +9276,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
9276
9276
|
</bpmn:extensionElements>
|
|
9277
9277
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
9278
9278
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
9279
|
-
</bpmn:
|
|
9279
|
+
</bpmn:serviceTask>`,
|
|
9280
9280
|
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.",
|
|
9281
9281
|
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).",
|
|
9282
9282
|
inputFields: [
|
|
@@ -9330,7 +9330,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
9330
9330
|
bindingPattern: "none",
|
|
9331
9331
|
requiresDiscovery: false,
|
|
9332
9332
|
isDynamic: false,
|
|
9333
|
-
xmlTemplate: `<bpmn:
|
|
9333
|
+
xmlTemplate: `<bpmn:task id="{id}" name="{name}">
|
|
9334
9334
|
<bpmn:extensionElements>
|
|
9335
9335
|
<uipath:mapping version="v1">
|
|
9336
9336
|
<uipath:type value="BPMN.Variables" version="v1" />
|
|
@@ -9338,7 +9338,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
9338
9338
|
</bpmn:extensionElements>
|
|
9339
9339
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
9340
9340
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
9341
|
-
</bpmn:
|
|
9341
|
+
</bpmn:task>`,
|
|
9342
9342
|
inputNotes: "Variable mappings use uipath:mapping with direct input/output elements, not a jsonBody pattern",
|
|
9343
9343
|
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.",
|
|
9344
9344
|
extensionTagNotes: "Uses uipath:mapping (not uipath:activity). BPMN.Variables mappings are supported on StartEvent, EndEvent, Task, ScriptTask, and SubProcess owners."
|
|
@@ -9358,7 +9358,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
9358
9358
|
bindingPattern: "none",
|
|
9359
9359
|
requiresDiscovery: false,
|
|
9360
9360
|
isDynamic: false,
|
|
9361
|
-
xmlTemplate: `<bpmn:
|
|
9361
|
+
xmlTemplate: `<bpmn:scriptTask id="{id}" name="{name}">
|
|
9362
9362
|
<bpmn:extensionElements>
|
|
9363
9363
|
<uipath:mapping version="v1">
|
|
9364
9364
|
<uipath:type value="BPMN.ScriptTask" version="v1" />
|
|
@@ -9367,7 +9367,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
9367
9367
|
</bpmn:extensionElements>
|
|
9368
9368
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
9369
9369
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
9370
|
-
</bpmn:
|
|
9370
|
+
</bpmn:scriptTask>`,
|
|
9371
9371
|
inputNotes: "Inputs are merged into a single json input named 'args' with target 'bodyField'. An inputSchema is created from the input variables.",
|
|
9372
9372
|
extensionTagNotes: "bpmn:ScriptTask is routed through createModdleExtensionVariableMapping (same as BPMN.Variables). Inputs are merged into a single 'args' JSON body with inputSchema."
|
|
9373
9373
|
},
|
|
@@ -9409,7 +9409,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
9409
9409
|
bindingPattern: "none",
|
|
9410
9410
|
requiresDiscovery: false,
|
|
9411
9411
|
isDynamic: false,
|
|
9412
|
-
xmlTemplate: `<bpmn:
|
|
9412
|
+
xmlTemplate: `<bpmn:serviceTask id="{id}" name="{name}">
|
|
9413
9413
|
<bpmn:extensionElements>
|
|
9414
9414
|
<uipath:activity version="v1">
|
|
9415
9415
|
<uipath:type value="ConversationalService.QueueServiceMessage" version="v1" />
|
|
@@ -9420,7 +9420,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
9420
9420
|
</bpmn:extensionElements>
|
|
9421
9421
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
9422
9422
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
9423
|
-
</bpmn:
|
|
9423
|
+
</bpmn:serviceTask>`,
|
|
9424
9424
|
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.",
|
|
9425
9425
|
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.',
|
|
9426
9426
|
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".',
|
|
@@ -9475,7 +9475,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
9475
9475
|
bindingPattern: "none",
|
|
9476
9476
|
requiresDiscovery: false,
|
|
9477
9477
|
isDynamic: false,
|
|
9478
|
-
xmlTemplate: `<bpmn:
|
|
9478
|
+
xmlTemplate: `<bpmn:startEvent id="{id}" name="{name}">
|
|
9479
9479
|
<bpmn:extensionElements>
|
|
9480
9480
|
<uipath:activity version="v1">
|
|
9481
9481
|
<uipath:type value="Intsvc.TimerTrigger" version="v1" />
|
|
@@ -9485,7 +9485,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
9485
9485
|
<bpmn:timerEventDefinition><bpmn:timeDuration xsi:type="bpmn:tFormalExpression">PT1H</bpmn:timeDuration></bpmn:timerEventDefinition>
|
|
9486
9486
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
9487
9487
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
9488
|
-
</bpmn:
|
|
9488
|
+
</bpmn:startEvent>`,
|
|
9489
9489
|
inputNotes: "No jsonBody, no input fields, no isSplitInputs in design schema",
|
|
9490
9490
|
bpmnElementNotes: "Used via timer event definition on start events; not directly in FPS_TO_NODE_MAPPING",
|
|
9491
9491
|
extensionTagNotes: "NOT in isEvents array, uses uipath:activity. However, isIntsvcTriggerDesignSchemaType returns true.",
|
|
@@ -9547,7 +9547,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
9547
9547
|
bindingPattern: "none",
|
|
9548
9548
|
requiresDiscovery: false,
|
|
9549
9549
|
isDynamic: false,
|
|
9550
|
-
xmlTemplate: `<bpmn:
|
|
9550
|
+
xmlTemplate: `<bpmn:intermediateCatchEvent id="{id}" name="{name}">
|
|
9551
9551
|
<bpmn:extensionElements>
|
|
9552
9552
|
<uipath:event version="v1">
|
|
9553
9553
|
<uipath:type value="Maestro.ReceiveMessageEvent" version="v1" />
|
|
@@ -9562,7 +9562,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
9562
9562
|
<bpmn:messageEventDefinition />
|
|
9563
9563
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
9564
9564
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
9565
|
-
</bpmn:
|
|
9565
|
+
</bpmn:intermediateCatchEvent>`,
|
|
9566
9566
|
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.",
|
|
9567
9567
|
extensionTagNotes: "In isEvents array, uses uipath:event",
|
|
9568
9568
|
inputFields: [
|
|
@@ -9640,7 +9640,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
9640
9640
|
bindingPattern: "none",
|
|
9641
9641
|
requiresDiscovery: false,
|
|
9642
9642
|
isDynamic: false,
|
|
9643
|
-
xmlTemplate: `<bpmn:
|
|
9643
|
+
xmlTemplate: `<bpmn:intermediateThrowEvent id="{id}" name="{name}">
|
|
9644
9644
|
<bpmn:extensionElements>
|
|
9645
9645
|
<uipath:event version="v1">
|
|
9646
9646
|
<uipath:type value="Maestro.SendMessageEvent" version="v1" />
|
|
@@ -9656,7 +9656,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
9656
9656
|
<bpmn:messageEventDefinition />
|
|
9657
9657
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
9658
9658
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
9659
|
-
</bpmn:
|
|
9659
|
+
</bpmn:intermediateThrowEvent>`,
|
|
9660
9660
|
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.",
|
|
9661
9661
|
extensionTagNotes: "In isEvents array, uses uipath:event",
|
|
9662
9662
|
inputFields: [
|
|
@@ -9715,7 +9715,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
9715
9715
|
requiresDiscovery: false,
|
|
9716
9716
|
isDynamic: false,
|
|
9717
9717
|
contractOutputMayBeCustom: true,
|
|
9718
|
-
xmlTemplate: `<bpmn:
|
|
9718
|
+
xmlTemplate: `<bpmn:task id="{id}" name="{name}">
|
|
9719
9719
|
<bpmn:extensionElements>
|
|
9720
9720
|
<uipath:activity version="v1">
|
|
9721
9721
|
<uipath:type value="Maestro.CaseManagerPlaceholder" version="v1" />
|
|
@@ -9725,7 +9725,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
9725
9725
|
</bpmn:extensionElements>
|
|
9726
9726
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
9727
9727
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
9728
|
-
</bpmn:
|
|
9728
|
+
</bpmn:task>`,
|
|
9729
9729
|
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.",
|
|
9730
9730
|
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.',
|
|
9731
9731
|
inputFields: [
|
|
@@ -9768,7 +9768,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
9768
9768
|
bindingPattern: "none",
|
|
9769
9769
|
requiresDiscovery: false,
|
|
9770
9770
|
isDynamic: false,
|
|
9771
|
-
xmlTemplate: `<bpmn:
|
|
9771
|
+
xmlTemplate: `<bpmn:serviceTask id="{id}" name="{name}">
|
|
9772
9772
|
<bpmn:extensionElements>
|
|
9773
9773
|
<uipath:activity version="v1">
|
|
9774
9774
|
<uipath:type value="Maestro.UpdateCaseState" version="v2" />
|
|
@@ -9777,7 +9777,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
9777
9777
|
</bpmn:extensionElements>
|
|
9778
9778
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
9779
9779
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
9780
|
-
</bpmn:
|
|
9780
|
+
</bpmn:serviceTask>`,
|
|
9781
9781
|
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.",
|
|
9782
9782
|
inputFields: [
|
|
9783
9783
|
{
|
|
@@ -9830,7 +9830,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
9830
9830
|
requiresDiscovery: false,
|
|
9831
9831
|
isDynamic: false,
|
|
9832
9832
|
contractOutputMayBeCustom: true,
|
|
9833
|
-
xmlTemplate: `<bpmn:
|
|
9833
|
+
xmlTemplate: `<bpmn:serviceTask id="{id}" name="{name}">
|
|
9834
9834
|
<bpmn:extensionElements>
|
|
9835
9835
|
<uipath:activity version="v1">
|
|
9836
9836
|
<uipath:type value="Maestro.RetrieveCaseState" version="v2" />
|
|
@@ -9839,7 +9839,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
9839
9839
|
</bpmn:extensionElements>
|
|
9840
9840
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
9841
9841
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
9842
|
-
</bpmn:
|
|
9842
|
+
</bpmn:serviceTask>`,
|
|
9843
9843
|
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.",
|
|
9844
9844
|
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.`
|
|
9845
9845
|
},
|
|
@@ -9858,7 +9858,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
9858
9858
|
bindingPattern: "none",
|
|
9859
9859
|
requiresDiscovery: false,
|
|
9860
9860
|
isDynamic: false,
|
|
9861
|
-
xmlTemplate: `<bpmn:
|
|
9861
|
+
xmlTemplate: `<bpmn:serviceTask id="{id}" name="{name}">
|
|
9862
9862
|
<bpmn:extensionElements>
|
|
9863
9863
|
<uipath:activity version="v1">
|
|
9864
9864
|
<uipath:type value="Maestro.NotificationService" version="v2" />
|
|
@@ -9867,7 +9867,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
9867
9867
|
</bpmn:extensionElements>
|
|
9868
9868
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
9869
9869
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
9870
|
-
</bpmn:
|
|
9870
|
+
</bpmn:serviceTask>`,
|
|
9871
9871
|
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.`,
|
|
9872
9872
|
inputFields: [
|
|
9873
9873
|
{
|
|
@@ -9942,7 +9942,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
9942
9942
|
bindingPattern: "none",
|
|
9943
9943
|
requiresDiscovery: false,
|
|
9944
9944
|
isDynamic: false,
|
|
9945
|
-
xmlTemplate: `<bpmn:
|
|
9945
|
+
xmlTemplate: `<bpmn:serviceTask id="{id}" name="{name}">
|
|
9946
9946
|
<bpmn:extensionElements>
|
|
9947
9947
|
<uipath:activity version="v1">
|
|
9948
9948
|
<uipath:type value="Maestro.AcquireLock" version="v2" />
|
|
@@ -9951,7 +9951,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
9951
9951
|
</bpmn:extensionElements>
|
|
9952
9952
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
9953
9953
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
9954
|
-
</bpmn:
|
|
9954
|
+
</bpmn:serviceTask>`,
|
|
9955
9955
|
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.",
|
|
9956
9956
|
inputFields: [
|
|
9957
9957
|
{
|
|
@@ -10004,7 +10004,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
10004
10004
|
bindingPattern: "none",
|
|
10005
10005
|
requiresDiscovery: false,
|
|
10006
10006
|
isDynamic: false,
|
|
10007
|
-
xmlTemplate: `<bpmn:
|
|
10007
|
+
xmlTemplate: `<bpmn:serviceTask id="{id}" name="{name}">
|
|
10008
10008
|
<bpmn:extensionElements>
|
|
10009
10009
|
<uipath:activity version="v1">
|
|
10010
10010
|
<uipath:type value="Maestro.ReleaseLock" version="v2" />
|
|
@@ -10013,7 +10013,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
10013
10013
|
</bpmn:extensionElements>
|
|
10014
10014
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
10015
10015
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
10016
|
-
</bpmn:
|
|
10016
|
+
</bpmn:serviceTask>`,
|
|
10017
10017
|
inputNotes: "Generated SLA flows merge the lock key into the body. The generated helper does not bind the design-schema response.",
|
|
10018
10018
|
inputFields: [
|
|
10019
10019
|
{
|
|
@@ -10041,7 +10041,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
10041
10041
|
requiresDiscovery: false,
|
|
10042
10042
|
isDynamic: false,
|
|
10043
10043
|
generatedOutputs: true,
|
|
10044
|
-
xmlTemplate: `<bpmn:
|
|
10044
|
+
xmlTemplate: `<bpmn:serviceTask id="{id}" name="{name}">
|
|
10045
10045
|
<bpmn:extensionElements>
|
|
10046
10046
|
<uipath:activity version="v1">
|
|
10047
10047
|
<uipath:type value="Maestro.CaseCyclePrepare" version="v2" />
|
|
@@ -10051,7 +10051,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
10051
10051
|
</bpmn:extensionElements>
|
|
10052
10052
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
10053
10053
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
10054
|
-
</bpmn:
|
|
10054
|
+
</bpmn:serviceTask>`,
|
|
10055
10055
|
inputFields: [
|
|
10056
10056
|
{
|
|
10057
10057
|
name: "CaseGlobalsLastPrimaryStageExited",
|
|
@@ -10082,7 +10082,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
10082
10082
|
requiresDiscovery: false,
|
|
10083
10083
|
isDynamic: false,
|
|
10084
10084
|
generatedOutputs: true,
|
|
10085
|
-
xmlTemplate: `<bpmn:
|
|
10085
|
+
xmlTemplate: `<bpmn:serviceTask id="{id}" name="{name}">
|
|
10086
10086
|
<bpmn:extensionElements>
|
|
10087
10087
|
<uipath:activity version="v1">
|
|
10088
10088
|
<uipath:type value="Maestro.CaseCycleCommit" version="v2" />
|
|
@@ -10092,7 +10092,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
10092
10092
|
</bpmn:extensionElements>
|
|
10093
10093
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
10094
10094
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
10095
|
-
</bpmn:
|
|
10095
|
+
</bpmn:serviceTask>`,
|
|
10096
10096
|
inputFields: [
|
|
10097
10097
|
{
|
|
10098
10098
|
name: "decisions",
|
|
@@ -10136,10 +10136,35 @@ var init_bpmn_spec = __esm(() => {
|
|
|
10136
10136
|
"Maestro.CaseRulesEvaluator": {
|
|
10137
10137
|
extensionType: "Maestro.CaseRulesEvaluator",
|
|
10138
10138
|
label: "Case rules evaluator",
|
|
10139
|
-
bpmnElement: "bpmn:
|
|
10139
|
+
bpmnElement: "bpmn:Task",
|
|
10140
10140
|
placements: {},
|
|
10141
10141
|
extensionTag: "uipath:activity",
|
|
10142
|
-
contextFields: [
|
|
10142
|
+
contextFields: [],
|
|
10143
|
+
inputPattern: "mergedBody",
|
|
10144
|
+
inputName: "caseManagerInput",
|
|
10145
|
+
inputTarget: "body",
|
|
10146
|
+
outputSource: "=result",
|
|
10147
|
+
outputType: "json",
|
|
10148
|
+
outputName: "caseRulesDecisions",
|
|
10149
|
+
bindingPattern: "none",
|
|
10150
|
+
requiresDiscovery: false,
|
|
10151
|
+
isDynamic: false,
|
|
10152
|
+
contractOutputMayBeCustom: true,
|
|
10153
|
+
xmlTemplate: `<bpmn:task id="{id}" name="{name}">
|
|
10154
|
+
<bpmn:extensionElements>
|
|
10155
|
+
<uipath:activity version="v1">
|
|
10156
|
+
<uipath:type value="Maestro.CaseRulesEvaluator" version="v1" />
|
|
10157
|
+
<uipath:input name="caseManagerInput" type="json" target="body"><![CDATA[{"caseDeterministicRules":{caseDeterministicRules},"caseCurrentExecutionState":{caseCurrentExecutionState}}]]></uipath:input>
|
|
10158
|
+
<uipath:output name="caseRulesDecisions" type="json" source="=result" var="{varId}" custom="true" />
|
|
10159
|
+
</uipath:activity>
|
|
10160
|
+
</bpmn:extensionElements>
|
|
10161
|
+
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
10162
|
+
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
10163
|
+
</bpmn:task>`,
|
|
10164
|
+
bpmnElementNotes: 'The case converter is the only producer of this element and always emits it as bpmn:Task (PO.Frontend CaseManagementCaseRulesEvaluationNodes.ts, taskType "bpmn:Task").',
|
|
10165
|
+
inputNotes: "The case converter creates this task right before the case manager in every case process. Its two inputs are merged into caseManagerInput during BPMN serialization (bpmn-moddle.ts names the merged body after the design schema's jsonBody), so they are body fields, not uipath:context inputs.",
|
|
10166
|
+
outputNotes: `The output writes the evaluator's result into caseRulesDecisions, which the case manager reads next. The converter spreads caseRulesDecisionsOutputVariable(), which stamps custom="true" on it - 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.`,
|
|
10167
|
+
inputFields: [
|
|
10143
10168
|
{
|
|
10144
10169
|
name: "caseDeterministicRules",
|
|
10145
10170
|
displayName: "Case deterministic rules",
|
|
@@ -10148,7 +10173,8 @@ var init_bpmn_spec = __esm(() => {
|
|
|
10148
10173
|
hidden: false,
|
|
10149
10174
|
isPrimaryKey: false,
|
|
10150
10175
|
binding: false,
|
|
10151
|
-
defaultValue: null
|
|
10176
|
+
defaultValue: null,
|
|
10177
|
+
target: "body"
|
|
10152
10178
|
},
|
|
10153
10179
|
{
|
|
10154
10180
|
name: "caseCurrentExecutionState",
|
|
@@ -10158,53 +10184,45 @@ var init_bpmn_spec = __esm(() => {
|
|
|
10158
10184
|
hidden: false,
|
|
10159
10185
|
isPrimaryKey: false,
|
|
10160
10186
|
binding: false,
|
|
10161
|
-
defaultValue: null
|
|
10162
|
-
|
|
10163
|
-
{
|
|
10164
|
-
name: "_label",
|
|
10165
|
-
type: "string",
|
|
10166
|
-
required: false,
|
|
10167
|
-
hidden: true,
|
|
10168
|
-
isPrimaryKey: false,
|
|
10169
|
-
binding: false,
|
|
10170
|
-
defaultValue: null
|
|
10187
|
+
defaultValue: null,
|
|
10188
|
+
target: "body"
|
|
10171
10189
|
}
|
|
10172
|
-
]
|
|
10190
|
+
]
|
|
10191
|
+
},
|
|
10192
|
+
"Maestro.CaseManagerGuardrails": {
|
|
10193
|
+
extensionType: "Maestro.CaseManagerGuardrails",
|
|
10194
|
+
label: "Case manager guardrails",
|
|
10195
|
+
bpmnElement: "bpmn:ServiceTask",
|
|
10196
|
+
placements: {},
|
|
10197
|
+
extensionTag: "uipath:activity",
|
|
10198
|
+
contextFields: [],
|
|
10173
10199
|
inputPattern: "mergedBody",
|
|
10174
|
-
inputName: "
|
|
10200
|
+
inputName: "body",
|
|
10175
10201
|
inputTarget: "body",
|
|
10176
|
-
outputSource:
|
|
10177
|
-
|
|
10178
|
-
|
|
10179
|
-
|
|
10202
|
+
outputSource: "=result",
|
|
10203
|
+
outputName: "caseManagerDecisions",
|
|
10204
|
+
outputNames: ["caseManagerDecisions", "schedulerOutput"],
|
|
10205
|
+
outputVarFromInputField: "decisions",
|
|
10180
10206
|
bindingPattern: "none",
|
|
10181
10207
|
requiresDiscovery: false,
|
|
10182
10208
|
isDynamic: false,
|
|
10183
|
-
|
|
10209
|
+
contractOutputMayBeCustom: true,
|
|
10210
|
+
regenerateInstruction: "Open and save the case in Studio Web to regenerate the guardrails element.",
|
|
10211
|
+
xmlTemplate: `<bpmn:serviceTask id="{id}" name="{name}">
|
|
10184
10212
|
<bpmn:extensionElements>
|
|
10185
10213
|
<uipath:activity version="v1">
|
|
10186
|
-
<uipath:type value="Maestro.
|
|
10187
|
-
<uipath:
|
|
10188
|
-
|
|
10189
|
-
<uipath:input name="caseCurrentExecutionState" type="json" value="{caseCurrentExecutionState}" />
|
|
10190
|
-
<uipath:input name="_label" type="string" value="{_label}" />
|
|
10191
|
-
</uipath:context>
|
|
10192
|
-
<uipath:input name="caseManagerInput" type="json" target="body"><![CDATA[{}]]></uipath:input>
|
|
10193
|
-
<uipath:output name="schedulerOutput" type="Maestro.CaseRulesEvaluator" var="{varId}" />
|
|
10214
|
+
<uipath:type value="Maestro.CaseManagerGuardrails" version="v1" />
|
|
10215
|
+
<uipath:input name="body" type="json" target="body"><![CDATA[{"decisions":{decisions},"caseCurrentExecutionState":{caseCurrentExecutionState}}]]></uipath:input>
|
|
10216
|
+
<uipath:output name="caseManagerDecisions" type="json" source="=result" var="{varId}" custom="true" />
|
|
10194
10217
|
</uipath:activity>
|
|
10195
10218
|
</bpmn:extensionElements>
|
|
10196
10219
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
10197
10220
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
10198
|
-
</bpmn:
|
|
10199
|
-
bpmnElementNotes: "
|
|
10200
|
-
|
|
10201
|
-
|
|
10202
|
-
|
|
10203
|
-
label: "Case manager guardrails",
|
|
10204
|
-
bpmnElement: "bpmn:ServiceTask",
|
|
10205
|
-
placements: {},
|
|
10206
|
-
extensionTag: "uipath:activity",
|
|
10207
|
-
contextFields: [
|
|
10221
|
+
</bpmn:serviceTask>`,
|
|
10222
|
+
bpmnElementNotes: "The case converter is the only producer of this element and emits it as bpmn:ServiceTask (PO.Frontend generateCaseManagerGuardrailsNode in CaseManagementCaseManagerNodes.ts).",
|
|
10223
|
+
inputNotes: "The case converter adds this task after the case manager whenever it has case-manager decisions. Its two inputs are merged into the body payload during BPMN serialization, so they are body fields, not uipath:context inputs. Studio Web saves from before 2026-08-25 (PO.Frontend #6783) carry only decisions and no output; re-saving the case in Studio Web brings them up to this shape.",
|
|
10224
|
+
outputNotes: `The output writes the guardrails result back over the case manager agent task's own output variable - the one the decisions input reads (=js:vars.<id>) and the run-tasks step reads next - which is what makes the guardrails take effect. PO.Frontend generateCaseManagerGuardrailsNode copies that variable's id into var and its name and type into the output: the name is caseManagerDecisions, or schedulerOutput when the agent output is named that (CaseManagementDispatcherUtils.ts), and the type follows the agent output (json, jsonSchema, ...), so outputNames lists both names, the type is not pinned, and outputVarFromInputField checks var against the variable decisions reads. The converter stamps custom="true" on it - 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.`,
|
|
10225
|
+
inputFields: [
|
|
10208
10226
|
{
|
|
10209
10227
|
name: "decisions",
|
|
10210
10228
|
displayName: "Decisions",
|
|
@@ -10213,44 +10231,21 @@ var init_bpmn_spec = __esm(() => {
|
|
|
10213
10231
|
hidden: false,
|
|
10214
10232
|
isPrimaryKey: false,
|
|
10215
10233
|
binding: false,
|
|
10216
|
-
defaultValue: null
|
|
10234
|
+
defaultValue: null,
|
|
10235
|
+
target: "body"
|
|
10217
10236
|
},
|
|
10218
10237
|
{
|
|
10219
|
-
name: "
|
|
10220
|
-
|
|
10221
|
-
|
|
10222
|
-
|
|
10238
|
+
name: "caseCurrentExecutionState",
|
|
10239
|
+
displayName: "Case current execution state",
|
|
10240
|
+
type: "json",
|
|
10241
|
+
required: true,
|
|
10242
|
+
hidden: false,
|
|
10223
10243
|
isPrimaryKey: false,
|
|
10224
10244
|
binding: false,
|
|
10225
|
-
defaultValue: null
|
|
10245
|
+
defaultValue: null,
|
|
10246
|
+
target: "body"
|
|
10226
10247
|
}
|
|
10227
|
-
]
|
|
10228
|
-
inputPattern: "mergedBody",
|
|
10229
|
-
inputName: "body",
|
|
10230
|
-
inputTarget: "body",
|
|
10231
|
-
outputSource: null,
|
|
10232
|
-
outputType: "Maestro.CaseManagerGuardrails",
|
|
10233
|
-
outputName: "guardrailsOutput",
|
|
10234
|
-
useRelativeSource: true,
|
|
10235
|
-
bindingPattern: "none",
|
|
10236
|
-
requiresDiscovery: false,
|
|
10237
|
-
isDynamic: false,
|
|
10238
|
-
xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
|
|
10239
|
-
<bpmn:extensionElements>
|
|
10240
|
-
<uipath:activity version="v1">
|
|
10241
|
-
<uipath:type value="Maestro.CaseManagerGuardrails" version="v1" />
|
|
10242
|
-
<uipath:context>
|
|
10243
|
-
<uipath:input name="decisions" type="json" value="{decisions}" />
|
|
10244
|
-
<uipath:input name="_label" type="string" value="{_label}" />
|
|
10245
|
-
</uipath:context>
|
|
10246
|
-
<uipath:input name="body" type="json" target="body"><![CDATA[{}]]></uipath:input>
|
|
10247
|
-
<uipath:output name="guardrailsOutput" type="Maestro.CaseManagerGuardrails" var="{varId}" />
|
|
10248
|
-
</uipath:activity>
|
|
10249
|
-
</bpmn:extensionElements>
|
|
10250
|
-
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
10251
|
-
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
10252
|
-
</bpmn:ServiceTask>`,
|
|
10253
|
-
bpmnElementNotes: "Not in FPS_TO_NODE_MAPPING activity section; used internally for case management processes. Likely bpmn:ServiceTask or bpmn:Task."
|
|
10248
|
+
]
|
|
10254
10249
|
},
|
|
10255
10250
|
"IXP.Extraction": {
|
|
10256
10251
|
extensionType: "IXP.Extraction",
|
|
@@ -10374,7 +10369,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
10374
10369
|
},
|
|
10375
10370
|
requiresDiscovery: true,
|
|
10376
10371
|
isDynamic: false,
|
|
10377
|
-
xmlTemplate: `<bpmn:
|
|
10372
|
+
xmlTemplate: `<bpmn:serviceTask id="{id}" name="{name}">
|
|
10378
10373
|
<bpmn:extensionElements>
|
|
10379
10374
|
<uipath:activity version="v1">
|
|
10380
10375
|
<uipath:type value="IXP.Extraction" version="v2" />
|
|
@@ -10394,7 +10389,7 @@ var init_bpmn_spec = __esm(() => {
|
|
|
10394
10389
|
</bpmn:extensionElements>
|
|
10395
10390
|
<bpmn:incoming>{incomingEdge}</bpmn:incoming>
|
|
10396
10391
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
10397
|
-
</bpmn:
|
|
10392
|
+
</bpmn:serviceTask>`,
|
|
10398
10393
|
discoveryNotes: "Uses the Studio Web solution resource picker to select an IXP deployment, resolve its folder and model details, and create the deployment name binding.",
|
|
10399
10394
|
inputNotes: 'Studio Web turns the design-time fileRef input into the runtime input JSON body. When the author fills in a page range it also writes a sibling <uipath:input name="pageRange" type="string" target="header" value="..." /> next to the merged body, so pageRange is declared in additionalInputs rather than folded into the bodyField payload. It is left out when empty, which is why the template does not show it.',
|
|
10400
10395
|
contextFieldNotes: "The serializer keeps the solution resource key and bound deployment name, fills folder/model display fallbacks, and currently forces digitizationMode=fileUpload. The deployment name is a binding on the ixpDeployment resource whose resourceKey is the same value as the solutionResourceKey context input. The canvas passes unknown context entries through; this contract rejects them.",
|
|
@@ -10726,6 +10721,12 @@ var init_bpmn_spec = __esm(() => {
|
|
|
10726
10721
|
});
|
|
10727
10722
|
|
|
10728
10723
|
// ../../maestro-sdk/src/manifest/bpmn-spec.ts
|
|
10724
|
+
function toBpmnXmlElementName(name) {
|
|
10725
|
+
const separator = name.indexOf(":");
|
|
10726
|
+
const prefix = separator === -1 ? "" : name.slice(0, separator + 1);
|
|
10727
|
+
const local = separator === -1 ? name : name.slice(separator + 1);
|
|
10728
|
+
return `${prefix}${local.charAt(0).toLowerCase()}${local.slice(1)}`;
|
|
10729
|
+
}
|
|
10729
10730
|
var BPMN_SPEC, MERGED_INPUT_PATTERNS, STRUCTURAL_TEMPLATE_TOKENS, STATIC_UIPATH_EXTENSION_TAG_NAMES, SUPPORTED_UIPATH_EXTENSION_TAG_NAMES, SUPPORTED_UIPATH_EXTENSION_TAGS;
|
|
10730
10731
|
var init_bpmn_spec2 = __esm(() => {
|
|
10731
10732
|
init_bpmn_spec();
|
|
@@ -10961,6 +10962,21 @@ function collectFreeIdentifiers(program) {
|
|
|
10961
10962
|
}
|
|
10962
10963
|
return referenced;
|
|
10963
10964
|
}
|
|
10965
|
+
function isQuickFormHitl(extensionType, payload) {
|
|
10966
|
+
if (extensionType !== "Actions.HITL")
|
|
10967
|
+
return false;
|
|
10968
|
+
let hasSchemaInput = false;
|
|
10969
|
+
for (const input of getContextInputs(payload)) {
|
|
10970
|
+
const name = input.attributes.name;
|
|
10971
|
+
const value = input.attributes.value;
|
|
10972
|
+
if (name === HITL_TYPE_INPUT && (value === HITL_TYPE_QUICK || value === HITL_TYPE_CUSTOM)) {
|
|
10973
|
+
return value === HITL_TYPE_QUICK;
|
|
10974
|
+
}
|
|
10975
|
+
if (name && HITL_QUICK_SCHEMA_INPUTS.has(name))
|
|
10976
|
+
hasSchemaInput = true;
|
|
10977
|
+
}
|
|
10978
|
+
return hasSchemaInput;
|
|
10979
|
+
}
|
|
10964
10980
|
function v2BuildInstruction(extensionType) {
|
|
10965
10981
|
return `Build it with 'uip maestro bpmn registry get ${extensionType} --connection-id <id> --object-name <object> --input-details <json>' and paste Data.V2.`;
|
|
10966
10982
|
}
|
|
@@ -11078,15 +11094,48 @@ class BpmnValidateService {
|
|
|
11078
11094
|
this.validateRootEntryPointIds(file, process, diagnostics);
|
|
11079
11095
|
}
|
|
11080
11096
|
const availableBindings = new Map(bindings);
|
|
11081
|
-
|
|
11097
|
+
const inlineBindingNodes = collectInlineBindings(definitions, availableBindings);
|
|
11098
|
+
this.recordInlineBindings(file, inlineBindingNodes, projectBindings);
|
|
11099
|
+
this.validateInlineBindingResourceKeys(file, inlineBindingNodes, diagnostics);
|
|
11100
|
+
this.validateInlineBindingIds(file, inlineBindingNodes, diagnostics);
|
|
11101
|
+
this.validateReferencedSidecarBindingIds(definitions, bindings, inlineBindingNodes, diagnostics);
|
|
11082
11102
|
this.validateUiPathTags(file, definitions, availableBindings, diagnostics);
|
|
11083
11103
|
this.validateVariableScopes(file, definitions, diagnostics);
|
|
11084
11104
|
this.validateUnassignedVariables(file, definitions, diagnostics);
|
|
11085
11105
|
this.validateCallActivityReferences(file, definitions, diagnostics);
|
|
11086
11106
|
this.validateBareServiceTasks(file, definitions, diagnostics);
|
|
11087
11107
|
this.validateScriptResponseWrapper(file, definitions, diagnostics);
|
|
11108
|
+
this.validateScriptTaskMigrationMarker(file, definitions, diagnostics);
|
|
11088
11109
|
this.validateScriptBareVariables(file, definitions, diagnostics);
|
|
11089
11110
|
}
|
|
11111
|
+
validateScriptTaskMigrationMarker(file, definitions, diagnostics) {
|
|
11112
|
+
for (const processNode of findChildren(definitions, (node) => hasLocalName(node, "process"))) {
|
|
11113
|
+
const marker = findChildren(processNode, (node) => hasLocalName(node, "extensionElements")).flatMap((extensions) => childElements(extensions, "uipath:migrationVersion"))[0]?.attributes.version?.trim();
|
|
11114
|
+
const migrationVersion = marker ? Number.parseInt(marker, 10) : 0;
|
|
11115
|
+
if (migrationVersion >= SCRIPT_TASK_V2_MIGRATION_VERSION) {
|
|
11116
|
+
continue;
|
|
11117
|
+
}
|
|
11118
|
+
for (const scriptTask of findDescendants(processNode, (node) => hasLocalName(node, "scriptTask"))) {
|
|
11119
|
+
const scriptVersion = findDescendants(scriptTask, (node) => node.name === "uipath:scriptVersion")[0]?.attributes.value;
|
|
11120
|
+
const versionMatch = /^v(\d+)$/i.exec(scriptVersion ?? "");
|
|
11121
|
+
if (!versionMatch || Number(versionMatch[1]) < 3) {
|
|
11122
|
+
continue;
|
|
11123
|
+
}
|
|
11124
|
+
const hasScriptResponse = findDescendants(scriptTask, (node) => node.name === "uipath:output" && node.attributes.name === "scriptResponse").length > 0;
|
|
11125
|
+
if (!hasScriptResponse) {
|
|
11126
|
+
continue;
|
|
11127
|
+
}
|
|
11128
|
+
const id = scriptTask.attributes.id ?? "";
|
|
11129
|
+
diagnostics.push({
|
|
11130
|
+
file,
|
|
11131
|
+
element: describeElement(scriptTask),
|
|
11132
|
+
message: `Script task "${id}" is ${scriptVersion}, but its process has no uipath:migrationVersion of ${SCRIPT_TASK_V2_MIGRATION_VERSION} or above, so Studio Web sets it to v2 when it opens the file.`,
|
|
11133
|
+
instruction: `Add <uipath:migrationVersion version="${STUDIO_WEB_MIGRATION_VERSION}" /> to the bpmn:process extensionElements, the marker Studio Web writes on a new file.`,
|
|
11134
|
+
severity: "warning"
|
|
11135
|
+
});
|
|
11136
|
+
}
|
|
11137
|
+
}
|
|
11138
|
+
}
|
|
11090
11139
|
recordJsonBindings(parsed, into) {
|
|
11091
11140
|
const resources = parsed?.resources;
|
|
11092
11141
|
if (!Array.isArray(resources)) {
|
|
@@ -11131,6 +11180,59 @@ class BpmnValidateService {
|
|
|
11131
11180
|
});
|
|
11132
11181
|
}
|
|
11133
11182
|
}
|
|
11183
|
+
validateInlineBindingResourceKeys(file, bindingNodes, diagnostics) {
|
|
11184
|
+
for (const binding of bindingNodes) {
|
|
11185
|
+
const id = binding.attributes.id;
|
|
11186
|
+
const resource = binding.attributes.resource?.trim();
|
|
11187
|
+
if (!id || !resource || resource.toLowerCase() === "connection") {
|
|
11188
|
+
continue;
|
|
11189
|
+
}
|
|
11190
|
+
if (binding.attributes.resourceKey?.trim()) {
|
|
11191
|
+
continue;
|
|
11192
|
+
}
|
|
11193
|
+
const propertyAttribute = binding.attributes.propertyAttribute?.trim() ?? "";
|
|
11194
|
+
diagnostics.push({
|
|
11195
|
+
file,
|
|
11196
|
+
element: describeElement(binding),
|
|
11197
|
+
message: `Binding "${id}" (resource="${resource}", propertyAttribute="${propertyAttribute}") is missing resourceKey.`,
|
|
11198
|
+
instruction: 'Set resourceKey to the key of the resource it binds: the solution resource key, or "<folderPath>.<name>" for a process or agent with none, on both the name and folderPath bindings.'
|
|
11199
|
+
});
|
|
11200
|
+
}
|
|
11201
|
+
}
|
|
11202
|
+
validateInlineBindingIds(file, bindingNodes, diagnostics) {
|
|
11203
|
+
for (const binding of bindingNodes) {
|
|
11204
|
+
const id = binding.attributes.id;
|
|
11205
|
+
if (!id || VALID_BINDING_ID_REGEX.test(id)) {
|
|
11206
|
+
continue;
|
|
11207
|
+
}
|
|
11208
|
+
diagnostics.push({
|
|
11209
|
+
file,
|
|
11210
|
+
element: describeElement(binding),
|
|
11211
|
+
ruleCode: "BINDING_ID_NOT_IDENTIFIER",
|
|
11212
|
+
...invalidBindingIdMessage(id)
|
|
11213
|
+
});
|
|
11214
|
+
}
|
|
11215
|
+
}
|
|
11216
|
+
validateReferencedSidecarBindingIds(definitions, bindings, inlineBindings, diagnostics) {
|
|
11217
|
+
const inlineIds = new Set(inlineBindings.map((node) => node.attributes.id));
|
|
11218
|
+
const references = findDescendants(definitions, (node) => node.attributes.value?.startsWith("=bindings.") === true);
|
|
11219
|
+
for (const reference of references) {
|
|
11220
|
+
const id = reference.attributes.value.slice("=bindings.".length);
|
|
11221
|
+
if (!bindings.has(id) || inlineIds.has(id) || VALID_BINDING_ID_REGEX.test(id)) {
|
|
11222
|
+
continue;
|
|
11223
|
+
}
|
|
11224
|
+
const element = `binding#${id}`;
|
|
11225
|
+
if (diagnostics.some((item) => item.file === "bindings_v2.json" && item.element === element && item.ruleCode === "BINDING_ID_NOT_IDENTIFIER")) {
|
|
11226
|
+
continue;
|
|
11227
|
+
}
|
|
11228
|
+
diagnostics.push({
|
|
11229
|
+
file: "bindings_v2.json",
|
|
11230
|
+
element,
|
|
11231
|
+
ruleCode: "BINDING_ID_NOT_IDENTIFIER",
|
|
11232
|
+
...invalidBindingIdMessage(id)
|
|
11233
|
+
});
|
|
11234
|
+
}
|
|
11235
|
+
}
|
|
11134
11236
|
validateDuplicateBindingKeys(projectBindings, diagnostics) {
|
|
11135
11237
|
const byKey = new Map;
|
|
11136
11238
|
for (const binding of projectBindings) {
|
|
@@ -11477,8 +11579,9 @@ class BpmnValidateService {
|
|
|
11477
11579
|
if (isActivityExecutionV1) {
|
|
11478
11580
|
this.validateActivityExecutionV1Bindings(file, payload, owner, bindings, diagnostics);
|
|
11479
11581
|
}
|
|
11480
|
-
|
|
11481
|
-
|
|
11582
|
+
const boundRule = BOUND_RESOURCE_RULES[contract.extensionType];
|
|
11583
|
+
if (boundRule && !isQuickFormHitl(contract.extensionType, payload)) {
|
|
11584
|
+
this.validateBoundResource(file, payload, owner, contract.extensionType, boundRule, typeNode?.attributes.version, bindings, diagnostics);
|
|
11482
11585
|
}
|
|
11483
11586
|
if (contract.extensionType === "Intsvc.EventTrigger" || contract.extensionType === "Intsvc.WaitForEvent") {
|
|
11484
11587
|
this.validateTriggerConnectionBinding(file, payload, owner, bindings, contract.extensionType, diagnostics);
|
|
@@ -11550,7 +11653,7 @@ class BpmnValidateService {
|
|
|
11550
11653
|
file,
|
|
11551
11654
|
element: describeElement(owner),
|
|
11552
11655
|
message: `${contract.extensionType} cannot be attached to ${owner.name}.`,
|
|
11553
|
-
instruction: `Attach it to one of: ${allowedOwners.map(
|
|
11656
|
+
instruction: `Attach it to one of: ${allowedOwners.map(toBpmnXmlElementName).join(", ")}.`
|
|
11554
11657
|
});
|
|
11555
11658
|
return;
|
|
11556
11659
|
}
|
|
@@ -11570,8 +11673,8 @@ class BpmnValidateService {
|
|
|
11570
11673
|
diagnostics.push({
|
|
11571
11674
|
file,
|
|
11572
11675
|
element: describeElement(owner),
|
|
11573
|
-
message: `${contract.extensionType} on ${describeElement(owner)} requires a ${
|
|
11574
|
-
instruction: `Add a <${
|
|
11676
|
+
message: `${contract.extensionType} on ${describeElement(owner)} requires a ${toBpmnXmlElementName(expectedEventDefinition)} child.`,
|
|
11677
|
+
instruction: `Add a <${toBpmnXmlElementName(expectedEventDefinition)} /> element inside ${owner.name}.`
|
|
11575
11678
|
});
|
|
11576
11679
|
}
|
|
11577
11680
|
}
|
|
@@ -11939,8 +12042,10 @@ class BpmnValidateService {
|
|
|
11939
12042
|
if (!contract.outputName && !contract.outputType) {
|
|
11940
12043
|
return;
|
|
11941
12044
|
}
|
|
11942
|
-
const
|
|
11943
|
-
const
|
|
12045
|
+
const outputNames = acceptedOutputNames(contract);
|
|
12046
|
+
const hasAcceptedName = (output) => outputNames.includes(output.attributes.name ?? "");
|
|
12047
|
+
const hasNamedContractOutput = contract.contractOutputMayBeCustom === true && allOutputs.some(hasAcceptedName);
|
|
12048
|
+
const isDroppableCustomOutput = (output) => output.attributes.custom === "true" && (contract.contractOutputMayBeCustom !== true || hasNamedContractOutput && !hasAcceptedName(output));
|
|
11944
12049
|
validateCustomOutputAttributes(file, allOutputs.filter(isDroppableCustomOutput), contract, diagnostics);
|
|
11945
12050
|
const outputs = allOutputs.filter((output) => !isDroppableCustomOutput(output));
|
|
11946
12051
|
if (outputs.length === 0) {
|
|
@@ -11948,17 +12053,19 @@ class BpmnValidateService {
|
|
|
11948
12053
|
file,
|
|
11949
12054
|
element: describeElement(owner),
|
|
11950
12055
|
message: `${contract.extensionType} is missing an output payload.`,
|
|
11951
|
-
instruction: "Add a uipath:output matching the UiPath BPMN contract."
|
|
12056
|
+
instruction: withRegenerateInstruction("Add a uipath:output matching the UiPath BPMN contract.", contract)
|
|
11952
12057
|
});
|
|
11953
12058
|
return;
|
|
11954
12059
|
}
|
|
12060
|
+
const inputReadVar = readVariableOfInputField(payload, contract);
|
|
11955
12061
|
for (const output of outputs) {
|
|
11956
|
-
if (
|
|
12062
|
+
if (outputNames.length > 0 && !hasAcceptedName(output)) {
|
|
12063
|
+
const quoted = outputNames.map((name) => `"${name}"`);
|
|
11957
12064
|
diagnostics.push({
|
|
11958
12065
|
file,
|
|
11959
12066
|
element: describeElement(output),
|
|
11960
|
-
message: `${contract.extensionType} output name must be
|
|
11961
|
-
instruction: `Set the uipath:output name attribute to
|
|
12067
|
+
message: quoted.length === 1 ? `${contract.extensionType} output name must be ${quoted[0]}.` : `${contract.extensionType} output name must be one of ${quoted.join(", ")}.`,
|
|
12068
|
+
instruction: quoted.length === 1 ? `Set the uipath:output name attribute to ${quoted[0]}.` : `Set the uipath:output name attribute to the name of the variable it writes: one of ${quoted.join(", ")}.`
|
|
11962
12069
|
});
|
|
11963
12070
|
}
|
|
11964
12071
|
if (contract.outputType && output.attributes.type !== contract.outputType) {
|
|
@@ -11978,6 +12085,15 @@ class BpmnValidateService {
|
|
|
11978
12085
|
});
|
|
11979
12086
|
}
|
|
11980
12087
|
validateOutputHasVar(file, output, contract, diagnostics);
|
|
12088
|
+
const outputVar = output.attributes.var;
|
|
12089
|
+
if (inputReadVar && outputVar && outputVar !== inputReadVar) {
|
|
12090
|
+
diagnostics.push({
|
|
12091
|
+
file,
|
|
12092
|
+
element: describeElement(output),
|
|
12093
|
+
message: `${contract.extensionType} output writes var "${outputVar}", but its "${contract.outputVarFromInputField}" input reads "${inputReadVar}".`,
|
|
12094
|
+
instruction: `Set the uipath:output var attribute to "${inputReadVar}" so the result writes back over the variable the "${contract.outputVarFromInputField}" input reads.`
|
|
12095
|
+
});
|
|
12096
|
+
}
|
|
11981
12097
|
}
|
|
11982
12098
|
}
|
|
11983
12099
|
validateFixedOutputs(file, allOutputs, owner, contract, diagnostics, expected = declaredOutputs(contract)) {
|
|
@@ -12085,41 +12201,65 @@ class BpmnValidateService {
|
|
|
12085
12201
|
}
|
|
12086
12202
|
}
|
|
12087
12203
|
}
|
|
12088
|
-
|
|
12204
|
+
validateBoundResource(file, payload, owner, extensionType, rule, typeVersion, bindings, diagnostics) {
|
|
12089
12205
|
const contexts = childElements(payload, "uipath:context");
|
|
12090
12206
|
const contextInputs = contexts.flatMap((context) => childElements(context, "uipath:input"));
|
|
12091
12207
|
const inputs = new Map(contextInputs.map((input) => [input.attributes.name, input]));
|
|
12092
|
-
|
|
12093
|
-
|
|
12094
|
-
|
|
12208
|
+
const subType = rule.resourceSubType;
|
|
12209
|
+
if (typeVersion !== BOUND_RESOURCE_VERSION) {
|
|
12210
|
+
for (const expected of rule.legacyFields) {
|
|
12211
|
+
const legacy = inputs.get(expected);
|
|
12212
|
+
if (hasAttributeValue(legacy, "value")) {
|
|
12213
|
+
const literal = legacy?.attributes.value ?? "";
|
|
12214
|
+
if (expected === "folderId" && rule.numericFolderId && !literal.startsWith("=") && !NUMERIC_ID.test(literal)) {
|
|
12215
|
+
diagnostics.push({
|
|
12216
|
+
file,
|
|
12217
|
+
element: describeElement(legacy ?? owner),
|
|
12218
|
+
message: `${extensionType} context input "folderId" must be a numeric folder id, not "${literal}". The runtime rejects any other value.`,
|
|
12219
|
+
instruction: `Set folderId to the folder's numeric id, or use <uipath:type value="${extensionType}" version="${BOUND_RESOURCE_VERSION}" /> with binding-backed name and folderPath.`
|
|
12220
|
+
});
|
|
12221
|
+
}
|
|
12095
12222
|
continue;
|
|
12096
12223
|
}
|
|
12097
12224
|
diagnostics.push({
|
|
12098
12225
|
file,
|
|
12099
12226
|
element: describeElement(owner),
|
|
12100
|
-
message:
|
|
12101
|
-
instruction: `Set releaseKey and folderId, or use <uipath:type value="
|
|
12227
|
+
message: `${extensionType} is missing context input "${expected}". Only uipath:type version="${BOUND_RESOURCE_VERSION}" binds name and folderPath.`,
|
|
12228
|
+
instruction: `Set releaseKey and folderId, or use <uipath:type value="${extensionType}" version="${BOUND_RESOURCE_VERSION}" /> with binding-backed name and folderPath. 'uip maestro bpmn registry get ${extensionType}' returns the v2 template.`
|
|
12229
|
+
});
|
|
12230
|
+
}
|
|
12231
|
+
if (rule.legacyFields.length === 0) {
|
|
12232
|
+
diagnostics.push({
|
|
12233
|
+
file,
|
|
12234
|
+
element: describeElement(owner),
|
|
12235
|
+
message: `${extensionType} is not version "${BOUND_RESOURCE_VERSION}". The runtime resolves its ${rule.resource} only from binding-backed name and folderPath.`,
|
|
12236
|
+
instruction: `Build it with 'uip maestro bpmn registry get ${extensionType}' and paste the V2 template.`,
|
|
12237
|
+
severity: "warning"
|
|
12102
12238
|
});
|
|
12103
12239
|
}
|
|
12104
12240
|
return;
|
|
12105
12241
|
}
|
|
12106
|
-
if (
|
|
12242
|
+
if (rule.legacyFields.some((field) => inputs.has(field))) {
|
|
12243
|
+
const label = rule.label.toLowerCase();
|
|
12107
12244
|
diagnostics.push({
|
|
12108
12245
|
file,
|
|
12109
12246
|
element: describeElement(owner),
|
|
12110
|
-
message:
|
|
12111
|
-
instruction:
|
|
12247
|
+
message: `${extensionType} must use binding-backed name and folderPath context inputs, not releaseKey or folderId.`,
|
|
12248
|
+
instruction: `Replace releaseKey/folderId with value="=bindings.<${label}NameBindingId>" and value="=bindings.<${label}FolderPathBindingId>".`
|
|
12112
12249
|
});
|
|
12113
12250
|
}
|
|
12114
12251
|
for (const expected of ["name", "folderPath"]) {
|
|
12115
12252
|
const input = inputs.get(expected);
|
|
12116
12253
|
const value = input?.attributes.value;
|
|
12117
12254
|
if (!value?.startsWith("=bindings.")) {
|
|
12255
|
+
const isLiteral = hasAttributeValue(input, "value");
|
|
12256
|
+
const asWarning = isLiteral && rule.literalSeverity === "warning";
|
|
12118
12257
|
diagnostics.push({
|
|
12119
12258
|
file,
|
|
12120
12259
|
element: describeElement(input ?? owner),
|
|
12121
|
-
message:
|
|
12122
|
-
instruction: `Set "${expected}" to a binding expression such as value="=bindings.<${expected}BindingId>"
|
|
12260
|
+
message: asWarning ? `${extensionType} context input "${expected}" is a literal, not a binding. The runtime reads it as written, but no solution resource is created for it.` : `${extensionType} context input "${expected}" must reference project bindings.`,
|
|
12261
|
+
instruction: `Set "${expected}" to a binding expression such as value="=bindings.<${expected}BindingId>".`,
|
|
12262
|
+
...asWarning ? { severity: "warning" } : {}
|
|
12123
12263
|
});
|
|
12124
12264
|
continue;
|
|
12125
12265
|
}
|
|
@@ -12129,17 +12269,17 @@ class BpmnValidateService {
|
|
|
12129
12269
|
diagnostics.push({
|
|
12130
12270
|
file,
|
|
12131
12271
|
element: describeElement(input ?? owner),
|
|
12132
|
-
message:
|
|
12133
|
-
instruction:
|
|
12272
|
+
message: `${extensionType} binding reference "${bindingId}" was not found in project bindings.`,
|
|
12273
|
+
instruction: `Add ${rule.label} name and folderPath bindings to BPMN uipath:bindings or bindings_v2.json before packaging this BPMN project.`
|
|
12134
12274
|
});
|
|
12135
12275
|
continue;
|
|
12136
12276
|
}
|
|
12137
|
-
if (binding.resource !==
|
|
12277
|
+
if (binding.resource?.toLowerCase() !== rule.resource || subType !== undefined && binding.resourceSubType !== subType || binding.propertyAttribute !== expected) {
|
|
12138
12278
|
diagnostics.push({
|
|
12139
12279
|
file,
|
|
12140
12280
|
element: describeElement(input ?? owner),
|
|
12141
|
-
message:
|
|
12142
|
-
instruction: `Use a
|
|
12281
|
+
message: `${extensionType} binding "${bindingId}" must target ${rule.label} ${expected}.`,
|
|
12282
|
+
instruction: `Use a binding with resource "${rule.resource}"${subType ? `, resourceSubType "${subType}"` : ""} and propertyAttribute "${expected}".`
|
|
12143
12283
|
});
|
|
12144
12284
|
}
|
|
12145
12285
|
}
|
|
@@ -12239,41 +12379,47 @@ function parseXml(xml) {
|
|
|
12239
12379
|
text: ""
|
|
12240
12380
|
};
|
|
12241
12381
|
const stack = [root];
|
|
12382
|
+
const openIndexes = new Map;
|
|
12383
|
+
const pushOpen = (node) => {
|
|
12384
|
+
const indexes = openIndexes.get(node.name) ?? [];
|
|
12385
|
+
indexes.push(stack.length);
|
|
12386
|
+
openIndexes.set(node.name, indexes);
|
|
12387
|
+
stack.push(node);
|
|
12388
|
+
};
|
|
12389
|
+
const popOpen = () => {
|
|
12390
|
+
const node = stack.pop();
|
|
12391
|
+
if (node) {
|
|
12392
|
+
openIndexes.get(node.name)?.pop();
|
|
12393
|
+
}
|
|
12394
|
+
};
|
|
12242
12395
|
const diagnostics = [];
|
|
12243
|
-
const
|
|
12396
|
+
const find = createIndexFinder(xml);
|
|
12244
12397
|
let lastIndex = 0;
|
|
12245
|
-
let match;
|
|
12246
|
-
match
|
|
12247
|
-
|
|
12248
|
-
const text = xml.slice(lastIndex, match.index);
|
|
12398
|
+
let match = findToken(xml, 0, find);
|
|
12399
|
+
while (match !== undefined) {
|
|
12400
|
+
const text = xml.slice(lastIndex, match.start);
|
|
12249
12401
|
if (text.trim()) {
|
|
12250
12402
|
stack[stack.length - 1].text += decodeXmlEntities(text.trim());
|
|
12251
12403
|
}
|
|
12252
|
-
const token = match
|
|
12253
|
-
if (token.startsWith(
|
|
12254
|
-
stack[stack.length - 1].text += match
|
|
12404
|
+
const token = xml.slice(match.start, match.end);
|
|
12405
|
+
if (token.startsWith(CDATA_OPEN)) {
|
|
12406
|
+
stack[stack.length - 1].text += match.cdata ?? "";
|
|
12255
12407
|
} else if (token.startsWith("</")) {
|
|
12256
12408
|
const closeName = token.slice(2, -1).trim();
|
|
12257
12409
|
if (stack.length <= 1) {
|
|
12258
12410
|
diagnostics.push(`Unexpected closing tag "${closeName}".`);
|
|
12259
12411
|
} else if (stack[stack.length - 1].name !== closeName) {
|
|
12260
|
-
|
|
12261
|
-
for (let i = stack.length - 1;i > 0; i -= 1) {
|
|
12262
|
-
if (stack[i].name === closeName) {
|
|
12263
|
-
matchingOpenIndex = i;
|
|
12264
|
-
break;
|
|
12265
|
-
}
|
|
12266
|
-
}
|
|
12412
|
+
const matchingOpenIndex = openIndexes.get(closeName)?.at(-1) ?? -1;
|
|
12267
12413
|
if (matchingOpenIndex <= 0) {
|
|
12268
12414
|
diagnostics.push(`Unexpected closing tag "${closeName}".`);
|
|
12269
12415
|
} else {
|
|
12270
12416
|
diagnostics.push(`Mismatched closing tag "${closeName}".`);
|
|
12271
12417
|
while (stack.length > matchingOpenIndex) {
|
|
12272
|
-
|
|
12418
|
+
popOpen();
|
|
12273
12419
|
}
|
|
12274
12420
|
}
|
|
12275
12421
|
} else {
|
|
12276
|
-
|
|
12422
|
+
popOpen();
|
|
12277
12423
|
}
|
|
12278
12424
|
} else if (!token.startsWith("<!--") && !token.startsWith("<?") && !token.startsWith("<!")) {
|
|
12279
12425
|
const selfClosing = token.endsWith("/>");
|
|
@@ -12281,11 +12427,11 @@ function parseXml(xml) {
|
|
|
12281
12427
|
node.parent = stack[stack.length - 1];
|
|
12282
12428
|
stack[stack.length - 1].children.push(node);
|
|
12283
12429
|
if (!selfClosing) {
|
|
12284
|
-
|
|
12430
|
+
pushOpen(node);
|
|
12285
12431
|
}
|
|
12286
12432
|
}
|
|
12287
|
-
lastIndex =
|
|
12288
|
-
match =
|
|
12433
|
+
lastIndex = match.end;
|
|
12434
|
+
match = findToken(xml, lastIndex, find);
|
|
12289
12435
|
}
|
|
12290
12436
|
const trailing = xml.slice(lastIndex).trim();
|
|
12291
12437
|
if (trailing) {
|
|
@@ -12304,12 +12450,23 @@ function parseStartTag(token, selfClosing) {
|
|
|
12304
12450
|
const nameMatch = /^([^\s/>]+)/.exec(body);
|
|
12305
12451
|
const name = nameMatch?.[1] ?? "";
|
|
12306
12452
|
const attributes = {};
|
|
12307
|
-
const
|
|
12308
|
-
let
|
|
12309
|
-
|
|
12310
|
-
|
|
12311
|
-
|
|
12312
|
-
|
|
12453
|
+
const find = createIndexFinder(body);
|
|
12454
|
+
let index = 0;
|
|
12455
|
+
while (index < body.length) {
|
|
12456
|
+
if (!isAttributeNameChar(body[index])) {
|
|
12457
|
+
index += 1;
|
|
12458
|
+
continue;
|
|
12459
|
+
}
|
|
12460
|
+
const nameStart = index;
|
|
12461
|
+
while (index < body.length && isAttributeNameChar(body[index])) {
|
|
12462
|
+
index += 1;
|
|
12463
|
+
}
|
|
12464
|
+
const value = readAttributeValue(body, index, find);
|
|
12465
|
+
if (!value) {
|
|
12466
|
+
continue;
|
|
12467
|
+
}
|
|
12468
|
+
attributes[body.slice(nameStart, index)] = decodeXmlEntities(value.text);
|
|
12469
|
+
index = value.end;
|
|
12313
12470
|
}
|
|
12314
12471
|
return {
|
|
12315
12472
|
name,
|
|
@@ -12318,6 +12475,74 @@ function parseStartTag(token, selfClosing) {
|
|
|
12318
12475
|
text: ""
|
|
12319
12476
|
};
|
|
12320
12477
|
}
|
|
12478
|
+
function createIndexFinder(text) {
|
|
12479
|
+
const lastHits = new Map;
|
|
12480
|
+
return (needle, from) => {
|
|
12481
|
+
const last = lastHits.get(needle);
|
|
12482
|
+
if (last && from >= last.from && (last.hit === -1 || last.hit >= from)) {
|
|
12483
|
+
return last.hit;
|
|
12484
|
+
}
|
|
12485
|
+
const hit = text.indexOf(needle, from);
|
|
12486
|
+
lastHits.set(needle, { from, hit });
|
|
12487
|
+
return hit;
|
|
12488
|
+
};
|
|
12489
|
+
}
|
|
12490
|
+
function findToken(xml, from, find) {
|
|
12491
|
+
for (let start = find(TAG_OPEN, from);start !== -1; start = find(TAG_OPEN, start + 1)) {
|
|
12492
|
+
const token = readTokenAt(xml, start, find);
|
|
12493
|
+
if (token) {
|
|
12494
|
+
return token;
|
|
12495
|
+
}
|
|
12496
|
+
}
|
|
12497
|
+
return;
|
|
12498
|
+
}
|
|
12499
|
+
function readTokenAt(xml, start, find) {
|
|
12500
|
+
for (const [open, close] of DELIMITED_TOKENS) {
|
|
12501
|
+
if (!xml.startsWith(open, start)) {
|
|
12502
|
+
continue;
|
|
12503
|
+
}
|
|
12504
|
+
const closeAt = find(close, start + open.length);
|
|
12505
|
+
if (closeAt === -1) {
|
|
12506
|
+
continue;
|
|
12507
|
+
}
|
|
12508
|
+
const end = closeAt + close.length;
|
|
12509
|
+
if (open !== CDATA_OPEN) {
|
|
12510
|
+
return { start, end };
|
|
12511
|
+
}
|
|
12512
|
+
return { start, end, cdata: xml.slice(start + open.length, closeAt) };
|
|
12513
|
+
}
|
|
12514
|
+
const tagEnd = find(TAG_CLOSE, start + 1);
|
|
12515
|
+
if (tagEnd <= start + 1) {
|
|
12516
|
+
return;
|
|
12517
|
+
}
|
|
12518
|
+
return { start, end: tagEnd + 1 };
|
|
12519
|
+
}
|
|
12520
|
+
function readAttributeValue(body, nameEnd, find) {
|
|
12521
|
+
const equalsAt = skipWhitespace(body, nameEnd);
|
|
12522
|
+
if (body[equalsAt] !== "=") {
|
|
12523
|
+
return;
|
|
12524
|
+
}
|
|
12525
|
+
const quoteAt = skipWhitespace(body, equalsAt + 1);
|
|
12526
|
+
const quote = body[quoteAt];
|
|
12527
|
+
if (!ATTRIBUTE_QUOTES.has(quote)) {
|
|
12528
|
+
return;
|
|
12529
|
+
}
|
|
12530
|
+
const closeAt = find(quote, quoteAt + 1);
|
|
12531
|
+
if (closeAt === -1) {
|
|
12532
|
+
return;
|
|
12533
|
+
}
|
|
12534
|
+
return { text: body.slice(quoteAt + 1, closeAt), end: closeAt + 1 };
|
|
12535
|
+
}
|
|
12536
|
+
function skipWhitespace(text, from) {
|
|
12537
|
+
let index = from;
|
|
12538
|
+
while (index < text.length && WHITESPACE.test(text[index])) {
|
|
12539
|
+
index += 1;
|
|
12540
|
+
}
|
|
12541
|
+
return index;
|
|
12542
|
+
}
|
|
12543
|
+
function isAttributeNameChar(char) {
|
|
12544
|
+
return char !== "=" && !WHITESPACE.test(char);
|
|
12545
|
+
}
|
|
12321
12546
|
function childElements(node, name) {
|
|
12322
12547
|
return node.children.filter((child) => child.name === name);
|
|
12323
12548
|
}
|
|
@@ -12412,6 +12637,28 @@ function hasLocalName(node, localName) {
|
|
|
12412
12637
|
function getLocalName(name) {
|
|
12413
12638
|
return name.slice(name.lastIndexOf(":") + 1).toLowerCase();
|
|
12414
12639
|
}
|
|
12640
|
+
function acceptedOutputNames(contract) {
|
|
12641
|
+
if (contract.outputNames?.length) {
|
|
12642
|
+
return contract.outputNames;
|
|
12643
|
+
}
|
|
12644
|
+
return contract.outputName ? [contract.outputName] : [];
|
|
12645
|
+
}
|
|
12646
|
+
function readVariableOfInputField(payload, contract) {
|
|
12647
|
+
const fieldName = contract.outputVarFromInputField;
|
|
12648
|
+
if (!fieldName) {
|
|
12649
|
+
return;
|
|
12650
|
+
}
|
|
12651
|
+
const input = childElements(payload, "uipath:input").find((node) => node.attributes.name === contract.inputName);
|
|
12652
|
+
const value = input ? parseJsonObject(input.text.trim())?.[fieldName] : undefined;
|
|
12653
|
+
if (typeof value !== "string" || !value.trimStart().startsWith("=")) {
|
|
12654
|
+
return;
|
|
12655
|
+
}
|
|
12656
|
+
const direct = DIRECT_VARIABLE_READ.exec(value.trim());
|
|
12657
|
+
return direct ? direct[1] ?? direct[2] : undefined;
|
|
12658
|
+
}
|
|
12659
|
+
function withRegenerateInstruction(instruction, contract) {
|
|
12660
|
+
return contract.regenerateInstruction ? `${instruction} ${contract.regenerateInstruction}` : instruction;
|
|
12661
|
+
}
|
|
12415
12662
|
function declaredOutputs(contract) {
|
|
12416
12663
|
return [
|
|
12417
12664
|
...contract.outputName ? [
|
|
@@ -12440,12 +12687,6 @@ function collapsedMultiInstanceOutputs(contract) {
|
|
|
12440
12687
|
...error ? [error] : []
|
|
12441
12688
|
];
|
|
12442
12689
|
}
|
|
12443
|
-
function toElementInstanceName(name) {
|
|
12444
|
-
const separator = name.indexOf(":");
|
|
12445
|
-
const prefix = separator === -1 ? "" : name.slice(0, separator + 1);
|
|
12446
|
-
const local = separator === -1 ? name : name.slice(separator + 1);
|
|
12447
|
-
return `${prefix}${local.charAt(0).toLowerCase()}${local.slice(1)}`;
|
|
12448
|
-
}
|
|
12449
12690
|
function resolveNamespace(node) {
|
|
12450
12691
|
const separator = node.name.indexOf(":");
|
|
12451
12692
|
const prefix = separator === -1 ? "" : node.name.slice(0, separator);
|
|
@@ -12599,7 +12840,7 @@ function validateMergedBodyFields(file, input, expectedName, contract, diagnosti
|
|
|
12599
12840
|
file,
|
|
12600
12841
|
element: describeElement(input),
|
|
12601
12842
|
message: `${contract.extensionType} is missing required input field "${field.name}" in the "${expectedName}" payload.`,
|
|
12602
|
-
instruction: `Set "${field.name}" in the "${expectedName}" JSON payload
|
|
12843
|
+
instruction: withRegenerateInstruction(`Set "${field.name}" in the "${expectedName}" JSON payload.`, contract)
|
|
12603
12844
|
});
|
|
12604
12845
|
}
|
|
12605
12846
|
}
|
|
@@ -12745,12 +12986,13 @@ function isWarningDiagnostic(diagnostic) {
|
|
|
12745
12986
|
function decodeXmlEntities(value) {
|
|
12746
12987
|
return value.replace(/"/g, '"').replace(/'/g, "'").replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
12747
12988
|
}
|
|
12748
|
-
var SCRIPT_RUNTIME_GLOBALS, KNOWN_UIPATH_TAGS, CALL_ACTIVITY_TYPES, CALL_ACTIVITY_PAYLOAD_TAGS, SEMANTIC_VALIDATION_ERROR = "BPMN_VALIDATION_ERROR", BPMN_MODEL_NAMESPACE = "http://www.omg.org/spec/BPMN/20100524/MODEL", ACTIVITY_CONFIGURATION_V1 = "v1", ACTIVITY_CONFIGURATION_V2 = "v2", VERSIONED_CONNECTOR_TYPES,
|
|
12989
|
+
var SCRIPT_RUNTIME_GLOBALS, KNOWN_UIPATH_TAGS, CALL_ACTIVITY_TYPES, CALL_ACTIVITY_PAYLOAD_TAGS, SEMANTIC_VALIDATION_ERROR = "BPMN_VALIDATION_ERROR", BPMN_MODEL_NAMESPACE = "http://www.omg.org/spec/BPMN/20100524/MODEL", ACTIVITY_CONFIGURATION_V1 = "v1", ACTIVITY_CONFIGURATION_V2 = "v2", VERSIONED_CONNECTOR_TYPES, BOUND_RESOURCE_VERSION = "v2", HITL_TYPE_INPUT = "hitlType", HITL_TYPE_QUICK = "quick", HITL_TYPE_CUSTOM = "custom", HITL_QUICK_SCHEMA_INPUTS, NUMERIC_ID, BOUND_RESOURCE_RULES, CDATA_OPEN = "<![CDATA[", TAG_OPEN = "<", TAG_CLOSE = ">", DELIMITED_TOKENS, ATTRIBUTE_QUOTES, WHITESPACE, VARIABLE_READ, DIRECT_VARIABLE_READ, FREE_TEXT_ELEMENTS, VARIABLE_DECLARATION_NAMES, COLLAPSED_MULTI_INSTANCE_OUTPUT_CONTRACTS;
|
|
12749
12990
|
var init_project_validator = __esm(() => {
|
|
12750
12991
|
init_catch_error();
|
|
12751
12992
|
init_guid();
|
|
12752
12993
|
init_bindings();
|
|
12753
12994
|
init_acorn();
|
|
12995
|
+
init_binding_id();
|
|
12754
12996
|
init_jint_globals();
|
|
12755
12997
|
init_bpmn_spec2();
|
|
12756
12998
|
SCRIPT_RUNTIME_GLOBALS = new Set([
|
|
@@ -12771,7 +13013,43 @@ var init_project_validator = __esm(() => {
|
|
|
12771
13013
|
"Intsvc.WaitForEvent",
|
|
12772
13014
|
"Intsvc.HttpExecution"
|
|
12773
13015
|
]);
|
|
13016
|
+
HITL_QUICK_SCHEMA_INPUTS = new Set([
|
|
13017
|
+
"_schemaFileId",
|
|
13018
|
+
"hitlSchemaId",
|
|
13019
|
+
"__hitlFormSchema"
|
|
13020
|
+
]);
|
|
13021
|
+
NUMERIC_ID = /^\d+$/;
|
|
13022
|
+
BOUND_RESOURCE_RULES = {
|
|
13023
|
+
"Orchestrator.StartAgentJob": {
|
|
13024
|
+
label: "Agent",
|
|
13025
|
+
resource: "process",
|
|
13026
|
+
resourceSubType: "Agent",
|
|
13027
|
+
legacyFields: ["releaseKey", "folderId"],
|
|
13028
|
+
literalSeverity: "error"
|
|
13029
|
+
},
|
|
13030
|
+
"Orchestrator.StartJob": {
|
|
13031
|
+
label: "process",
|
|
13032
|
+
resource: "process",
|
|
13033
|
+
legacyFields: ["releaseKey", "folderId"],
|
|
13034
|
+
literalSeverity: "warning",
|
|
13035
|
+
numericFolderId: true
|
|
13036
|
+
},
|
|
13037
|
+
"Actions.HITL": {
|
|
13038
|
+
label: "app",
|
|
13039
|
+
resource: "app",
|
|
13040
|
+
legacyFields: [],
|
|
13041
|
+
literalSeverity: "warning"
|
|
13042
|
+
}
|
|
13043
|
+
};
|
|
13044
|
+
DELIMITED_TOKENS = [
|
|
13045
|
+
[CDATA_OPEN, "]]>"],
|
|
13046
|
+
["<!--", "-->"],
|
|
13047
|
+
["<?", "?>"]
|
|
13048
|
+
];
|
|
13049
|
+
ATTRIBUTE_QUOTES = new Set(['"', "'"]);
|
|
13050
|
+
WHITESPACE = /\s/;
|
|
12774
13051
|
VARIABLE_READ = /vars(?:\.([A-Za-z_$][\w$]*)|\[\s*["']([^"']+)["']\s*\])/g;
|
|
13052
|
+
DIRECT_VARIABLE_READ = /^=\s*(?:js:)?\s*vars(?:\.([A-Za-z_$][\w$]*)|\[\s*["']([^"']+)["']\s*\])\s*$/;
|
|
12775
13053
|
FREE_TEXT_ELEMENTS = new Set(["documentation", "text"]);
|
|
12776
13054
|
VARIABLE_DECLARATION_NAMES = new Set(["input", "inputoutput", "output"]);
|
|
12777
13055
|
COLLAPSED_MULTI_INSTANCE_OUTPUT_CONTRACTS = new Set([
|
|
@@ -12949,6 +13227,79 @@ var init_connection_resources = __esm(() => {
|
|
|
12949
13227
|
init_node_utils();
|
|
12950
13228
|
});
|
|
12951
13229
|
|
|
13230
|
+
// ../../maestro-sdk/src/bpmn-packaging/entity-resources.ts
|
|
13231
|
+
function buildEntityResources(processes) {
|
|
13232
|
+
const rows = new Map;
|
|
13233
|
+
for (const process of processes) {
|
|
13234
|
+
const bindings = rootBindingNodes(process).filter((node) => node.resource === "Entity" && node.resourceKey);
|
|
13235
|
+
if (bindings.length === 0)
|
|
13236
|
+
continue;
|
|
13237
|
+
for (const { element, values } of connectorNodes(process)) {
|
|
13238
|
+
if (values.get("connectorKey") !== "uipath-uipath-dataservice") {
|
|
13239
|
+
continue;
|
|
13240
|
+
}
|
|
13241
|
+
const name = values.get("folderEntityName");
|
|
13242
|
+
const folderKey = values.get("folderEntityName_folderKey");
|
|
13243
|
+
if (!name || !folderKey)
|
|
13244
|
+
continue;
|
|
13245
|
+
const pair = entityPair(bindings, name, folderKey);
|
|
13246
|
+
if (pair === undefined || rows.has(pair.key))
|
|
13247
|
+
continue;
|
|
13248
|
+
const activityName = element.name?.trim() || element.id || "";
|
|
13249
|
+
rows.set(pair.key, entityRow(pair, name, folderKey, activityName));
|
|
13250
|
+
}
|
|
13251
|
+
}
|
|
13252
|
+
return [...rows.values()];
|
|
13253
|
+
}
|
|
13254
|
+
function sdkEntityKeys(processes) {
|
|
13255
|
+
const keys = new Set;
|
|
13256
|
+
for (const process of processes) {
|
|
13257
|
+
for (const node of rootBindingNodes(process)) {
|
|
13258
|
+
if (node.resource === "Entity" && node.resourceKey) {
|
|
13259
|
+
keys.add(node.resourceKey);
|
|
13260
|
+
}
|
|
13261
|
+
}
|
|
13262
|
+
}
|
|
13263
|
+
return keys;
|
|
13264
|
+
}
|
|
13265
|
+
function entityPair(bindings, name, folderKey) {
|
|
13266
|
+
for (const named of bindings) {
|
|
13267
|
+
if (named.propertyAttribute !== "name" || named.default !== name) {
|
|
13268
|
+
continue;
|
|
13269
|
+
}
|
|
13270
|
+
const key = named.resourceKey;
|
|
13271
|
+
const folder = bindings.some((node) => node.propertyAttribute === "folderKey" && node.default === folderKey && node.resourceKey === key);
|
|
13272
|
+
if (folder)
|
|
13273
|
+
return { key, label: named.name ?? name };
|
|
13274
|
+
}
|
|
13275
|
+
return;
|
|
13276
|
+
}
|
|
13277
|
+
function entityRow(pair, name, folderKey, activityName) {
|
|
13278
|
+
return {
|
|
13279
|
+
resource: "Entity",
|
|
13280
|
+
key: pair.key,
|
|
13281
|
+
id: `Entity${pair.key}${name}False`,
|
|
13282
|
+
value: {
|
|
13283
|
+
name: {
|
|
13284
|
+
defaultValue: name,
|
|
13285
|
+
isExpression: false,
|
|
13286
|
+
displayName: "Entity"
|
|
13287
|
+
},
|
|
13288
|
+
folderKey: { defaultValue: folderKey, isExpression: false }
|
|
13289
|
+
},
|
|
13290
|
+
metadata: {
|
|
13291
|
+
ActivityName: activityName,
|
|
13292
|
+
BindingsVersion: BINDINGS_VERSION,
|
|
13293
|
+
DisplayLabel: pair.label,
|
|
13294
|
+
Scope: "Folder"
|
|
13295
|
+
}
|
|
13296
|
+
};
|
|
13297
|
+
}
|
|
13298
|
+
var init_entity_resources = __esm(() => {
|
|
13299
|
+
init_bindings();
|
|
13300
|
+
init_node_utils();
|
|
13301
|
+
});
|
|
13302
|
+
|
|
12952
13303
|
// ../../maestro-sdk/src/bpmn-packaging/package-metadata.ts
|
|
12953
13304
|
function entryPointDisplayName(name) {
|
|
12954
13305
|
const value = name?.trim();
|
|
@@ -13067,8 +13418,14 @@ function buildBindingResources(processes, existingResources) {
|
|
|
13067
13418
|
}
|
|
13068
13419
|
}
|
|
13069
13420
|
}
|
|
13421
|
+
for (const resource of buildEntityResources(processes)) {
|
|
13422
|
+
const id = resourceIdentity(resource);
|
|
13423
|
+
if (!generated.has(id))
|
|
13424
|
+
generated.set(id, resource);
|
|
13425
|
+
}
|
|
13070
13426
|
const declared = declaredResourceKeys(processes);
|
|
13071
|
-
const
|
|
13427
|
+
const sdkEntities = sdkEntityKeys(processes);
|
|
13428
|
+
const merged = withConnections.filter((resource) => !isRebuiltRow(resource) || generated.has(resourceIdentity(resource)) || isScopedRow(resource) && declared.has(String(resource.key)) && !(resource.resource === "Entity" && sdkEntities.has(String(resource.key)))).map((resource) => {
|
|
13072
13429
|
const id = resourceIdentity(resource);
|
|
13073
13430
|
const replacement = generated.get(id);
|
|
13074
13431
|
if (replacement === undefined)
|
|
@@ -13194,6 +13551,7 @@ var resourceIdentity = (resource) => `${String(resource.resource)}|${String(reso
|
|
|
13194
13551
|
var init_binding_resources = __esm(() => {
|
|
13195
13552
|
init_bindings();
|
|
13196
13553
|
init_connection_resources();
|
|
13554
|
+
init_entity_resources();
|
|
13197
13555
|
init_node_utils();
|
|
13198
13556
|
init_package_metadata();
|
|
13199
13557
|
});
|
|
@@ -19258,7 +19616,16 @@ function variableSchema(variables, direction) {
|
|
|
19258
19616
|
names.add(name);
|
|
19259
19617
|
properties[name] = schemaForVariable(variable, direction);
|
|
19260
19618
|
}
|
|
19261
|
-
|
|
19619
|
+
const usesFile = Object.values(properties).some((schema) => isJsonObject(schema) && schema.$ref === JOB_ATTACHMENT_REF_PATH);
|
|
19620
|
+
return {
|
|
19621
|
+
type: "object",
|
|
19622
|
+
properties,
|
|
19623
|
+
...usesFile ? {
|
|
19624
|
+
definitions: {
|
|
19625
|
+
[JOB_ATTACHMENT_DEFINITION_NAME]: JOB_ATTACHMENT_DEFINITION
|
|
19626
|
+
}
|
|
19627
|
+
} : {}
|
|
19628
|
+
};
|
|
19262
19629
|
}
|
|
19263
19630
|
function schemaForVariable(variable, direction) {
|
|
19264
19631
|
if (variable.$body?.trim()) {
|
|
@@ -19269,6 +19636,8 @@ function schemaForVariable(variable, direction) {
|
|
|
19269
19636
|
}
|
|
19270
19637
|
function schemaForType(type) {
|
|
19271
19638
|
switch (type.toLowerCase()) {
|
|
19639
|
+
case FILE_TYPE:
|
|
19640
|
+
return { $ref: JOB_ATTACHMENT_REF_PATH };
|
|
19272
19641
|
case "string":
|
|
19273
19642
|
return { type: "string" };
|
|
19274
19643
|
case "boolean":
|
|
@@ -19283,7 +19652,7 @@ function schemaForType(type) {
|
|
|
19283
19652
|
case "json":
|
|
19284
19653
|
return { type: "object" };
|
|
19285
19654
|
default:
|
|
19286
|
-
throw new Error(`Unsupported process input/output type "${type}". Use string, boolean, integer, number, array, object, or
|
|
19655
|
+
throw new Error(`Unsupported process input/output type "${type}". Use string, boolean, integer, number, array, object, json, or file, or add an inline JSON schema.`);
|
|
19287
19656
|
}
|
|
19288
19657
|
}
|
|
19289
19658
|
function exactlyOne(values, label) {
|
|
@@ -19307,12 +19676,31 @@ function parseJson(raw, label) {
|
|
|
19307
19676
|
}
|
|
19308
19677
|
return value;
|
|
19309
19678
|
}
|
|
19310
|
-
var isDefaultFlag = (value) => value === true || value === "true";
|
|
19679
|
+
var FILE_TYPE = "file", JOB_ATTACHMENT_DEFINITION_NAME = "job-attachment", JOB_ATTACHMENT_REF_PATH, JOB_ATTACHMENT_DEFINITION, isDefaultFlag = (value) => value === true || value === "true";
|
|
19311
19680
|
var init_entry_points = __esm(() => {
|
|
19312
19681
|
init_guid();
|
|
19313
19682
|
init_dist4();
|
|
19314
19683
|
init_node_utils();
|
|
19315
19684
|
init_package_metadata();
|
|
19685
|
+
JOB_ATTACHMENT_REF_PATH = `#/definitions/${JOB_ATTACHMENT_DEFINITION_NAME}`;
|
|
19686
|
+
JOB_ATTACHMENT_DEFINITION = {
|
|
19687
|
+
type: "object",
|
|
19688
|
+
properties: {
|
|
19689
|
+
ID: { type: "string", description: "Orchestrator attachment key" },
|
|
19690
|
+
FullName: { type: "string", description: "File name" },
|
|
19691
|
+
MimeType: {
|
|
19692
|
+
type: "string",
|
|
19693
|
+
description: 'The MIME type of the content, such as "application/json" or "image/png"'
|
|
19694
|
+
},
|
|
19695
|
+
Metadata: {
|
|
19696
|
+
type: "object",
|
|
19697
|
+
description: "Dictionary<string, string> of metadata",
|
|
19698
|
+
additionalProperties: { type: "string" }
|
|
19699
|
+
}
|
|
19700
|
+
},
|
|
19701
|
+
required: ["ID"],
|
|
19702
|
+
"x-uipath-resource-kind": "JobAttachment"
|
|
19703
|
+
};
|
|
19316
19704
|
});
|
|
19317
19705
|
|
|
19318
19706
|
// ../../maestro-sdk/src/bpmn-packaging/index.ts
|
|
@@ -19665,4 +20053,4 @@ export {
|
|
|
19665
20053
|
BpmnToolFactory
|
|
19666
20054
|
};
|
|
19667
20055
|
|
|
19668
|
-
//# debugId=
|
|
20056
|
+
//# debugId=DA0CA04E590FBE2164756E2164756E21
|