@camunda/connectors-element-templates 1.0.17 → 1.0.19
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/package.json +2 -2
- package/src/connectors.js +12 -2
- package/src/element-templates/agenticai-a2a-client-outbound-connector.json +4 -7
- package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-intermediate.json +8 -8
- package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-receive.json +8 -8
- package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-intermediate.json +8 -8
- package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-receive.json +8 -8
- package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +9 -12
- package/src/element-templates/agenticai-aiagent-job-worker.json +3770 -29
- package/src/element-templates/agenticai-aiagent-outbound-connector.json +6274 -2594
- package/src/element-templates/agenticai-mcp-client-outbound-connector.json +549 -552
- package/src/element-templates/agenticai-mcp-message-start-event.json +122 -0
- package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +736 -739
- package/src/element-templates/asana-connector.json +759 -48
- package/src/element-templates/automation-anywhere-outbound-connector.json +1763 -1759
- package/src/element-templates/aws-bedrock-agentcore-long-term-memory-outbound-connector.json +431 -0
- package/src/element-templates/aws-bedrock-agentcore-runtime-outbound-connector.json +285 -0
- package/src/element-templates/aws-bedrock-codeinterpreter-outbound-connector.json +341 -0
- package/src/element-templates/aws-bedrock-knowledgebase-outbound-connector.json +316 -0
- package/src/element-templates/aws-bedrock-outbound-connector.json +747 -10
- package/src/element-templates/aws-comprehend-outbound-connector.json +10 -5
- package/src/element-templates/aws-dynamodb-outbound-connector.json +1358 -1358
- package/src/element-templates/aws-eventbridge-connector-boundary.json +383 -18
- package/src/element-templates/aws-eventbridge-connector-intermediate.json +377 -12
- package/src/element-templates/aws-eventbridge-connector-message-start.json +407 -8
- package/src/element-templates/aws-eventbridge-connector-receive.json +364 -0
- package/src/element-templates/aws-eventbridge-connector-start-event.json +317 -0
- package/src/element-templates/aws-eventbridge-outbound-connector.json +300 -295
- package/src/element-templates/aws-lambda-outbound-connector.json +238 -234
- package/src/element-templates/aws-s3-outbound-connector.json +646 -5
- package/src/element-templates/aws-sagemaker-outbound-connector.json +13 -9
- package/src/element-templates/aws-sns-inbound-boundary.json +44 -37
- package/src/element-templates/aws-sns-inbound-intermediate.json +210 -203
- package/src/element-templates/aws-sns-inbound-message-start.json +125 -118
- package/src/element-templates/aws-sns-inbound-receive.json +13 -6
- package/src/element-templates/aws-sns-inbound-start-event.json +134 -127
- package/src/element-templates/aws-sns-outbound-connector.json +581 -577
- package/src/element-templates/aws-sqs-boundary-connector.json +453 -449
- package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +530 -526
- package/src/element-templates/aws-sqs-outbound-connector.json +711 -709
- package/src/element-templates/aws-sqs-receive-connector.json +15 -11
- package/src/element-templates/aws-sqs-start-event-connector.json +213 -205
- package/src/element-templates/aws-sqs-start-message.json +461 -457
- package/src/element-templates/aws-textract-outbound-connector.json +109 -105
- package/src/element-templates/azure-blobstorage-outbound-connector.json +676 -19
- package/src/element-templates/azure-open-ai-connector.json +1329 -4
- package/src/element-templates/blue-prism-connector.json +569 -24
- package/src/element-templates/box-outbound-connector.json +924 -12
- package/src/element-templates/csv-outbound-connector.json +13 -5
- package/src/element-templates/easy-post-connector.json +1077 -109
- package/src/element-templates/email-inbound-connector-boundary.json +32 -24
- package/src/element-templates/email-inbound-connector-intermediate.json +32 -24
- package/src/element-templates/email-inbound-connector-receive.json +564 -0
- package/src/element-templates/email-message-start-event-connector.json +58 -50
- package/src/element-templates/email-outbound-connector.json +2116 -243
- package/src/element-templates/embeddings-vector-database-outbound-connector.json +3 -6
- package/src/element-templates/github-connector.json +15257 -11722
- package/src/element-templates/github-webhook-connector-boundary.json +27 -29
- package/src/element-templates/github-webhook-connector-intermediate.json +36 -38
- package/src/element-templates/github-webhook-connector-message-start.json +11 -13
- package/src/element-templates/github-webhook-connector-receive.json +13 -15
- package/src/element-templates/github-webhook-connector-start-event.json +54 -56
- package/src/element-templates/gitlab-connector.json +4177 -2545
- package/src/element-templates/google-cloud-storage-outbound-connector.json +562 -13
- package/src/element-templates/google-drive-outbound-connector.json +1386 -766
- package/src/element-templates/google-gemini-outbound-connector.json +13 -5
- package/src/element-templates/google-maps-platform-connector.json +1059 -30
- package/src/element-templates/google-sheets-outbound-connector.json +2449 -1455
- package/src/element-templates/graphql-outbound-connector.json +1744 -1735
- package/src/element-templates/http-json-connector.json +2982 -2332
- package/src/element-templates/http-polling-boundary-catch-event-connector.json +752 -741
- package/src/element-templates/http-polling-connector.json +1512 -1501
- package/src/element-templates/hubspot-outbound-connector.json +2371 -25
- package/src/element-templates/hugging-face-connector.json +234 -3
- package/src/element-templates/jdbc-outbound-connector.json +20 -6
- package/src/element-templates/kafka-inbound-connector-boundary.json +613 -604
- package/src/element-templates/kafka-inbound-connector-intermediate.json +528 -519
- package/src/element-templates/kafka-inbound-connector-receive.json +15 -6
- package/src/element-templates/kafka-inbound-connector-start-message.json +530 -521
- package/src/element-templates/kafka-inbound-connector.json +240 -240
- package/src/element-templates/kafka-outbound-connector.json +518 -512
- package/src/element-templates/microsoft-o365-email-boundary-event-connector.json +18 -6
- package/src/element-templates/microsoft-o365-email-intermediate-catch-event-connector.json +18 -6
- package/src/element-templates/microsoft-o365-email-message-start-event-connector.json +18 -6
- package/src/element-templates/microsoft-office365-mail-connector.json +893 -10
- package/src/element-templates/microsoft-teams-outbound-connector.json +5971 -3807
- package/src/element-templates/openai-connector.json +550 -87
- package/src/element-templates/operate-connector.json +1198 -46
- package/src/element-templates/power-automate-connector.json +601 -9
- package/src/element-templates/rabbitmq-inbound-connector-boundary.json +444 -435
- package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +484 -475
- package/src/element-templates/rabbitmq-inbound-connector-message-start.json +367 -358
- package/src/element-templates/rabbitmq-inbound-connector-receive.json +15 -6
- package/src/element-templates/rabbitmq-inbound-connector-start-event.json +479 -470
- package/src/element-templates/rabbitmq-outbound-connector.json +356 -350
- package/src/element-templates/rpa-connector.json +346 -0
- package/src/element-templates/salesforce-connector.json +544 -0
- package/src/element-templates/send-message-connector-intermediate-throw-event.json +10 -5
- package/src/element-templates/send-message-connector-message-end-event.json +10 -5
- package/src/element-templates/send-message-connector-send-task.json +10 -5
- package/src/element-templates/sendgrid-outbound-connector.json +945 -337
- package/src/element-templates/servicenow-connector.json +971 -3
- package/src/element-templates/servicenow-flow-starter-connector.json +8 -3
- package/src/element-templates/servicenow-incident-connector.json +980 -3
- package/src/element-templates/slack-inbound-boundary.json +490 -192
- package/src/element-templates/slack-inbound-intermediate.json +421 -123
- package/src/element-templates/slack-inbound-message-start.json +469 -139
- package/src/element-templates/slack-inbound-receive.json +297 -0
- package/src/element-templates/slack-inbound-start-event.json +216 -211
- package/src/element-templates/slack-outbound-connector.json +2451 -753
- package/src/element-templates/soap-outbound-connector.json +812 -2
- package/src/element-templates/twilio-connector.json +1573 -93
- package/src/element-templates/twilio-webhook-boundary-connector.json +19 -10
- package/src/element-templates/twilio-webhook-connector.json +243 -13
- package/src/element-templates/twilio-webhook-intermediate-connector.json +34 -25
- package/src/element-templates/twilio-webhook-message-start-connector.json +312 -0
- package/src/element-templates/twilio-webhook-receive-connector.json +11 -2
- package/src/element-templates/uipath-connector.json +594 -2
- package/src/element-templates/webhook-connector-boundary.json +580 -570
- package/src/element-templates/webhook-connector-intermediate.json +1390 -1380
- package/src/element-templates/webhook-connector-receive.json +16 -6
- package/src/element-templates/webhook-connector-start-event.json +1382 -1375
- package/src/element-templates/webhook-connector-start-message.json +1306 -1296
- package/src/element-templates/whatsapp-connector.json +343 -9
- package/src/element-templates/http-connector.json.json +0 -654
|
@@ -4,8 +4,11 @@
|
|
|
4
4
|
"name": "SendGrid Outbound Connector",
|
|
5
5
|
"id": "io.camunda.connectors.SendGrid.v2",
|
|
6
6
|
"description": "Send an email via SendGrid",
|
|
7
|
+
"metadata": {
|
|
8
|
+
"keywords": []
|
|
9
|
+
},
|
|
7
10
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
|
|
8
|
-
"version":
|
|
11
|
+
"version": 4,
|
|
9
12
|
"category": {
|
|
10
13
|
"id": "connectors",
|
|
11
14
|
"name": "Connectors"
|
|
@@ -14,6 +17,9 @@
|
|
|
14
17
|
"elementType": {
|
|
15
18
|
"value": "bpmn:ServiceTask"
|
|
16
19
|
},
|
|
20
|
+
"engines": {
|
|
21
|
+
"camunda": "^8.3"
|
|
22
|
+
},
|
|
17
23
|
"groups": [
|
|
18
24
|
{
|
|
19
25
|
"id": "authentication",
|
|
@@ -250,6 +256,19 @@
|
|
|
250
256
|
},
|
|
251
257
|
"type": "Text"
|
|
252
258
|
},
|
|
259
|
+
{
|
|
260
|
+
"id": "attachments",
|
|
261
|
+
"label": "attachments",
|
|
262
|
+
"description": "List of <a href=\"https://docs.camunda.io/docs/apis-tools/camunda-api-rest/specifications/upload-document-alpha/\">Camunda Documents</a>",
|
|
263
|
+
"optional": true,
|
|
264
|
+
"feel": "required",
|
|
265
|
+
"group": "content",
|
|
266
|
+
"binding": {
|
|
267
|
+
"name": "attachments",
|
|
268
|
+
"type": "zeebe:input"
|
|
269
|
+
},
|
|
270
|
+
"type": "String"
|
|
271
|
+
},
|
|
253
272
|
{
|
|
254
273
|
"id": "resultVariable",
|
|
255
274
|
"label": "Result variable",
|
|
@@ -303,7 +322,6 @@
|
|
|
303
322
|
"label": "Retry backoff",
|
|
304
323
|
"description": "ISO-8601 duration to wait between retries",
|
|
305
324
|
"value": "PT0S",
|
|
306
|
-
"feel": "optional",
|
|
307
325
|
"group": "retries",
|
|
308
326
|
"binding": {
|
|
309
327
|
"key": "retryBackoff",
|
|
@@ -314,21 +332,25 @@
|
|
|
314
332
|
],
|
|
315
333
|
"icon": {
|
|
316
334
|
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0id2hpdGUiLz4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0iIzk5RTFGNCIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSJ3aGl0ZSIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSIjOTlFMUY0Ii8+CiAgICA8cGF0aCBkPSJNMC4yODU3MDYgMTUuNjg0Nkw1LjQzODM3IDE1LjY4NDRWMTUuNzE0M0gwLjI4NTcwNlYxNS42ODQ2Wk0wLjI4NTcwNiAxMC41NjE5SDUuNDM4MzdWMTUuNjg0NEwwLjI4NTcwNiAxNS42ODQ2VjEwLjU2MTlaIiBmaWxsPSIjMUE4MkUyIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAwLjI4NTcwNkgxMC41NjExVjUuNDA4NDdINS40MzgzN1YwLjI4NTcwNlpNMTAuNTYxNiA1LjQzODM3SDE1LjcxNDNWMTAuNTYxMUgxMC41NjE2VjUuNDM4MzdaIiBmaWxsPSIjMDBCM0UzIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAxMC41NjExTDEwLjU2MTEgMTAuNTYxNlY1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMVoiIGZpbGw9IiMwMDlERDkiLz4KICAgIDxwYXRoIGQ9Ik0xMC41NjExIDAuMjg1NzA2SDE1LjcxNDNWNS40MDg0N0gxMC41NjExVjAuMjg1NzA2WiIgZmlsbD0iIzFBODJFMiIvPgogICAgPHBhdGggZD0iTTEwLjU2MTEgNS40MDg0N0gxNS43MTQzVjUuNDM4MzdIMTAuNTYxNkwxMC41NjExIDUuNDA4NDdaIiBmaWxsPSIjMUE4MkUyIi8+Cjwvc3ZnPg=="
|
|
317
|
-
},
|
|
318
|
-
"engines": {
|
|
319
|
-
"camunda": "^8.5"
|
|
320
335
|
}
|
|
321
336
|
},
|
|
322
337
|
{
|
|
323
338
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
324
|
-
"name": "SendGrid
|
|
339
|
+
"name": "SendGrid Outbound Connector",
|
|
325
340
|
"id": "io.camunda.connectors.SendGrid.v2",
|
|
326
|
-
"version": 1,
|
|
327
341
|
"description": "Send an email via SendGrid",
|
|
342
|
+
"keywords": [
|
|
343
|
+
"send email",
|
|
344
|
+
"email notification",
|
|
345
|
+
"transactional email",
|
|
346
|
+
"marketing email",
|
|
347
|
+
"email campaign",
|
|
348
|
+
"email delivery",
|
|
349
|
+
"dynamic template",
|
|
350
|
+
"email template"
|
|
351
|
+
],
|
|
328
352
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
|
|
329
|
-
"
|
|
330
|
-
"contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M0.285706%205.40847H5.43837V10.5611H0.285706V5.40847Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M0.285706%205.40847H5.43837V10.5611H0.285706V5.40847Z%22%20fill%3D%22%2399E1F4%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V15.6844H5.43837V10.5611Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V15.6844H5.43837V10.5611Z%22%20fill%3D%22%2399E1F4%22%2F%3E%0A%3Cpath%20d%3D%22M0.285706%2015.6846L5.43837%2015.6844V15.7143H0.285706V15.6846ZM0.285706%2010.5619H5.43837V15.6844L0.285706%2015.6846V10.5619Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%200.285706H10.5611V5.40847H5.43837V0.285706ZM10.5616%205.43837H15.7143V10.5611H10.5616V5.43837Z%22%20fill%3D%22%2300B3E3%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V5.40847H5.43837V10.5611Z%22%20fill%3D%22%23009DD9%22%2F%3E%0A%3Cpath%20d%3D%22M10.5611%200.285706H15.7143V5.40847H10.5611V0.285706Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3Cpath%20d%3D%22M10.5611%205.40847H15.7143V5.43837H10.5616L10.5611%205.40847Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3C%2Fsvg%3E"
|
|
331
|
-
},
|
|
353
|
+
"version": 5,
|
|
332
354
|
"category": {
|
|
333
355
|
"id": "connectors",
|
|
334
356
|
"name": "Connectors"
|
|
@@ -337,6 +359,9 @@
|
|
|
337
359
|
"elementType": {
|
|
338
360
|
"value": "bpmn:ServiceTask"
|
|
339
361
|
},
|
|
362
|
+
"engines": {
|
|
363
|
+
"camunda": "^8.3"
|
|
364
|
+
},
|
|
340
365
|
"groups": [
|
|
341
366
|
{
|
|
342
367
|
"id": "authentication",
|
|
@@ -355,88 +380,115 @@
|
|
|
355
380
|
"label": "Compose email"
|
|
356
381
|
},
|
|
357
382
|
{
|
|
358
|
-
"id": "
|
|
383
|
+
"id": "connector",
|
|
384
|
+
"label": "Connector"
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"id": "output",
|
|
388
|
+
"label": "Output mapping"
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"id": "error",
|
|
359
392
|
"label": "Error handling"
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"id": "retries",
|
|
396
|
+
"label": "Retries"
|
|
360
397
|
}
|
|
361
398
|
],
|
|
362
399
|
"properties": [
|
|
363
400
|
{
|
|
364
|
-
"type": "Hidden",
|
|
365
401
|
"value": "io.camunda:sendgrid:1",
|
|
366
402
|
"binding": {
|
|
367
|
-
"
|
|
368
|
-
"
|
|
369
|
-
}
|
|
403
|
+
"property": "type",
|
|
404
|
+
"type": "zeebe:taskDefinition"
|
|
405
|
+
},
|
|
406
|
+
"type": "Hidden"
|
|
370
407
|
},
|
|
371
408
|
{
|
|
409
|
+
"id": "apiKey",
|
|
372
410
|
"label": "SendGrid API key",
|
|
373
|
-
"
|
|
374
|
-
"
|
|
411
|
+
"optional": false,
|
|
412
|
+
"constraints": {
|
|
413
|
+
"notEmpty": true
|
|
414
|
+
},
|
|
375
415
|
"feel": "optional",
|
|
416
|
+
"group": "authentication",
|
|
376
417
|
"binding": {
|
|
377
|
-
"
|
|
378
|
-
"
|
|
418
|
+
"name": "apiKey",
|
|
419
|
+
"type": "zeebe:input"
|
|
379
420
|
},
|
|
380
|
-
"
|
|
381
|
-
"notEmpty": true
|
|
382
|
-
}
|
|
421
|
+
"type": "String"
|
|
383
422
|
},
|
|
384
423
|
{
|
|
424
|
+
"id": "from.name",
|
|
385
425
|
"label": "Name",
|
|
386
|
-
"
|
|
387
|
-
"
|
|
426
|
+
"optional": false,
|
|
427
|
+
"constraints": {
|
|
428
|
+
"notEmpty": true
|
|
429
|
+
},
|
|
388
430
|
"feel": "optional",
|
|
431
|
+
"group": "sender",
|
|
389
432
|
"binding": {
|
|
390
|
-
"
|
|
391
|
-
"
|
|
433
|
+
"name": "from.name",
|
|
434
|
+
"type": "zeebe:input"
|
|
392
435
|
},
|
|
393
|
-
"
|
|
394
|
-
"notEmpty": true
|
|
395
|
-
}
|
|
436
|
+
"type": "String"
|
|
396
437
|
},
|
|
397
438
|
{
|
|
439
|
+
"id": "from.email",
|
|
398
440
|
"label": "Email address",
|
|
399
|
-
"
|
|
400
|
-
"
|
|
441
|
+
"optional": false,
|
|
442
|
+
"constraints": {
|
|
443
|
+
"notEmpty": true
|
|
444
|
+
},
|
|
401
445
|
"feel": "optional",
|
|
446
|
+
"group": "sender",
|
|
402
447
|
"binding": {
|
|
403
|
-
"
|
|
404
|
-
"
|
|
448
|
+
"name": "from.email",
|
|
449
|
+
"type": "zeebe:input"
|
|
405
450
|
},
|
|
406
|
-
"
|
|
407
|
-
"notEmpty": true
|
|
408
|
-
}
|
|
451
|
+
"type": "String"
|
|
409
452
|
},
|
|
410
453
|
{
|
|
454
|
+
"id": "to.name",
|
|
411
455
|
"label": "Name",
|
|
412
|
-
"
|
|
413
|
-
"
|
|
456
|
+
"optional": false,
|
|
457
|
+
"constraints": {
|
|
458
|
+
"notEmpty": true
|
|
459
|
+
},
|
|
414
460
|
"feel": "optional",
|
|
461
|
+
"group": "receiver",
|
|
415
462
|
"binding": {
|
|
416
|
-
"
|
|
417
|
-
"
|
|
463
|
+
"name": "to.name",
|
|
464
|
+
"type": "zeebe:input"
|
|
418
465
|
},
|
|
419
|
-
"
|
|
420
|
-
"notEmpty": true
|
|
421
|
-
}
|
|
466
|
+
"type": "String"
|
|
422
467
|
},
|
|
423
468
|
{
|
|
469
|
+
"id": "to.email",
|
|
424
470
|
"label": "Email address",
|
|
425
|
-
"
|
|
426
|
-
"
|
|
471
|
+
"optional": false,
|
|
472
|
+
"constraints": {
|
|
473
|
+
"notEmpty": true
|
|
474
|
+
},
|
|
427
475
|
"feel": "optional",
|
|
476
|
+
"group": "receiver",
|
|
428
477
|
"binding": {
|
|
429
|
-
"
|
|
430
|
-
"
|
|
478
|
+
"name": "to.email",
|
|
479
|
+
"type": "zeebe:input"
|
|
431
480
|
},
|
|
432
|
-
"
|
|
433
|
-
"notEmpty": true
|
|
434
|
-
}
|
|
481
|
+
"type": "String"
|
|
435
482
|
},
|
|
436
483
|
{
|
|
437
|
-
"id": "mailType",
|
|
484
|
+
"id": "unMappedFieldNotUseInModel.mailType",
|
|
485
|
+
"label": "Mail contents",
|
|
486
|
+
"optional": false,
|
|
438
487
|
"group": "content",
|
|
439
|
-
"
|
|
488
|
+
"binding": {
|
|
489
|
+
"name": "unMappedFieldNotUseInModel.mailType",
|
|
490
|
+
"type": "zeebe:input"
|
|
491
|
+
},
|
|
440
492
|
"type": "Dropdown",
|
|
441
493
|
"choices": [
|
|
442
494
|
{
|
|
@@ -447,127 +499,221 @@
|
|
|
447
499
|
"name": "Using dynamic template",
|
|
448
500
|
"value": "byTemplate"
|
|
449
501
|
}
|
|
450
|
-
]
|
|
451
|
-
"binding": {
|
|
452
|
-
"type": "zeebe:input",
|
|
453
|
-
"name": "unMappedFieldNotUseInModel.mailType"
|
|
454
|
-
}
|
|
502
|
+
]
|
|
455
503
|
},
|
|
456
504
|
{
|
|
457
|
-
"
|
|
458
|
-
"
|
|
459
|
-
"
|
|
505
|
+
"id": "template.id",
|
|
506
|
+
"label": "Template ID",
|
|
507
|
+
"optional": false,
|
|
508
|
+
"constraints": {
|
|
509
|
+
"notEmpty": true
|
|
510
|
+
},
|
|
460
511
|
"feel": "optional",
|
|
512
|
+
"group": "content",
|
|
461
513
|
"binding": {
|
|
462
|
-
"
|
|
463
|
-
"
|
|
514
|
+
"name": "template.id",
|
|
515
|
+
"type": "zeebe:input"
|
|
516
|
+
},
|
|
517
|
+
"condition": {
|
|
518
|
+
"property": "unMappedFieldNotUseInModel.mailType",
|
|
519
|
+
"equals": "byTemplate",
|
|
520
|
+
"type": "simple"
|
|
464
521
|
},
|
|
522
|
+
"type": "String"
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
"id": "template.data",
|
|
526
|
+
"label": "Template data",
|
|
527
|
+
"optional": false,
|
|
465
528
|
"constraints": {
|
|
466
529
|
"notEmpty": true
|
|
467
530
|
},
|
|
531
|
+
"feel": "required",
|
|
532
|
+
"group": "content",
|
|
533
|
+
"binding": {
|
|
534
|
+
"name": "template.data",
|
|
535
|
+
"type": "zeebe:input"
|
|
536
|
+
},
|
|
468
537
|
"condition": {
|
|
469
|
-
"property": "mailType",
|
|
470
|
-
"equals": "
|
|
471
|
-
|
|
538
|
+
"property": "unMappedFieldNotUseInModel.mailType",
|
|
539
|
+
"equals": "byTemplate",
|
|
540
|
+
"type": "simple"
|
|
541
|
+
},
|
|
542
|
+
"type": "String"
|
|
472
543
|
},
|
|
473
544
|
{
|
|
474
|
-
"
|
|
475
|
-
"
|
|
476
|
-
"
|
|
545
|
+
"id": "content.subject",
|
|
546
|
+
"label": "Subject",
|
|
547
|
+
"optional": false,
|
|
548
|
+
"constraints": {
|
|
549
|
+
"notEmpty": true
|
|
550
|
+
},
|
|
477
551
|
"feel": "optional",
|
|
478
|
-
"
|
|
552
|
+
"group": "content",
|
|
479
553
|
"binding": {
|
|
480
|
-
"
|
|
481
|
-
"
|
|
554
|
+
"name": "content.subject",
|
|
555
|
+
"type": "zeebe:input"
|
|
556
|
+
},
|
|
557
|
+
"condition": {
|
|
558
|
+
"property": "unMappedFieldNotUseInModel.mailType",
|
|
559
|
+
"equals": "mail",
|
|
560
|
+
"type": "simple"
|
|
482
561
|
},
|
|
562
|
+
"type": "String"
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
"id": "content.type",
|
|
566
|
+
"label": "Content type",
|
|
567
|
+
"optional": false,
|
|
568
|
+
"value": "text/plain",
|
|
483
569
|
"constraints": {
|
|
484
570
|
"notEmpty": true
|
|
485
571
|
},
|
|
572
|
+
"feel": "optional",
|
|
573
|
+
"group": "content",
|
|
574
|
+
"binding": {
|
|
575
|
+
"name": "content.type",
|
|
576
|
+
"type": "zeebe:input"
|
|
577
|
+
},
|
|
486
578
|
"condition": {
|
|
487
|
-
"property": "mailType",
|
|
488
|
-
"equals": "mail"
|
|
489
|
-
|
|
579
|
+
"property": "unMappedFieldNotUseInModel.mailType",
|
|
580
|
+
"equals": "mail",
|
|
581
|
+
"type": "simple"
|
|
582
|
+
},
|
|
583
|
+
"type": "String"
|
|
490
584
|
},
|
|
491
585
|
{
|
|
586
|
+
"id": "content.value",
|
|
492
587
|
"label": "Body",
|
|
493
|
-
"
|
|
494
|
-
"type": "Text",
|
|
495
|
-
"feel": "optional",
|
|
496
|
-
"binding": {
|
|
497
|
-
"type": "zeebe:input",
|
|
498
|
-
"name": "content.value"
|
|
499
|
-
},
|
|
588
|
+
"optional": false,
|
|
500
589
|
"constraints": {
|
|
501
590
|
"notEmpty": true
|
|
502
591
|
},
|
|
503
|
-
"condition": {
|
|
504
|
-
"property": "mailType",
|
|
505
|
-
"equals": "mail"
|
|
506
|
-
}
|
|
507
|
-
},
|
|
508
|
-
{
|
|
509
|
-
"label": "Template ID",
|
|
510
|
-
"group": "content",
|
|
511
|
-
"type": "String",
|
|
512
592
|
"feel": "optional",
|
|
593
|
+
"group": "content",
|
|
513
594
|
"binding": {
|
|
514
|
-
"
|
|
515
|
-
"
|
|
516
|
-
},
|
|
517
|
-
"constraints": {
|
|
518
|
-
"notEmpty": true
|
|
595
|
+
"name": "content.value",
|
|
596
|
+
"type": "zeebe:input"
|
|
519
597
|
},
|
|
520
598
|
"condition": {
|
|
521
|
-
"property": "mailType",
|
|
522
|
-
"equals": "
|
|
523
|
-
|
|
599
|
+
"property": "unMappedFieldNotUseInModel.mailType",
|
|
600
|
+
"equals": "mail",
|
|
601
|
+
"type": "simple"
|
|
602
|
+
},
|
|
603
|
+
"type": "Text"
|
|
524
604
|
},
|
|
525
605
|
{
|
|
526
|
-
"
|
|
527
|
-
"
|
|
528
|
-
"
|
|
606
|
+
"id": "attachments",
|
|
607
|
+
"label": "attachments",
|
|
608
|
+
"description": "List of <a href=\"https://docs.camunda.io/docs/apis-tools/camunda-api-rest/specifications/upload-document-alpha/\">Camunda Documents</a>",
|
|
609
|
+
"optional": true,
|
|
529
610
|
"feel": "required",
|
|
611
|
+
"group": "content",
|
|
530
612
|
"binding": {
|
|
531
|
-
"
|
|
532
|
-
"
|
|
613
|
+
"name": "attachments",
|
|
614
|
+
"type": "zeebe:input"
|
|
533
615
|
},
|
|
534
|
-
"
|
|
535
|
-
|
|
616
|
+
"type": "String"
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
"id": "version",
|
|
620
|
+
"label": "Version",
|
|
621
|
+
"description": "Version of the element template",
|
|
622
|
+
"value": "5",
|
|
623
|
+
"group": "connector",
|
|
624
|
+
"binding": {
|
|
625
|
+
"key": "elementTemplateVersion",
|
|
626
|
+
"type": "zeebe:taskHeader"
|
|
536
627
|
},
|
|
537
|
-
"
|
|
538
|
-
"property": "mailType",
|
|
539
|
-
"equals": "byTemplate"
|
|
540
|
-
}
|
|
628
|
+
"type": "Hidden"
|
|
541
629
|
},
|
|
542
630
|
{
|
|
631
|
+
"id": "id",
|
|
632
|
+
"label": "ID",
|
|
633
|
+
"description": "ID of the element template",
|
|
634
|
+
"value": "io.camunda.connectors.SendGrid.v2",
|
|
635
|
+
"group": "connector",
|
|
636
|
+
"binding": {
|
|
637
|
+
"key": "elementTemplateId",
|
|
638
|
+
"type": "zeebe:taskHeader"
|
|
639
|
+
},
|
|
640
|
+
"type": "Hidden"
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"id": "resultVariable",
|
|
644
|
+
"label": "Result variable",
|
|
645
|
+
"description": "Name of variable to store the response in. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-variable\" target=\"_blank\">documentation</a>.",
|
|
646
|
+
"group": "output",
|
|
647
|
+
"binding": {
|
|
648
|
+
"key": "resultVariable",
|
|
649
|
+
"type": "zeebe:taskHeader"
|
|
650
|
+
},
|
|
651
|
+
"type": "String"
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
"id": "resultExpression",
|
|
655
|
+
"label": "Result expression",
|
|
656
|
+
"description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>.",
|
|
657
|
+
"feel": "required",
|
|
658
|
+
"group": "output",
|
|
659
|
+
"binding": {
|
|
660
|
+
"key": "resultExpression",
|
|
661
|
+
"type": "zeebe:taskHeader"
|
|
662
|
+
},
|
|
663
|
+
"type": "Text"
|
|
664
|
+
},
|
|
665
|
+
{
|
|
666
|
+
"id": "errorExpression",
|
|
543
667
|
"label": "Error expression",
|
|
544
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
545
|
-
"group": "errors",
|
|
546
|
-
"type": "Text",
|
|
668
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
|
|
547
669
|
"feel": "required",
|
|
670
|
+
"group": "error",
|
|
548
671
|
"binding": {
|
|
549
|
-
"
|
|
550
|
-
"
|
|
551
|
-
}
|
|
672
|
+
"key": "errorExpression",
|
|
673
|
+
"type": "zeebe:taskHeader"
|
|
674
|
+
},
|
|
675
|
+
"type": "Text"
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
"id": "retryCount",
|
|
679
|
+
"label": "Retries",
|
|
680
|
+
"description": "Number of retries",
|
|
681
|
+
"value": "3",
|
|
682
|
+
"feel": "optional",
|
|
683
|
+
"group": "retries",
|
|
684
|
+
"binding": {
|
|
685
|
+
"property": "retries",
|
|
686
|
+
"type": "zeebe:taskDefinition"
|
|
687
|
+
},
|
|
688
|
+
"type": "String"
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
"id": "retryBackoff",
|
|
692
|
+
"label": "Retry backoff",
|
|
693
|
+
"description": "ISO-8601 duration to wait between retries",
|
|
694
|
+
"value": "PT0S",
|
|
695
|
+
"group": "retries",
|
|
696
|
+
"binding": {
|
|
697
|
+
"key": "retryBackoff",
|
|
698
|
+
"type": "zeebe:taskHeader"
|
|
699
|
+
},
|
|
700
|
+
"type": "String"
|
|
552
701
|
}
|
|
553
702
|
],
|
|
554
|
-
"
|
|
555
|
-
"
|
|
703
|
+
"icon": {
|
|
704
|
+
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0id2hpdGUiLz4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0iIzk5RTFGNCIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSJ3aGl0ZSIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSIjOTlFMUY0Ii8+CiAgICA8cGF0aCBkPSJNMC4yODU3MDYgMTUuNjg0Nkw1LjQzODM3IDE1LjY4NDRWMTUuNzE0M0gwLjI4NTcwNlYxNS42ODQ2Wk0wLjI4NTcwNiAxMC41NjE5SDUuNDM4MzdWMTUuNjg0NEwwLjI4NTcwNiAxNS42ODQ2VjEwLjU2MTlaIiBmaWxsPSIjMUE4MkUyIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAwLjI4NTcwNkgxMC41NjExVjUuNDA4NDdINS40MzgzN1YwLjI4NTcwNlpNMTAuNTYxNiA1LjQzODM3SDE1LjcxNDNWMTAuNTYxMUgxMC41NjE2VjUuNDM4MzdaIiBmaWxsPSIjMDBCM0UzIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAxMC41NjExTDEwLjU2MTEgMTAuNTYxNlY1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMVoiIGZpbGw9IiMwMDlERDkiLz4KICAgIDxwYXRoIGQ9Ik0xMC41NjExIDAuMjg1NzA2SDE1LjcxNDNWNS40MDg0N0gxMC41NjExVjAuMjg1NzA2WiIgZmlsbD0iIzFBODJFMiIvPgogICAgPHBhdGggZD0iTTEwLjU2MTEgNS40MDg0N0gxNS43MTQzVjUuNDM4MzdIMTAuNTYxNkwxMC41NjExIDUuNDA4NDdaIiBmaWxsPSIjMUE4MkUyIi8+Cjwvc3ZnPg=="
|
|
556
705
|
}
|
|
557
706
|
},
|
|
558
707
|
{
|
|
559
708
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
560
|
-
"name": "SendGrid
|
|
561
|
-
"id": "io.camunda.connectors.SendGrid.
|
|
562
|
-
"
|
|
563
|
-
"
|
|
709
|
+
"name": "SendGrid connector",
|
|
710
|
+
"id": "io.camunda.connectors.SendGrid.v2",
|
|
711
|
+
"version": 1,
|
|
712
|
+
"description": "Send an email via SendGrid",
|
|
713
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
|
|
564
714
|
"icon": {
|
|
565
715
|
"contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M0.285706%205.40847H5.43837V10.5611H0.285706V5.40847Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M0.285706%205.40847H5.43837V10.5611H0.285706V5.40847Z%22%20fill%3D%22%2399E1F4%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V15.6844H5.43837V10.5611Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V15.6844H5.43837V10.5611Z%22%20fill%3D%22%2399E1F4%22%2F%3E%0A%3Cpath%20d%3D%22M0.285706%2015.6846L5.43837%2015.6844V15.7143H0.285706V15.6846ZM0.285706%2010.5619H5.43837V15.6844L0.285706%2015.6846V10.5619Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%200.285706H10.5611V5.40847H5.43837V0.285706ZM10.5616%205.43837H15.7143V10.5611H10.5616V5.43837Z%22%20fill%3D%22%2300B3E3%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V5.40847H5.43837V10.5611Z%22%20fill%3D%22%23009DD9%22%2F%3E%0A%3Cpath%20d%3D%22M10.5611%200.285706H15.7143V5.40847H10.5611V0.285706Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3Cpath%20d%3D%22M10.5611%205.40847H15.7143V5.43837H10.5616L10.5611%205.40847Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3C%2Fsvg%3E"
|
|
566
716
|
},
|
|
567
|
-
"deprecated": {
|
|
568
|
-
"message": "Replace with 'SendGrid Connector' template.",
|
|
569
|
-
"documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
|
|
570
|
-
},
|
|
571
717
|
"category": {
|
|
572
718
|
"id": "connectors",
|
|
573
719
|
"name": "Connectors"
|
|
@@ -578,8 +724,8 @@
|
|
|
578
724
|
},
|
|
579
725
|
"groups": [
|
|
580
726
|
{
|
|
581
|
-
"id": "
|
|
582
|
-
"label": "
|
|
727
|
+
"id": "authentication",
|
|
728
|
+
"label": "Authentication"
|
|
583
729
|
},
|
|
584
730
|
{
|
|
585
731
|
"id": "sender",
|
|
@@ -590,8 +736,12 @@
|
|
|
590
736
|
"label": "Receiver"
|
|
591
737
|
},
|
|
592
738
|
{
|
|
593
|
-
"id": "
|
|
594
|
-
"label": "
|
|
739
|
+
"id": "content",
|
|
740
|
+
"label": "Compose email"
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
"id": "errors",
|
|
744
|
+
"label": "Error handling"
|
|
595
745
|
}
|
|
596
746
|
],
|
|
597
747
|
"properties": [
|
|
@@ -604,8 +754,8 @@
|
|
|
604
754
|
}
|
|
605
755
|
},
|
|
606
756
|
{
|
|
607
|
-
"label": "SendGrid API
|
|
608
|
-
"group": "
|
|
757
|
+
"label": "SendGrid API key",
|
|
758
|
+
"group": "authentication",
|
|
609
759
|
"type": "String",
|
|
610
760
|
"feel": "optional",
|
|
611
761
|
"binding": {
|
|
@@ -630,7 +780,7 @@
|
|
|
630
780
|
}
|
|
631
781
|
},
|
|
632
782
|
{
|
|
633
|
-
"label": "Email
|
|
783
|
+
"label": "Email address",
|
|
634
784
|
"group": "sender",
|
|
635
785
|
"type": "String",
|
|
636
786
|
"feel": "optional",
|
|
@@ -656,7 +806,7 @@
|
|
|
656
806
|
}
|
|
657
807
|
},
|
|
658
808
|
{
|
|
659
|
-
"label": "Email
|
|
809
|
+
"label": "Email address",
|
|
660
810
|
"group": "receiver",
|
|
661
811
|
"type": "String",
|
|
662
812
|
"feel": "optional",
|
|
@@ -668,9 +818,81 @@
|
|
|
668
818
|
"notEmpty": true
|
|
669
819
|
}
|
|
670
820
|
},
|
|
821
|
+
{
|
|
822
|
+
"id": "mailType",
|
|
823
|
+
"group": "content",
|
|
824
|
+
"value": "mail",
|
|
825
|
+
"type": "Dropdown",
|
|
826
|
+
"choices": [
|
|
827
|
+
{
|
|
828
|
+
"name": "Simple (no dynamic template)",
|
|
829
|
+
"value": "mail"
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
"name": "Using dynamic template",
|
|
833
|
+
"value": "byTemplate"
|
|
834
|
+
}
|
|
835
|
+
],
|
|
836
|
+
"binding": {
|
|
837
|
+
"type": "zeebe:input",
|
|
838
|
+
"name": "unMappedFieldNotUseInModel.mailType"
|
|
839
|
+
}
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
"label": "Subject",
|
|
843
|
+
"group": "content",
|
|
844
|
+
"type": "String",
|
|
845
|
+
"feel": "optional",
|
|
846
|
+
"binding": {
|
|
847
|
+
"type": "zeebe:input",
|
|
848
|
+
"name": "content.subject"
|
|
849
|
+
},
|
|
850
|
+
"constraints": {
|
|
851
|
+
"notEmpty": true
|
|
852
|
+
},
|
|
853
|
+
"condition": {
|
|
854
|
+
"property": "mailType",
|
|
855
|
+
"equals": "mail"
|
|
856
|
+
}
|
|
857
|
+
},
|
|
858
|
+
{
|
|
859
|
+
"label": "Content type",
|
|
860
|
+
"group": "content",
|
|
861
|
+
"type": "String",
|
|
862
|
+
"feel": "optional",
|
|
863
|
+
"value": "text/plain",
|
|
864
|
+
"binding": {
|
|
865
|
+
"type": "zeebe:input",
|
|
866
|
+
"name": "content.type"
|
|
867
|
+
},
|
|
868
|
+
"constraints": {
|
|
869
|
+
"notEmpty": true
|
|
870
|
+
},
|
|
871
|
+
"condition": {
|
|
872
|
+
"property": "mailType",
|
|
873
|
+
"equals": "mail"
|
|
874
|
+
}
|
|
875
|
+
},
|
|
876
|
+
{
|
|
877
|
+
"label": "Body",
|
|
878
|
+
"group": "content",
|
|
879
|
+
"type": "Text",
|
|
880
|
+
"feel": "optional",
|
|
881
|
+
"binding": {
|
|
882
|
+
"type": "zeebe:input",
|
|
883
|
+
"name": "content.value"
|
|
884
|
+
},
|
|
885
|
+
"constraints": {
|
|
886
|
+
"notEmpty": true
|
|
887
|
+
},
|
|
888
|
+
"condition": {
|
|
889
|
+
"property": "mailType",
|
|
890
|
+
"equals": "mail"
|
|
891
|
+
}
|
|
892
|
+
},
|
|
671
893
|
{
|
|
672
894
|
"label": "Template ID",
|
|
673
|
-
"group": "
|
|
895
|
+
"group": "content",
|
|
674
896
|
"type": "String",
|
|
675
897
|
"feel": "optional",
|
|
676
898
|
"binding": {
|
|
@@ -679,11 +901,15 @@
|
|
|
679
901
|
},
|
|
680
902
|
"constraints": {
|
|
681
903
|
"notEmpty": true
|
|
904
|
+
},
|
|
905
|
+
"condition": {
|
|
906
|
+
"property": "mailType",
|
|
907
|
+
"equals": "byTemplate"
|
|
682
908
|
}
|
|
683
909
|
},
|
|
684
910
|
{
|
|
685
|
-
"label": "Template
|
|
686
|
-
"group": "
|
|
911
|
+
"label": "Template data",
|
|
912
|
+
"group": "content",
|
|
687
913
|
"type": "Text",
|
|
688
914
|
"feel": "required",
|
|
689
915
|
"binding": {
|
|
@@ -692,23 +918,38 @@
|
|
|
692
918
|
},
|
|
693
919
|
"constraints": {
|
|
694
920
|
"notEmpty": true
|
|
921
|
+
},
|
|
922
|
+
"condition": {
|
|
923
|
+
"property": "mailType",
|
|
924
|
+
"equals": "byTemplate"
|
|
925
|
+
}
|
|
926
|
+
},
|
|
927
|
+
{
|
|
928
|
+
"label": "Error expression",
|
|
929
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
|
|
930
|
+
"group": "errors",
|
|
931
|
+
"type": "Text",
|
|
932
|
+
"feel": "required",
|
|
933
|
+
"binding": {
|
|
934
|
+
"type": "zeebe:taskHeader",
|
|
935
|
+
"key": "errorExpression"
|
|
695
936
|
}
|
|
696
937
|
}
|
|
697
|
-
]
|
|
938
|
+
],
|
|
939
|
+
"engines": {
|
|
940
|
+
"camunda": "^8.2"
|
|
941
|
+
}
|
|
698
942
|
},
|
|
699
943
|
{
|
|
700
944
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
701
|
-
"name": "SendGrid
|
|
702
|
-
"id": "io.camunda.connectors.SendGrid.
|
|
703
|
-
"
|
|
704
|
-
"
|
|
945
|
+
"name": "SendGrid Outbound Connector",
|
|
946
|
+
"id": "io.camunda.connectors.SendGrid.v2",
|
|
947
|
+
"version": 2,
|
|
948
|
+
"description": "Send an email via SendGrid",
|
|
949
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
|
|
705
950
|
"icon": {
|
|
706
951
|
"contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M0.285706%205.40847H5.43837V10.5611H0.285706V5.40847Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M0.285706%205.40847H5.43837V10.5611H0.285706V5.40847Z%22%20fill%3D%22%2399E1F4%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V15.6844H5.43837V10.5611Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V15.6844H5.43837V10.5611Z%22%20fill%3D%22%2399E1F4%22%2F%3E%0A%3Cpath%20d%3D%22M0.285706%2015.6846L5.43837%2015.6844V15.7143H0.285706V15.6846ZM0.285706%2010.5619H5.43837V15.6844L0.285706%2015.6846V10.5619Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%200.285706H10.5611V5.40847H5.43837V0.285706ZM10.5616%205.43837H15.7143V10.5611H10.5616V5.43837Z%22%20fill%3D%22%2300B3E3%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V5.40847H5.43837V10.5611Z%22%20fill%3D%22%23009DD9%22%2F%3E%0A%3Cpath%20d%3D%22M10.5611%200.285706H15.7143V5.40847H10.5611V0.285706Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3Cpath%20d%3D%22M10.5611%205.40847H15.7143V5.43837H10.5616L10.5611%205.40847Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3C%2Fsvg%3E"
|
|
707
952
|
},
|
|
708
|
-
"deprecated": {
|
|
709
|
-
"message": "Replace with 'SendGrid Connector' template.",
|
|
710
|
-
"documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
|
|
711
|
-
},
|
|
712
953
|
"category": {
|
|
713
954
|
"id": "connectors",
|
|
714
955
|
"name": "Connectors"
|
|
@@ -719,8 +960,8 @@
|
|
|
719
960
|
},
|
|
720
961
|
"groups": [
|
|
721
962
|
{
|
|
722
|
-
"id": "
|
|
723
|
-
"label": "
|
|
963
|
+
"id": "authentication",
|
|
964
|
+
"label": "Authentication"
|
|
724
965
|
},
|
|
725
966
|
{
|
|
726
967
|
"id": "sender",
|
|
@@ -732,7 +973,11 @@
|
|
|
732
973
|
},
|
|
733
974
|
{
|
|
734
975
|
"id": "content",
|
|
735
|
-
"label": "
|
|
976
|
+
"label": "Compose email"
|
|
977
|
+
},
|
|
978
|
+
{
|
|
979
|
+
"id": "errors",
|
|
980
|
+
"label": "Error handling"
|
|
736
981
|
}
|
|
737
982
|
],
|
|
738
983
|
"properties": [
|
|
@@ -745,8 +990,8 @@
|
|
|
745
990
|
}
|
|
746
991
|
},
|
|
747
992
|
{
|
|
748
|
-
"label": "SendGrid API
|
|
749
|
-
"group": "
|
|
993
|
+
"label": "SendGrid API key",
|
|
994
|
+
"group": "authentication",
|
|
750
995
|
"type": "String",
|
|
751
996
|
"feel": "optional",
|
|
752
997
|
"binding": {
|
|
@@ -771,7 +1016,7 @@
|
|
|
771
1016
|
}
|
|
772
1017
|
},
|
|
773
1018
|
{
|
|
774
|
-
"label": "Email
|
|
1019
|
+
"label": "Email address",
|
|
775
1020
|
"group": "sender",
|
|
776
1021
|
"type": "String",
|
|
777
1022
|
"feel": "optional",
|
|
@@ -797,7 +1042,7 @@
|
|
|
797
1042
|
}
|
|
798
1043
|
},
|
|
799
1044
|
{
|
|
800
|
-
"label": "Email
|
|
1045
|
+
"label": "Email address",
|
|
801
1046
|
"group": "receiver",
|
|
802
1047
|
"type": "String",
|
|
803
1048
|
"feel": "optional",
|
|
@@ -809,6 +1054,26 @@
|
|
|
809
1054
|
"notEmpty": true
|
|
810
1055
|
}
|
|
811
1056
|
},
|
|
1057
|
+
{
|
|
1058
|
+
"id": "mailType",
|
|
1059
|
+
"group": "content",
|
|
1060
|
+
"value": "mail",
|
|
1061
|
+
"type": "Dropdown",
|
|
1062
|
+
"choices": [
|
|
1063
|
+
{
|
|
1064
|
+
"name": "Simple (no dynamic template)",
|
|
1065
|
+
"value": "mail"
|
|
1066
|
+
},
|
|
1067
|
+
{
|
|
1068
|
+
"name": "Using dynamic template",
|
|
1069
|
+
"value": "byTemplate"
|
|
1070
|
+
}
|
|
1071
|
+
],
|
|
1072
|
+
"binding": {
|
|
1073
|
+
"type": "zeebe:input",
|
|
1074
|
+
"name": "unMappedFieldNotUseInModel.mailType"
|
|
1075
|
+
}
|
|
1076
|
+
},
|
|
812
1077
|
{
|
|
813
1078
|
"label": "Subject",
|
|
814
1079
|
"group": "content",
|
|
@@ -820,10 +1085,14 @@
|
|
|
820
1085
|
},
|
|
821
1086
|
"constraints": {
|
|
822
1087
|
"notEmpty": true
|
|
1088
|
+
},
|
|
1089
|
+
"condition": {
|
|
1090
|
+
"property": "mailType",
|
|
1091
|
+
"equals": "mail"
|
|
823
1092
|
}
|
|
824
1093
|
},
|
|
825
1094
|
{
|
|
826
|
-
"label": "Content
|
|
1095
|
+
"label": "Content type",
|
|
827
1096
|
"group": "content",
|
|
828
1097
|
"type": "String",
|
|
829
1098
|
"feel": "optional",
|
|
@@ -834,6 +1103,10 @@
|
|
|
834
1103
|
},
|
|
835
1104
|
"constraints": {
|
|
836
1105
|
"notEmpty": true
|
|
1106
|
+
},
|
|
1107
|
+
"condition": {
|
|
1108
|
+
"property": "mailType",
|
|
1109
|
+
"equals": "mail"
|
|
837
1110
|
}
|
|
838
1111
|
},
|
|
839
1112
|
{
|
|
@@ -847,15 +1120,70 @@
|
|
|
847
1120
|
},
|
|
848
1121
|
"constraints": {
|
|
849
1122
|
"notEmpty": true
|
|
1123
|
+
},
|
|
1124
|
+
"condition": {
|
|
1125
|
+
"property": "mailType",
|
|
1126
|
+
"equals": "mail"
|
|
1127
|
+
}
|
|
1128
|
+
},
|
|
1129
|
+
{
|
|
1130
|
+
"label": "Template ID",
|
|
1131
|
+
"group": "content",
|
|
1132
|
+
"type": "String",
|
|
1133
|
+
"feel": "optional",
|
|
1134
|
+
"binding": {
|
|
1135
|
+
"type": "zeebe:input",
|
|
1136
|
+
"name": "template.id"
|
|
1137
|
+
},
|
|
1138
|
+
"constraints": {
|
|
1139
|
+
"notEmpty": true
|
|
1140
|
+
},
|
|
1141
|
+
"condition": {
|
|
1142
|
+
"property": "mailType",
|
|
1143
|
+
"equals": "byTemplate"
|
|
1144
|
+
}
|
|
1145
|
+
},
|
|
1146
|
+
{
|
|
1147
|
+
"label": "Template data",
|
|
1148
|
+
"group": "content",
|
|
1149
|
+
"type": "Text",
|
|
1150
|
+
"feel": "required",
|
|
1151
|
+
"binding": {
|
|
1152
|
+
"type": "zeebe:input",
|
|
1153
|
+
"name": "template.data"
|
|
1154
|
+
},
|
|
1155
|
+
"constraints": {
|
|
1156
|
+
"notEmpty": true
|
|
1157
|
+
},
|
|
1158
|
+
"condition": {
|
|
1159
|
+
"property": "mailType",
|
|
1160
|
+
"equals": "byTemplate"
|
|
1161
|
+
}
|
|
1162
|
+
},
|
|
1163
|
+
{
|
|
1164
|
+
"label": "Error expression",
|
|
1165
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
|
|
1166
|
+
"group": "errors",
|
|
1167
|
+
"type": "Text",
|
|
1168
|
+
"feel": "required",
|
|
1169
|
+
"binding": {
|
|
1170
|
+
"type": "zeebe:taskHeader",
|
|
1171
|
+
"key": "errorExpression"
|
|
850
1172
|
}
|
|
851
1173
|
}
|
|
852
|
-
]
|
|
1174
|
+
],
|
|
1175
|
+
"engines": {
|
|
1176
|
+
"camunda": "^8.2"
|
|
1177
|
+
}
|
|
853
1178
|
},
|
|
854
1179
|
{
|
|
855
1180
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
856
|
-
"name": "SendGrid
|
|
1181
|
+
"name": "SendGrid connector",
|
|
857
1182
|
"id": "io.camunda.connectors.SendGrid.v2",
|
|
858
|
-
"
|
|
1183
|
+
"deprecated": {
|
|
1184
|
+
"message": "Replace with 'SendGrid connector' template.",
|
|
1185
|
+
"documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
|
|
1186
|
+
},
|
|
859
1187
|
"description": "Send an email via SendGrid",
|
|
860
1188
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
|
|
861
1189
|
"icon": {
|
|
@@ -1082,24 +1410,21 @@
|
|
|
1082
1410
|
"key": "errorExpression"
|
|
1083
1411
|
}
|
|
1084
1412
|
}
|
|
1085
|
-
]
|
|
1086
|
-
"engines": {
|
|
1087
|
-
"camunda": "^8.2"
|
|
1088
|
-
}
|
|
1413
|
+
]
|
|
1089
1414
|
},
|
|
1090
1415
|
{
|
|
1091
1416
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
1092
|
-
"name": "SendGrid
|
|
1093
|
-
"id": "io.camunda.connectors.SendGrid.
|
|
1094
|
-
"
|
|
1095
|
-
|
|
1096
|
-
"documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
|
|
1097
|
-
},
|
|
1098
|
-
"description": "Send an email via SendGrid",
|
|
1099
|
-
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
|
|
1417
|
+
"name": "SendGrid: Send Email",
|
|
1418
|
+
"id": "io.camunda.connectors.SendGrid.v1.content",
|
|
1419
|
+
"description": "[Deprecated]: Replace with 'SendGrid Connector' template.",
|
|
1420
|
+
"documentationRef": "https://docs.camunda.io/docs/8.7/components/connectors/out-of-the-box-connectors/sendgrid/",
|
|
1100
1421
|
"icon": {
|
|
1101
1422
|
"contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M0.285706%205.40847H5.43837V10.5611H0.285706V5.40847Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M0.285706%205.40847H5.43837V10.5611H0.285706V5.40847Z%22%20fill%3D%22%2399E1F4%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V15.6844H5.43837V10.5611Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V15.6844H5.43837V10.5611Z%22%20fill%3D%22%2399E1F4%22%2F%3E%0A%3Cpath%20d%3D%22M0.285706%2015.6846L5.43837%2015.6844V15.7143H0.285706V15.6846ZM0.285706%2010.5619H5.43837V15.6844L0.285706%2015.6846V10.5619Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%200.285706H10.5611V5.40847H5.43837V0.285706ZM10.5616%205.43837H15.7143V10.5611H10.5616V5.43837Z%22%20fill%3D%22%2300B3E3%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V5.40847H5.43837V10.5611Z%22%20fill%3D%22%23009DD9%22%2F%3E%0A%3Cpath%20d%3D%22M10.5611%200.285706H15.7143V5.40847H10.5611V0.285706Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3Cpath%20d%3D%22M10.5611%205.40847H15.7143V5.43837H10.5616L10.5611%205.40847Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3C%2Fsvg%3E"
|
|
1102
1423
|
},
|
|
1424
|
+
"deprecated": {
|
|
1425
|
+
"message": "Replace with 'SendGrid Connector' template.",
|
|
1426
|
+
"documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
|
|
1427
|
+
},
|
|
1103
1428
|
"category": {
|
|
1104
1429
|
"id": "connectors",
|
|
1105
1430
|
"name": "Connectors"
|
|
@@ -1110,8 +1435,8 @@
|
|
|
1110
1435
|
},
|
|
1111
1436
|
"groups": [
|
|
1112
1437
|
{
|
|
1113
|
-
"id": "
|
|
1114
|
-
"label": "
|
|
1438
|
+
"id": "sendgrid",
|
|
1439
|
+
"label": "SendGrid API"
|
|
1115
1440
|
},
|
|
1116
1441
|
{
|
|
1117
1442
|
"id": "sender",
|
|
@@ -1123,11 +1448,7 @@
|
|
|
1123
1448
|
},
|
|
1124
1449
|
{
|
|
1125
1450
|
"id": "content",
|
|
1126
|
-
"label": "
|
|
1127
|
-
},
|
|
1128
|
-
{
|
|
1129
|
-
"id": "errors",
|
|
1130
|
-
"label": "Error handling"
|
|
1451
|
+
"label": "Email Content"
|
|
1131
1452
|
}
|
|
1132
1453
|
],
|
|
1133
1454
|
"properties": [
|
|
@@ -1140,8 +1461,8 @@
|
|
|
1140
1461
|
}
|
|
1141
1462
|
},
|
|
1142
1463
|
{
|
|
1143
|
-
"label": "SendGrid API
|
|
1144
|
-
"group": "
|
|
1464
|
+
"label": "SendGrid API Key",
|
|
1465
|
+
"group": "sendgrid",
|
|
1145
1466
|
"type": "String",
|
|
1146
1467
|
"feel": "optional",
|
|
1147
1468
|
"binding": {
|
|
@@ -1166,7 +1487,7 @@
|
|
|
1166
1487
|
}
|
|
1167
1488
|
},
|
|
1168
1489
|
{
|
|
1169
|
-
"label": "Email
|
|
1490
|
+
"label": "Email Address",
|
|
1170
1491
|
"group": "sender",
|
|
1171
1492
|
"type": "String",
|
|
1172
1493
|
"feel": "optional",
|
|
@@ -1192,7 +1513,7 @@
|
|
|
1192
1513
|
}
|
|
1193
1514
|
},
|
|
1194
1515
|
{
|
|
1195
|
-
"label": "Email
|
|
1516
|
+
"label": "Email Address",
|
|
1196
1517
|
"group": "receiver",
|
|
1197
1518
|
"type": "String",
|
|
1198
1519
|
"feel": "optional",
|
|
@@ -1204,26 +1525,6 @@
|
|
|
1204
1525
|
"notEmpty": true
|
|
1205
1526
|
}
|
|
1206
1527
|
},
|
|
1207
|
-
{
|
|
1208
|
-
"id": "mailType",
|
|
1209
|
-
"group": "content",
|
|
1210
|
-
"value": "mail",
|
|
1211
|
-
"type": "Dropdown",
|
|
1212
|
-
"choices": [
|
|
1213
|
-
{
|
|
1214
|
-
"name": "Simple (no dynamic template)",
|
|
1215
|
-
"value": "mail"
|
|
1216
|
-
},
|
|
1217
|
-
{
|
|
1218
|
-
"name": "Using dynamic template",
|
|
1219
|
-
"value": "byTemplate"
|
|
1220
|
-
}
|
|
1221
|
-
],
|
|
1222
|
-
"binding": {
|
|
1223
|
-
"type": "zeebe:input",
|
|
1224
|
-
"name": "unMappedFieldNotUseInModel.mailType"
|
|
1225
|
-
}
|
|
1226
|
-
},
|
|
1227
1528
|
{
|
|
1228
1529
|
"label": "Subject",
|
|
1229
1530
|
"group": "content",
|
|
@@ -1235,14 +1536,10 @@
|
|
|
1235
1536
|
},
|
|
1236
1537
|
"constraints": {
|
|
1237
1538
|
"notEmpty": true
|
|
1238
|
-
},
|
|
1239
|
-
"condition": {
|
|
1240
|
-
"property": "mailType",
|
|
1241
|
-
"equals": "mail"
|
|
1242
1539
|
}
|
|
1243
1540
|
},
|
|
1244
1541
|
{
|
|
1245
|
-
"label": "Content
|
|
1542
|
+
"label": "Content Type",
|
|
1246
1543
|
"group": "content",
|
|
1247
1544
|
"type": "String",
|
|
1248
1545
|
"feel": "optional",
|
|
@@ -1253,10 +1550,6 @@
|
|
|
1253
1550
|
},
|
|
1254
1551
|
"constraints": {
|
|
1255
1552
|
"notEmpty": true
|
|
1256
|
-
},
|
|
1257
|
-
"condition": {
|
|
1258
|
-
"property": "mailType",
|
|
1259
|
-
"equals": "mail"
|
|
1260
1553
|
}
|
|
1261
1554
|
},
|
|
1262
1555
|
{
|
|
@@ -1270,55 +1563,6 @@
|
|
|
1270
1563
|
},
|
|
1271
1564
|
"constraints": {
|
|
1272
1565
|
"notEmpty": true
|
|
1273
|
-
},
|
|
1274
|
-
"condition": {
|
|
1275
|
-
"property": "mailType",
|
|
1276
|
-
"equals": "mail"
|
|
1277
|
-
}
|
|
1278
|
-
},
|
|
1279
|
-
{
|
|
1280
|
-
"label": "Template ID",
|
|
1281
|
-
"group": "content",
|
|
1282
|
-
"type": "String",
|
|
1283
|
-
"feel": "optional",
|
|
1284
|
-
"binding": {
|
|
1285
|
-
"type": "zeebe:input",
|
|
1286
|
-
"name": "template.id"
|
|
1287
|
-
},
|
|
1288
|
-
"constraints": {
|
|
1289
|
-
"notEmpty": true
|
|
1290
|
-
},
|
|
1291
|
-
"condition": {
|
|
1292
|
-
"property": "mailType",
|
|
1293
|
-
"equals": "byTemplate"
|
|
1294
|
-
}
|
|
1295
|
-
},
|
|
1296
|
-
{
|
|
1297
|
-
"label": "Template data",
|
|
1298
|
-
"group": "content",
|
|
1299
|
-
"type": "Text",
|
|
1300
|
-
"feel": "required",
|
|
1301
|
-
"binding": {
|
|
1302
|
-
"type": "zeebe:input",
|
|
1303
|
-
"name": "template.data"
|
|
1304
|
-
},
|
|
1305
|
-
"constraints": {
|
|
1306
|
-
"notEmpty": true
|
|
1307
|
-
},
|
|
1308
|
-
"condition": {
|
|
1309
|
-
"property": "mailType",
|
|
1310
|
-
"equals": "byTemplate"
|
|
1311
|
-
}
|
|
1312
|
-
},
|
|
1313
|
-
{
|
|
1314
|
-
"label": "Error expression",
|
|
1315
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
|
|
1316
|
-
"group": "errors",
|
|
1317
|
-
"type": "Text",
|
|
1318
|
-
"feel": "required",
|
|
1319
|
-
"binding": {
|
|
1320
|
-
"type": "zeebe:taskHeader",
|
|
1321
|
-
"key": "errorExpression"
|
|
1322
1566
|
}
|
|
1323
1567
|
}
|
|
1324
1568
|
]
|
|
@@ -1328,11 +1572,8 @@
|
|
|
1328
1572
|
"name": "SendGrid Outbound Connector",
|
|
1329
1573
|
"id": "io.camunda.connectors.SendGrid.v2",
|
|
1330
1574
|
"description": "Send an email via SendGrid",
|
|
1331
|
-
"metadata": {
|
|
1332
|
-
"keywords": []
|
|
1333
|
-
},
|
|
1334
1575
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
|
|
1335
|
-
"version":
|
|
1576
|
+
"version": 3,
|
|
1336
1577
|
"category": {
|
|
1337
1578
|
"id": "connectors",
|
|
1338
1579
|
"name": "Connectors"
|
|
@@ -1341,9 +1582,6 @@
|
|
|
1341
1582
|
"elementType": {
|
|
1342
1583
|
"value": "bpmn:ServiceTask"
|
|
1343
1584
|
},
|
|
1344
|
-
"engines": {
|
|
1345
|
-
"camunda": "^8.3"
|
|
1346
|
-
},
|
|
1347
1585
|
"groups": [
|
|
1348
1586
|
{
|
|
1349
1587
|
"id": "authentication",
|
|
@@ -1568,106 +1806,245 @@
|
|
|
1568
1806
|
"notEmpty": true
|
|
1569
1807
|
},
|
|
1570
1808
|
"feel": "optional",
|
|
1571
|
-
"group": "content",
|
|
1809
|
+
"group": "content",
|
|
1810
|
+
"binding": {
|
|
1811
|
+
"name": "content.value",
|
|
1812
|
+
"type": "zeebe:input"
|
|
1813
|
+
},
|
|
1814
|
+
"condition": {
|
|
1815
|
+
"property": "unMappedFieldNotUseInModel.mailType",
|
|
1816
|
+
"equals": "mail",
|
|
1817
|
+
"type": "simple"
|
|
1818
|
+
},
|
|
1819
|
+
"type": "Text"
|
|
1820
|
+
},
|
|
1821
|
+
{
|
|
1822
|
+
"id": "resultVariable",
|
|
1823
|
+
"label": "Result variable",
|
|
1824
|
+
"description": "Name of variable to store the response in",
|
|
1825
|
+
"group": "output",
|
|
1826
|
+
"binding": {
|
|
1827
|
+
"key": "resultVariable",
|
|
1828
|
+
"type": "zeebe:taskHeader"
|
|
1829
|
+
},
|
|
1830
|
+
"type": "String"
|
|
1831
|
+
},
|
|
1832
|
+
{
|
|
1833
|
+
"id": "resultExpression",
|
|
1834
|
+
"label": "Result expression",
|
|
1835
|
+
"description": "Expression to map the response into process variables",
|
|
1836
|
+
"feel": "required",
|
|
1837
|
+
"group": "output",
|
|
1838
|
+
"binding": {
|
|
1839
|
+
"key": "resultExpression",
|
|
1840
|
+
"type": "zeebe:taskHeader"
|
|
1841
|
+
},
|
|
1842
|
+
"type": "Text"
|
|
1843
|
+
},
|
|
1844
|
+
{
|
|
1845
|
+
"id": "errorExpression",
|
|
1846
|
+
"label": "Error expression",
|
|
1847
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
|
|
1848
|
+
"feel": "required",
|
|
1849
|
+
"group": "error",
|
|
1850
|
+
"binding": {
|
|
1851
|
+
"key": "errorExpression",
|
|
1852
|
+
"type": "zeebe:taskHeader"
|
|
1853
|
+
},
|
|
1854
|
+
"type": "Text"
|
|
1855
|
+
},
|
|
1856
|
+
{
|
|
1857
|
+
"id": "retryCount",
|
|
1858
|
+
"label": "Retries",
|
|
1859
|
+
"description": "Number of retries",
|
|
1860
|
+
"value": "3",
|
|
1861
|
+
"feel": "optional",
|
|
1862
|
+
"group": "retries",
|
|
1863
|
+
"binding": {
|
|
1864
|
+
"property": "retries",
|
|
1865
|
+
"type": "zeebe:taskDefinition"
|
|
1866
|
+
},
|
|
1867
|
+
"type": "String"
|
|
1868
|
+
},
|
|
1869
|
+
{
|
|
1870
|
+
"id": "retryBackoff",
|
|
1871
|
+
"label": "Retry backoff",
|
|
1872
|
+
"description": "ISO-8601 duration to wait between retries",
|
|
1873
|
+
"value": "PT0S",
|
|
1874
|
+
"feel": "optional",
|
|
1875
|
+
"group": "retries",
|
|
1876
|
+
"binding": {
|
|
1877
|
+
"key": "retryBackoff",
|
|
1878
|
+
"type": "zeebe:taskHeader"
|
|
1879
|
+
},
|
|
1880
|
+
"type": "String"
|
|
1881
|
+
}
|
|
1882
|
+
],
|
|
1883
|
+
"icon": {
|
|
1884
|
+
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0id2hpdGUiLz4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0iIzk5RTFGNCIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSJ3aGl0ZSIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSIjOTlFMUY0Ii8+CiAgICA8cGF0aCBkPSJNMC4yODU3MDYgMTUuNjg0Nkw1LjQzODM3IDE1LjY4NDRWMTUuNzE0M0gwLjI4NTcwNlYxNS42ODQ2Wk0wLjI4NTcwNiAxMC41NjE5SDUuNDM4MzdWMTUuNjg0NEwwLjI4NTcwNiAxNS42ODQ2VjEwLjU2MTlaIiBmaWxsPSIjMUE4MkUyIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAwLjI4NTcwNkgxMC41NjExVjUuNDA4NDdINS40MzgzN1YwLjI4NTcwNlpNMTAuNTYxNiA1LjQzODM3SDE1LjcxNDNWMTAuNTYxMUgxMC41NjE2VjUuNDM4MzdaIiBmaWxsPSIjMDBCM0UzIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAxMC41NjExTDEwLjU2MTEgMTAuNTYxNlY1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMVoiIGZpbGw9IiMwMDlERDkiLz4KICAgIDxwYXRoIGQ9Ik0xMC41NjExIDAuMjg1NzA2SDE1LjcxNDNWNS40MDg0N0gxMC41NjExVjAuMjg1NzA2WiIgZmlsbD0iIzFBODJFMiIvPgogICAgPHBhdGggZD0iTTEwLjU2MTEgNS40MDg0N0gxNS43MTQzVjUuNDM4MzdIMTAuNTYxNkwxMC41NjExIDUuNDA4NDdaIiBmaWxsPSIjMUE4MkUyIi8+Cjwvc3ZnPg=="
|
|
1885
|
+
},
|
|
1886
|
+
"engines": {
|
|
1887
|
+
"camunda": "^8.5"
|
|
1888
|
+
}
|
|
1889
|
+
},
|
|
1890
|
+
{
|
|
1891
|
+
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
1892
|
+
"name": "SendGrid: Send Email via Template",
|
|
1893
|
+
"id": "io.camunda.connectors.SendGrid.v1.template",
|
|
1894
|
+
"description": "[Deprecated]: Replace with 'SendGrid Connector' template.",
|
|
1895
|
+
"documentationRef": "https://docs.camunda.io/docs/8.7/components/connectors/out-of-the-box-connectors/sendgrid/",
|
|
1896
|
+
"icon": {
|
|
1897
|
+
"contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M0.285706%205.40847H5.43837V10.5611H0.285706V5.40847Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M0.285706%205.40847H5.43837V10.5611H0.285706V5.40847Z%22%20fill%3D%22%2399E1F4%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V15.6844H5.43837V10.5611Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V15.6844H5.43837V10.5611Z%22%20fill%3D%22%2399E1F4%22%2F%3E%0A%3Cpath%20d%3D%22M0.285706%2015.6846L5.43837%2015.6844V15.7143H0.285706V15.6846ZM0.285706%2010.5619H5.43837V15.6844L0.285706%2015.6846V10.5619Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%200.285706H10.5611V5.40847H5.43837V0.285706ZM10.5616%205.43837H15.7143V10.5611H10.5616V5.43837Z%22%20fill%3D%22%2300B3E3%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V5.40847H5.43837V10.5611Z%22%20fill%3D%22%23009DD9%22%2F%3E%0A%3Cpath%20d%3D%22M10.5611%200.285706H15.7143V5.40847H10.5611V0.285706Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3Cpath%20d%3D%22M10.5611%205.40847H15.7143V5.43837H10.5616L10.5611%205.40847Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3C%2Fsvg%3E"
|
|
1898
|
+
},
|
|
1899
|
+
"deprecated": {
|
|
1900
|
+
"message": "Replace with 'SendGrid Connector' template.",
|
|
1901
|
+
"documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
|
|
1902
|
+
},
|
|
1903
|
+
"category": {
|
|
1904
|
+
"id": "connectors",
|
|
1905
|
+
"name": "Connectors"
|
|
1906
|
+
},
|
|
1907
|
+
"appliesTo": ["bpmn:Task"],
|
|
1908
|
+
"elementType": {
|
|
1909
|
+
"value": "bpmn:ServiceTask"
|
|
1910
|
+
},
|
|
1911
|
+
"groups": [
|
|
1912
|
+
{
|
|
1913
|
+
"id": "sendgrid",
|
|
1914
|
+
"label": "SendGrid API"
|
|
1915
|
+
},
|
|
1916
|
+
{
|
|
1917
|
+
"id": "sender",
|
|
1918
|
+
"label": "Sender"
|
|
1919
|
+
},
|
|
1920
|
+
{
|
|
1921
|
+
"id": "receiver",
|
|
1922
|
+
"label": "Receiver"
|
|
1923
|
+
},
|
|
1924
|
+
{
|
|
1925
|
+
"id": "template",
|
|
1926
|
+
"label": "Dynamic Email Template"
|
|
1927
|
+
}
|
|
1928
|
+
],
|
|
1929
|
+
"properties": [
|
|
1930
|
+
{
|
|
1931
|
+
"type": "Hidden",
|
|
1932
|
+
"value": "io.camunda:sendgrid:1",
|
|
1933
|
+
"binding": {
|
|
1934
|
+
"type": "zeebe:taskDefinition",
|
|
1935
|
+
"property": "type"
|
|
1936
|
+
}
|
|
1937
|
+
},
|
|
1938
|
+
{
|
|
1939
|
+
"label": "SendGrid API Key",
|
|
1940
|
+
"group": "sendgrid",
|
|
1941
|
+
"type": "String",
|
|
1942
|
+
"feel": "optional",
|
|
1572
1943
|
"binding": {
|
|
1573
|
-
"
|
|
1574
|
-
"
|
|
1575
|
-
},
|
|
1576
|
-
"condition": {
|
|
1577
|
-
"property": "unMappedFieldNotUseInModel.mailType",
|
|
1578
|
-
"equals": "mail",
|
|
1579
|
-
"type": "simple"
|
|
1944
|
+
"type": "zeebe:input",
|
|
1945
|
+
"name": "apiKey"
|
|
1580
1946
|
},
|
|
1581
|
-
"
|
|
1947
|
+
"constraints": {
|
|
1948
|
+
"notEmpty": true
|
|
1949
|
+
}
|
|
1582
1950
|
},
|
|
1583
1951
|
{
|
|
1584
|
-
"
|
|
1585
|
-
"
|
|
1586
|
-
"
|
|
1587
|
-
"
|
|
1588
|
-
"feel": "required",
|
|
1589
|
-
"group": "content",
|
|
1952
|
+
"label": "Name",
|
|
1953
|
+
"group": "sender",
|
|
1954
|
+
"type": "String",
|
|
1955
|
+
"feel": "optional",
|
|
1590
1956
|
"binding": {
|
|
1591
|
-
"
|
|
1592
|
-
"
|
|
1957
|
+
"type": "zeebe:input",
|
|
1958
|
+
"name": "from.name"
|
|
1593
1959
|
},
|
|
1594
|
-
"
|
|
1960
|
+
"constraints": {
|
|
1961
|
+
"notEmpty": true
|
|
1962
|
+
}
|
|
1595
1963
|
},
|
|
1596
1964
|
{
|
|
1597
|
-
"
|
|
1598
|
-
"
|
|
1599
|
-
"
|
|
1600
|
-
"
|
|
1965
|
+
"label": "Email Address",
|
|
1966
|
+
"group": "sender",
|
|
1967
|
+
"type": "String",
|
|
1968
|
+
"feel": "optional",
|
|
1601
1969
|
"binding": {
|
|
1602
|
-
"
|
|
1603
|
-
"
|
|
1970
|
+
"type": "zeebe:input",
|
|
1971
|
+
"name": "from.email"
|
|
1604
1972
|
},
|
|
1605
|
-
"
|
|
1973
|
+
"constraints": {
|
|
1974
|
+
"notEmpty": true
|
|
1975
|
+
}
|
|
1606
1976
|
},
|
|
1607
1977
|
{
|
|
1608
|
-
"
|
|
1609
|
-
"
|
|
1610
|
-
"
|
|
1611
|
-
"feel": "
|
|
1612
|
-
"group": "output",
|
|
1978
|
+
"label": "Name",
|
|
1979
|
+
"group": "receiver",
|
|
1980
|
+
"type": "String",
|
|
1981
|
+
"feel": "optional",
|
|
1613
1982
|
"binding": {
|
|
1614
|
-
"
|
|
1615
|
-
"
|
|
1983
|
+
"type": "zeebe:input",
|
|
1984
|
+
"name": "to.name"
|
|
1616
1985
|
},
|
|
1617
|
-
"
|
|
1986
|
+
"constraints": {
|
|
1987
|
+
"notEmpty": true
|
|
1988
|
+
}
|
|
1618
1989
|
},
|
|
1619
1990
|
{
|
|
1620
|
-
"
|
|
1621
|
-
"
|
|
1622
|
-
"
|
|
1623
|
-
"feel": "
|
|
1624
|
-
"group": "error",
|
|
1991
|
+
"label": "Email Address",
|
|
1992
|
+
"group": "receiver",
|
|
1993
|
+
"type": "String",
|
|
1994
|
+
"feel": "optional",
|
|
1625
1995
|
"binding": {
|
|
1626
|
-
"
|
|
1627
|
-
"
|
|
1996
|
+
"type": "zeebe:input",
|
|
1997
|
+
"name": "to.email"
|
|
1628
1998
|
},
|
|
1629
|
-
"
|
|
1999
|
+
"constraints": {
|
|
2000
|
+
"notEmpty": true
|
|
2001
|
+
}
|
|
1630
2002
|
},
|
|
1631
2003
|
{
|
|
1632
|
-
"
|
|
1633
|
-
"
|
|
1634
|
-
"
|
|
1635
|
-
"value": "3",
|
|
2004
|
+
"label": "Template ID",
|
|
2005
|
+
"group": "template",
|
|
2006
|
+
"type": "String",
|
|
1636
2007
|
"feel": "optional",
|
|
1637
|
-
"group": "retries",
|
|
1638
2008
|
"binding": {
|
|
1639
|
-
"
|
|
1640
|
-
"
|
|
2009
|
+
"type": "zeebe:input",
|
|
2010
|
+
"name": "template.id"
|
|
1641
2011
|
},
|
|
1642
|
-
"
|
|
2012
|
+
"constraints": {
|
|
2013
|
+
"notEmpty": true
|
|
2014
|
+
}
|
|
1643
2015
|
},
|
|
1644
2016
|
{
|
|
1645
|
-
"
|
|
1646
|
-
"
|
|
1647
|
-
"
|
|
1648
|
-
"
|
|
1649
|
-
"group": "retries",
|
|
2017
|
+
"label": "Template Data",
|
|
2018
|
+
"group": "template",
|
|
2019
|
+
"type": "Text",
|
|
2020
|
+
"feel": "required",
|
|
1650
2021
|
"binding": {
|
|
1651
|
-
"
|
|
1652
|
-
"
|
|
2022
|
+
"type": "zeebe:input",
|
|
2023
|
+
"name": "template.data"
|
|
1653
2024
|
},
|
|
1654
|
-
"
|
|
2025
|
+
"constraints": {
|
|
2026
|
+
"notEmpty": true
|
|
2027
|
+
}
|
|
1655
2028
|
}
|
|
1656
|
-
]
|
|
1657
|
-
"icon": {
|
|
1658
|
-
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0id2hpdGUiLz4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0iIzk5RTFGNCIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSJ3aGl0ZSIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSIjOTlFMUY0Ii8+CiAgICA8cGF0aCBkPSJNMC4yODU3MDYgMTUuNjg0Nkw1LjQzODM3IDE1LjY4NDRWMTUuNzE0M0gwLjI4NTcwNlYxNS42ODQ2Wk0wLjI4NTcwNiAxMC41NjE5SDUuNDM4MzdWMTUuNjg0NEwwLjI4NTcwNiAxNS42ODQ2VjEwLjU2MTlaIiBmaWxsPSIjMUE4MkUyIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAwLjI4NTcwNkgxMC41NjExVjUuNDA4NDdINS40MzgzN1YwLjI4NTcwNlpNMTAuNTYxNiA1LjQzODM3SDE1LjcxNDNWMTAuNTYxMUgxMC41NjE2VjUuNDM4MzdaIiBmaWxsPSIjMDBCM0UzIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAxMC41NjExTDEwLjU2MTEgMTAuNTYxNlY1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMVoiIGZpbGw9IiMwMDlERDkiLz4KICAgIDxwYXRoIGQ9Ik0xMC41NjExIDAuMjg1NzA2SDE1LjcxNDNWNS40MDg0N0gxMC41NjExVjAuMjg1NzA2WiIgZmlsbD0iIzFBODJFMiIvPgogICAgPHBhdGggZD0iTTEwLjU2MTEgNS40MDg0N0gxNS43MTQzVjUuNDM4MzdIMTAuNTYxNkwxMC41NjExIDUuNDA4NDdaIiBmaWxsPSIjMUE4MkUyIi8+Cjwvc3ZnPg=="
|
|
1659
|
-
}
|
|
2029
|
+
]
|
|
1660
2030
|
},
|
|
1661
2031
|
{
|
|
1662
2032
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
1663
2033
|
"name": "SendGrid Outbound Connector",
|
|
1664
2034
|
"id": "io.camunda.connectors.SendGrid.v2",
|
|
1665
2035
|
"description": "Send an email via SendGrid",
|
|
1666
|
-
"
|
|
1667
|
-
"
|
|
1668
|
-
|
|
2036
|
+
"keywords": [
|
|
2037
|
+
"send email",
|
|
2038
|
+
"email notification",
|
|
2039
|
+
"transactional email",
|
|
2040
|
+
"marketing email",
|
|
2041
|
+
"email campaign",
|
|
2042
|
+
"email delivery",
|
|
2043
|
+
"dynamic template",
|
|
2044
|
+
"email template"
|
|
2045
|
+
],
|
|
1669
2046
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
|
|
1670
|
-
"version":
|
|
2047
|
+
"version": 6,
|
|
1671
2048
|
"category": {
|
|
1672
2049
|
"id": "connectors",
|
|
1673
2050
|
"name": "Connectors"
|
|
@@ -1677,7 +2054,7 @@
|
|
|
1677
2054
|
"value": "bpmn:ServiceTask"
|
|
1678
2055
|
},
|
|
1679
2056
|
"engines": {
|
|
1680
|
-
"camunda": "^8.
|
|
2057
|
+
"camunda": "^8.10"
|
|
1681
2058
|
},
|
|
1682
2059
|
"groups": [
|
|
1683
2060
|
{
|
|
@@ -1920,23 +2297,254 @@
|
|
|
1920
2297
|
"type": "Text"
|
|
1921
2298
|
},
|
|
1922
2299
|
{
|
|
1923
|
-
"id": "
|
|
1924
|
-
"label": "
|
|
2300
|
+
"id": "attachments_documentMode",
|
|
2301
|
+
"label": "Number of documents",
|
|
1925
2302
|
"description": "List of <a href=\"https://docs.camunda.io/docs/apis-tools/camunda-api-rest/specifications/upload-document-alpha/\">Camunda Documents</a>",
|
|
1926
|
-
"
|
|
2303
|
+
"value": "none",
|
|
2304
|
+
"group": "content",
|
|
2305
|
+
"binding": {
|
|
2306
|
+
"name": "attachments_documentMode",
|
|
2307
|
+
"type": "zeebe:input"
|
|
2308
|
+
},
|
|
2309
|
+
"type": "Dropdown",
|
|
2310
|
+
"choices": [
|
|
2311
|
+
{
|
|
2312
|
+
"name": "None",
|
|
2313
|
+
"value": "none"
|
|
2314
|
+
},
|
|
2315
|
+
{
|
|
2316
|
+
"name": "Single document",
|
|
2317
|
+
"value": "single"
|
|
2318
|
+
},
|
|
2319
|
+
{
|
|
2320
|
+
"name": "Multiple documents",
|
|
2321
|
+
"value": "multiple"
|
|
2322
|
+
}
|
|
2323
|
+
]
|
|
2324
|
+
},
|
|
2325
|
+
{
|
|
2326
|
+
"id": "attachments_single_documentSource",
|
|
2327
|
+
"label": "Document source",
|
|
2328
|
+
"value": "camunda",
|
|
2329
|
+
"group": "content",
|
|
2330
|
+
"binding": {
|
|
2331
|
+
"name": "attachments_single_documentSource",
|
|
2332
|
+
"type": "zeebe:input"
|
|
2333
|
+
},
|
|
2334
|
+
"condition": {
|
|
2335
|
+
"property": "attachments_documentMode",
|
|
2336
|
+
"equals": "single",
|
|
2337
|
+
"type": "simple"
|
|
2338
|
+
},
|
|
2339
|
+
"type": "Dropdown",
|
|
2340
|
+
"choices": [
|
|
2341
|
+
{
|
|
2342
|
+
"name": "Camunda Document",
|
|
2343
|
+
"value": "camunda"
|
|
2344
|
+
},
|
|
2345
|
+
{
|
|
2346
|
+
"name": "Inline Content",
|
|
2347
|
+
"value": "inline"
|
|
2348
|
+
},
|
|
2349
|
+
{
|
|
2350
|
+
"name": "From URL",
|
|
2351
|
+
"value": "external"
|
|
2352
|
+
}
|
|
2353
|
+
]
|
|
2354
|
+
},
|
|
2355
|
+
{
|
|
2356
|
+
"id": "attachments_single_camundaReference",
|
|
2357
|
+
"label": "Camunda document",
|
|
2358
|
+
"constraints": {
|
|
2359
|
+
"notEmpty": true
|
|
2360
|
+
},
|
|
1927
2361
|
"feel": "required",
|
|
1928
2362
|
"group": "content",
|
|
1929
2363
|
"binding": {
|
|
1930
|
-
"name": "
|
|
2364
|
+
"name": "attachments_single_camundaReference",
|
|
2365
|
+
"type": "zeebe:input"
|
|
2366
|
+
},
|
|
2367
|
+
"condition": {
|
|
2368
|
+
"allMatch": [
|
|
2369
|
+
{
|
|
2370
|
+
"property": "attachments_documentMode",
|
|
2371
|
+
"equals": "single",
|
|
2372
|
+
"type": "simple"
|
|
2373
|
+
},
|
|
2374
|
+
{
|
|
2375
|
+
"property": "attachments_single_documentSource",
|
|
2376
|
+
"equals": "camunda",
|
|
2377
|
+
"type": "simple"
|
|
2378
|
+
}
|
|
2379
|
+
]
|
|
2380
|
+
},
|
|
2381
|
+
"type": "String"
|
|
2382
|
+
},
|
|
2383
|
+
{
|
|
2384
|
+
"id": "attachments_single_inline_content",
|
|
2385
|
+
"label": "Content",
|
|
2386
|
+
"constraints": {
|
|
2387
|
+
"notEmpty": true
|
|
2388
|
+
},
|
|
2389
|
+
"feel": "optional",
|
|
2390
|
+
"group": "content",
|
|
2391
|
+
"binding": {
|
|
2392
|
+
"name": "attachments_single_inline_content",
|
|
2393
|
+
"type": "zeebe:input"
|
|
2394
|
+
},
|
|
2395
|
+
"condition": {
|
|
2396
|
+
"allMatch": [
|
|
2397
|
+
{
|
|
2398
|
+
"property": "attachments_documentMode",
|
|
2399
|
+
"equals": "single",
|
|
2400
|
+
"type": "simple"
|
|
2401
|
+
},
|
|
2402
|
+
{
|
|
2403
|
+
"property": "attachments_single_documentSource",
|
|
2404
|
+
"equals": "inline",
|
|
2405
|
+
"type": "simple"
|
|
2406
|
+
}
|
|
2407
|
+
]
|
|
2408
|
+
},
|
|
2409
|
+
"type": "String"
|
|
2410
|
+
},
|
|
2411
|
+
{
|
|
2412
|
+
"id": "attachments_single_inline_fileName",
|
|
2413
|
+
"label": "File name",
|
|
2414
|
+
"feel": "optional",
|
|
2415
|
+
"group": "content",
|
|
2416
|
+
"binding": {
|
|
2417
|
+
"name": "attachments_single_inline_fileName",
|
|
2418
|
+
"type": "zeebe:input"
|
|
2419
|
+
},
|
|
2420
|
+
"condition": {
|
|
2421
|
+
"allMatch": [
|
|
2422
|
+
{
|
|
2423
|
+
"property": "attachments_documentMode",
|
|
2424
|
+
"equals": "single",
|
|
2425
|
+
"type": "simple"
|
|
2426
|
+
},
|
|
2427
|
+
{
|
|
2428
|
+
"property": "attachments_single_documentSource",
|
|
2429
|
+
"equals": "inline",
|
|
2430
|
+
"type": "simple"
|
|
2431
|
+
}
|
|
2432
|
+
]
|
|
2433
|
+
},
|
|
2434
|
+
"type": "String"
|
|
2435
|
+
},
|
|
2436
|
+
{
|
|
2437
|
+
"id": "attachments_single_inline_contentType",
|
|
2438
|
+
"label": "Content type",
|
|
2439
|
+
"feel": "optional",
|
|
2440
|
+
"group": "content",
|
|
2441
|
+
"binding": {
|
|
2442
|
+
"name": "attachments_single_inline_contentType",
|
|
2443
|
+
"type": "zeebe:input"
|
|
2444
|
+
},
|
|
2445
|
+
"condition": {
|
|
2446
|
+
"allMatch": [
|
|
2447
|
+
{
|
|
2448
|
+
"property": "attachments_documentMode",
|
|
2449
|
+
"equals": "single",
|
|
2450
|
+
"type": "simple"
|
|
2451
|
+
},
|
|
2452
|
+
{
|
|
2453
|
+
"property": "attachments_single_documentSource",
|
|
2454
|
+
"equals": "inline",
|
|
2455
|
+
"type": "simple"
|
|
2456
|
+
}
|
|
2457
|
+
]
|
|
2458
|
+
},
|
|
2459
|
+
"type": "String"
|
|
2460
|
+
},
|
|
2461
|
+
{
|
|
2462
|
+
"id": "attachments_single_external_url",
|
|
2463
|
+
"label": "URL",
|
|
2464
|
+
"constraints": {
|
|
2465
|
+
"notEmpty": true
|
|
2466
|
+
},
|
|
2467
|
+
"feel": "optional",
|
|
2468
|
+
"group": "content",
|
|
2469
|
+
"binding": {
|
|
2470
|
+
"name": "attachments_single_external_url",
|
|
2471
|
+
"type": "zeebe:input"
|
|
2472
|
+
},
|
|
2473
|
+
"condition": {
|
|
2474
|
+
"allMatch": [
|
|
2475
|
+
{
|
|
2476
|
+
"property": "attachments_documentMode",
|
|
2477
|
+
"equals": "single",
|
|
2478
|
+
"type": "simple"
|
|
2479
|
+
},
|
|
2480
|
+
{
|
|
2481
|
+
"property": "attachments_single_documentSource",
|
|
2482
|
+
"equals": "external",
|
|
2483
|
+
"type": "simple"
|
|
2484
|
+
}
|
|
2485
|
+
]
|
|
2486
|
+
},
|
|
2487
|
+
"type": "String"
|
|
2488
|
+
},
|
|
2489
|
+
{
|
|
2490
|
+
"id": "attachments_single_external_fileName",
|
|
2491
|
+
"label": "File name",
|
|
2492
|
+
"feel": "optional",
|
|
2493
|
+
"group": "content",
|
|
2494
|
+
"binding": {
|
|
2495
|
+
"name": "attachments_single_external_fileName",
|
|
2496
|
+
"type": "zeebe:input"
|
|
2497
|
+
},
|
|
2498
|
+
"condition": {
|
|
2499
|
+
"allMatch": [
|
|
2500
|
+
{
|
|
2501
|
+
"property": "attachments_documentMode",
|
|
2502
|
+
"equals": "single",
|
|
2503
|
+
"type": "simple"
|
|
2504
|
+
},
|
|
2505
|
+
{
|
|
2506
|
+
"property": "attachments_single_documentSource",
|
|
2507
|
+
"equals": "external",
|
|
2508
|
+
"type": "simple"
|
|
2509
|
+
}
|
|
2510
|
+
]
|
|
2511
|
+
},
|
|
2512
|
+
"type": "String"
|
|
2513
|
+
},
|
|
2514
|
+
{
|
|
2515
|
+
"id": "attachments_multiple_expression",
|
|
2516
|
+
"label": "Documents",
|
|
2517
|
+
"constraints": {
|
|
2518
|
+
"notEmpty": true
|
|
2519
|
+
},
|
|
2520
|
+
"feel": "required",
|
|
2521
|
+
"group": "content",
|
|
2522
|
+
"binding": {
|
|
2523
|
+
"name": "attachments_multiple_expression",
|
|
1931
2524
|
"type": "zeebe:input"
|
|
1932
2525
|
},
|
|
2526
|
+
"condition": {
|
|
2527
|
+
"property": "attachments_documentMode",
|
|
2528
|
+
"equals": "multiple",
|
|
2529
|
+
"type": "simple"
|
|
2530
|
+
},
|
|
1933
2531
|
"type": "String"
|
|
1934
2532
|
},
|
|
2533
|
+
{
|
|
2534
|
+
"id": "attachments",
|
|
2535
|
+
"value": "=if attachments_documentMode = \"multiple\" then attachments_multiple_expression else if attachments_documentMode = \"single\" then (if attachments_single_documentSource = \"camunda\" then [attachments_single_camundaReference] else if attachments_single_documentSource = \"inline\" then [{ \"camunda.document.type\": \"inline\", content: attachments_single_inline_content, name: attachments_single_inline_fileName, contentType: attachments_single_inline_contentType }] else if attachments_single_documentSource = \"external\" then [{ \"camunda.document.type\": \"external\", url: attachments_single_external_url, name: attachments_single_external_fileName }] else null) else null",
|
|
2536
|
+
"group": "content",
|
|
2537
|
+
"binding": {
|
|
2538
|
+
"name": "attachments",
|
|
2539
|
+
"type": "zeebe:input"
|
|
2540
|
+
},
|
|
2541
|
+
"type": "Hidden"
|
|
2542
|
+
},
|
|
1935
2543
|
{
|
|
1936
2544
|
"id": "version",
|
|
1937
2545
|
"label": "Version",
|
|
1938
2546
|
"description": "Version of the element template",
|
|
1939
|
-
"value": "
|
|
2547
|
+
"value": "6",
|
|
1940
2548
|
"group": "connector",
|
|
1941
2549
|
"binding": {
|
|
1942
2550
|
"key": "elementTemplateVersion",
|
|
@@ -1959,7 +2567,7 @@
|
|
|
1959
2567
|
{
|
|
1960
2568
|
"id": "resultVariable",
|
|
1961
2569
|
"label": "Result variable",
|
|
1962
|
-
"description": "Name of variable to store the response in",
|
|
2570
|
+
"description": "Name of variable to store the response in. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-variable\" target=\"_blank\">documentation</a>.",
|
|
1963
2571
|
"group": "output",
|
|
1964
2572
|
"binding": {
|
|
1965
2573
|
"key": "resultVariable",
|
|
@@ -1970,7 +2578,7 @@
|
|
|
1970
2578
|
{
|
|
1971
2579
|
"id": "resultExpression",
|
|
1972
2580
|
"label": "Result expression",
|
|
1973
|
-
"description": "Expression to map the response into process variables",
|
|
2581
|
+
"description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>.",
|
|
1974
2582
|
"feel": "required",
|
|
1975
2583
|
"group": "output",
|
|
1976
2584
|
"binding": {
|