@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.
Files changed (76) hide show
  1. package/.github/c8_versions.json +17 -0
  2. package/dist/tests/SM-8.10/smoke-tests.spec.js +2 -1
  3. package/package.json +8 -3
  4. package/playwright.config.ts +382 -0
  5. package/resources/Basic_Auth_REST_Connector.bpmn +62 -0
  6. package/resources/Camunda_Simple_User_Task_1.bpmn +41 -0
  7. package/resources/Camunda_Simple_User_Task_2.bpmn +41 -0
  8. package/resources/Camunda_Simple_User_Task_3.bpmn +41 -0
  9. package/resources/Camunda_Simple_User_Task_4.bpmn +41 -0
  10. package/resources/Camunda_Simple_User_Task_5.bpmn +41 -0
  11. package/resources/Candidate_User_Process_Three_Tasks.bpmn +116 -0
  12. package/resources/Candidate_User_Process_Two_Tasks.bpmn +91 -0
  13. package/resources/Conditional_Events_All.bpmn +111 -0
  14. package/resources/Connectors Document Handling.bpmn +298 -0
  15. package/resources/ConnectorsBasicTest.bpmn +2292 -0
  16. package/resources/Intermediate_Event_Webhook_Connector_No_Auth_Process.bpmn +60 -0
  17. package/resources/Job_Worker_Process.bpmn +38 -0
  18. package/resources/New Form.form +24 -0
  19. package/resources/REST_Connector_Bearer_Auth_Process.bpmn +53 -0
  20. package/resources/REST_Connector_No_Auth_Process.bpmn +52 -0
  21. package/resources/Rest Connector Timer Event.bpmn +227 -0
  22. package/resources/SM_Document_Handling_Connectors_User_Flow.bpmn +297 -0
  23. package/resources/Start_Event_Webhook_Connector_No_Auth_Process.bpmn +43 -0
  24. package/resources/Start_Form_Process.bpmn +29 -0
  25. package/resources/User_Task_Editing_Variables.bpmn +41 -0
  26. package/resources/User_Task_Process_With_Form.bpmn +41 -0
  27. package/resources/User_Task_Process_With_Form_2.bpmn +41 -0
  28. package/resources/User_Task_Process_With_Form_3.bpmn +42 -0
  29. package/resources/User_Task_Process_With_Form_API.bpmn +41 -0
  30. package/resources/Variable_Process.bpmn +38 -0
  31. package/resources/Zeebe_User_Task.bpmn +41 -0
  32. package/resources/Zeebe_User_Task_Process_With_Priority.bpmn +145 -0
  33. package/resources/agentic_ai/ai-agent-chat-user-feedback.form +87 -0
  34. package/resources/agentic_ai/ai-agent-chat-with-tools_aws.bpmn +443 -0
  35. package/resources/agentic_ai/ai-agent-chat-with-tools_azure.bpmn +441 -0
  36. package/resources/agentic_ai/ai-agent-chat-with-tools_open_ai.bpmn +438 -0
  37. package/resources/agentic_ai/ai-agent-subprocess-with-tools_aws_key.bpmn +115 -0
  38. package/resources/camunda.png +0 -0
  39. package/resources/cluster_variables/cluster_variable_global_scope.bpmn +59 -0
  40. package/resources/cluster_variables/cluster_variable_json_form.form +49 -0
  41. package/resources/cluster_variables/cluster_variable_json_mutable.bpmn +33 -0
  42. package/resources/cluster_variables/cluster_variable_json_readonly.bpmn +59 -0
  43. package/resources/cluster_variables/cluster_variable_string_form.form +31 -0
  44. package/resources/cluster_variables/cluster_variable_string_mutable.bpmn +31 -0
  45. package/resources/cluster_variables/cluster_variable_string_readonly.bpmn +57 -0
  46. package/resources/cluster_variables/preview_cluster_variables.form +49 -0
  47. package/resources/connectors/aws/bedrock-knowledge-base.bpmn +72 -0
  48. package/resources/connectors/db_vector_connector/db-vector-plain-text_azure_open_ai.bpmn +183 -0
  49. package/resources/connectors/db_vector_connector/db-vector-plain-text_open_ai.bpmn +178 -0
  50. package/resources/connectors/db_vector_connector/db-vector-plain-text_openai_amazon_opensearch.bpmn +189 -0
  51. package/resources/connectors/db_vector_connector/db-vector-retrieve-data.form +34 -0
  52. package/resources/idp/idp_sample_bank_statement.pdf +0 -0
  53. package/resources/idp/structured_invoice_1.pdf +74 -0
  54. package/resources/idp/structured_invoice_2.pdf +74 -0
  55. package/resources/idp/structured_invoice_3.pdf +74 -0
  56. package/resources/idp/structured_invoice_test.pdf +74 -0
  57. package/resources/mcp_server/keycloak/camunda-platform-realm.json +45 -0
  58. package/resources/mcp_server/mcp_remote_client_basic_auth.bpmn +69 -0
  59. package/resources/mcp_server/mcp_remote_client_bearer_auth.bpmn +68 -0
  60. package/resources/mcp_server/mcp_remote_client_oauth_auth.bpmn +76 -0
  61. package/resources/mcp_server/mcp_remote_client_operations.bpmn +373 -0
  62. package/resources/mcp_server/mcp_server_list_tools.bpmn +69 -0
  63. package/resources/mcp_server_saas/mcp_cluster_tools.bpmn +168 -0
  64. package/resources/mcp_server_saas/mcp_incident_test_file.bpmn +54 -0
  65. package/resources/mcp_server_saas/mcp_incident_tools.bpmn +240 -0
  66. package/resources/mcp_server_saas/mcp_process_definition_test_file.bpmn +51 -0
  67. package/resources/mcp_server_saas/mcp_process_definition_tools.bpmn +234 -0
  68. package/resources/mcp_server_saas/mcp_process_instance_test_file.bpmn +51 -0
  69. package/resources/mcp_server_saas/mcp_process_instance_tools.bpmn +232 -0
  70. package/resources/mcp_server_saas/mcp_user_task_test_file.bpmn +55 -0
  71. package/resources/mcp_server_saas/mcp_user_task_tools.bpmn +309 -0
  72. package/resources/mcp_server_saas/mcp_variable_test_file.bpmn +35 -0
  73. package/resources/mcp_server_saas/mcp_variable_tools.bpmn +170 -0
  74. package/resources/simple_pdf.pdf +0 -0
  75. package/resources/simple_text.txt +1 -0
  76. package/resources/test-api-v2-complete.sh +12162 -0
@@ -0,0 +1,234 @@
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_ClusterStatus"
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_process_definition_tools" name="MCP Process Definition 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="searchProcessDefinitions" name="searchProcessDefinitions"
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="searchProcessDefinitions"
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="mcpResultSearchProcessDefinitions" />
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="searchProcessDefinitions"
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:incoming>Flow_0lzmh5m</bpmn:incoming>
66
+ <bpmn:outgoing>Flow_0jqbea8</bpmn:outgoing>
67
+ </bpmn:parallelGateway>
68
+ <bpmn:parallelGateway id="Gateway_1axprup">
69
+ <bpmn:incoming>Flow_1nrepge</bpmn:incoming>
70
+ <bpmn:outgoing>Flow_0l0tehi</bpmn:outgoing>
71
+ <bpmn:outgoing>Flow_066dp5w</bpmn:outgoing>
72
+ <bpmn:outgoing>Flow_0kgfpue</bpmn:outgoing>
73
+ </bpmn:parallelGateway>
74
+ <bpmn:sequenceFlow id="Flow_0l0tehi" sourceRef="Gateway_1axprup"
75
+ targetRef="searchProcessDefinitions" />
76
+ <bpmn:serviceTask id="Activity_07ot1fg" name="getProcessDefinitionXml"
77
+ zeebe:modelerTemplate="io.camunda.connectors.agenticai.mcp.remoteclient.v0"
78
+ zeebe:modelerTemplateVersion="2"
79
+ zeebe:modelerTemplateIcon="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIiBmaWxsPSJub25lIiB2aWV3Qm94PSIwIDAgMjAwIDIwMCI+CiAgICA8cGF0aCBkPSJNMjUgOTcuODUyOEw5Mi44ODIzIDI5Ljk3MDZDMTAyLjI1NSAyMC41OTggMTE3LjQ1MSAyMC41OTggMTI2LjgyMyAyOS45NzA2VjI5Ljk3MDZDMTM2LjE5NiAzOS4zNDMxIDEzNi4xOTYgNTQuNTM5MSAxMjYuODIzIDYzLjkxMTdMNzUuNTU4MSAxMTUuMTc3IiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjEyIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4KICAgIDxwYXRoIGQ9Ik03Ni4yNjUzIDExNC40N0wxMjYuODIzIDYzLjkxMTdDMTM2LjE5NiA1NC41MzkxIDE1MS4zOTIgNTQuNTM5MSAxNjAuNzY1IDYzLjkxMTdMMTYxLjExOCA2NC4yNjUyQzE3MC40OTEgNzMuNjM3OCAxNzAuNDkxIDg4LjgzMzggMTYxLjExOCA5OC4yMDYzTDk5LjcyNDggMTU5LjZDOTYuNjAwNiAxNjIuNzI0IDk2LjYwMDYgMTY3Ljc4OSA5OS43MjQ4IDE3MC45MTNMMTEyLjMzMSAxODMuNTIiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMTIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgogICAgPHBhdGggZD0iTTEwOS44NTMgNDYuOTQxMUw1OS42NDgyIDk3LjE0NTdDNTAuMjc1NyAxMDYuNTE4IDUwLjI3NTcgMTIxLjcxNCA1OS42NDgyIDEzMS4wODdWMTMxLjA4N0M2OS4wMjA4IDE0MC40NTkgODQuMjE2OCAxNDAuNDU5IDkzLjU4OTQgMTMxLjA4N0wxNDMuNzk0IDgwLjg4MjIiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMTIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K">
80
+ <bpmn:extensionElements>
81
+ <zeebe:taskDefinition type="io.camunda.agenticai:mcpremoteclient:1" retries="3" />
82
+ <zeebe:ioMapping>
83
+ <zeebe:input source="http" target="data.transport.type" />
84
+ <zeebe:input source="{{secrets.MCP_BASE_URL}}/mcp/cluster"
85
+ target="data.transport.http.url" />
86
+ <zeebe:input source="oauth-client-credentials-flow"
87
+ target="data.transport.http.authentication.type" />
88
+ <zeebe:input source="{{secrets.MCP_OAUTH_URL}}"
89
+ target="data.transport.http.authentication.oauthTokenEndpoint" />
90
+ <zeebe:input source="{{secrets.MCP_CLIENT_ID}}"
91
+ target="data.transport.http.authentication.clientId" />
92
+ <zeebe:input source="{{secrets.MCP_CLIENT_SECRET}}"
93
+ target="data.transport.http.authentication.clientSecret" />
94
+ <zeebe:input source="{{secrets.MCP_TOKEN_AUDIENCE}}"
95
+ target="data.transport.http.authentication.audience" />
96
+ <zeebe:input source="CREDENTIALS_BODY"
97
+ target="data.transport.http.authentication.clientAuthentication" />
98
+ <zeebe:input source="=true" target="data.options.clientCache" />
99
+ <zeebe:input source="standalone" target="data.connectorMode.type" />
100
+ <zeebe:input source="tools/call" target="data.connectorMode.operation.type" />
101
+ <zeebe:input source="getProcessDefinitionXml"
102
+ target="data.connectorMode.operation.toolName" />
103
+ <zeebe:input
104
+ source="={&#34;processDefinitionKey&#34;:string(testFileProcessKey)}"
105
+ target="data.connectorMode.operation.toolArguments" />
106
+ </zeebe:ioMapping>
107
+ <zeebe:taskHeaders>
108
+ <zeebe:header key="elementTemplateVersion" value="2" />
109
+ <zeebe:header key="elementTemplateId"
110
+ value="io.camunda.connectors.agenticai.mcp.remoteclient.v0" />
111
+ <zeebe:header key="resultVariable" value="mcpResultGetProcessDefinitionXml" />
112
+ <zeebe:header key="retryBackoff" value="PT0S" />
113
+ </zeebe:taskHeaders>
114
+ </bpmn:extensionElements>
115
+ <bpmn:incoming>Flow_066dp5w</bpmn:incoming>
116
+ <bpmn:outgoing>Flow_1x7w6kt</bpmn:outgoing>
117
+ </bpmn:serviceTask>
118
+ <bpmn:sequenceFlow id="Flow_066dp5w" sourceRef="Gateway_1axprup"
119
+ targetRef="Activity_07ot1fg" />
120
+ <bpmn:sequenceFlow id="Flow_1x7w6kt" sourceRef="Activity_07ot1fg"
121
+ targetRef="Gateway_1t2m7hj" />
122
+ <bpmn:sequenceFlow id="Flow_0jqbea8" sourceRef="Gateway_1t2m7hj" targetRef="EndEvent_1" />
123
+ <bpmn:sequenceFlow id="Flow_0kgfpue" sourceRef="Gateway_1axprup"
124
+ targetRef="getProcessDefinition" />
125
+ <bpmn:serviceTask id="getProcessDefinition" name="getProcessDefinition"
126
+ zeebe:modelerTemplate="io.camunda.connectors.agenticai.mcp.remoteclient.v0"
127
+ zeebe:modelerTemplateVersion="2"
128
+ zeebe:modelerTemplateIcon="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIiBmaWxsPSJub25lIiB2aWV3Qm94PSIwIDAgMjAwIDIwMCI+CiAgICA8cGF0aCBkPSJNMjUgOTcuODUyOEw5Mi44ODIzIDI5Ljk3MDZDMTAyLjI1NSAyMC41OTggMTE3LjQ1MSAyMC41OTggMTI2LjgyMyAyOS45NzA2VjI5Ljk3MDZDMTM2LjE5NiAzOS4zNDMxIDEzNi4xOTYgNTQuNTM5MSAxMjYuODIzIDYzLjkxMTdMNzUuNTU4MSAxMTUuMTc3IiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjEyIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4KICAgIDxwYXRoIGQ9Ik03Ni4yNjUzIDExNC40N0wxMjYuODIzIDYzLjkxMTdDMTM2LjE5NiA1NC41MzkxIDE1MS4zOTIgNTQuNTM5MSAxNjAuNzY1IDYzLjkxMTdMMTYxLjExOCA2NC4yNjUyQzE3MC40OTEgNzMuNjM3OCAxNzAuNDkxIDg4LjgzMzggMTYxLjExOCA5OC4yMDYzTDk5LjcyNDggMTU5LjZDOTYuNjAwNiAxNjIuNzI0IDk2LjYwMDYgMTY3Ljc4OSA5OS43MjQ4IDE3MC45MTNMMTEyLjMzMSAxODMuNTIiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMTIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgogICAgPHBhdGggZD0iTTEwOS44NTMgNDYuOTQxMUw1OS42NDgyIDk3LjE0NTdDNTAuMjc1NyAxMDYuNTE4IDUwLjI3NTcgMTIxLjcxNCA1OS42NDgyIDEzMS4wODdWMTMxLjA4N0M2OS4wMjA4IDE0MC40NTkgODQuMjE2OCAxNDAuNDU5IDkzLjU4OTQgMTMxLjA4N0wxNDMuNzk0IDgwLjg4MjIiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMTIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K">
129
+ <bpmn:extensionElements>
130
+ <zeebe:taskDefinition type="io.camunda.agenticai:mcpremoteclient:1" retries="3" />
131
+ <zeebe:ioMapping>
132
+ <zeebe:input source="http" target="data.transport.type" />
133
+ <zeebe:input source="{{secrets.MCP_BASE_URL}}/mcp/cluster"
134
+ target="data.transport.http.url" />
135
+ <zeebe:input source="oauth-client-credentials-flow"
136
+ target="data.transport.http.authentication.type" />
137
+ <zeebe:input source="{{secrets.MCP_OAUTH_URL}}"
138
+ target="data.transport.http.authentication.oauthTokenEndpoint" />
139
+ <zeebe:input source="{{secrets.MCP_CLIENT_ID}}"
140
+ target="data.transport.http.authentication.clientId" />
141
+ <zeebe:input source="{{secrets.MCP_CLIENT_SECRET}}"
142
+ target="data.transport.http.authentication.clientSecret" />
143
+ <zeebe:input source="{{secrets.MCP_TOKEN_AUDIENCE}}"
144
+ target="data.transport.http.authentication.audience" />
145
+ <zeebe:input source="CREDENTIALS_BODY"
146
+ target="data.transport.http.authentication.clientAuthentication" />
147
+ <zeebe:input source="=true" target="data.options.clientCache" />
148
+ <zeebe:input source="standalone" target="data.connectorMode.type" />
149
+ <zeebe:input source="tools/call" target="data.connectorMode.operation.type" />
150
+ <zeebe:input source="getProcessDefinition"
151
+ target="data.connectorMode.operation.toolName" />
152
+ <zeebe:input
153
+ source="={&#34;processDefinitionKey&#34;:string(testFileProcessKey)}"
154
+ target="data.connectorMode.operation.toolArguments" />
155
+ </zeebe:ioMapping>
156
+ <zeebe:taskHeaders>
157
+ <zeebe:header key="elementTemplateVersion" value="2" />
158
+ <zeebe:header key="elementTemplateId"
159
+ value="io.camunda.connectors.agenticai.mcp.remoteclient.v0" />
160
+ <zeebe:header key="resultVariable" value="mcpResultGetProcessDefinition" />
161
+ <zeebe:header key="retryBackoff" value="PT0S" />
162
+ </zeebe:taskHeaders>
163
+ </bpmn:extensionElements>
164
+ <bpmn:incoming>Flow_0kgfpue</bpmn:incoming>
165
+ <bpmn:outgoing>Flow_0lzmh5m</bpmn:outgoing>
166
+ </bpmn:serviceTask>
167
+ <bpmn:sequenceFlow id="Flow_0lzmh5m" sourceRef="getProcessDefinition"
168
+ targetRef="Gateway_1t2m7hj" />
169
+ </bpmn:process>
170
+ <bpmndi:BPMNDiagram id="BPMNDiagram_1">
171
+ <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="mcp_process_definition_tools">
172
+ <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
173
+ <dc:Bounds x="112" y="162" width="36" height="36" />
174
+ </bpmndi:BPMNShape>
175
+ <bpmndi:BPMNShape id="EndEvent_1_di" bpmnElement="EndEvent_1">
176
+ <dc:Bounds x="512" y="162" width="36" height="36" />
177
+ </bpmndi:BPMNShape>
178
+ <bpmndi:BPMNShape id="CallClusterStatus_di" bpmnElement="searchProcessDefinitions">
179
+ <dc:Bounds x="270" y="0" width="100" height="80" />
180
+ <bpmndi:BPMNLabel />
181
+ </bpmndi:BPMNShape>
182
+ <bpmndi:BPMNShape id="Gateway_0zao8hh_di" bpmnElement="Gateway_1t2m7hj">
183
+ <dc:Bounds x="405" y="155" width="50" height="50" />
184
+ </bpmndi:BPMNShape>
185
+ <bpmndi:BPMNShape id="Gateway_0hi8l2e_di" bpmnElement="Gateway_1axprup">
186
+ <dc:Bounds x="185" y="155" width="50" height="50" />
187
+ </bpmndi:BPMNShape>
188
+ <bpmndi:BPMNShape id="BPMNShape_0igquhd" bpmnElement="Activity_07ot1fg">
189
+ <dc:Bounds x="270" y="280" width="100" height="80" />
190
+ <bpmndi:BPMNLabel />
191
+ </bpmndi:BPMNShape>
192
+ <bpmndi:BPMNShape id="BPMNShape_07gxsv7" bpmnElement="getProcessDefinition">
193
+ <dc:Bounds x="260" y="140" width="100" height="80" />
194
+ <bpmndi:BPMNLabel />
195
+ </bpmndi:BPMNShape>
196
+ <bpmndi:BPMNEdge id="Flow_1nrepge_di" bpmnElement="Flow_1nrepge">
197
+ <di:waypoint x="148" y="180" />
198
+ <di:waypoint x="185" y="180" />
199
+ </bpmndi:BPMNEdge>
200
+ <bpmndi:BPMNEdge id="Flow_101za4d_di" bpmnElement="Flow_101za4d">
201
+ <di:waypoint x="370" y="40" />
202
+ <di:waypoint x="430" y="40" />
203
+ <di:waypoint x="430" y="155" />
204
+ </bpmndi:BPMNEdge>
205
+ <bpmndi:BPMNEdge id="Flow_0l0tehi_di" bpmnElement="Flow_0l0tehi">
206
+ <di:waypoint x="210" y="155" />
207
+ <di:waypoint x="210" y="40" />
208
+ <di:waypoint x="270" y="40" />
209
+ </bpmndi:BPMNEdge>
210
+ <bpmndi:BPMNEdge id="Flow_066dp5w_di" bpmnElement="Flow_066dp5w">
211
+ <di:waypoint x="210" y="205" />
212
+ <di:waypoint x="210" y="320" />
213
+ <di:waypoint x="270" y="320" />
214
+ </bpmndi:BPMNEdge>
215
+ <bpmndi:BPMNEdge id="Flow_1x7w6kt_di" bpmnElement="Flow_1x7w6kt">
216
+ <di:waypoint x="370" y="320" />
217
+ <di:waypoint x="430" y="320" />
218
+ <di:waypoint x="430" y="205" />
219
+ </bpmndi:BPMNEdge>
220
+ <bpmndi:BPMNEdge id="Flow_0jqbea8_di" bpmnElement="Flow_0jqbea8">
221
+ <di:waypoint x="455" y="180" />
222
+ <di:waypoint x="512" y="180" />
223
+ </bpmndi:BPMNEdge>
224
+ <bpmndi:BPMNEdge id="Flow_0kgfpue_di" bpmnElement="Flow_0kgfpue">
225
+ <di:waypoint x="235" y="180" />
226
+ <di:waypoint x="260" y="180" />
227
+ </bpmndi:BPMNEdge>
228
+ <bpmndi:BPMNEdge id="Flow_0lzmh5m_di" bpmnElement="Flow_0lzmh5m">
229
+ <di:waypoint x="360" y="180" />
230
+ <di:waypoint x="405" y="180" />
231
+ </bpmndi:BPMNEdge>
232
+ </bpmndi:BPMNPlane>
233
+ </bpmndi:BPMNDiagram>
234
+ </bpmn:definitions>
@@ -0,0 +1,51 @@
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:modeler="http://camunda.org/schema/modeler/1.0"
7
+ xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1"
8
+ targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Web Modeler"
9
+ exporterVersion="ac7a54a" modeler:executionPlatform="Camunda Cloud"
10
+ modeler:executionPlatformVersion="8.9.0">
11
+ <bpmn:process id="mcp_process_instance_test_file" name="mcp_process_instance_test_file"
12
+ isExecutable="true">
13
+ <bpmn:startEvent id="StartEvent_1">
14
+ <bpmn:outgoing>Flow_1yg9m0h</bpmn:outgoing>
15
+ </bpmn:startEvent>
16
+ <bpmn:sequenceFlow id="Flow_1yg9m0h" sourceRef="StartEvent_1" targetRef="script_task" />
17
+ <bpmn:sequenceFlow id="Flow_0zyt9z3" sourceRef="script_task" targetRef="Event_0oi7lal" />
18
+ <bpmn:endEvent id="Event_0oi7lal">
19
+ <bpmn:incoming>Flow_0zyt9z3</bpmn:incoming>
20
+ </bpmn:endEvent>
21
+ <bpmn:scriptTask id="script_task" name="script_task">
22
+ <bpmn:extensionElements>
23
+ <zeebe:script expression="=&#34;Process Instance Test&#34;" resultVariable="testResult" />
24
+ </bpmn:extensionElements>
25
+ <bpmn:incoming>Flow_1yg9m0h</bpmn:incoming>
26
+ <bpmn:outgoing>Flow_0zyt9z3</bpmn:outgoing>
27
+ </bpmn:scriptTask>
28
+ </bpmn:process>
29
+ <bpmndi:BPMNDiagram id="BPMNDiagram_1">
30
+ <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="mcp_process_instance_test_file">
31
+ <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
32
+ <dc:Bounds x="332" y="252" width="36" height="36" />
33
+ </bpmndi:BPMNShape>
34
+ <bpmndi:BPMNShape id="Event_0oi7lal_di" bpmnElement="Event_0oi7lal">
35
+ <dc:Bounds x="582" y="252" width="36" height="36" />
36
+ </bpmndi:BPMNShape>
37
+ <bpmndi:BPMNShape id="Activity_1ilca65_di" bpmnElement="script_task">
38
+ <dc:Bounds x="420" y="230" width="100" height="80" />
39
+ <bpmndi:BPMNLabel />
40
+ </bpmndi:BPMNShape>
41
+ <bpmndi:BPMNEdge id="Flow_1yg9m0h_di" bpmnElement="Flow_1yg9m0h">
42
+ <di:waypoint x="368" y="270" />
43
+ <di:waypoint x="420" y="270" />
44
+ </bpmndi:BPMNEdge>
45
+ <bpmndi:BPMNEdge id="Flow_0zyt9z3_di" bpmnElement="Flow_0zyt9z3">
46
+ <di:waypoint x="520" y="270" />
47
+ <di:waypoint x="582" y="270" />
48
+ </bpmndi:BPMNEdge>
49
+ </bpmndi:BPMNPlane>
50
+ </bpmndi:BPMNDiagram>
51
+ </bpmn:definitions>
@@ -0,0 +1,232 @@
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_ProcessInstance"
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_process_instance_tools" name="MCP Process Instance 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="searchProcessInstances" name="searchProcessInstances"
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="searchProcessInstances"
45
+ target="data.connectorMode.operation.toolName" />
46
+ <zeebe:input
47
+ source="={&#34;filter&#34;:{&#34;processDefinitionKey&#34;:string(testFileProcessKey)}}"
48
+ target="data.connectorMode.operation.toolArguments" />
49
+ </zeebe:ioMapping>
50
+ <zeebe:taskHeaders>
51
+ <zeebe:header key="elementTemplateVersion" value="2" />
52
+ <zeebe:header key="elementTemplateId"
53
+ value="io.camunda.connectors.agenticai.mcp.remoteclient.v0" />
54
+ <zeebe:header key="resultVariable" value="mcpResultSearchProcessInstances" />
55
+ <zeebe:header key="retryBackoff" value="PT0S" />
56
+ </zeebe:taskHeaders>
57
+ </bpmn:extensionElements>
58
+ <bpmn:incoming>Flow_0l0tehi</bpmn:incoming>
59
+ <bpmn:outgoing>Flow_101za4d</bpmn:outgoing>
60
+ </bpmn:serviceTask>
61
+ <bpmn:sequenceFlow id="Flow_1nrepge" sourceRef="StartEvent_1" targetRef="Gateway_1axprup" />
62
+ <bpmn:sequenceFlow id="Flow_101za4d" sourceRef="searchProcessInstances"
63
+ targetRef="Gateway_1t2m7hj" />
64
+ <bpmn:parallelGateway id="Gateway_1t2m7hj">
65
+ <bpmn:incoming>Flow_101za4d</bpmn:incoming>
66
+ <bpmn:incoming>Flow_1x7w6kt</bpmn:incoming>
67
+ <bpmn:incoming>Flow_0lzmh5m</bpmn:incoming>
68
+ <bpmn:outgoing>Flow_0jqbea8</bpmn:outgoing>
69
+ </bpmn:parallelGateway>
70
+ <bpmn:parallelGateway id="Gateway_1axprup">
71
+ <bpmn:incoming>Flow_1nrepge</bpmn:incoming>
72
+ <bpmn:outgoing>Flow_0l0tehi</bpmn:outgoing>
73
+ <bpmn:outgoing>Flow_066dp5w</bpmn:outgoing>
74
+ <bpmn:outgoing>Flow_0kgfpue</bpmn:outgoing>
75
+ </bpmn:parallelGateway>
76
+ <bpmn:sequenceFlow id="Flow_0l0tehi" sourceRef="Gateway_1axprup"
77
+ targetRef="searchProcessInstances" />
78
+ <bpmn:serviceTask id="getProcessInstance" name="getProcessInstance"
79
+ zeebe:modelerTemplate="io.camunda.connectors.agenticai.mcp.remoteclient.v0"
80
+ zeebe:modelerTemplateVersion="2"
81
+ zeebe:modelerTemplateIcon="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIiBmaWxsPSJub25lIiB2aWV3Qm94PSIwIDAgMjAwIDIwMCI+CiAgICA8cGF0aCBkPSJNMjUgOTcuODUyOEw5Mi44ODIzIDI5Ljk3MDZDMTAyLjI1NSAyMC41OTggMTE3LjQ1MSAyMC41OTggMTI2LjgyMyAyOS45NzA2VjI5Ljk3MDZDMTM2LjE5NiAzOS4zNDMxIDEzNi4xOTYgNTQuNTM5MSAxMjYuODIzIDYzLjkxMTdMNzUuNTU4MSAxMTUuMTc3IiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjEyIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4KICAgIDxwYXRoIGQ9Ik03Ni4yNjUzIDExNC40N0wxMjYuODIzIDYzLjkxMTdDMTM2LjE5NiA1NC41MzkxIDE1MS4zOTIgNTQuNTM5MSAxNjAuNzY1IDYzLjkxMTdMMTYxLjExOCA2NC4yNjUyQzE3MC40OTEgNzMuNjM3OCAxNzAuNDkxIDg4LjgzMzggMTYxLjExOCA5OC4yMDYzTDk5LjcyNDggMTU5LjZDOTYuNjAwNiAxNjIuNzI0IDk2LjYwMDYgMTY3Ljc4OSA5OS43MjQ4IDE3MC45MTNMMTEyLjMzMSAxODMuNTIiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMTIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgogICAgPHBhdGggZD0iTTEwOS44NTMgNDYuOTQxMUw1OS42NDgyIDk3LjE0NTdDNTAuMjc1NyAxMDYuNTE4IDUwLjI3NTcgMTIxLjcxNCA1OS42NDgyIDEzMS4wODdWMTMxLjA4N0M2OS4wMjA4IDE0MC40NTkgODQuMjE2OCAxNDAuNDU5IDkzLjU4OTQgMTMxLjA4N0wxNDMuNzk0IDgwLjg4MjIiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMTIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K">
82
+ <bpmn:extensionElements>
83
+ <zeebe:taskDefinition type="io.camunda.agenticai:mcpremoteclient:1" retries="3" />
84
+ <zeebe:ioMapping>
85
+ <zeebe:input source="http" target="data.transport.type" />
86
+ <zeebe:input source="{{secrets.MCP_BASE_URL}}/mcp/cluster"
87
+ target="data.transport.http.url" />
88
+ <zeebe:input source="oauth-client-credentials-flow"
89
+ target="data.transport.http.authentication.type" />
90
+ <zeebe:input source="{{secrets.MCP_OAUTH_URL}}"
91
+ target="data.transport.http.authentication.oauthTokenEndpoint" />
92
+ <zeebe:input source="{{secrets.MCP_CLIENT_ID}}"
93
+ target="data.transport.http.authentication.clientId" />
94
+ <zeebe:input source="{{secrets.MCP_CLIENT_SECRET}}"
95
+ target="data.transport.http.authentication.clientSecret" />
96
+ <zeebe:input source="{{secrets.MCP_TOKEN_AUDIENCE}}"
97
+ target="data.transport.http.authentication.audience" />
98
+ <zeebe:input source="CREDENTIALS_BODY"
99
+ target="data.transport.http.authentication.clientAuthentication" />
100
+ <zeebe:input source="=true" target="data.options.clientCache" />
101
+ <zeebe:input source="standalone" target="data.connectorMode.type" />
102
+ <zeebe:input source="tools/call" target="data.connectorMode.operation.type" />
103
+ <zeebe:input source="getProcessInstance"
104
+ target="data.connectorMode.operation.toolName" />
105
+ <zeebe:input source="={&#34;processInstanceKey&#34;:string(testInstanceKey)}"
106
+ target="data.connectorMode.operation.toolArguments" />
107
+ </zeebe:ioMapping>
108
+ <zeebe:taskHeaders>
109
+ <zeebe:header key="elementTemplateVersion" value="2" />
110
+ <zeebe:header key="elementTemplateId"
111
+ value="io.camunda.connectors.agenticai.mcp.remoteclient.v0" />
112
+ <zeebe:header key="resultVariable" value="mcpResultGetProcessInstance" />
113
+ <zeebe:header key="retryBackoff" value="PT0S" />
114
+ </zeebe:taskHeaders>
115
+ </bpmn:extensionElements>
116
+ <bpmn:incoming>Flow_066dp5w</bpmn:incoming>
117
+ <bpmn:outgoing>Flow_1x7w6kt</bpmn:outgoing>
118
+ </bpmn:serviceTask>
119
+ <bpmn:sequenceFlow id="Flow_066dp5w" sourceRef="Gateway_1axprup"
120
+ targetRef="getProcessInstance" />
121
+ <bpmn:sequenceFlow id="Flow_1x7w6kt" sourceRef="getProcessInstance"
122
+ targetRef="Gateway_1t2m7hj" />
123
+ <bpmn:sequenceFlow id="Flow_0jqbea8" sourceRef="Gateway_1t2m7hj" targetRef="EndEvent_1" />
124
+ <bpmn:sequenceFlow id="Flow_0kgfpue" sourceRef="Gateway_1axprup"
125
+ targetRef="createProcessInstance" />
126
+ <bpmn:serviceTask id="createProcessInstance" name="createProcessInstance"
127
+ zeebe:modelerTemplate="io.camunda.connectors.agenticai.mcp.remoteclient.v0"
128
+ zeebe:modelerTemplateVersion="2"
129
+ zeebe:modelerTemplateIcon="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIiBmaWxsPSJub25lIiB2aWV3Qm94PSIwIDAgMjAwIDIwMCI+CiAgICA8cGF0aCBkPSJNMjUgOTcuODUyOEw5Mi44ODIzIDI5Ljk3MDZDMTAyLjI1NSAyMC41OTggMTE3LjQ1MSAyMC41OTggMTI2LjgyMyAyOS45NzA2VjI5Ljk3MDZDMTM2LjE5NiAzOS4zNDMxIDEzNi4xOTYgNTQuNTM5MSAxMjYuODIzIDYzLjkxMTdMNzUuNTU4MSAxMTUuMTc3IiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjEyIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4KICAgIDxwYXRoIGQ9Ik03Ni4yNjUzIDExNC40N0wxMjYuODIzIDYzLjkxMTdDMTM2LjE5NiA1NC41MzkxIDE1MS4zOTIgNTQuNTM5MSAxNjAuNzY1IDYzLjkxMTdMMTYxLjExOCA2NC4yNjUyQzE3MC40OTEgNzMuNjM3OCAxNzAuNDkxIDg4LjgzMzggMTYxLjExOCA5OC4yMDYzTDk5LjcyNDggMTU5LjZDOTYuNjAwNiAxNjIuNzI0IDk2LjYwMDYgMTY3Ljc4OSA5OS43MjQ4IDE3MC45MTNMMTEyLjMzMSAxODMuNTIiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMTIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgogICAgPHBhdGggZD0iTTEwOS44NTMgNDYuOTQxMUw1OS42NDgyIDk3LjE0NTdDNTAuMjc1NyAxMDYuNTE4IDUwLjI3NTcgMTIxLjcxNCA1OS42NDgyIDEzMS4wODdWMTMxLjA4N0M2OS4wMjA4IDE0MC40NTkgODQuMjE2OCAxNDAuNDU5IDkzLjU4OTQgMTMxLjA4N0wxNDMuNzk0IDgwLjg4MjIiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMTIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K">
130
+ <bpmn:extensionElements>
131
+ <zeebe:taskDefinition type="io.camunda.agenticai:mcpremoteclient:1" retries="3" />
132
+ <zeebe:ioMapping>
133
+ <zeebe:input source="http" target="data.transport.type" />
134
+ <zeebe:input source="{{secrets.MCP_BASE_URL}}/mcp/cluster"
135
+ target="data.transport.http.url" />
136
+ <zeebe:input source="oauth-client-credentials-flow"
137
+ target="data.transport.http.authentication.type" />
138
+ <zeebe:input source="{{secrets.MCP_OAUTH_URL}}"
139
+ target="data.transport.http.authentication.oauthTokenEndpoint" />
140
+ <zeebe:input source="{{secrets.MCP_CLIENT_ID}}"
141
+ target="data.transport.http.authentication.clientId" />
142
+ <zeebe:input source="{{secrets.MCP_CLIENT_SECRET}}"
143
+ target="data.transport.http.authentication.clientSecret" />
144
+ <zeebe:input source="{{secrets.MCP_TOKEN_AUDIENCE}}"
145
+ target="data.transport.http.authentication.audience" />
146
+ <zeebe:input source="CREDENTIALS_BODY"
147
+ target="data.transport.http.authentication.clientAuthentication" />
148
+ <zeebe:input source="=true" target="data.options.clientCache" />
149
+ <zeebe:input source="standalone" target="data.connectorMode.type" />
150
+ <zeebe:input source="tools/call" target="data.connectorMode.operation.type" />
151
+ <zeebe:input source="createProcessInstance"
152
+ target="data.connectorMode.operation.toolName" />
153
+ <zeebe:input
154
+ source="={&#34;processDefinitionKey&#34;:string(testFileProcessKey),&#34;variables&#34;:{&#34;createdBy&#34;:&#34;MCP&#34;}}"
155
+ target="data.connectorMode.operation.toolArguments" />
156
+ </zeebe:ioMapping>
157
+ <zeebe:taskHeaders>
158
+ <zeebe:header key="elementTemplateVersion" value="2" />
159
+ <zeebe:header key="elementTemplateId"
160
+ value="io.camunda.connectors.agenticai.mcp.remoteclient.v0" />
161
+ <zeebe:header key="resultVariable" value="mcpResultCreateProcessInstance" />
162
+ <zeebe:header key="retryBackoff" value="PT0S" />
163
+ </zeebe:taskHeaders>
164
+ </bpmn:extensionElements>
165
+ <bpmn:incoming>Flow_0kgfpue</bpmn:incoming>
166
+ <bpmn:outgoing>Flow_0lzmh5m</bpmn:outgoing>
167
+ </bpmn:serviceTask>
168
+ <bpmn:sequenceFlow id="Flow_0lzmh5m" sourceRef="createProcessInstance"
169
+ targetRef="Gateway_1t2m7hj" />
170
+ </bpmn:process>
171
+ <bpmndi:BPMNDiagram id="BPMNDiagram_1">
172
+ <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="mcp_process_instance_tools">
173
+ <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
174
+ <dc:Bounds x="152" y="252" width="36" height="36" />
175
+ </bpmndi:BPMNShape>
176
+ <bpmndi:BPMNShape id="Event_15qvlty_di" bpmnElement="EndEvent_1">
177
+ <dc:Bounds x="762" y="252" width="36" height="36" />
178
+ </bpmndi:BPMNShape>
179
+ <bpmndi:BPMNShape id="Activity_0o3flj3_di" bpmnElement="searchProcessInstances">
180
+ <dc:Bounds x="410" y="80" width="100" height="80" />
181
+ </bpmndi:BPMNShape>
182
+ <bpmndi:BPMNShape id="Gateway_073w1ri_di" bpmnElement="Gateway_1t2m7hj">
183
+ <dc:Bounds x="655" y="245" width="50" height="50" />
184
+ </bpmndi:BPMNShape>
185
+ <bpmndi:BPMNShape id="Gateway_1bnohv5_di" bpmnElement="Gateway_1axprup">
186
+ <dc:Bounds x="265" y="245" width="50" height="50" />
187
+ </bpmndi:BPMNShape>
188
+ <bpmndi:BPMNShape id="Activity_00t9uvu_di" bpmnElement="getProcessInstance">
189
+ <dc:Bounds x="410" y="230" width="100" height="80" />
190
+ </bpmndi:BPMNShape>
191
+ <bpmndi:BPMNShape id="Activity_1k4c5qk_di" bpmnElement="createProcessInstance">
192
+ <dc:Bounds x="410" y="380" width="100" height="80" />
193
+ </bpmndi:BPMNShape>
194
+ <bpmndi:BPMNEdge id="Flow_1nrepge_di" bpmnElement="Flow_1nrepge">
195
+ <di:waypoint x="188" y="270" />
196
+ <di:waypoint x="265" y="270" />
197
+ </bpmndi:BPMNEdge>
198
+ <bpmndi:BPMNEdge id="Flow_101za4d_di" bpmnElement="Flow_101za4d">
199
+ <di:waypoint x="510" y="120" />
200
+ <di:waypoint x="680" y="120" />
201
+ <di:waypoint x="680" y="245" />
202
+ </bpmndi:BPMNEdge>
203
+ <bpmndi:BPMNEdge id="Flow_0l0tehi_di" bpmnElement="Flow_0l0tehi">
204
+ <di:waypoint x="290" y="245" />
205
+ <di:waypoint x="290" y="120" />
206
+ <di:waypoint x="410" y="120" />
207
+ </bpmndi:BPMNEdge>
208
+ <bpmndi:BPMNEdge id="Flow_066dp5w_di" bpmnElement="Flow_066dp5w">
209
+ <di:waypoint x="315" y="270" />
210
+ <di:waypoint x="410" y="270" />
211
+ </bpmndi:BPMNEdge>
212
+ <bpmndi:BPMNEdge id="Flow_1x7w6kt_di" bpmnElement="Flow_1x7w6kt">
213
+ <di:waypoint x="510" y="270" />
214
+ <di:waypoint x="655" y="270" />
215
+ </bpmndi:BPMNEdge>
216
+ <bpmndi:BPMNEdge id="Flow_0jqbea8_di" bpmnElement="Flow_0jqbea8">
217
+ <di:waypoint x="705" y="270" />
218
+ <di:waypoint x="762" y="270" />
219
+ </bpmndi:BPMNEdge>
220
+ <bpmndi:BPMNEdge id="Flow_0kgfpue_di" bpmnElement="Flow_0kgfpue">
221
+ <di:waypoint x="290" y="295" />
222
+ <di:waypoint x="290" y="420" />
223
+ <di:waypoint x="410" y="420" />
224
+ </bpmndi:BPMNEdge>
225
+ <bpmndi:BPMNEdge id="Flow_0lzmh5m_di" bpmnElement="Flow_0lzmh5m">
226
+ <di:waypoint x="510" y="420" />
227
+ <di:waypoint x="680" y="420" />
228
+ <di:waypoint x="680" y="295" />
229
+ </bpmndi:BPMNEdge>
230
+ </bpmndi:BPMNPlane>
231
+ </bpmndi:BPMNDiagram>
232
+ </bpmn:definitions>
@@ -0,0 +1,55 @@
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_UserTask"
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_test_file" name="MCP User Task 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="test_user_task" />
17
+ <bpmn:userTask id="test_user_task" name="Test User Task">
18
+ <bpmn:extensionElements>
19
+ <zeebe:userTask />
20
+ <zeebe:assignmentDefinition assignee="demo" candidateUsers="testUser,mcpUser" />
21
+ <zeebe:ioMapping>
22
+ <zeebe:output source="=&#34;User Task Test&#34;" target="taskResult" />
23
+ </zeebe:ioMapping>
24
+ </bpmn:extensionElements>
25
+ <bpmn:incoming>Flow_1</bpmn:incoming>
26
+ <bpmn:outgoing>Flow_2</bpmn:outgoing>
27
+ </bpmn:userTask>
28
+ <bpmn:sequenceFlow id="Flow_2" sourceRef="test_user_task" targetRef="EndEvent_1" />
29
+ <bpmn:endEvent id="EndEvent_1">
30
+ <bpmn:incoming>Flow_2</bpmn:incoming>
31
+ </bpmn:endEvent>
32
+ </bpmn:process>
33
+ <bpmndi:BPMNDiagram id="BPMNDiagram_1">
34
+ <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="mcp_user_task_test_file">
35
+ <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
36
+ <dc:Bounds x="152" y="102" width="36" height="36" />
37
+ </bpmndi:BPMNShape>
38
+ <bpmndi:BPMNShape id="Activity_UserTask_di" bpmnElement="test_user_task">
39
+ <dc:Bounds x="240" y="80" width="100" height="80" />
40
+ <bpmndi:BPMNLabel />
41
+ </bpmndi:BPMNShape>
42
+ <bpmndi:BPMNShape id="EndEvent_1_di" bpmnElement="EndEvent_1">
43
+ <dc:Bounds x="392" y="102" width="36" height="36" />
44
+ </bpmndi:BPMNShape>
45
+ <bpmndi:BPMNEdge id="Flow_1_di" bpmnElement="Flow_1">
46
+ <di:waypoint x="188" y="120" />
47
+ <di:waypoint x="240" y="120" />
48
+ </bpmndi:BPMNEdge>
49
+ <bpmndi:BPMNEdge id="Flow_2_di" bpmnElement="Flow_2">
50
+ <di:waypoint x="340" y="120" />
51
+ <di:waypoint x="392" y="120" />
52
+ </bpmndi:BPMNEdge>
53
+ </bpmndi:BPMNPlane>
54
+ </bpmndi:BPMNDiagram>
55
+ </bpmn:definitions>