@camunda/e2e-test-suite 0.0.452 → 0.0.454

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.8/migration-path-user-flows.spec.js +3 -3
  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,298 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:bioc="http://bpmn.io/schema/bpmn/biocolor/1.0" xmlns:color="http://www.omg.org/spec/BPMN/non-normative/color/1.0" xmlns:zeebe="http://camunda.org/schema/zeebe/1.0" xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Web Modeler" exporterVersion="7bdbbe4" modeler:executionPlatform="Camunda Cloud" modeler:executionPlatformVersion="8.7.0">
3
+ <bpmn:process id="Process_untaeah" name="TestDocHandling" isExecutable="true">
4
+ <bpmn:serviceTask id="Activity_0k0vloc" name="Ask Zeebe if doc can be found" zeebe:modelerTemplate="io.camunda.connectors.HttpJson.v2" zeebe:modelerTemplateVersion="12" zeebe:modelerTemplateIcon="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE3LjAzMzUgOC45OTk5N0MxNy4wMzM1IDEzLjQ0NzUgMTMuNDI4MSAxNy4wNTI5IDguOTgwNjUgMTcuMDUyOUM0LjUzMzE2IDE3LjA1MjkgMC45Mjc3NjUgMTMuNDQ3NSAwLjkyNzc2NSA4Ljk5OTk3QzAuOTI3NzY1IDQuNTUyNDggNC41MzMxNiAwLjk0NzA4MyA4Ljk4MDY1IDAuOTQ3MDgzQzEzLjQyODEgMC45NDcwODMgMTcuMDMzNSA0LjU1MjQ4IDE3LjAzMzUgOC45OTk5N1oiIGZpbGw9IiM1MDU1NjIiLz4KPHBhdGggZD0iTTQuOTMxMjYgMTQuMTU3MUw2Ljc4MTA2IDMuNzE0NzFIMTAuMTM3NUMxMS4xOTE3IDMuNzE0NzEgMTEuOTgyNCAzLjk4MzIzIDEyLjUwOTUgNC41MjAyN0MxMy4wNDY1IDUuMDQ3MzYgMTMuMzE1IDUuNzMzNTggMTMuMzE1IDYuNTc4OTJDMTMuMzE1IDcuNDQ0MTQgMTMuMDcxNCA4LjE1NTIyIDEyLjU4NDEgOC43MTIxNUMxMi4xMDY3IDkuMjU5MTMgMTEuNDU1MyA5LjYzNzA1IDEwLjYyOTggOS44NDU5TDEyLjA2MTkgMTQuMTU3MUgxMC4zMzE1TDkuMDMzNjQgMTAuMDI0OUg3LjI0MzUxTDYuNTEyNTQgMTQuMTU3MUg0LjkzMTI2Wk03LjQ5NzExIDguNTkyODFIOS4yNDI0OEM5Ljk5ODMyIDguNTkyODEgMTAuNTkwMSA4LjQyMzc0IDExLjAxNzcgOC4wODU2MUMxMS40NTUzIDcuNzM3NTMgMTEuNjc0MSA3LjI2NTEzIDExLjY3NDEgNi42Njg0MkMxMS42NzQxIDYuMTkxMDYgMTEuNTI0OSA1LjgxODExIDExLjIyNjUgNS41NDk1OUMxMC45MjgyIDUuMjcxMTMgMTAuNDU1OCA1LjEzMTkgOS44MDkzNiA1LjEzMTlIOC4xMDg3NEw3LjQ5NzExIDguNTkyODFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K">
5
+ <bpmn:extensionElements>
6
+ <zeebe:taskDefinition type="io.camunda:http-json:1" retries="3" />
7
+ <zeebe:ioMapping>
8
+ <zeebe:input source="oauth-client-credentials-flow" target="authentication.type" />
9
+ <zeebe:input source="https://login.cloud.ultrawombat.com/oauth/token" target="authentication.oauthTokenEndpoint" />
10
+ <zeebe:input source="=zeebeClientId" target="authentication.clientId" />
11
+ <zeebe:input source="=zeebeSecret" target="authentication.clientSecret" />
12
+ <zeebe:input source="zeebe.ultrawombat.com" target="authentication.audience" />
13
+ <zeebe:input source="credentialsBody" target="authentication.clientAuthentication" />
14
+ <zeebe:input source="Zeebe" target="authentication.scopes" />
15
+ <zeebe:input source="GET" target="method" />
16
+ <zeebe:input source="=zeebeRestAdress+&#34;/v2/documents/&#34;+doc.documentId+&#34;?contentHash=&#34;+doc.contentHash" target="url" />
17
+ <zeebe:input source="=false" target="storeResponse" />
18
+ <zeebe:input source="20" target="connectionTimeoutInSeconds" />
19
+ <zeebe:input source="20" target="readTimeoutInSeconds" />
20
+ <zeebe:input source="=false" target="ignoreNullValues" />
21
+ </zeebe:ioMapping>
22
+ <zeebe:taskHeaders>
23
+ <zeebe:header key="elementTemplateVersion" value="12" />
24
+ <zeebe:header key="elementTemplateId" value="io.camunda.connectors.HttpJson.v2" />
25
+ <zeebe:header key="resultVariable" value="GetDocUpload" />
26
+ <zeebe:header key="retryBackoff" value="PT0S" />
27
+ </zeebe:taskHeaders>
28
+ </bpmn:extensionElements>
29
+ <bpmn:incoming>Flow_1dw6w1f</bpmn:incoming>
30
+ <bpmn:outgoing>Flow_1p8vgwu</bpmn:outgoing>
31
+ </bpmn:serviceTask>
32
+ <bpmn:serviceTask id="Activity_0jxgggi" name="Download &#38; store Image as &#39;doc&#39; storage" zeebe:modelerTemplate="io.camunda.connectors.HttpJson.v2" zeebe:modelerTemplateVersion="12" zeebe:modelerTemplateIcon="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE3LjAzMzUgOC45OTk5N0MxNy4wMzM1IDEzLjQ0NzUgMTMuNDI4MSAxNy4wNTI5IDguOTgwNjUgMTcuMDUyOUM0LjUzMzE2IDE3LjA1MjkgMC45Mjc3NjUgMTMuNDQ3NSAwLjkyNzc2NSA4Ljk5OTk3QzAuOTI3NzY1IDQuNTUyNDggNC41MzMxNiAwLjk0NzA4MyA4Ljk4MDY1IDAuOTQ3MDgzQzEzLjQyODEgMC45NDcwODMgMTcuMDMzNSA0LjU1MjQ4IDE3LjAzMzUgOC45OTk5N1oiIGZpbGw9IiM1MDU1NjIiLz4KPHBhdGggZD0iTTQuOTMxMjYgMTQuMTU3MUw2Ljc4MTA2IDMuNzE0NzFIMTAuMTM3NUMxMS4xOTE3IDMuNzE0NzEgMTEuOTgyNCAzLjk4MzIzIDEyLjUwOTUgNC41MjAyN0MxMy4wNDY1IDUuMDQ3MzYgMTMuMzE1IDUuNzMzNTggMTMuMzE1IDYuNTc4OTJDMTMuMzE1IDcuNDQ0MTQgMTMuMDcxNCA4LjE1NTIyIDEyLjU4NDEgOC43MTIxNUMxMi4xMDY3IDkuMjU5MTMgMTEuNDU1MyA5LjYzNzA1IDEwLjYyOTggOS44NDU5TDEyLjA2MTkgMTQuMTU3MUgxMC4zMzE1TDkuMDMzNjQgMTAuMDI0OUg3LjI0MzUxTDYuNTEyNTQgMTQuMTU3MUg0LjkzMTI2Wk03LjQ5NzExIDguNTkyODFIOS4yNDI0OEM5Ljk5ODMyIDguNTkyODEgMTAuNTkwMSA4LjQyMzc0IDExLjAxNzcgOC4wODU2MUMxMS40NTUzIDcuNzM3NTMgMTEuNjc0MSA3LjI2NTEzIDExLjY3NDEgNi42Njg0MkMxMS42NzQxIDYuMTkxMDYgMTEuNTI0OSA1LjgxODExIDExLjIyNjUgNS41NDk1OUMxMC45MjgyIDUuMjcxMTMgMTAuNDU1OCA1LjEzMTkgOS44MDkzNiA1LjEzMTlIOC4xMDg3NEw3LjQ5NzExIDguNTkyODFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K">
33
+ <bpmn:extensionElements>
34
+ <zeebe:taskDefinition type="io.camunda:http-json:1" retries="3" />
35
+ <zeebe:ioMapping>
36
+ <zeebe:input source="noAuth" target="authentication.type" />
37
+ <zeebe:input source="GET" target="method" />
38
+ <zeebe:input source="https://camunda.com/wp-content/uploads/camunda/blog-images/Social-Media-Favicon.jpg" target="url" />
39
+ <zeebe:input source="=true" target="storeResponse" />
40
+ <zeebe:input source="=20" target="connectionTimeoutInSeconds" />
41
+ <zeebe:input source="=20" target="readTimeoutInSeconds" />
42
+ <zeebe:input source="=false" target="ignoreNullValues" />
43
+ </zeebe:ioMapping>
44
+ <zeebe:taskHeaders>
45
+ <zeebe:header key="elementTemplateVersion" value="12" />
46
+ <zeebe:header key="elementTemplateId" value="io.camunda.connectors.HttpJson.v2" />
47
+ <zeebe:header key="resultExpression" value="={doc:document}" />
48
+ <zeebe:header key="retryBackoff" value="PT0S" />
49
+ </zeebe:taskHeaders>
50
+ </bpmn:extensionElements>
51
+ <bpmn:incoming>Flow_0goyus5</bpmn:incoming>
52
+ <bpmn:outgoing>Flow_1dw6w1f</bpmn:outgoing>
53
+ </bpmn:serviceTask>
54
+ <bpmn:serviceTask id="Activity_02hwevk" name="Download from storage to container as &#39;doc2&#39;" zeebe:modelerTemplate="io.camunda.connectors.HttpJson.v2" zeebe:modelerTemplateVersion="12" zeebe:modelerTemplateIcon="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE3LjAzMzUgOC45OTk5N0MxNy4wMzM1IDEzLjQ0NzUgMTMuNDI4MSAxNy4wNTI5IDguOTgwNjUgMTcuMDUyOUM0LjUzMzE2IDE3LjA1MjkgMC45Mjc3NjUgMTMuNDQ3NSAwLjkyNzc2NSA4Ljk5OTk3QzAuOTI3NzY1IDQuNTUyNDggNC41MzMxNiAwLjk0NzA4MyA4Ljk4MDY1IDAuOTQ3MDgzQzEzLjQyODEgMC45NDcwODMgMTcuMDMzNSA0LjU1MjQ4IDE3LjAzMzUgOC45OTk5N1oiIGZpbGw9IiM1MDU1NjIiLz4KPHBhdGggZD0iTTQuOTMxMjYgMTQuMTU3MUw2Ljc4MTA2IDMuNzE0NzFIMTAuMTM3NUMxMS4xOTE3IDMuNzE0NzEgMTEuOTgyNCAzLjk4MzIzIDEyLjUwOTUgNC41MjAyN0MxMy4wNDY1IDUuMDQ3MzYgMTMuMzE1IDUuNzMzNTggMTMuMzE1IDYuNTc4OTJDMTMuMzE1IDcuNDQ0MTQgMTMuMDcxNCA4LjE1NTIyIDEyLjU4NDEgOC43MTIxNUMxMi4xMDY3IDkuMjU5MTMgMTEuNDU1MyA5LjYzNzA1IDEwLjYyOTggOS44NDU5TDEyLjA2MTkgMTQuMTU3MUgxMC4zMzE1TDkuMDMzNjQgMTAuMDI0OUg3LjI0MzUxTDYuNTEyNTQgMTQuMTU3MUg0LjkzMTI2Wk03LjQ5NzExIDguNTkyODFIOS4yNDI0OEM5Ljk5ODMyIDguNTkyODEgMTAuNTkwMSA4LjQyMzc0IDExLjAxNzcgOC4wODU2MUMxMS40NTUzIDcuNzM3NTMgMTEuNjc0MSA3LjI2NTEzIDExLjY3NDEgNi42Njg0MkMxMS42NzQxIDYuMTkxMDYgMTEuNTI0OSA1LjgxODExIDExLjIyNjUgNS41NDk1OUMxMC45MjgyIDUuMjcxMTMgMTAuNDU1OCA1LjEzMTkgOS44MDkzNiA1LjEzMTlIOC4xMDg3NEw3LjQ5NzExIDguNTkyODFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K">
55
+ <bpmn:extensionElements>
56
+ <zeebe:taskDefinition type="io.camunda:http-json:1" retries="3" />
57
+ <zeebe:ioMapping>
58
+ <zeebe:input source="oauth-client-credentials-flow" target="authentication.type" />
59
+ <zeebe:input source="https://login.cloud.ultrawombat.com/oauth/token" target="authentication.oauthTokenEndpoint" />
60
+ <zeebe:input source="=zeebeClientId" target="authentication.clientId" />
61
+ <zeebe:input source="=zeebeSecret" target="authentication.clientSecret" />
62
+ <zeebe:input source="zeebe.ultrawombat.com" target="authentication.audience" />
63
+ <zeebe:input source="credentialsBody" target="authentication.clientAuthentication" />
64
+ <zeebe:input source="GET" target="method" />
65
+ <zeebe:input source="=zeebeRestAdress+&#34;/v2/documents/&#34;+doc.documentId+&#34;?contentHash=&#34;+doc.contentHash" target="url" />
66
+ <zeebe:input source="=true" target="storeResponse" />
67
+ <zeebe:input source="20" target="connectionTimeoutInSeconds" />
68
+ <zeebe:input source="20" target="readTimeoutInSeconds" />
69
+ <zeebe:input source="=false" target="ignoreNullValues" />
70
+ </zeebe:ioMapping>
71
+ <zeebe:taskHeaders>
72
+ <zeebe:header key="elementTemplateVersion" value="12" />
73
+ <zeebe:header key="elementTemplateId" value="io.camunda.connectors.HttpJson.v2" />
74
+ <zeebe:header key="resultExpression" value="={doc2:document}" />
75
+ <zeebe:header key="retryBackoff" value="PT0S" />
76
+ </zeebe:taskHeaders>
77
+ </bpmn:extensionElements>
78
+ <bpmn:incoming>Flow_1p8vgwu</bpmn:incoming>
79
+ <bpmn:outgoing>Flow_08dt0zd</bpmn:outgoing>
80
+ </bpmn:serviceTask>
81
+ <bpmn:endEvent id="Event_01k2t9k">
82
+ <bpmn:incoming>Flow_0e6wmk9</bpmn:incoming>
83
+ </bpmn:endEvent>
84
+ <bpmn:sequenceFlow id="Flow_08dt0zd" sourceRef="Activity_02hwevk" targetRef="Activity_1oi90zl" />
85
+ <bpmn:sequenceFlow id="Flow_1dw6w1f" sourceRef="Activity_0jxgggi" targetRef="Activity_0k0vloc" />
86
+ <bpmn:sequenceFlow id="Flow_1p8vgwu" sourceRef="Activity_0k0vloc" targetRef="Activity_02hwevk" />
87
+ <bpmn:startEvent id="StartEvent_1">
88
+ <bpmn:extensionElements>
89
+ <zeebe:ioMapping>
90
+ <zeebe:output target="zeebeRestAdress" />
91
+ <zeebe:output target="zeebeSecret" />
92
+ <zeebe:output target="zeebeClientId" />
93
+ </zeebe:ioMapping>
94
+ </bpmn:extensionElements>
95
+ <bpmn:outgoing>Flow_0goyus5</bpmn:outgoing>
96
+ </bpmn:startEvent>
97
+ <bpmn:serviceTask id="Activity_1oi90zl" name="Delete doc in storage" zeebe:modelerTemplate="io.camunda.connectors.HttpJson.v2" zeebe:modelerTemplateVersion="12" zeebe:modelerTemplateIcon="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE3LjAzMzUgOC45OTk5N0MxNy4wMzM1IDEzLjQ0NzUgMTMuNDI4MSAxNy4wNTI5IDguOTgwNjUgMTcu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:1" retries="3" />
100
+ <zeebe:ioMapping>
101
+ <zeebe:input source="oauth-client-credentials-flow" target="authentication.type" />
102
+ <zeebe:input source="https://login.cloud.ultrawombat.com/oauth/token" target="authentication.oauthTokenEndpoint" />
103
+ <zeebe:input source="=zeebeClientId" target="authentication.clientId" />
104
+ <zeebe:input source="=zeebeSecret" target="authentication.clientSecret" />
105
+ <zeebe:input source="zeebe.ultrawombat.com" target="authentication.audience" />
106
+ <zeebe:input source="credentialsBody" target="authentication.clientAuthentication" />
107
+ <zeebe:input source="DELETE" target="method" />
108
+ <zeebe:input source="=zeebeRestAdress+&#34;/v2/documents/&#34;+doc.documentId+&#34;?contentHash=&#34;+doc.contentHash" target="url" />
109
+ <zeebe:input source="=false" target="storeResponse" />
110
+ <zeebe:input source="20" target="connectionTimeoutInSeconds" />
111
+ <zeebe:input source="20" target="readTimeoutInSeconds" />
112
+ <zeebe:input source="=false" target="ignoreNullValues" />
113
+ </zeebe:ioMapping>
114
+ <zeebe:taskHeaders>
115
+ <zeebe:header key="elementTemplateVersion" value="12" />
116
+ <zeebe:header key="elementTemplateId" value="io.camunda.connectors.HttpJson.v2" />
117
+ <zeebe:header key="retryBackoff" value="PT0S" />
118
+ </zeebe:taskHeaders>
119
+ </bpmn:extensionElements>
120
+ <bpmn:incoming>Flow_08dt0zd</bpmn:incoming>
121
+ <bpmn:outgoing>Flow_03pwhjf</bpmn:outgoing>
122
+ </bpmn:serviceTask>
123
+ <bpmn:sequenceFlow id="Flow_03pwhjf" sourceRef="Activity_1oi90zl" targetRef="Gateway_0ilxedq" />
124
+ <bpmn:serviceTask id="Activity_0iyt4gv" name="Upload doc2 in storage" zeebe:modelerTemplate="io.camunda.connectors.HttpJson.v2" zeebe:modelerTemplateVersion="12" zeebe:modelerTemplateIcon="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dH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NiA1LjEzMTlIOC4xMDg3NEw3LjQ5NzExIDguNTkyODFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K">
125
+ <bpmn:extensionElements>
126
+ <zeebe:taskDefinition type="io.camunda:http-json:1" retries="3" />
127
+ <zeebe:ioMapping>
128
+ <zeebe:input source="oauth-client-credentials-flow" target="authentication.type" />
129
+ <zeebe:input source="https://login.cloud.ultrawombat.com/oauth/token" target="authentication.oauthTokenEndpoint" />
130
+ <zeebe:input source="=zeebeClientId" target="authentication.clientId" />
131
+ <zeebe:input source="=zeebeSecret" target="authentication.clientSecret" />
132
+ <zeebe:input source="zeebe.ultrawombat.com" target="authentication.audience" />
133
+ <zeebe:input source="credentialsBody" target="authentication.clientAuthentication" />
134
+ <zeebe:input source="POST" target="method" />
135
+ <zeebe:input source="=zeebeRestAdress+&#34;/v2/documents&#34;" target="url" />
136
+ <zeebe:input source="={&#34;Content-Type&#34;: &#34;multipart/form-data&#34;}" target="headers" />
137
+ <zeebe:input source="=false" target="storeResponse" />
138
+ <zeebe:input source="20" target="connectionTimeoutInSeconds" />
139
+ <zeebe:input source="20" target="readTimeoutInSeconds" />
140
+ <zeebe:input source="={&#10; &#34;file&#34;: doc2&#10;}" target="body" />
141
+ <zeebe:input source="=false" target="ignoreNullValues" />
142
+ </zeebe:ioMapping>
143
+ <zeebe:taskHeaders>
144
+ <zeebe:header key="elementTemplateVersion" value="12" />
145
+ <zeebe:header key="elementTemplateId" value="io.camunda.connectors.HttpJson.v2" />
146
+ <zeebe:header key="resultVariable" value="uploadDoc2" />
147
+ <zeebe:header key="retryBackoff" value="PT0S" />
148
+ </zeebe:taskHeaders>
149
+ </bpmn:extensionElements>
150
+ <bpmn:incoming>Flow_1991iy9</bpmn:incoming>
151
+ <bpmn:outgoing>Flow_0eopw0m</bpmn:outgoing>
152
+ </bpmn:serviceTask>
153
+ <bpmn:sequenceFlow id="Flow_129y4ib" sourceRef="Gateway_0ilxedq" targetRef="Activity_1oiegam" />
154
+ <bpmn:parallelGateway id="Gateway_0ilxedq">
155
+ <bpmn:incoming>Flow_03pwhjf</bpmn:incoming>
156
+ <bpmn:outgoing>Flow_129y4ib</bpmn:outgoing>
157
+ <bpmn:outgoing>Flow_1991iy9</bpmn:outgoing>
158
+ </bpmn:parallelGateway>
159
+ <bpmn:serviceTask id="Activity_1oiegam" name="Upload batch (2 documents)" zeebe:modelerTemplate="io.camunda.connectors.HttpJson.v2" zeebe:modelerTemplateVersion="12" zeebe:modelerTemplateIcon="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE3LjAzMzUgOC45OTk5N0MxNy4wMzM1IDEzLjQ0NzUgMTMuNDI4MSAxNy4wNTI5IDguOTgwNjUgMTcuMDUyOUM0LjUzMzE2IDE3LjA1MjkgMC45Mjc3NjUgMTMuNDQ3NSAwLjkyNzc2NSA4Ljk5OTk3QzAuOTI3NzY1IDQuNTUyNDggNC41MzMxNiAwLjk0NzA4MyA4Ljk4MDY1IDAuOTQ3MDgzQzEzLjQyODEgMC45NDcwODMgMTcuMDMzNSA0LjU1MjQ4IDE3LjAzMzUgOC45OTk5N1oiIGZpbGw9IiM1MDU1NjIiLz4KPHBhdGggZD0iTTQuOTMxMjYgMTQuMTU3MUw2Ljc4MTA2IDMuNzE0NzFIMTAuMTM3NUMxMS4xOTE3IDMuNzE0NzEgMTEuOTgyNCAzLjk4MzIzIDEyLjUwOTUgNC41MjAyN0MxMy4wNDY1IDUuMDQ3MzYgMTMuMzE1IDUuNzMzNTggMTMuMzE1IDYuNTc4OTJDMTMuMzE1IDcuNDQ0MTQgMTMuMDcxNCA4LjE1NTIyIDEyLjU4NDEgOC43MTIxNUMxMi4xMDY3IDkuMjU5MTMgMTEuNDU1MyA5LjYzNzA1IDEwLjYyOTggOS44NDU5TDEyLjA2MTkgMTQuMTU3MUgxMC4zMzE1TDkuMDMzNjQgMTAuMDI0OUg3LjI0MzUxTDYuNTEyNTQgMTQuMTU3MUg0LjkzMTI2Wk03LjQ5NzExIDguNTkyODFIOS4yNDI0OEM5Ljk5ODMyIDguNTkyODEgMTAuNTkwMSA4LjQyMzc0IDExLjAxNzcgOC4wODU2MUMxMS40NTUzIDcuNzM3NTMgMTEuNjc0MSA3LjI2NTEzIDExLjY3NDEgNi42Njg0MkMxMS42NzQxIDYuMTkxMDYgMTEuNTI0OSA1LjgxODExIDExLjIyNjUgNS41NDk1OUMxMC45MjgyIDUuMjcxMTMgMTAuNDU1OCA1LjEzMTkgOS44MDkzNiA1LjEzMTlIOC4xMDg3NEw3LjQ5NzExIDguNTkyODFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K">
160
+ <bpmn:extensionElements>
161
+ <zeebe:taskDefinition type="io.camunda:http-json:1" retries="3" />
162
+ <zeebe:ioMapping>
163
+ <zeebe:input source="oauth-client-credentials-flow" target="authentication.type" />
164
+ <zeebe:input source="https://login.cloud.ultrawombat.com/oauth/token" target="authentication.oauthTokenEndpoint" />
165
+ <zeebe:input source="=zeebeClientId" target="authentication.clientId" />
166
+ <zeebe:input source="=zeebeSecret" target="authentication.clientSecret" />
167
+ <zeebe:input source="zeebe.ultrawombat.com" target="authentication.audience" />
168
+ <zeebe:input source="credentialsBody" target="authentication.clientAuthentication" />
169
+ <zeebe:input source="POST" target="method" />
170
+ <zeebe:input source="=zeebeRestAdress+&#34;/v2/documents/batch&#34;" target="url" />
171
+ <zeebe:input source="={&#34;Content-Type&#34;: &#34;multipart/form-data&#34;}" target="headers" />
172
+ <zeebe:input source="=false" target="storeResponse" />
173
+ <zeebe:input source="20" target="connectionTimeoutInSeconds" />
174
+ <zeebe:input source="20" target="readTimeoutInSeconds" />
175
+ <zeebe:input source="={&#10; &#34;files&#34;: [doc2,doc2]&#10;}" target="body" />
176
+ <zeebe:input source="=false" target="ignoreNullValues" />
177
+ </zeebe:ioMapping>
178
+ <zeebe:taskHeaders>
179
+ <zeebe:header key="elementTemplateVersion" value="12" />
180
+ <zeebe:header key="elementTemplateId" value="io.camunda.connectors.HttpJson.v2" />
181
+ <zeebe:header key="resultVariable" value="uploadBatch" />
182
+ <zeebe:header key="retryBackoff" value="PT0S" />
183
+ </zeebe:taskHeaders>
184
+ </bpmn:extensionElements>
185
+ <bpmn:incoming>Flow_129y4ib</bpmn:incoming>
186
+ <bpmn:outgoing>Flow_0dyp3oa</bpmn:outgoing>
187
+ </bpmn:serviceTask>
188
+ <bpmn:parallelGateway id="Gateway_11zje6z">
189
+ <bpmn:incoming>Flow_0dyp3oa</bpmn:incoming>
190
+ <bpmn:incoming>Flow_0eopw0m</bpmn:incoming>
191
+ <bpmn:outgoing>Flow_0e6wmk9</bpmn:outgoing>
192
+ </bpmn:parallelGateway>
193
+ <bpmn:sequenceFlow id="Flow_0dyp3oa" sourceRef="Activity_1oiegam" targetRef="Gateway_11zje6z" />
194
+ <bpmn:sequenceFlow id="Flow_1991iy9" sourceRef="Gateway_0ilxedq" targetRef="Activity_0iyt4gv" />
195
+ <bpmn:sequenceFlow id="Flow_0eopw0m" sourceRef="Activity_0iyt4gv" targetRef="Gateway_11zje6z" />
196
+ <bpmn:sequenceFlow id="Flow_0e6wmk9" sourceRef="Gateway_11zje6z" targetRef="Event_01k2t9k" />
197
+ <bpmn:sequenceFlow id="Flow_0goyus5" sourceRef="StartEvent_1" targetRef="Activity_0jxgggi" />
198
+ <bpmn:textAnnotation id="TextAnnotation_060npft">
199
+ <bpmn:text>input:
200
+ - zeebeRestAdress
201
+ - zeebeSecret
202
+ - zeebeClientId</bpmn:text>
203
+ </bpmn:textAnnotation>
204
+ <bpmn:association id="Association_00qtgha" associationDirection="None" sourceRef="StartEvent_1" targetRef="TextAnnotation_060npft" />
205
+ </bpmn:process>
206
+ <bpmndi:BPMNDiagram id="BPMNDiagram_1">
207
+ <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_untaeah">
208
+ <bpmndi:BPMNShape id="Activity_0svdb6m_di" bpmnElement="Activity_0k0vloc" bioc:stroke="#205022" bioc:fill="#c8e6c9" color:background-color="#c8e6c9" color:border-color="#205022">
209
+ <dc:Bounds x="400" y="178" width="100" height="80" />
210
+ <bpmndi:BPMNLabel />
211
+ </bpmndi:BPMNShape>
212
+ <bpmndi:BPMNShape id="Activity_1ytmrya_di" bpmnElement="Activity_0jxgggi">
213
+ <dc:Bounds x="240" y="178" width="100" height="80" />
214
+ <bpmndi:BPMNLabel />
215
+ </bpmndi:BPMNShape>
216
+ <bpmndi:BPMNShape id="BPMNShape_0kkn37i" bpmnElement="Activity_02hwevk" bioc:stroke="#205022" bioc:fill="#c8e6c9" color:background-color="#c8e6c9" color:border-color="#205022">
217
+ <dc:Bounds x="550" y="178" width="100" height="80" />
218
+ <bpmndi:BPMNLabel />
219
+ </bpmndi:BPMNShape>
220
+ <bpmndi:BPMNShape id="Event_01k2t9k_di" bpmnElement="Event_01k2t9k">
221
+ <dc:Bounds x="1162" y="200" width="36" height="36" />
222
+ </bpmndi:BPMNShape>
223
+ <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
224
+ <dc:Bounds x="172" y="200" width="36" height="36" />
225
+ </bpmndi:BPMNShape>
226
+ <bpmndi:BPMNShape id="BPMNShape_0ijf9o8" bpmnElement="Activity_1oi90zl" bioc:stroke="#205022" bioc:fill="#c8e6c9" color:background-color="#c8e6c9" color:border-color="#205022">
227
+ <dc:Bounds x="710" y="178" width="100" height="80" />
228
+ <bpmndi:BPMNLabel />
229
+ </bpmndi:BPMNShape>
230
+ <bpmndi:BPMNShape id="BPMNShape_1vhnqh3" bpmnElement="Activity_0iyt4gv" bioc:stroke="#205022" bioc:fill="#c8e6c9" color:background-color="#c8e6c9" color:border-color="#205022">
231
+ <dc:Bounds x="950" y="110" width="100" height="80" />
232
+ <bpmndi:BPMNLabel />
233
+ </bpmndi:BPMNShape>
234
+ <bpmndi:BPMNShape id="Gateway_12gzda7_di" bpmnElement="Gateway_0ilxedq">
235
+ <dc:Bounds x="865" y="193" width="50" height="50" />
236
+ </bpmndi:BPMNShape>
237
+ <bpmndi:BPMNShape id="BPMNShape_0imirww" bpmnElement="Activity_1oiegam" bioc:stroke="#205022" bioc:fill="#c8e6c9" color:background-color="#c8e6c9" color:border-color="#205022">
238
+ <dc:Bounds x="950" y="240" width="100" height="80" />
239
+ <bpmndi:BPMNLabel />
240
+ </bpmndi:BPMNShape>
241
+ <bpmndi:BPMNShape id="Gateway_0qf9p87_di" bpmnElement="Gateway_11zje6z">
242
+ <dc:Bounds x="1075" y="193" width="50" height="50" />
243
+ </bpmndi:BPMNShape>
244
+ <bpmndi:BPMNShape id="TextAnnotation_060npft_di" bpmnElement="TextAnnotation_060npft">
245
+ <dc:Bounds x="127" y="80" width="126" height="68" />
246
+ <bpmndi:BPMNLabel />
247
+ </bpmndi:BPMNShape>
248
+ <bpmndi:BPMNEdge id="Flow_08dt0zd_di" bpmnElement="Flow_08dt0zd">
249
+ <di:waypoint x="650" y="218" />
250
+ <di:waypoint x="710" y="218" />
251
+ </bpmndi:BPMNEdge>
252
+ <bpmndi:BPMNEdge id="Flow_1dw6w1f_di" bpmnElement="Flow_1dw6w1f">
253
+ <di:waypoint x="340" y="218" />
254
+ <di:waypoint x="400" y="218" />
255
+ </bpmndi:BPMNEdge>
256
+ <bpmndi:BPMNEdge id="Flow_1p8vgwu_di" bpmnElement="Flow_1p8vgwu">
257
+ <di:waypoint x="500" y="218" />
258
+ <di:waypoint x="550" y="218" />
259
+ </bpmndi:BPMNEdge>
260
+ <bpmndi:BPMNEdge id="Flow_03pwhjf_di" bpmnElement="Flow_03pwhjf">
261
+ <di:waypoint x="810" y="218" />
262
+ <di:waypoint x="865" y="218" />
263
+ </bpmndi:BPMNEdge>
264
+ <bpmndi:BPMNEdge id="Flow_129y4ib_di" bpmnElement="Flow_129y4ib">
265
+ <di:waypoint x="890" y="243" />
266
+ <di:waypoint x="890" y="280" />
267
+ <di:waypoint x="950" y="280" />
268
+ </bpmndi:BPMNEdge>
269
+ <bpmndi:BPMNEdge id="Flow_0dyp3oa_di" bpmnElement="Flow_0dyp3oa">
270
+ <di:waypoint x="1050" y="280" />
271
+ <di:waypoint x="1100" y="280" />
272
+ <di:waypoint x="1100" y="243" />
273
+ </bpmndi:BPMNEdge>
274
+ <bpmndi:BPMNEdge id="Flow_1991iy9_di" bpmnElement="Flow_1991iy9">
275
+ <di:waypoint x="890" y="193" />
276
+ <di:waypoint x="890" y="150" />
277
+ <di:waypoint x="950" y="150" />
278
+ </bpmndi:BPMNEdge>
279
+ <bpmndi:BPMNEdge id="Flow_0eopw0m_di" bpmnElement="Flow_0eopw0m">
280
+ <di:waypoint x="1050" y="150" />
281
+ <di:waypoint x="1100" y="150" />
282
+ <di:waypoint x="1100" y="193" />
283
+ </bpmndi:BPMNEdge>
284
+ <bpmndi:BPMNEdge id="Flow_0e6wmk9_di" bpmnElement="Flow_0e6wmk9">
285
+ <di:waypoint x="1125" y="218" />
286
+ <di:waypoint x="1162" y="218" />
287
+ </bpmndi:BPMNEdge>
288
+ <bpmndi:BPMNEdge id="Flow_0goyus5_di" bpmnElement="Flow_0goyus5">
289
+ <di:waypoint x="208" y="218" />
290
+ <di:waypoint x="240" y="218" />
291
+ </bpmndi:BPMNEdge>
292
+ <bpmndi:BPMNEdge id="Association_00qtgha_di" bpmnElement="Association_00qtgha">
293
+ <di:waypoint x="190" y="200" />
294
+ <di:waypoint x="190" y="148" />
295
+ </bpmndi:BPMNEdge>
296
+ </bpmndi:BPMNPlane>
297
+ </bpmndi:BPMNDiagram>
298
+ </bpmn:definitions>