@camunda/e2e-test-suite 0.0.453 → 0.0.455
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/.github/c8_versions.json +17 -0
- package/dist/tests/SM-8.10/smoke-tests.spec.js +2 -1
- package/package.json +8 -3
- package/playwright.config.ts +382 -0
- package/resources/Basic_Auth_REST_Connector.bpmn +62 -0
- package/resources/Camunda_Simple_User_Task_1.bpmn +41 -0
- package/resources/Camunda_Simple_User_Task_2.bpmn +41 -0
- package/resources/Camunda_Simple_User_Task_3.bpmn +41 -0
- package/resources/Camunda_Simple_User_Task_4.bpmn +41 -0
- package/resources/Camunda_Simple_User_Task_5.bpmn +41 -0
- package/resources/Candidate_User_Process_Three_Tasks.bpmn +116 -0
- package/resources/Candidate_User_Process_Two_Tasks.bpmn +91 -0
- package/resources/Conditional_Events_All.bpmn +111 -0
- package/resources/Connectors Document Handling.bpmn +298 -0
- package/resources/ConnectorsBasicTest.bpmn +2292 -0
- package/resources/Intermediate_Event_Webhook_Connector_No_Auth_Process.bpmn +60 -0
- package/resources/Job_Worker_Process.bpmn +38 -0
- package/resources/New Form.form +24 -0
- package/resources/REST_Connector_Bearer_Auth_Process.bpmn +53 -0
- package/resources/REST_Connector_No_Auth_Process.bpmn +52 -0
- package/resources/Rest Connector Timer Event.bpmn +227 -0
- package/resources/SM_Document_Handling_Connectors_User_Flow.bpmn +297 -0
- package/resources/Start_Event_Webhook_Connector_No_Auth_Process.bpmn +43 -0
- package/resources/Start_Form_Process.bpmn +29 -0
- package/resources/User_Task_Editing_Variables.bpmn +41 -0
- package/resources/User_Task_Process_With_Form.bpmn +41 -0
- package/resources/User_Task_Process_With_Form_2.bpmn +41 -0
- package/resources/User_Task_Process_With_Form_3.bpmn +42 -0
- package/resources/User_Task_Process_With_Form_API.bpmn +41 -0
- package/resources/Variable_Process.bpmn +38 -0
- package/resources/Zeebe_User_Task.bpmn +41 -0
- package/resources/Zeebe_User_Task_Process_With_Priority.bpmn +145 -0
- package/resources/agentic_ai/ai-agent-chat-user-feedback.form +87 -0
- package/resources/agentic_ai/ai-agent-chat-with-tools_aws.bpmn +443 -0
- package/resources/agentic_ai/ai-agent-chat-with-tools_azure.bpmn +441 -0
- package/resources/agentic_ai/ai-agent-chat-with-tools_open_ai.bpmn +438 -0
- package/resources/agentic_ai/ai-agent-subprocess-with-tools_aws_key.bpmn +115 -0
- package/resources/camunda.png +0 -0
- package/resources/cluster_variables/cluster_variable_global_scope.bpmn +59 -0
- package/resources/cluster_variables/cluster_variable_json_form.form +49 -0
- package/resources/cluster_variables/cluster_variable_json_mutable.bpmn +33 -0
- package/resources/cluster_variables/cluster_variable_json_readonly.bpmn +59 -0
- package/resources/cluster_variables/cluster_variable_string_form.form +31 -0
- package/resources/cluster_variables/cluster_variable_string_mutable.bpmn +31 -0
- package/resources/cluster_variables/cluster_variable_string_readonly.bpmn +57 -0
- package/resources/cluster_variables/preview_cluster_variables.form +49 -0
- package/resources/connectors/aws/bedrock-knowledge-base.bpmn +72 -0
- package/resources/connectors/db_vector_connector/db-vector-plain-text_azure_open_ai.bpmn +183 -0
- package/resources/connectors/db_vector_connector/db-vector-plain-text_open_ai.bpmn +178 -0
- package/resources/connectors/db_vector_connector/db-vector-plain-text_openai_amazon_opensearch.bpmn +189 -0
- package/resources/connectors/db_vector_connector/db-vector-retrieve-data.form +34 -0
- package/resources/idp/idp_sample_bank_statement.pdf +0 -0
- package/resources/idp/structured_invoice_1.pdf +74 -0
- package/resources/idp/structured_invoice_2.pdf +74 -0
- package/resources/idp/structured_invoice_3.pdf +74 -0
- package/resources/idp/structured_invoice_test.pdf +74 -0
- package/resources/mcp_server/keycloak/camunda-platform-realm.json +45 -0
- package/resources/mcp_server/mcp_remote_client_basic_auth.bpmn +69 -0
- package/resources/mcp_server/mcp_remote_client_bearer_auth.bpmn +68 -0
- package/resources/mcp_server/mcp_remote_client_oauth_auth.bpmn +76 -0
- package/resources/mcp_server/mcp_remote_client_operations.bpmn +373 -0
- package/resources/mcp_server/mcp_server_list_tools.bpmn +69 -0
- package/resources/mcp_server_saas/mcp_cluster_tools.bpmn +168 -0
- package/resources/mcp_server_saas/mcp_incident_test_file.bpmn +54 -0
- package/resources/mcp_server_saas/mcp_incident_tools.bpmn +240 -0
- package/resources/mcp_server_saas/mcp_process_definition_test_file.bpmn +51 -0
- package/resources/mcp_server_saas/mcp_process_definition_tools.bpmn +234 -0
- package/resources/mcp_server_saas/mcp_process_instance_test_file.bpmn +51 -0
- package/resources/mcp_server_saas/mcp_process_instance_tools.bpmn +232 -0
- package/resources/mcp_server_saas/mcp_user_task_test_file.bpmn +55 -0
- package/resources/mcp_server_saas/mcp_user_task_tools.bpmn +309 -0
- package/resources/mcp_server_saas/mcp_variable_test_file.bpmn +35 -0
- package/resources/mcp_server_saas/mcp_variable_tools.bpmn +170 -0
- package/resources/simple_pdf.pdf +0 -0
- package/resources/simple_text.txt +1 -0
- package/resources/test-api-v2-complete.sh +12162 -0
|
@@ -0,0 +1,309 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL"
|
|
3
|
+
xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
|
|
4
|
+
xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"
|
|
5
|
+
xmlns:zeebe="http://camunda.org/schema/zeebe/1.0"
|
|
6
|
+
xmlns:di="http://www.omg.org/spec/DD/20100524/DI"
|
|
7
|
+
xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_UserTaskTools"
|
|
8
|
+
targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Web Modeler"
|
|
9
|
+
exporterVersion="5336cca" modeler:executionPlatform="Camunda Cloud"
|
|
10
|
+
modeler:executionPlatformVersion="8.9.0">
|
|
11
|
+
<bpmn:process id="mcp_user_task_tools" name="MCP User Task Tools"
|
|
12
|
+
isExecutable="true">
|
|
13
|
+
<bpmn:startEvent id="StartEvent_1">
|
|
14
|
+
<bpmn:outgoing>Flow_start</bpmn:outgoing>
|
|
15
|
+
</bpmn:startEvent>
|
|
16
|
+
<bpmn:endEvent id="EndEvent_1">
|
|
17
|
+
<bpmn:incoming>Flow_end</bpmn:incoming>
|
|
18
|
+
</bpmn:endEvent>
|
|
19
|
+
|
|
20
|
+
<!-- Parallel Gateway Split -->
|
|
21
|
+
<bpmn:parallelGateway id="Gateway_split">
|
|
22
|
+
<bpmn:incoming>Flow_start</bpmn:incoming>
|
|
23
|
+
<bpmn:outgoing>Flow_to_search</bpmn:outgoing>
|
|
24
|
+
<bpmn:outgoing>Flow_to_get</bpmn:outgoing>
|
|
25
|
+
<bpmn:outgoing>Flow_to_assign</bpmn:outgoing>
|
|
26
|
+
<bpmn:outgoing>Flow_to_search_vars</bpmn:outgoing>
|
|
27
|
+
</bpmn:parallelGateway>
|
|
28
|
+
|
|
29
|
+
<!-- Parallel Gateway Join -->
|
|
30
|
+
<bpmn:parallelGateway id="Gateway_join">
|
|
31
|
+
<bpmn:incoming>Flow_from_search</bpmn:incoming>
|
|
32
|
+
<bpmn:incoming>Flow_from_get</bpmn:incoming>
|
|
33
|
+
<bpmn:incoming>Flow_from_assign</bpmn:incoming>
|
|
34
|
+
<bpmn:incoming>Flow_from_search_vars</bpmn:incoming>
|
|
35
|
+
<bpmn:outgoing>Flow_end</bpmn:outgoing>
|
|
36
|
+
</bpmn:parallelGateway>
|
|
37
|
+
|
|
38
|
+
<bpmn:sequenceFlow id="Flow_start" sourceRef="StartEvent_1" targetRef="Gateway_split" />
|
|
39
|
+
<bpmn:sequenceFlow id="Flow_end" sourceRef="Gateway_join" targetRef="EndEvent_1" />
|
|
40
|
+
|
|
41
|
+
<!-- searchUserTasks Task -->
|
|
42
|
+
<bpmn:serviceTask id="searchUserTasks" name="searchUserTasks"
|
|
43
|
+
zeebe:modelerTemplate="io.camunda.connectors.agenticai.mcp.remoteclient.v0"
|
|
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4OTQgMTMxLjA4N0wxNDMuNzk0IDgwLjg4MjIiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMTIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K">
|
|
46
|
+
<bpmn:extensionElements>
|
|
47
|
+
<zeebe:taskDefinition type="io.camunda.agenticai:mcpremoteclient:1" retries="3" />
|
|
48
|
+
<zeebe:ioMapping>
|
|
49
|
+
<zeebe:input source="http" target="data.transport.type" />
|
|
50
|
+
<zeebe:input source="{{secrets.MCP_BASE_URL}}/mcp/cluster"
|
|
51
|
+
target="data.transport.http.url" />
|
|
52
|
+
<zeebe:input source="oauth-client-credentials-flow"
|
|
53
|
+
target="data.transport.http.authentication.type" />
|
|
54
|
+
<zeebe:input source="{{secrets.MCP_OAUTH_URL}}"
|
|
55
|
+
target="data.transport.http.authentication.oauthTokenEndpoint" />
|
|
56
|
+
<zeebe:input source="{{secrets.MCP_CLIENT_ID}}"
|
|
57
|
+
target="data.transport.http.authentication.clientId" />
|
|
58
|
+
<zeebe:input source="{{secrets.MCP_CLIENT_SECRET}}"
|
|
59
|
+
target="data.transport.http.authentication.clientSecret" />
|
|
60
|
+
<zeebe:input source="{{secrets.MCP_TOKEN_AUDIENCE}}"
|
|
61
|
+
target="data.transport.http.authentication.audience" />
|
|
62
|
+
<zeebe:input source="CREDENTIALS_BODY"
|
|
63
|
+
target="data.transport.http.authentication.clientAuthentication" />
|
|
64
|
+
<zeebe:input source="=true" target="data.options.clientCache" />
|
|
65
|
+
<zeebe:input source="standalone" target="data.connectorMode.type" />
|
|
66
|
+
<zeebe:input source="tools/call" target="data.connectorMode.operation.type" />
|
|
67
|
+
<zeebe:input source="searchUserTasks"
|
|
68
|
+
target="data.connectorMode.operation.toolName" />
|
|
69
|
+
<zeebe:input
|
|
70
|
+
source="={"filter":{"processDefinitionKey":string(testFileProcessKey)}}"
|
|
71
|
+
target="data.connectorMode.operation.toolArguments" />
|
|
72
|
+
</zeebe:ioMapping>
|
|
73
|
+
<zeebe:taskHeaders>
|
|
74
|
+
<zeebe:header key="elementTemplateVersion" value="2" />
|
|
75
|
+
<zeebe:header key="elementTemplateId"
|
|
76
|
+
value="io.camunda.connectors.agenticai.mcp.remoteclient.v0" />
|
|
77
|
+
<zeebe:header key="resultVariable" value="mcpResultSearchUserTasks" />
|
|
78
|
+
<zeebe:header key="retryBackoff" value="PT0S" />
|
|
79
|
+
</zeebe:taskHeaders>
|
|
80
|
+
</bpmn:extensionElements>
|
|
81
|
+
<bpmn:incoming>Flow_to_search</bpmn:incoming>
|
|
82
|
+
<bpmn:outgoing>Flow_from_search</bpmn:outgoing>
|
|
83
|
+
</bpmn:serviceTask>
|
|
84
|
+
|
|
85
|
+
<!-- getUserTask Task -->
|
|
86
|
+
<bpmn:serviceTask id="getUserTask" name="getUserTask"
|
|
87
|
+
zeebe:modelerTemplate="io.camunda.connectors.agenticai.mcp.remoteclient.v0"
|
|
88
|
+
zeebe:modelerTemplateVersion="2"
|
|
89
|
+
zeebe:modelerTemplateIcon="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIiBmaWxsPSJub25lIiB2aWV3Qm94PSIwIDAgMjAwIDIwMCI+CiAgICA8cGF0aCBkPSJNMjUgOTcuODUyOEw5Mi44ODIzIDI5Ljk3MDZDMTAyLjI1NSAyMC41OTggMTE3LjQ1MSAyMC41OTggMTI2LjgyMyAyOS45NzA2VjI5Ljk3MDZDMTM2LjE5NiAzOS4zNDMxIDEzNi4xOTYgNTQuNTM5MSAxMjYuODIzIDYzLjkxMTdMNzUuNTU4MSAxMTUuMTc3IiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjEyIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4KICAgIDxwYXRoIGQ9Ik03Ni4yNjUzIDExNC40N0wxMjYuODIzIDYzLjkxMTdDMTM2LjE5NiA1NC41MzkxIDE1MS4zOTIgNTQuNTM5MSAxNjAuNzY1IDYzLjkxMTdMMTYxLjExOCA2NC4yNjUyQzE3MC40OTEgNzMuNjM3OCAxNzAuNDkxIDg4LjgzMzggMTYxLjExOCA5OC4yMDYzTDk5LjcyNDggMTU5LjZDOTYuNjAwNiAxNjIuNzI0IDk2LjYwMDYgMTY3Ljc4OSA5OS43MjQ4IDE3MC45MTNMMTEyLjMzMSAxODMuNTIiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMTIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgogICAgPHBhdGggZD0iTTEwOS44NTMgNDYuOTQxMUw1OS42NDgyIDk3LjE0NTdDNTAuMjc1NyAxMDYuNTE4IDUwLjI3NTcgMTIxLjcxNCA1OS42NDgyIDEzMS4wODdWMTMxLjA4N0M2OS4wMjA4IDE0MC40NTkgODQuMjE2OCAxNDAuNDU5IDkzLjU4OTQgMTMxLjA4N0wxNDMuNzk0IDgwLjg4MjIiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMTIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K">
|
|
90
|
+
<bpmn:extensionElements>
|
|
91
|
+
<zeebe:taskDefinition type="io.camunda.agenticai:mcpremoteclient:1" retries="3" />
|
|
92
|
+
<zeebe:ioMapping>
|
|
93
|
+
<zeebe:input source="http" target="data.transport.type" />
|
|
94
|
+
<zeebe:input source="{{secrets.MCP_BASE_URL}}/mcp/cluster"
|
|
95
|
+
target="data.transport.http.url" />
|
|
96
|
+
<zeebe:input source="oauth-client-credentials-flow"
|
|
97
|
+
target="data.transport.http.authentication.type" />
|
|
98
|
+
<zeebe:input source="{{secrets.MCP_OAUTH_URL}}"
|
|
99
|
+
target="data.transport.http.authentication.oauthTokenEndpoint" />
|
|
100
|
+
<zeebe:input source="{{secrets.MCP_CLIENT_ID}}"
|
|
101
|
+
target="data.transport.http.authentication.clientId" />
|
|
102
|
+
<zeebe:input source="{{secrets.MCP_CLIENT_SECRET}}"
|
|
103
|
+
target="data.transport.http.authentication.clientSecret" />
|
|
104
|
+
<zeebe:input source="{{secrets.MCP_TOKEN_AUDIENCE}}"
|
|
105
|
+
target="data.transport.http.authentication.audience" />
|
|
106
|
+
<zeebe:input source="CREDENTIALS_BODY"
|
|
107
|
+
target="data.transport.http.authentication.clientAuthentication" />
|
|
108
|
+
<zeebe:input source="=true" target="data.options.clientCache" />
|
|
109
|
+
<zeebe:input source="standalone" target="data.connectorMode.type" />
|
|
110
|
+
<zeebe:input source="tools/call" target="data.connectorMode.operation.type" />
|
|
111
|
+
<zeebe:input source="getUserTask"
|
|
112
|
+
target="data.connectorMode.operation.toolName" />
|
|
113
|
+
<zeebe:input source="={"userTaskKey":string(testUserTaskKey)}"
|
|
114
|
+
target="data.connectorMode.operation.toolArguments" />
|
|
115
|
+
</zeebe:ioMapping>
|
|
116
|
+
<zeebe:taskHeaders>
|
|
117
|
+
<zeebe:header key="elementTemplateVersion" value="2" />
|
|
118
|
+
<zeebe:header key="elementTemplateId"
|
|
119
|
+
value="io.camunda.connectors.agenticai.mcp.remoteclient.v0" />
|
|
120
|
+
<zeebe:header key="resultVariable" value="mcpResultGetUserTask" />
|
|
121
|
+
<zeebe:header key="retryBackoff" value="PT0S" />
|
|
122
|
+
</zeebe:taskHeaders>
|
|
123
|
+
</bpmn:extensionElements>
|
|
124
|
+
<bpmn:incoming>Flow_to_get</bpmn:incoming>
|
|
125
|
+
<bpmn:outgoing>Flow_from_get</bpmn:outgoing>
|
|
126
|
+
</bpmn:serviceTask>
|
|
127
|
+
|
|
128
|
+
<!-- assignUserTask Task -->
|
|
129
|
+
<bpmn:serviceTask id="assignUserTask" name="assignUserTask"
|
|
130
|
+
zeebe:modelerTemplate="io.camunda.connectors.agenticai.mcp.remoteclient.v0"
|
|
131
|
+
zeebe:modelerTemplateVersion="2"
|
|
132
|
+
zeebe:modelerTemplateIcon="data:image/svg+xml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cm9rZS13aWR0aD0iMTIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K">
|
|
133
|
+
<bpmn:extensionElements>
|
|
134
|
+
<zeebe:taskDefinition type="io.camunda.agenticai:mcpremoteclient:1" retries="3" />
|
|
135
|
+
<zeebe:ioMapping>
|
|
136
|
+
<zeebe:input source="http" target="data.transport.type" />
|
|
137
|
+
<zeebe:input source="{{secrets.MCP_BASE_URL}}/mcp/cluster"
|
|
138
|
+
target="data.transport.http.url" />
|
|
139
|
+
<zeebe:input source="oauth-client-credentials-flow"
|
|
140
|
+
target="data.transport.http.authentication.type" />
|
|
141
|
+
<zeebe:input source="{{secrets.MCP_OAUTH_URL}}"
|
|
142
|
+
target="data.transport.http.authentication.oauthTokenEndpoint" />
|
|
143
|
+
<zeebe:input source="{{secrets.MCP_CLIENT_ID}}"
|
|
144
|
+
target="data.transport.http.authentication.clientId" />
|
|
145
|
+
<zeebe:input source="{{secrets.MCP_CLIENT_SECRET}}"
|
|
146
|
+
target="data.transport.http.authentication.clientSecret" />
|
|
147
|
+
<zeebe:input source="{{secrets.MCP_TOKEN_AUDIENCE}}"
|
|
148
|
+
target="data.transport.http.authentication.audience" />
|
|
149
|
+
<zeebe:input source="CREDENTIALS_BODY"
|
|
150
|
+
target="data.transport.http.authentication.clientAuthentication" />
|
|
151
|
+
<zeebe:input source="=true" target="data.options.clientCache" />
|
|
152
|
+
<zeebe:input source="standalone" target="data.connectorMode.type" />
|
|
153
|
+
<zeebe:input source="tools/call" target="data.connectorMode.operation.type" />
|
|
154
|
+
<zeebe:input source="assignUserTask"
|
|
155
|
+
target="data.connectorMode.operation.toolName" />
|
|
156
|
+
<zeebe:input
|
|
157
|
+
source="={"userTaskKey":string(testUserTaskKey),"assignee":"mcpUser"}"
|
|
158
|
+
target="data.connectorMode.operation.toolArguments" />
|
|
159
|
+
</zeebe:ioMapping>
|
|
160
|
+
<zeebe:taskHeaders>
|
|
161
|
+
<zeebe:header key="elementTemplateVersion" value="2" />
|
|
162
|
+
<zeebe:header key="elementTemplateId"
|
|
163
|
+
value="io.camunda.connectors.agenticai.mcp.remoteclient.v0" />
|
|
164
|
+
<zeebe:header key="resultVariable" value="mcpResultAssignUserTask" />
|
|
165
|
+
<zeebe:header key="retryBackoff" value="PT0S" />
|
|
166
|
+
</zeebe:taskHeaders>
|
|
167
|
+
</bpmn:extensionElements>
|
|
168
|
+
<bpmn:incoming>Flow_to_assign</bpmn:incoming>
|
|
169
|
+
<bpmn:outgoing>Flow_from_assign</bpmn:outgoing>
|
|
170
|
+
</bpmn:serviceTask>
|
|
171
|
+
|
|
172
|
+
<!-- searchUserTaskVariables Task -->
|
|
173
|
+
<bpmn:serviceTask id="searchUserTaskVariables" name="searchUserTaskVariables"
|
|
174
|
+
zeebe:modelerTemplate="io.camunda.connectors.agenticai.mcp.remoteclient.v0"
|
|
175
|
+
zeebe:modelerTemplateVersion="2"
|
|
176
|
+
zeebe:modelerTemplateIcon="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIiBmaWxsPSJub25lIiB2aWV3Qm94PSIwIDAgMjAwIDIwMCI+CiAgICA8cGF0aCBkPSJNMjUgOTcuODUyOEw5Mi44ODIzIDI5Ljk3MDZDMTAyLjI1NSAyMC41OTggMTE3LjQ1MSAyMC41OTggMTI2LjgyMyAyOS45NzA2VjI5Ljk3MDZDMTM2LjE5NiAzOS4zNDMxIDEzNi4xOTYgNTQuNTM5MSAxMjYuODIzIDYzLjkxMTdMNzUuNTU4MSAxMTUuMTc3IiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjEyIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4KICAgIDxwYXRoIGQ9Ik03Ni4yNjUzIDExNC40N0wxMjYuODIzIDYzLjkxMTdDMTM2LjE5NiA1NC41MzkxIDE1MS4zOTIgNTQuNTM5MSAxNjAuNzY1IDYzLjkxMTdMMTYxLjExOCA2NC4yNjUyQzE3MC40OTEgNzMuNjM3OCAxNzAuNDkxIDg4LjgzMzggMTYxLjExOCA5OC4yMDYzTDk5LjcyNDggMTU5LjZDOTYuNjAwNiAxNjIuNzI0IDk2LjYwMDYgMTY3Ljc4OSA5OS43MjQ4IDE3MC45MTNMMTEyLjMzMSAxODMuNTIiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMTIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgogICAgPHBhdGggZD0iTTEwOS44NTMgNDYuOTQxMUw1OS42NDgyIDk3LjE0NTdDNTAuMjc1NyAxMDYuNTE4IDUwLjI3NTcgMTIxLjcxNCA1OS42NDgyIDEzMS4wODdWMTMxLjA4N0M2OS4wMjA4IDE0MC40NTkgODQuMjE2OCAxNDAuNDU5IDkzLjU4OTQgMTMxLjA4N0wxNDMuNzk0IDgwLjg4MjIiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMTIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K">
|
|
177
|
+
<bpmn:extensionElements>
|
|
178
|
+
<zeebe:taskDefinition type="io.camunda.agenticai:mcpremoteclient:1" retries="3" />
|
|
179
|
+
<zeebe:ioMapping>
|
|
180
|
+
<zeebe:input source="http" target="data.transport.type" />
|
|
181
|
+
<zeebe:input source="{{secrets.MCP_BASE_URL}}/mcp/cluster"
|
|
182
|
+
target="data.transport.http.url" />
|
|
183
|
+
<zeebe:input source="oauth-client-credentials-flow"
|
|
184
|
+
target="data.transport.http.authentication.type" />
|
|
185
|
+
<zeebe:input source="{{secrets.MCP_OAUTH_URL}}"
|
|
186
|
+
target="data.transport.http.authentication.oauthTokenEndpoint" />
|
|
187
|
+
<zeebe:input source="{{secrets.MCP_CLIENT_ID}}"
|
|
188
|
+
target="data.transport.http.authentication.clientId" />
|
|
189
|
+
<zeebe:input source="{{secrets.MCP_CLIENT_SECRET}}"
|
|
190
|
+
target="data.transport.http.authentication.clientSecret" />
|
|
191
|
+
<zeebe:input source="{{secrets.MCP_TOKEN_AUDIENCE}}"
|
|
192
|
+
target="data.transport.http.authentication.audience" />
|
|
193
|
+
<zeebe:input source="CREDENTIALS_BODY"
|
|
194
|
+
target="data.transport.http.authentication.clientAuthentication" />
|
|
195
|
+
<zeebe:input source="=true" target="data.options.clientCache" />
|
|
196
|
+
<zeebe:input source="standalone" target="data.connectorMode.type" />
|
|
197
|
+
<zeebe:input source="tools/call" target="data.connectorMode.operation.type" />
|
|
198
|
+
<zeebe:input source="searchUserTaskVariables"
|
|
199
|
+
target="data.connectorMode.operation.toolName" />
|
|
200
|
+
<zeebe:input source="={"userTaskKey":string(testUserTaskKey)}"
|
|
201
|
+
target="data.connectorMode.operation.toolArguments" />
|
|
202
|
+
</zeebe:ioMapping>
|
|
203
|
+
<zeebe:taskHeaders>
|
|
204
|
+
<zeebe:header key="elementTemplateVersion" value="2" />
|
|
205
|
+
<zeebe:header key="elementTemplateId"
|
|
206
|
+
value="io.camunda.connectors.agenticai.mcp.remoteclient.v0" />
|
|
207
|
+
<zeebe:header key="resultVariable" value="mcpResultSearchUserTaskVariables" />
|
|
208
|
+
<zeebe:header key="retryBackoff" value="PT0S" />
|
|
209
|
+
</zeebe:taskHeaders>
|
|
210
|
+
</bpmn:extensionElements>
|
|
211
|
+
<bpmn:incoming>Flow_to_search_vars</bpmn:incoming>
|
|
212
|
+
<bpmn:outgoing>Flow_from_search_vars</bpmn:outgoing>
|
|
213
|
+
</bpmn:serviceTask>
|
|
214
|
+
|
|
215
|
+
<bpmn:sequenceFlow id="Flow_to_search" sourceRef="Gateway_split" targetRef="searchUserTasks" />
|
|
216
|
+
<bpmn:sequenceFlow id="Flow_to_get" sourceRef="Gateway_split" targetRef="getUserTask" />
|
|
217
|
+
<bpmn:sequenceFlow id="Flow_to_assign" sourceRef="Gateway_split" targetRef="assignUserTask" />
|
|
218
|
+
<bpmn:sequenceFlow id="Flow_to_search_vars" sourceRef="Gateway_split"
|
|
219
|
+
targetRef="searchUserTaskVariables" />
|
|
220
|
+
|
|
221
|
+
<bpmn:sequenceFlow id="Flow_from_search" sourceRef="searchUserTasks"
|
|
222
|
+
targetRef="Gateway_join" />
|
|
223
|
+
<bpmn:sequenceFlow id="Flow_from_get" sourceRef="getUserTask" targetRef="Gateway_join" />
|
|
224
|
+
<bpmn:sequenceFlow id="Flow_from_assign" sourceRef="assignUserTask" targetRef="Gateway_join" />
|
|
225
|
+
<bpmn:sequenceFlow id="Flow_from_search_vars" sourceRef="searchUserTaskVariables"
|
|
226
|
+
targetRef="Gateway_join" />
|
|
227
|
+
</bpmn:process>
|
|
228
|
+
|
|
229
|
+
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
230
|
+
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="mcp_user_task_tools">
|
|
231
|
+
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
|
232
|
+
<dc:Bounds x="112" y="182" width="36" height="36" />
|
|
233
|
+
</bpmndi:BPMNShape>
|
|
234
|
+
<bpmndi:BPMNShape id="EndEvent_1_di" bpmnElement="EndEvent_1">
|
|
235
|
+
<dc:Bounds x="652" y="182" width="36" height="36" />
|
|
236
|
+
</bpmndi:BPMNShape>
|
|
237
|
+
<bpmndi:BPMNShape id="Gateway_split_di" bpmnElement="Gateway_split">
|
|
238
|
+
<dc:Bounds x="185" y="175" width="50" height="50" />
|
|
239
|
+
</bpmndi:BPMNShape>
|
|
240
|
+
<bpmndi:BPMNShape id="Gateway_join_di" bpmnElement="Gateway_join">
|
|
241
|
+
<dc:Bounds x="565" y="175" width="50" height="50" />
|
|
242
|
+
</bpmndi:BPMNShape>
|
|
243
|
+
<bpmndi:BPMNShape id="searchUserTasks_di" bpmnElement="searchUserTasks">
|
|
244
|
+
<dc:Bounds x="310" y="0" width="100" height="80" />
|
|
245
|
+
<bpmndi:BPMNLabel />
|
|
246
|
+
</bpmndi:BPMNShape>
|
|
247
|
+
<bpmndi:BPMNShape id="getUserTask_di" bpmnElement="getUserTask">
|
|
248
|
+
<dc:Bounds x="310" y="110" width="100" height="80" />
|
|
249
|
+
<bpmndi:BPMNLabel />
|
|
250
|
+
</bpmndi:BPMNShape>
|
|
251
|
+
<bpmndi:BPMNShape id="assignUserTask_di" bpmnElement="assignUserTask">
|
|
252
|
+
<dc:Bounds x="310" y="220" width="100" height="80" />
|
|
253
|
+
<bpmndi:BPMNLabel />
|
|
254
|
+
</bpmndi:BPMNShape>
|
|
255
|
+
<bpmndi:BPMNShape id="searchUserTaskVariables_di" bpmnElement="searchUserTaskVariables">
|
|
256
|
+
<dc:Bounds x="310" y="330" width="100" height="80" />
|
|
257
|
+
<bpmndi:BPMNLabel />
|
|
258
|
+
</bpmndi:BPMNShape>
|
|
259
|
+
<bpmndi:BPMNEdge id="Flow_start_di" bpmnElement="Flow_start">
|
|
260
|
+
<di:waypoint x="148" y="200" />
|
|
261
|
+
<di:waypoint x="185" y="200" />
|
|
262
|
+
</bpmndi:BPMNEdge>
|
|
263
|
+
<bpmndi:BPMNEdge id="Flow_end_di" bpmnElement="Flow_end">
|
|
264
|
+
<di:waypoint x="615" y="200" />
|
|
265
|
+
<di:waypoint x="652" y="200" />
|
|
266
|
+
</bpmndi:BPMNEdge>
|
|
267
|
+
<bpmndi:BPMNEdge id="Flow_to_search_di" bpmnElement="Flow_to_search">
|
|
268
|
+
<di:waypoint x="210" y="175" />
|
|
269
|
+
<di:waypoint x="210" y="40" />
|
|
270
|
+
<di:waypoint x="310" y="40" />
|
|
271
|
+
</bpmndi:BPMNEdge>
|
|
272
|
+
<bpmndi:BPMNEdge id="Flow_to_get_di" bpmnElement="Flow_to_get">
|
|
273
|
+
<di:waypoint x="210" y="175" />
|
|
274
|
+
<di:waypoint x="210" y="150" />
|
|
275
|
+
<di:waypoint x="310" y="150" />
|
|
276
|
+
</bpmndi:BPMNEdge>
|
|
277
|
+
<bpmndi:BPMNEdge id="Flow_to_assign_di" bpmnElement="Flow_to_assign">
|
|
278
|
+
<di:waypoint x="210" y="225" />
|
|
279
|
+
<di:waypoint x="210" y="260" />
|
|
280
|
+
<di:waypoint x="310" y="260" />
|
|
281
|
+
</bpmndi:BPMNEdge>
|
|
282
|
+
<bpmndi:BPMNEdge id="Flow_to_search_vars_di" bpmnElement="Flow_to_search_vars">
|
|
283
|
+
<di:waypoint x="210" y="225" />
|
|
284
|
+
<di:waypoint x="210" y="370" />
|
|
285
|
+
<di:waypoint x="310" y="370" />
|
|
286
|
+
</bpmndi:BPMNEdge>
|
|
287
|
+
<bpmndi:BPMNEdge id="Flow_from_search_di" bpmnElement="Flow_from_search">
|
|
288
|
+
<di:waypoint x="410" y="40" />
|
|
289
|
+
<di:waypoint x="590" y="40" />
|
|
290
|
+
<di:waypoint x="590" y="175" />
|
|
291
|
+
</bpmndi:BPMNEdge>
|
|
292
|
+
<bpmndi:BPMNEdge id="Flow_from_get_di" bpmnElement="Flow_from_get">
|
|
293
|
+
<di:waypoint x="410" y="150" />
|
|
294
|
+
<di:waypoint x="590" y="150" />
|
|
295
|
+
<di:waypoint x="590" y="175" />
|
|
296
|
+
</bpmndi:BPMNEdge>
|
|
297
|
+
<bpmndi:BPMNEdge id="Flow_from_assign_di" bpmnElement="Flow_from_assign">
|
|
298
|
+
<di:waypoint x="410" y="260" />
|
|
299
|
+
<di:waypoint x="590" y="260" />
|
|
300
|
+
<di:waypoint x="590" y="225" />
|
|
301
|
+
</bpmndi:BPMNEdge>
|
|
302
|
+
<bpmndi:BPMNEdge id="Flow_from_search_vars_di" bpmnElement="Flow_from_search_vars">
|
|
303
|
+
<di:waypoint x="410" y="370" />
|
|
304
|
+
<di:waypoint x="590" y="370" />
|
|
305
|
+
<di:waypoint x="590" y="225" />
|
|
306
|
+
</bpmndi:BPMNEdge>
|
|
307
|
+
</bpmndi:BPMNPlane>
|
|
308
|
+
</bpmndi:BPMNDiagram>
|
|
309
|
+
</bpmn:definitions>
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL"
|
|
3
|
+
xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
|
|
4
|
+
xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"
|
|
5
|
+
xmlns:zeebe="http://camunda.org/schema/zeebe/1.0"
|
|
6
|
+
xmlns:di="http://www.omg.org/spec/DD/20100524/DI"
|
|
7
|
+
xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_Variable"
|
|
8
|
+
targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Web Modeler"
|
|
9
|
+
exporterVersion="5336cca" modeler:executionPlatform="Camunda Cloud"
|
|
10
|
+
modeler:executionPlatformVersion="8.9.0">
|
|
11
|
+
<bpmn:process id="mcp_variable_test_file" name="MCP Variable Test File"
|
|
12
|
+
isExecutable="true">
|
|
13
|
+
<bpmn:startEvent id="StartEvent_1">
|
|
14
|
+
<bpmn:outgoing>Flow_1</bpmn:outgoing>
|
|
15
|
+
</bpmn:startEvent>
|
|
16
|
+
<bpmn:sequenceFlow id="Flow_1" sourceRef="StartEvent_1" targetRef="EndEvent_1" />
|
|
17
|
+
<bpmn:endEvent id="EndEvent_1">
|
|
18
|
+
<bpmn:incoming>Flow_1</bpmn:incoming>
|
|
19
|
+
</bpmn:endEvent>
|
|
20
|
+
</bpmn:process>
|
|
21
|
+
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
22
|
+
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="mcp_variable_test_file">
|
|
23
|
+
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
|
24
|
+
<dc:Bounds x="152" y="102" width="36" height="36" />
|
|
25
|
+
</bpmndi:BPMNShape>
|
|
26
|
+
<bpmndi:BPMNShape id="EndEvent_1_di" bpmnElement="EndEvent_1">
|
|
27
|
+
<dc:Bounds x="262" y="102" width="36" height="36" />
|
|
28
|
+
</bpmndi:BPMNShape>
|
|
29
|
+
<bpmndi:BPMNEdge id="Flow_1_di" bpmnElement="Flow_1">
|
|
30
|
+
<di:waypoint x="188" y="120" />
|
|
31
|
+
<di:waypoint x="262" y="120" />
|
|
32
|
+
</bpmndi:BPMNEdge>
|
|
33
|
+
</bpmndi:BPMNPlane>
|
|
34
|
+
</bpmndi:BPMNDiagram>
|
|
35
|
+
</bpmn:definitions>
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL"
|
|
3
|
+
xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
|
|
4
|
+
xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"
|
|
5
|
+
xmlns:zeebe="http://camunda.org/schema/zeebe/1.0"
|
|
6
|
+
xmlns:di="http://www.omg.org/spec/DD/20100524/DI"
|
|
7
|
+
xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_Variable"
|
|
8
|
+
targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Web Modeler"
|
|
9
|
+
exporterVersion="5336cca" modeler:executionPlatform="Camunda Cloud"
|
|
10
|
+
modeler:executionPlatformVersion="8.9.0">
|
|
11
|
+
<bpmn:process id="mcp_variable_tools" name="MCP Variable Tools"
|
|
12
|
+
isExecutable="true">
|
|
13
|
+
<bpmn:startEvent id="StartEvent_1">
|
|
14
|
+
<bpmn:outgoing>Flow_1nrepge</bpmn:outgoing>
|
|
15
|
+
</bpmn:startEvent>
|
|
16
|
+
<bpmn:endEvent id="EndEvent_1">
|
|
17
|
+
<bpmn:incoming>Flow_0jqbea8</bpmn:incoming>
|
|
18
|
+
</bpmn:endEvent>
|
|
19
|
+
<bpmn:serviceTask id="searchVariables" name="searchVariables"
|
|
20
|
+
zeebe:modelerTemplate="io.camunda.connectors.agenticai.mcp.remoteclient.v0"
|
|
21
|
+
zeebe:modelerTemplateVersion="2"
|
|
22
|
+
zeebe:modelerTemplateIcon="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIiBmaWxsPSJub25lIiB2aWV3Qm94PSIwIDAgMjAwIDIwMCI+CiAgICA8cGF0aCBkPSJNMjUgOTcuODUyOEw5Mi44ODIzIDI5Ljk3MDZDMTAyLjI1NSAyMC41OTggMTE3LjQ1MSAyMC41OTggMTI2LjgyMyAyOS45NzA2VjI5Ljk3MDZDMTM2LjE5NiAzOS4zNDMxIDEzNi4xOTYgNTQuNTM5MSAxMjYuODIzIDYzLjkxMTdMNzUuNTU4MSAxMTUuMTc3IiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjEyIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4KICAgIDxwYXRoIGQ9Ik03Ni4yNjUzIDExNC40N0wxMjYuODIzIDYzLjkxMTdDMTM2LjE5NiA1NC41MzkxIDE1MS4zOTIgNTQuNTM5MSAxNjAuNzY1IDYzLjkxMTdMMTYxLjExOCA2NC4yNjUyQzE3MC40OTEgNzMuNjM3OCAxNzAuNDkxIDg4LjgzMzggMTYxLjExOCA5OC4yMDYzTDk5LjcyNDggMTU5LjZDOTYuNjAwNiAxNjIuNzI0IDk2LjYwMDYgMTY3Ljc4OSA5OS43MjQ4IDE3MC45MTNMMTEyLjMzMSAxODMuNTIiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMTIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgogICAgPHBhdGggZD0iTTEwOS44NTMgNDYuOTQxMUw1OS42NDgyIDk3LjE0NTdDNTAuMjc1NyAxMDYuNTE4IDUwLjI3NTcgMTIxLjcxNCA1OS42NDgyIDEzMS4wODdWMTMxLjA4N0M2OS4wMjA4IDE0MC40NTkgODQuMjE2OCAxNDAuNDU5IDkzLjU4OTQgMTMxLjA4N0wxNDMuNzk0IDgwLjg4MjIiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMTIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K">
|
|
23
|
+
<bpmn:extensionElements>
|
|
24
|
+
<zeebe:taskDefinition type="io.camunda.agenticai:mcpremoteclient:1" retries="3" />
|
|
25
|
+
<zeebe:ioMapping>
|
|
26
|
+
<zeebe:input source="http" target="data.transport.type" />
|
|
27
|
+
<zeebe:input source="{{secrets.MCP_BASE_URL}}/mcp/cluster"
|
|
28
|
+
target="data.transport.http.url" />
|
|
29
|
+
<zeebe:input source="oauth-client-credentials-flow"
|
|
30
|
+
target="data.transport.http.authentication.type" />
|
|
31
|
+
<zeebe:input source="{{secrets.MCP_OAUTH_URL}}"
|
|
32
|
+
target="data.transport.http.authentication.oauthTokenEndpoint" />
|
|
33
|
+
<zeebe:input source="{{secrets.MCP_CLIENT_ID}}"
|
|
34
|
+
target="data.transport.http.authentication.clientId" />
|
|
35
|
+
<zeebe:input source="{{secrets.MCP_CLIENT_SECRET}}"
|
|
36
|
+
target="data.transport.http.authentication.clientSecret" />
|
|
37
|
+
<zeebe:input source="{{secrets.MCP_TOKEN_AUDIENCE}}"
|
|
38
|
+
target="data.transport.http.authentication.audience" />
|
|
39
|
+
<zeebe:input source="CREDENTIALS_BODY"
|
|
40
|
+
target="data.transport.http.authentication.clientAuthentication" />
|
|
41
|
+
<zeebe:input source="=true" target="data.options.clientCache" />
|
|
42
|
+
<zeebe:input source="standalone" target="data.connectorMode.type" />
|
|
43
|
+
<zeebe:input source="tools/call" target="data.connectorMode.operation.type" />
|
|
44
|
+
<zeebe:input source="searchVariables"
|
|
45
|
+
target="data.connectorMode.operation.toolName" />
|
|
46
|
+
<zeebe:input source="={}" target="data.connectorMode.operation.toolArguments" />
|
|
47
|
+
</zeebe:ioMapping>
|
|
48
|
+
<zeebe:taskHeaders>
|
|
49
|
+
<zeebe:header key="elementTemplateVersion" value="2" />
|
|
50
|
+
<zeebe:header key="elementTemplateId"
|
|
51
|
+
value="io.camunda.connectors.agenticai.mcp.remoteclient.v0" />
|
|
52
|
+
<zeebe:header key="resultVariable" value="mcpResultSearchVariables" />
|
|
53
|
+
<zeebe:header key="retryBackoff" value="PT0S" />
|
|
54
|
+
</zeebe:taskHeaders>
|
|
55
|
+
</bpmn:extensionElements>
|
|
56
|
+
<bpmn:incoming>Flow_0l0tehi</bpmn:incoming>
|
|
57
|
+
<bpmn:outgoing>Flow_101za4d</bpmn:outgoing>
|
|
58
|
+
</bpmn:serviceTask>
|
|
59
|
+
<bpmn:sequenceFlow id="Flow_1nrepge" sourceRef="StartEvent_1" targetRef="Gateway_1axprup" />
|
|
60
|
+
<bpmn:sequenceFlow id="Flow_101za4d" sourceRef="searchVariables"
|
|
61
|
+
targetRef="Gateway_1t2m7hj" />
|
|
62
|
+
<bpmn:parallelGateway id="Gateway_1t2m7hj">
|
|
63
|
+
<bpmn:incoming>Flow_101za4d</bpmn:incoming>
|
|
64
|
+
<bpmn:incoming>Flow_1x7w6kt</bpmn:incoming>
|
|
65
|
+
<bpmn:outgoing>Flow_0jqbea8</bpmn:outgoing>
|
|
66
|
+
</bpmn:parallelGateway>
|
|
67
|
+
<bpmn:parallelGateway id="Gateway_1axprup">
|
|
68
|
+
<bpmn:incoming>Flow_1nrepge</bpmn:incoming>
|
|
69
|
+
<bpmn:outgoing>Flow_0l0tehi</bpmn:outgoing>
|
|
70
|
+
<bpmn:outgoing>Flow_066dp5w</bpmn:outgoing>
|
|
71
|
+
</bpmn:parallelGateway>
|
|
72
|
+
<bpmn:sequenceFlow id="Flow_0l0tehi" sourceRef="Gateway_1axprup"
|
|
73
|
+
targetRef="searchVariables" />
|
|
74
|
+
<bpmn:serviceTask id="Activity_getVariable" name="getVariable"
|
|
75
|
+
zeebe:modelerTemplate="io.camun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TkgODQuMjE2OCAxNDAuNDU5IDkzLjU4OTQgMTMxLjA4N0wxNDMuNzk0IDgwLjg4MjIiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMTIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K">
|
|
78
|
+
<bpmn:extensionElements>
|
|
79
|
+
<zeebe:taskDefinition type="io.camunda.agenticai:mcpremoteclient:1" retries="3" />
|
|
80
|
+
<zeebe:ioMapping>
|
|
81
|
+
<zeebe:input source="http" target="data.transport.type" />
|
|
82
|
+
<zeebe:input source="{{secrets.MCP_BASE_URL}}/mcp/cluster"
|
|
83
|
+
target="data.transport.http.url" />
|
|
84
|
+
<zeebe:input source="oauth-client-credentials-flow"
|
|
85
|
+
target="data.transport.http.authentication.type" />
|
|
86
|
+
<zeebe:input source="{{secrets.MCP_OAUTH_URL}}"
|
|
87
|
+
target="data.transport.http.authentication.oauthTokenEndpoint" />
|
|
88
|
+
<zeebe:input source="{{secrets.MCP_CLIENT_ID}}"
|
|
89
|
+
target="data.transport.http.authentication.clientId" />
|
|
90
|
+
<zeebe:input source="{{secrets.MCP_CLIENT_SECRET}}"
|
|
91
|
+
target="data.transport.http.authentication.clientSecret" />
|
|
92
|
+
<zeebe:input source="{{secrets.MCP_TOKEN_AUDIENCE}}"
|
|
93
|
+
target="data.transport.http.authentication.audience" />
|
|
94
|
+
<zeebe:input source="CREDENTIALS_BODY"
|
|
95
|
+
target="data.transport.http.authentication.clientAuthentication" />
|
|
96
|
+
<zeebe:input source="=true" target="data.options.clientCache" />
|
|
97
|
+
<zeebe:input source="standalone" target="data.connectorMode.type" />
|
|
98
|
+
<zeebe:input source="tools/call" target="data.connectorMode.operation.type" />
|
|
99
|
+
<zeebe:input source="getVariable"
|
|
100
|
+
target="data.connectorMode.operation.toolName" />
|
|
101
|
+
<zeebe:input source="={"variableKey": testVariableKey}" target="data.connectorMode.operation.toolArguments" />
|
|
102
|
+
</zeebe:ioMapping>
|
|
103
|
+
<zeebe:taskHeaders>
|
|
104
|
+
<zeebe:header key="elementTemplateVersion" value="2" />
|
|
105
|
+
<zeebe:header key="elementTemplateId"
|
|
106
|
+
value="io.camunda.connectors.agenticai.mcp.remoteclient.v0" />
|
|
107
|
+
<zeebe:header key="resultVariable" value="mcpResultGetVariable" />
|
|
108
|
+
<zeebe:header key="retryBackoff" value="PT0S" />
|
|
109
|
+
</zeebe:taskHeaders>
|
|
110
|
+
</bpmn:extensionElements>
|
|
111
|
+
<bpmn:incoming>Flow_066dp5w</bpmn:incoming>
|
|
112
|
+
<bpmn:outgoing>Flow_1x7w6kt</bpmn:outgoing>
|
|
113
|
+
</bpmn:serviceTask>
|
|
114
|
+
<bpmn:sequenceFlow id="Flow_066dp5w" sourceRef="Gateway_1axprup"
|
|
115
|
+
targetRef="Activity_getVariable" />
|
|
116
|
+
<bpmn:sequenceFlow id="Flow_1x7w6kt" sourceRef="Activity_getVariable"
|
|
117
|
+
targetRef="Gateway_1t2m7hj" />
|
|
118
|
+
<bpmn:sequenceFlow id="Flow_0jqbea8" sourceRef="Gateway_1t2m7hj" targetRef="EndEvent_1" />
|
|
119
|
+
</bpmn:process>
|
|
120
|
+
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
121
|
+
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="mcp_variable_tools">
|
|
122
|
+
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
|
123
|
+
<dc:Bounds x="152" y="152" width="36" height="36" />
|
|
124
|
+
</bpmndi:BPMNShape>
|
|
125
|
+
<bpmndi:BPMNShape id="EndEvent_1_di" bpmnElement="EndEvent_1">
|
|
126
|
+
<dc:Bounds x="832" y="152" width="36" height="36" />
|
|
127
|
+
</bpmndi:BPMNShape>
|
|
128
|
+
<bpmndi:BPMNShape id="Activity_SearchVariables_di" bpmnElement="searchVariables">
|
|
129
|
+
<dc:Bounds x="430" y="80" width="100" height="80" />
|
|
130
|
+
</bpmndi:BPMNShape>
|
|
131
|
+
<bpmndi:BPMNShape id="Gateway_1t2m7hj_di" bpmnElement="Gateway_1t2m7hj">
|
|
132
|
+
<dc:Bounds x="705" y="145" width="50" height="50" />
|
|
133
|
+
</bpmndi:BPMNShape>
|
|
134
|
+
<bpmndi:BPMNShape id="Gateway_1axprup_di" bpmnElement="Gateway_1axprup">
|
|
135
|
+
<dc:Bounds x="265" y="145" width="50" height="50" />
|
|
136
|
+
</bpmndi:BPMNShape>
|
|
137
|
+
<bpmndi:BPMNShape id="Activity_GetVariable_di" bpmnElement="Activity_getVariable">
|
|
138
|
+
<dc:Bounds x="430" y="210" width="100" height="80" />
|
|
139
|
+
</bpmndi:BPMNShape>
|
|
140
|
+
<bpmndi:BPMNEdge id="Flow_1nrepge_di" bpmnElement="Flow_1nrepge">
|
|
141
|
+
<di:waypoint x="188" y="170" />
|
|
142
|
+
<di:waypoint x="265" y="170" />
|
|
143
|
+
</bpmndi:BPMNEdge>
|
|
144
|
+
<bpmndi:BPMNEdge id="Flow_101za4d_di" bpmnElement="Flow_101za4d">
|
|
145
|
+
<di:waypoint x="530" y="120" />
|
|
146
|
+
<di:waypoint x="730" y="120" />
|
|
147
|
+
<di:waypoint x="730" y="145" />
|
|
148
|
+
</bpmndi:BPMNEdge>
|
|
149
|
+
<bpmndi:BPMNEdge id="Flow_0l0tehi_di" bpmnElement="Flow_0l0tehi">
|
|
150
|
+
<di:waypoint x="290" y="145" />
|
|
151
|
+
<di:waypoint x="290" y="120" />
|
|
152
|
+
<di:waypoint x="430" y="120" />
|
|
153
|
+
</bpmndi:BPMNEdge>
|
|
154
|
+
<bpmndi:BPMNEdge id="Flow_066dp5w_di" bpmnElement="Flow_066dp5w">
|
|
155
|
+
<di:waypoint x="290" y="195" />
|
|
156
|
+
<di:waypoint x="290" y="250" />
|
|
157
|
+
<di:waypoint x="430" y="250" />
|
|
158
|
+
</bpmndi:BPMNEdge>
|
|
159
|
+
<bpmndi:BPMNEdge id="Flow_1x7w6kt_di" bpmnElement="Flow_1x7w6kt">
|
|
160
|
+
<di:waypoint x="530" y="250" />
|
|
161
|
+
<di:waypoint x="730" y="250" />
|
|
162
|
+
<di:waypoint x="730" y="195" />
|
|
163
|
+
</bpmndi:BPMNEdge>
|
|
164
|
+
<bpmndi:BPMNEdge id="Flow_0jqbea8_di" bpmnElement="Flow_0jqbea8">
|
|
165
|
+
<di:waypoint x="755" y="170" />
|
|
166
|
+
<di:waypoint x="832" y="170" />
|
|
167
|
+
</bpmndi:BPMNEdge>
|
|
168
|
+
</bpmndi:BPMNPlane>
|
|
169
|
+
</bpmndi:BPMNDiagram>
|
|
170
|
+
</bpmn:definitions>
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Hello World
|