@camunda/connectors-element-templates 1.0.7 → 1.0.8
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 +1 -1
- package/src/connectors.js +24 -0
- package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +32 -31
- package/src/element-templates/agenticai-aiagent-job-worker.json +1655 -7
- package/src/element-templates/agenticai-aiagent-outbound-connector.json +2906 -1291
- package/src/element-templates/agenticai-mcp-client-outbound-connector.json +1 -1
- package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +1 -1
- package/src/element-templates/asana-connector.json +8 -8
- package/src/element-templates/automation-anywhere-outbound-connector.json +619 -619
- package/src/element-templates/aws-bedrock-outbound-connector.json +30 -30
- package/src/element-templates/aws-dynamodb-outbound-connector.json +1325 -1325
- package/src/element-templates/aws-eventbridge-connector-intermediate.json +38 -38
- package/src/element-templates/aws-eventbridge-connector-message-start.json +10 -10
- package/src/element-templates/aws-eventbridge-connector-receive.json +356 -0
- package/src/element-templates/aws-eventbridge-outbound-connector.json +10 -10
- package/src/element-templates/aws-lambda-outbound-connector.json +256 -256
- package/src/element-templates/aws-s3-outbound-connector.json +30 -30
- package/src/element-templates/aws-sagemaker-outbound-connector.json +50 -50
- package/src/element-templates/aws-sns-inbound-boundary.json +311 -311
- package/src/element-templates/aws-sns-inbound-intermediate.json +328 -328
- package/src/element-templates/aws-sns-inbound-message-start.json +343 -343
- package/src/element-templates/aws-sns-inbound-receive.json +304 -0
- package/src/element-templates/aws-sns-inbound-start-event.json +131 -131
- package/src/element-templates/aws-sns-outbound-connector.json +424 -424
- package/src/element-templates/aws-sqs-boundary-connector.json +305 -305
- package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +918 -918
- package/src/element-templates/aws-sqs-outbound-connector.json +743 -743
- package/src/element-templates/aws-sqs-receive-connector.json +418 -0
- package/src/element-templates/aws-sqs-start-event-connector.json +369 -369
- package/src/element-templates/aws-sqs-start-message.json +914 -914
- package/src/element-templates/blue-prism-connector.json +50 -50
- package/src/element-templates/csv-outbound-connector.json +26 -26
- package/src/element-templates/easy-post-connector.json +271 -271
- package/src/element-templates/email-inbound-connector-boundary.json +19 -19
- package/src/element-templates/email-inbound-connector-intermediate.json +19 -19
- package/src/element-templates/email-message-start-event-connector.json +19 -19
- package/src/element-templates/embeddings-vector-database-outbound-connector.json +503 -503
- package/src/element-templates/github-connector.json +2723 -2723
- package/src/element-templates/github-webhook-connector-intermediate.json +42 -42
- package/src/element-templates/github-webhook-connector-receive.json +202 -0
- package/src/element-templates/github-webhook-connector-start-event.json +32 -32
- package/src/element-templates/gitlab-connector.json +160 -160
- package/src/element-templates/google-drive-outbound-connector.json +438 -438
- package/src/element-templates/google-gemini-outbound-connector.json +32 -32
- package/src/element-templates/google-maps-platform-connector.json +16 -16
- package/src/element-templates/google-sheets-outbound-connector.json +1059 -1059
- package/src/element-templates/graphql-outbound-connector.json +1179 -1179
- package/src/element-templates/http-json-connector.json +2662 -2057
- package/src/element-templates/http-polling-boundary-catch-event-connector.json +635 -6
- package/src/element-templates/http-polling-connector.json +631 -2
- package/src/element-templates/hugging-face-connector.json +34 -34
- package/src/element-templates/jdbc-outbound-connector.json +41 -41
- package/src/element-templates/kafka-inbound-connector-boundary.json +958 -958
- package/src/element-templates/kafka-inbound-connector-intermediate.json +681 -681
- package/src/element-templates/kafka-inbound-connector-receive.json +498 -0
- package/src/element-templates/kafka-inbound-connector.json +240 -240
- package/src/element-templates/kafka-outbound-connector.json +356 -356
- package/src/element-templates/microsoft-office365-mail-connector.json +32 -32
- package/src/element-templates/microsoft-teams-outbound-connector.json +4188 -4188
- package/src/element-templates/openai-connector.json +78 -78
- package/src/element-templates/operate-connector.json +79 -79
- package/src/element-templates/power-automate-connector.json +12 -12
- package/src/element-templates/rabbitmq-inbound-connector-boundary.json +747 -747
- package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +463 -463
- package/src/element-templates/rabbitmq-inbound-connector-message-start.json +11 -11
- package/src/element-templates/rabbitmq-inbound-connector-receive.json +461 -0
- package/src/element-templates/rabbitmq-inbound-connector-start-event.json +681 -681
- package/src/element-templates/rabbitmq-outbound-connector.json +670 -670
- package/src/element-templates/salesforce-connector.json +38 -38
- package/src/element-templates/sendgrid-outbound-connector.json +397 -397
- package/src/element-templates/servicenow-connector.json +942 -0
- package/src/element-templates/servicenow-flow-starter-connector.json +643 -0
- package/src/element-templates/servicenow-incident-connector.json +969 -0
- package/src/element-templates/slack-inbound-boundary.json +173 -173
- package/src/element-templates/slack-inbound-intermediate.json +232 -232
- package/src/element-templates/slack-inbound-message-start.json +209 -209
- package/src/element-templates/slack-inbound-receive.json +290 -0
- package/src/element-templates/slack-inbound-start-event.json +218 -218
- package/src/element-templates/slack-outbound-connector.json +955 -955
- package/src/element-templates/twilio-connector.json +87 -87
- package/src/element-templates/twilio-webhook-boundary-connector.json +26 -26
- package/src/element-templates/twilio-webhook-connector.json +20 -20
- package/src/element-templates/twilio-webhook-intermediate-connector.json +50 -50
- package/src/element-templates/twilio-webhook-message-start-connector.json +8 -8
- package/src/element-templates/twilio-webhook-receive-connector.json +262 -0
- package/src/element-templates/uipath-connector.json +41 -41
- package/src/element-templates/webhook-connector-boundary.json +1050 -1050
- package/src/element-templates/webhook-connector-intermediate.json +1356 -1356
- package/src/element-templates/webhook-connector-receive.json +609 -0
- package/src/element-templates/webhook-connector-start-event.json +2280 -2280
- package/src/element-templates/webhook-connector-start-message.json +1205 -1205
- package/src/element-templates/whatsapp-connector.json +42 -42
|
@@ -4,11 +4,8 @@
|
|
|
4
4
|
"name": "Slack Outbound Connector",
|
|
5
5
|
"id": "io.camunda.connectors.Slack.v1",
|
|
6
6
|
"description": "Create a channel or send a message to a channel or user",
|
|
7
|
-
"metadata": {
|
|
8
|
-
"keywords": []
|
|
9
|
-
},
|
|
10
7
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
|
|
11
|
-
"version":
|
|
8
|
+
"version": 5,
|
|
12
9
|
"category": {
|
|
13
10
|
"id": "connectors",
|
|
14
11
|
"name": "Connectors"
|
|
@@ -17,9 +14,6 @@
|
|
|
17
14
|
"elementType": {
|
|
18
15
|
"value": "bpmn:ServiceTask"
|
|
19
16
|
},
|
|
20
|
-
"engines": {
|
|
21
|
-
"camunda": "^8.3"
|
|
22
|
-
},
|
|
23
17
|
"groups": [
|
|
24
18
|
{
|
|
25
19
|
"id": "authentication",
|
|
@@ -41,10 +35,6 @@
|
|
|
41
35
|
"id": "invite",
|
|
42
36
|
"label": "Invite"
|
|
43
37
|
},
|
|
44
|
-
{
|
|
45
|
-
"id": "connector",
|
|
46
|
-
"label": "Connector"
|
|
47
|
-
},
|
|
48
38
|
{
|
|
49
39
|
"id": "output",
|
|
50
40
|
"label": "Output mapping"
|
|
@@ -203,24 +193,6 @@
|
|
|
203
193
|
},
|
|
204
194
|
"type": "String"
|
|
205
195
|
},
|
|
206
|
-
{
|
|
207
|
-
"id": "data.documents",
|
|
208
|
-
"label": "attachments",
|
|
209
|
-
"description": "<a href=\"https://docs.camunda.io/docs/apis-tools/camunda-api-rest/specifications/upload-document-alpha/\">Camunda documents</a> can be added as attachments",
|
|
210
|
-
"optional": true,
|
|
211
|
-
"feel": "required",
|
|
212
|
-
"group": "message",
|
|
213
|
-
"binding": {
|
|
214
|
-
"name": "data.documents",
|
|
215
|
-
"type": "zeebe:input"
|
|
216
|
-
},
|
|
217
|
-
"condition": {
|
|
218
|
-
"property": "method",
|
|
219
|
-
"equals": "chat.postMessage",
|
|
220
|
-
"type": "simple"
|
|
221
|
-
},
|
|
222
|
-
"type": "String"
|
|
223
|
-
},
|
|
224
196
|
{
|
|
225
197
|
"id": "data.channel",
|
|
226
198
|
"label": "Channel/user name/email",
|
|
@@ -435,30 +407,6 @@
|
|
|
435
407
|
},
|
|
436
408
|
"type": "String"
|
|
437
409
|
},
|
|
438
|
-
{
|
|
439
|
-
"id": "version",
|
|
440
|
-
"label": "Version",
|
|
441
|
-
"description": "Version of the element template",
|
|
442
|
-
"value": "7",
|
|
443
|
-
"group": "connector",
|
|
444
|
-
"binding": {
|
|
445
|
-
"key": "elementTemplateVersion",
|
|
446
|
-
"type": "zeebe:taskHeader"
|
|
447
|
-
},
|
|
448
|
-
"type": "Hidden"
|
|
449
|
-
},
|
|
450
|
-
{
|
|
451
|
-
"id": "id",
|
|
452
|
-
"label": "ID",
|
|
453
|
-
"description": "ID of the element template",
|
|
454
|
-
"value": "io.camunda.connectors.Slack.v1",
|
|
455
|
-
"group": "connector",
|
|
456
|
-
"binding": {
|
|
457
|
-
"key": "elementTemplateId",
|
|
458
|
-
"type": "zeebe:taskHeader"
|
|
459
|
-
},
|
|
460
|
-
"type": "Hidden"
|
|
461
|
-
},
|
|
462
410
|
{
|
|
463
411
|
"id": "resultVariable",
|
|
464
412
|
"label": "Result variable",
|
|
@@ -512,6 +460,7 @@
|
|
|
512
460
|
"label": "Retry backoff",
|
|
513
461
|
"description": "ISO-8601 duration to wait between retries",
|
|
514
462
|
"value": "PT0S",
|
|
463
|
+
"feel": "optional",
|
|
515
464
|
"group": "retries",
|
|
516
465
|
"binding": {
|
|
517
466
|
"key": "retryBackoff",
|
|
@@ -522,21 +471,21 @@
|
|
|
522
471
|
],
|
|
523
472
|
"icon": {
|
|
524
473
|
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
|
|
474
|
+
},
|
|
475
|
+
"engines": {
|
|
476
|
+
"camunda": "^8.6"
|
|
525
477
|
}
|
|
526
478
|
},
|
|
527
479
|
{
|
|
528
480
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
529
|
-
"name": "Slack
|
|
481
|
+
"name": "Slack Outbound Connector",
|
|
530
482
|
"id": "io.camunda.connectors.Slack.v1",
|
|
531
|
-
"deprecated": {
|
|
532
|
-
"message": "Replace with 'Slack connector' template.",
|
|
533
|
-
"documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
|
|
534
|
-
},
|
|
535
483
|
"description": "Create a channel or send a message to a channel or user",
|
|
536
|
-
"
|
|
537
|
-
|
|
538
|
-
"contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2218%22%20height%3D%2218%22%20%20viewBox%3D%220%200%20127%20127%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Cpath%20d%3D%22M27.2%2080c0%207.3-5.9%2013.2-13.2%2013.2C6.7%2093.2.8%2087.3.8%2080c0-7.3%205.9-13.2%2013.2-13.2h13.2V80zm6.6%200c0-7.3%205.9-13.2%2013.2-13.2%207.3%200%2013.2%205.9%2013.2%2013.2v33c0%207.3-5.9%2013.2-13.2%2013.2-7.3%200-13.2-5.9-13.2-13.2V80z%22%20fill%3D%22%23E01E5A%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M47%2027c-7.3%200-13.2-5.9-13.2-13.2C33.8%206.5%2039.7.6%2047%20.6c7.3%200%2013.2%205.9%2013.2%2013.2V27H47zm0%206.7c7.3%200%2013.2%205.9%2013.2%2013.2%200%207.3-5.9%2013.2-13.2%2013.2H13.9C6.6%2060.1.7%2054.2.7%2046.9c0-7.3%205.9-13.2%2013.2-13.2H47z%22%20fill%3D%22%2336C5F0%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M99.9%2046.9c0-7.3%205.9-13.2%2013.2-13.2%207.3%200%2013.2%205.9%2013.2%2013.2%200%207.3-5.9%2013.2-13.2%2013.2H99.9V46.9zm-6.6%200c0%207.3-5.9%2013.2-13.2%2013.2-7.3%200-13.2-5.9-13.2-13.2V13.8C66.9%206.5%2072.8.6%2080.1.6c7.3%200%2013.2%205.9%2013.2%2013.2v33.1z%22%20fill%3D%22%232EB67D%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M80.1%2099.8c7.3%200%2013.2%205.9%2013.2%2013.2%200%207.3-5.9%2013.2-13.2%2013.2-7.3%200-13.2-5.9-13.2-13.2V99.8h13.2zm0-6.6c-7.3%200-13.2-5.9-13.2-13.2%200-7.3%205.9-13.2%2013.2-13.2h33.1c7.3%200%2013.2%205.9%2013.2%2013.2%200%207.3-5.9%2013.2-13.2%2013.2H80.1z%22%20fill%3D%22%23ECB22E%22%2F%3E%0A%3C%2Fsvg%3E%0A"
|
|
484
|
+
"metadata": {
|
|
485
|
+
"keywords": []
|
|
539
486
|
},
|
|
487
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
|
|
488
|
+
"version": 6,
|
|
540
489
|
"category": {
|
|
541
490
|
"id": "connectors",
|
|
542
491
|
"name": "Connectors"
|
|
@@ -545,15 +494,18 @@
|
|
|
545
494
|
"elementType": {
|
|
546
495
|
"value": "bpmn:ServiceTask"
|
|
547
496
|
},
|
|
497
|
+
"engines": {
|
|
498
|
+
"camunda": "^8.3"
|
|
499
|
+
},
|
|
548
500
|
"groups": [
|
|
549
|
-
{
|
|
550
|
-
"id": "method",
|
|
551
|
-
"label": "Method"
|
|
552
|
-
},
|
|
553
501
|
{
|
|
554
502
|
"id": "authentication",
|
|
555
503
|
"label": "Authentication"
|
|
556
504
|
},
|
|
505
|
+
{
|
|
506
|
+
"id": "method",
|
|
507
|
+
"label": "Method"
|
|
508
|
+
},
|
|
557
509
|
{
|
|
558
510
|
"id": "message",
|
|
559
511
|
"label": "Message"
|
|
@@ -571,25 +523,48 @@
|
|
|
571
523
|
"label": "Output mapping"
|
|
572
524
|
},
|
|
573
525
|
{
|
|
574
|
-
"id": "
|
|
526
|
+
"id": "error",
|
|
575
527
|
"label": "Error handling"
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
"id": "retries",
|
|
531
|
+
"label": "Retries"
|
|
576
532
|
}
|
|
577
533
|
],
|
|
578
534
|
"properties": [
|
|
579
535
|
{
|
|
580
|
-
"type": "Hidden",
|
|
581
536
|
"value": "io.camunda:slack:1",
|
|
582
537
|
"binding": {
|
|
583
|
-
"
|
|
584
|
-
"
|
|
585
|
-
}
|
|
538
|
+
"property": "type",
|
|
539
|
+
"type": "zeebe:taskDefinition"
|
|
540
|
+
},
|
|
541
|
+
"type": "Hidden"
|
|
586
542
|
},
|
|
587
543
|
{
|
|
544
|
+
"id": "token",
|
|
545
|
+
"label": "OAuth token",
|
|
546
|
+
"optional": false,
|
|
547
|
+
"constraints": {
|
|
548
|
+
"notEmpty": true
|
|
549
|
+
},
|
|
550
|
+
"feel": "optional",
|
|
551
|
+
"group": "authentication",
|
|
552
|
+
"binding": {
|
|
553
|
+
"name": "token",
|
|
554
|
+
"type": "zeebe:input"
|
|
555
|
+
},
|
|
556
|
+
"type": "String"
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"id": "method",
|
|
588
560
|
"label": "Method",
|
|
561
|
+
"value": "chat.postMessage",
|
|
589
562
|
"group": "method",
|
|
590
|
-
"
|
|
563
|
+
"binding": {
|
|
564
|
+
"name": "method",
|
|
565
|
+
"type": "zeebe:input"
|
|
566
|
+
},
|
|
591
567
|
"type": "Dropdown",
|
|
592
|
-
"value": "chat.postMessage",
|
|
593
568
|
"choices": [
|
|
594
569
|
{
|
|
595
570
|
"name": "Post message",
|
|
@@ -603,189 +578,411 @@
|
|
|
603
578
|
"name": "Invite to channel",
|
|
604
579
|
"value": "conversations.invite"
|
|
605
580
|
}
|
|
606
|
-
]
|
|
607
|
-
"binding": {
|
|
608
|
-
"type": "zeebe:input",
|
|
609
|
-
"name": "method"
|
|
610
|
-
}
|
|
611
|
-
},
|
|
612
|
-
{
|
|
613
|
-
"label": "OAuth token",
|
|
614
|
-
"group": "authentication",
|
|
615
|
-
"type": "String",
|
|
616
|
-
"feel": "optional",
|
|
617
|
-
"binding": {
|
|
618
|
-
"type": "zeebe:input",
|
|
619
|
-
"name": "token"
|
|
620
|
-
},
|
|
621
|
-
"constraints": {
|
|
622
|
-
"notEmpty": true
|
|
623
|
-
}
|
|
581
|
+
]
|
|
624
582
|
},
|
|
625
583
|
{
|
|
626
|
-
"
|
|
627
|
-
"
|
|
628
|
-
"
|
|
629
|
-
"
|
|
584
|
+
"id": "data.messageType",
|
|
585
|
+
"label": "Message type",
|
|
586
|
+
"optional": false,
|
|
587
|
+
"value": "plainText",
|
|
588
|
+
"group": "message",
|
|
630
589
|
"binding": {
|
|
631
|
-
"
|
|
632
|
-
"
|
|
633
|
-
},
|
|
634
|
-
"constraints": {
|
|
635
|
-
"notEmpty": true,
|
|
636
|
-
"pattern": {
|
|
637
|
-
"value": "(^(#|@|=).*)|(^.+[@].+[.].{2,4}$)",
|
|
638
|
-
"message": "Must be a #channel, @user, email or FEEL expression."
|
|
639
|
-
}
|
|
590
|
+
"name": "data.messageType",
|
|
591
|
+
"type": "zeebe:input"
|
|
640
592
|
},
|
|
641
593
|
"condition": {
|
|
642
|
-
"
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
},
|
|
655
|
-
"constraints": {
|
|
656
|
-
"notEmpty": true,
|
|
657
|
-
"pattern": {
|
|
658
|
-
"value": "^(=|([-_a-z0-9]{1,80}$))",
|
|
659
|
-
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
660
|
-
}
|
|
594
|
+
"allMatch": [
|
|
595
|
+
{
|
|
596
|
+
"property": "method",
|
|
597
|
+
"equals": "chat.postMessage",
|
|
598
|
+
"type": "simple"
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
"property": "method",
|
|
602
|
+
"equals": "chat.postMessage",
|
|
603
|
+
"type": "simple"
|
|
604
|
+
}
|
|
605
|
+
]
|
|
661
606
|
},
|
|
662
|
-
"condition": {
|
|
663
|
-
"property": "method",
|
|
664
|
-
"equals": "conversations.create"
|
|
665
|
-
}
|
|
666
|
-
},
|
|
667
|
-
{
|
|
668
|
-
"label": "Visibility",
|
|
669
|
-
"group": "channel",
|
|
670
607
|
"type": "Dropdown",
|
|
671
|
-
"value": "PUBLIC",
|
|
672
|
-
"optional": false,
|
|
673
608
|
"choices": [
|
|
674
609
|
{
|
|
675
|
-
"name": "
|
|
676
|
-
"value": "
|
|
610
|
+
"name": "Plain text",
|
|
611
|
+
"value": "plainText"
|
|
677
612
|
},
|
|
678
613
|
{
|
|
679
|
-
"name": "
|
|
680
|
-
"value": "
|
|
614
|
+
"name": "Message block",
|
|
615
|
+
"value": "messageBlock"
|
|
681
616
|
}
|
|
682
|
-
]
|
|
683
|
-
"binding": {
|
|
684
|
-
"type": "zeebe:input",
|
|
685
|
-
"name": "data.visibility"
|
|
686
|
-
},
|
|
687
|
-
"condition": {
|
|
688
|
-
"property": "method",
|
|
689
|
-
"equals": "conversations.create"
|
|
690
|
-
}
|
|
617
|
+
]
|
|
691
618
|
},
|
|
692
619
|
{
|
|
620
|
+
"id": "data.text",
|
|
693
621
|
"label": "Message",
|
|
694
|
-
"
|
|
695
|
-
"type": "Text",
|
|
696
|
-
"feel": "optional",
|
|
697
|
-
"binding": {
|
|
698
|
-
"type": "zeebe:input",
|
|
699
|
-
"name": "data.text"
|
|
700
|
-
},
|
|
622
|
+
"optional": false,
|
|
701
623
|
"constraints": {
|
|
702
624
|
"notEmpty": true
|
|
703
625
|
},
|
|
704
|
-
"condition": {
|
|
705
|
-
"property": "method",
|
|
706
|
-
"equals": "chat.postMessage"
|
|
707
|
-
}
|
|
708
|
-
},
|
|
709
|
-
{
|
|
710
|
-
"label": "Channel name",
|
|
711
|
-
"group": "invite",
|
|
712
|
-
"type": "String",
|
|
713
626
|
"feel": "optional",
|
|
627
|
+
"group": "message",
|
|
714
628
|
"binding": {
|
|
715
|
-
"
|
|
716
|
-
"
|
|
717
|
-
},
|
|
718
|
-
"constraints": {
|
|
719
|
-
"notEmpty": true,
|
|
720
|
-
"pattern": {
|
|
721
|
-
"value": "^(=|([-_a-z0-9]{1,80}$))",
|
|
722
|
-
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
723
|
-
}
|
|
629
|
+
"name": "data.text",
|
|
630
|
+
"type": "zeebe:input"
|
|
724
631
|
},
|
|
725
632
|
"condition": {
|
|
726
|
-
"
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
633
|
+
"allMatch": [
|
|
634
|
+
{
|
|
635
|
+
"property": "data.messageType",
|
|
636
|
+
"equals": "plainText",
|
|
637
|
+
"type": "simple"
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
"property": "method",
|
|
641
|
+
"equals": "chat.postMessage",
|
|
642
|
+
"type": "simple"
|
|
643
|
+
}
|
|
644
|
+
]
|
|
645
|
+
},
|
|
646
|
+
"type": "Text"
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
"id": "data.blockContent",
|
|
650
|
+
"label": "Message block",
|
|
651
|
+
"description": "An array of rich message content blocks. Learn more at the <a href=\"https://api.slack.com/reference/surfaces/formatting#stack_of_blocks\" target=\"_blank\">official Slack documentation page</a>",
|
|
652
|
+
"optional": false,
|
|
653
|
+
"value": "=[\n\t{\n\t\t\"type\": \"header\",\n\t\t\"text\": {\n\t\t\t\"type\": \"plain_text\",\n\t\t\t\"text\": \"New request\"\n\t\t}\n\t},\n\t{\n\t\t\"type\": \"section\",\n\t\t\"fields\": [\n\t\t\t{\n\t\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\t\"text\": \"*Type:*\\nPaid Time Off\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\t\"text\": \"*Created by:*\\n<example.com|John Doe>\"\n\t\t\t}\n\t\t]\n\t},\n\t{\n\t\t\"type\": \"section\",\n\t\t\"fields\": [\n\t\t\t{\n\t\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\t\"text\": \"*When:*\\nAug 10 - Aug 13\"\n\t\t\t}\n\t\t]\n\t},\n\t{\n\t\t\"type\": \"section\",\n\t\t\"text\": {\n\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\"text\": \"<https://example.com|View request>\"\n\t\t}\n\t}\n]",
|
|
654
|
+
"constraints": {
|
|
655
|
+
"notEmpty": true
|
|
656
|
+
},
|
|
657
|
+
"feel": "required",
|
|
658
|
+
"group": "message",
|
|
659
|
+
"binding": {
|
|
660
|
+
"name": "data.blockContent",
|
|
661
|
+
"type": "zeebe:input"
|
|
662
|
+
},
|
|
663
|
+
"condition": {
|
|
664
|
+
"allMatch": [
|
|
665
|
+
{
|
|
666
|
+
"property": "data.messageType",
|
|
667
|
+
"equals": "messageBlock",
|
|
668
|
+
"type": "simple"
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
"property": "method",
|
|
672
|
+
"equals": "chat.postMessage",
|
|
673
|
+
"type": "simple"
|
|
674
|
+
}
|
|
675
|
+
]
|
|
676
|
+
},
|
|
677
|
+
"type": "String"
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
"id": "data.documents",
|
|
681
|
+
"label": "attachments",
|
|
682
|
+
"description": "<a href=\"https://docs.camunda.io/docs/apis-tools/camunda-api-rest/specifications/upload-document-alpha/\">Camunda documents</a> can be added as attachments",
|
|
683
|
+
"optional": true,
|
|
684
|
+
"feel": "required",
|
|
685
|
+
"group": "message",
|
|
686
|
+
"binding": {
|
|
687
|
+
"name": "data.documents",
|
|
688
|
+
"type": "zeebe:input"
|
|
689
|
+
},
|
|
690
|
+
"condition": {
|
|
691
|
+
"property": "method",
|
|
692
|
+
"equals": "chat.postMessage",
|
|
693
|
+
"type": "simple"
|
|
694
|
+
},
|
|
695
|
+
"type": "String"
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
"id": "data.channel",
|
|
699
|
+
"label": "Channel/user name/email",
|
|
700
|
+
"optional": false,
|
|
701
|
+
"constraints": {
|
|
702
|
+
"notEmpty": true
|
|
703
|
+
},
|
|
735
704
|
"feel": "optional",
|
|
705
|
+
"group": "channel",
|
|
736
706
|
"binding": {
|
|
737
|
-
"
|
|
738
|
-
"
|
|
707
|
+
"name": "data.channel",
|
|
708
|
+
"type": "zeebe:input"
|
|
709
|
+
},
|
|
710
|
+
"condition": {
|
|
711
|
+
"property": "method",
|
|
712
|
+
"equals": "chat.postMessage",
|
|
713
|
+
"type": "simple"
|
|
739
714
|
},
|
|
715
|
+
"type": "String"
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
"id": "data.thread",
|
|
719
|
+
"label": "Thread",
|
|
720
|
+
"optional": true,
|
|
721
|
+
"feel": "optional",
|
|
722
|
+
"group": "channel",
|
|
723
|
+
"binding": {
|
|
724
|
+
"name": "data.thread",
|
|
725
|
+
"type": "zeebe:input"
|
|
726
|
+
},
|
|
727
|
+
"condition": {
|
|
728
|
+
"property": "method",
|
|
729
|
+
"equals": "chat.postMessage",
|
|
730
|
+
"type": "simple"
|
|
731
|
+
},
|
|
732
|
+
"type": "String"
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
"id": "data.newChannelName",
|
|
736
|
+
"label": "Channel name",
|
|
737
|
+
"optional": false,
|
|
738
|
+
"constraints": {
|
|
739
|
+
"notEmpty": true,
|
|
740
|
+
"pattern": {
|
|
741
|
+
"value": "^(=|([-_a-z0-9]{1,80}$))",
|
|
742
|
+
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
743
|
+
}
|
|
744
|
+
},
|
|
745
|
+
"feel": "optional",
|
|
746
|
+
"group": "channel",
|
|
747
|
+
"binding": {
|
|
748
|
+
"name": "data.newChannelName",
|
|
749
|
+
"type": "zeebe:input"
|
|
750
|
+
},
|
|
751
|
+
"condition": {
|
|
752
|
+
"property": "method",
|
|
753
|
+
"equals": "conversations.create",
|
|
754
|
+
"type": "simple"
|
|
755
|
+
},
|
|
756
|
+
"type": "String"
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
"id": "data.visibility",
|
|
760
|
+
"label": "Visibility",
|
|
761
|
+
"optional": false,
|
|
762
|
+
"value": "PUBLIC",
|
|
740
763
|
"constraints": {
|
|
741
764
|
"notEmpty": true
|
|
742
765
|
},
|
|
766
|
+
"group": "channel",
|
|
767
|
+
"binding": {
|
|
768
|
+
"name": "data.visibility",
|
|
769
|
+
"type": "zeebe:input"
|
|
770
|
+
},
|
|
743
771
|
"condition": {
|
|
744
772
|
"property": "method",
|
|
745
|
-
"equals": "conversations.
|
|
746
|
-
|
|
773
|
+
"equals": "conversations.create",
|
|
774
|
+
"type": "simple"
|
|
775
|
+
},
|
|
776
|
+
"type": "Dropdown",
|
|
777
|
+
"choices": [
|
|
778
|
+
{
|
|
779
|
+
"name": "Public",
|
|
780
|
+
"value": "PUBLIC"
|
|
781
|
+
},
|
|
782
|
+
{
|
|
783
|
+
"name": "Private",
|
|
784
|
+
"value": "PRIVATE"
|
|
785
|
+
}
|
|
786
|
+
]
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
"id": "data.channelType",
|
|
790
|
+
"label": "Invite By",
|
|
791
|
+
"optional": false,
|
|
792
|
+
"value": "channelId",
|
|
793
|
+
"group": "invite",
|
|
794
|
+
"binding": {
|
|
795
|
+
"name": "data.channelType",
|
|
796
|
+
"type": "zeebe:input"
|
|
797
|
+
},
|
|
798
|
+
"condition": {
|
|
799
|
+
"allMatch": [
|
|
800
|
+
{
|
|
801
|
+
"property": "method",
|
|
802
|
+
"equals": "conversations.invite",
|
|
803
|
+
"type": "simple"
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
"property": "method",
|
|
807
|
+
"equals": "conversations.invite",
|
|
808
|
+
"type": "simple"
|
|
809
|
+
}
|
|
810
|
+
]
|
|
811
|
+
},
|
|
812
|
+
"type": "Dropdown",
|
|
813
|
+
"choices": [
|
|
814
|
+
{
|
|
815
|
+
"name": "Channel ID",
|
|
816
|
+
"value": "channelId"
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
"name": "Channel name",
|
|
820
|
+
"value": "channelName"
|
|
821
|
+
}
|
|
822
|
+
]
|
|
823
|
+
},
|
|
824
|
+
{
|
|
825
|
+
"id": "data.channelName",
|
|
826
|
+
"label": "Channel name",
|
|
827
|
+
"optional": false,
|
|
828
|
+
"constraints": {
|
|
829
|
+
"notEmpty": true,
|
|
830
|
+
"pattern": {
|
|
831
|
+
"value": "^(=|([-_a-z0-9]{1,80}$))",
|
|
832
|
+
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
833
|
+
}
|
|
834
|
+
},
|
|
835
|
+
"feel": "optional",
|
|
836
|
+
"group": "invite",
|
|
837
|
+
"binding": {
|
|
838
|
+
"name": "data.channelName",
|
|
839
|
+
"type": "zeebe:input"
|
|
840
|
+
},
|
|
841
|
+
"condition": {
|
|
842
|
+
"allMatch": [
|
|
843
|
+
{
|
|
844
|
+
"property": "data.channelType",
|
|
845
|
+
"equals": "channelName",
|
|
846
|
+
"type": "simple"
|
|
847
|
+
},
|
|
848
|
+
{
|
|
849
|
+
"property": "method",
|
|
850
|
+
"equals": "conversations.invite",
|
|
851
|
+
"type": "simple"
|
|
852
|
+
}
|
|
853
|
+
]
|
|
854
|
+
},
|
|
855
|
+
"type": "String"
|
|
856
|
+
},
|
|
857
|
+
{
|
|
858
|
+
"id": "data.channelId",
|
|
859
|
+
"label": "Channel ID",
|
|
860
|
+
"optional": false,
|
|
861
|
+
"constraints": {
|
|
862
|
+
"notEmpty": true,
|
|
863
|
+
"pattern": {
|
|
864
|
+
"value": "^(=|([-_a-z0-9]{1,80}$))",
|
|
865
|
+
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
866
|
+
}
|
|
867
|
+
},
|
|
868
|
+
"feel": "optional",
|
|
869
|
+
"group": "invite",
|
|
870
|
+
"binding": {
|
|
871
|
+
"name": "data.channelId",
|
|
872
|
+
"type": "zeebe:input"
|
|
873
|
+
},
|
|
874
|
+
"condition": {
|
|
875
|
+
"allMatch": [
|
|
876
|
+
{
|
|
877
|
+
"property": "data.channelType",
|
|
878
|
+
"equals": "channelId",
|
|
879
|
+
"type": "simple"
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
"property": "method",
|
|
883
|
+
"equals": "conversations.invite",
|
|
884
|
+
"type": "simple"
|
|
885
|
+
}
|
|
886
|
+
]
|
|
887
|
+
},
|
|
888
|
+
"type": "String"
|
|
747
889
|
},
|
|
748
890
|
{
|
|
891
|
+
"id": "data.users",
|
|
892
|
+
"label": "Users",
|
|
893
|
+
"description": "Comma-separated list of users, e.g., '@user1,@user2' or '=[ \"@user1\", \"user2@company.com\"]'",
|
|
894
|
+
"optional": false,
|
|
895
|
+
"constraints": {
|
|
896
|
+
"notEmpty": true
|
|
897
|
+
},
|
|
898
|
+
"feel": "optional",
|
|
899
|
+
"group": "invite",
|
|
900
|
+
"binding": {
|
|
901
|
+
"name": "data.users",
|
|
902
|
+
"type": "zeebe:input"
|
|
903
|
+
},
|
|
904
|
+
"condition": {
|
|
905
|
+
"property": "method",
|
|
906
|
+
"equals": "conversations.invite",
|
|
907
|
+
"type": "simple"
|
|
908
|
+
},
|
|
909
|
+
"type": "String"
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
"id": "resultVariable",
|
|
749
913
|
"label": "Result variable",
|
|
750
|
-
"description": "Name of variable to store the response in
|
|
914
|
+
"description": "Name of variable to store the response in",
|
|
751
915
|
"group": "output",
|
|
752
|
-
"type": "String",
|
|
753
916
|
"binding": {
|
|
754
|
-
"
|
|
755
|
-
"
|
|
756
|
-
}
|
|
917
|
+
"key": "resultVariable",
|
|
918
|
+
"type": "zeebe:taskHeader"
|
|
919
|
+
},
|
|
920
|
+
"type": "String"
|
|
757
921
|
},
|
|
758
922
|
{
|
|
923
|
+
"id": "resultExpression",
|
|
759
924
|
"label": "Result expression",
|
|
760
|
-
"description": "Expression to map the response into process variables
|
|
761
|
-
"group": "output",
|
|
762
|
-
"type": "Text",
|
|
925
|
+
"description": "Expression to map the response into process variables",
|
|
763
926
|
"feel": "required",
|
|
927
|
+
"group": "output",
|
|
764
928
|
"binding": {
|
|
765
|
-
"
|
|
766
|
-
"
|
|
767
|
-
}
|
|
929
|
+
"key": "resultExpression",
|
|
930
|
+
"type": "zeebe:taskHeader"
|
|
931
|
+
},
|
|
932
|
+
"type": "Text"
|
|
768
933
|
},
|
|
769
934
|
{
|
|
935
|
+
"id": "errorExpression",
|
|
770
936
|
"label": "Error expression",
|
|
771
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
772
|
-
"group": "errors",
|
|
773
|
-
"type": "Text",
|
|
937
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
|
|
774
938
|
"feel": "required",
|
|
939
|
+
"group": "error",
|
|
775
940
|
"binding": {
|
|
776
|
-
"
|
|
777
|
-
"
|
|
778
|
-
}
|
|
941
|
+
"key": "errorExpression",
|
|
942
|
+
"type": "zeebe:taskHeader"
|
|
943
|
+
},
|
|
944
|
+
"type": "Text"
|
|
945
|
+
},
|
|
946
|
+
{
|
|
947
|
+
"id": "retryCount",
|
|
948
|
+
"label": "Retries",
|
|
949
|
+
"description": "Number of retries",
|
|
950
|
+
"value": "3",
|
|
951
|
+
"feel": "optional",
|
|
952
|
+
"group": "retries",
|
|
953
|
+
"binding": {
|
|
954
|
+
"property": "retries",
|
|
955
|
+
"type": "zeebe:taskDefinition"
|
|
956
|
+
},
|
|
957
|
+
"type": "String"
|
|
958
|
+
},
|
|
959
|
+
{
|
|
960
|
+
"id": "retryBackoff",
|
|
961
|
+
"label": "Retry backoff",
|
|
962
|
+
"description": "ISO-8601 duration to wait between retries",
|
|
963
|
+
"value": "PT0S",
|
|
964
|
+
"group": "retries",
|
|
965
|
+
"binding": {
|
|
966
|
+
"key": "retryBackoff",
|
|
967
|
+
"type": "zeebe:taskHeader"
|
|
968
|
+
},
|
|
969
|
+
"type": "String"
|
|
779
970
|
}
|
|
780
|
-
]
|
|
971
|
+
],
|
|
972
|
+
"icon": {
|
|
973
|
+
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
|
|
974
|
+
}
|
|
781
975
|
},
|
|
782
976
|
{
|
|
783
977
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
784
|
-
"name": "Slack
|
|
978
|
+
"name": "Slack connector",
|
|
785
979
|
"id": "io.camunda.connectors.Slack.v1",
|
|
786
|
-
"
|
|
980
|
+
"deprecated": {
|
|
981
|
+
"message": "Replace with 'Slack connector' template.",
|
|
982
|
+
"documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
|
|
983
|
+
},
|
|
787
984
|
"description": "Create a channel or send a message to a channel or user",
|
|
788
|
-
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack
|
|
985
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/",
|
|
789
986
|
"icon": {
|
|
790
987
|
"contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2218%22%20height%3D%2218%22%20%20viewBox%3D%220%200%20127%20127%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Cpath%20d%3D%22M27.2%2080c0%207.3-5.9%2013.2-13.2%2013.2C6.7%2093.2.8%2087.3.8%2080c0-7.3%205.9-13.2%2013.2-13.2h13.2V80zm6.6%200c0-7.3%205.9-13.2%2013.2-13.2%207.3%200%2013.2%205.9%2013.2%2013.2v33c0%207.3-5.9%2013.2-13.2%2013.2-7.3%200-13.2-5.9-13.2-13.2V80z%22%20fill%3D%22%23E01E5A%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M47%2027c-7.3%200-13.2-5.9-13.2-13.2C33.8%206.5%2039.7.6%2047%20.6c7.3%200%2013.2%205.9%2013.2%2013.2V27H47zm0%206.7c7.3%200%2013.2%205.9%2013.2%2013.2%200%207.3-5.9%2013.2-13.2%2013.2H13.9C6.6%2060.1.7%2054.2.7%2046.9c0-7.3%205.9-13.2%2013.2-13.2H47z%22%20fill%3D%22%2336C5F0%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M99.9%2046.9c0-7.3%205.9-13.2%2013.2-13.2%207.3%200%2013.2%205.9%2013.2%2013.2%200%207.3-5.9%2013.2-13.2%2013.2H99.9V46.9zm-6.6%200c0%207.3-5.9%2013.2-13.2%2013.2-7.3%200-13.2-5.9-13.2-13.2V13.8C66.9%206.5%2072.8.6%2080.1.6c7.3%200%2013.2%205.9%2013.2%2013.2v33.1z%22%20fill%3D%22%232EB67D%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M80.1%2099.8c7.3%200%2013.2%205.9%2013.2%2013.2%200%207.3-5.9%2013.2-13.2%2013.2-7.3%200-13.2-5.9-13.2-13.2V99.8h13.2zm0-6.6c-7.3%200-13.2-5.9-13.2-13.2%200-7.3%205.9-13.2%2013.2-13.2h33.1c7.3%200%2013.2%205.9%2013.2%2013.2%200%207.3-5.9%2013.2-13.2%2013.2H80.1z%22%20fill%3D%22%23ECB22E%22%2F%3E%0A%3C%2Fsvg%3E%0A"
|
|
791
988
|
},
|
|
@@ -970,7 +1167,7 @@
|
|
|
970
1167
|
"constraints": {
|
|
971
1168
|
"notEmpty": true,
|
|
972
1169
|
"pattern": {
|
|
973
|
-
"value": "^(=|[-_a-z0-9]{1,80}$)",
|
|
1170
|
+
"value": "^(=|([-_a-z0-9]{1,80}$))",
|
|
974
1171
|
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
975
1172
|
}
|
|
976
1173
|
},
|
|
@@ -1029,10 +1226,7 @@
|
|
|
1029
1226
|
"key": "errorExpression"
|
|
1030
1227
|
}
|
|
1031
1228
|
}
|
|
1032
|
-
]
|
|
1033
|
-
"engines": {
|
|
1034
|
-
"camunda": "^8.2"
|
|
1035
|
-
}
|
|
1229
|
+
]
|
|
1036
1230
|
},
|
|
1037
1231
|
{
|
|
1038
1232
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
@@ -1040,7 +1234,7 @@
|
|
|
1040
1234
|
"id": "io.camunda.connectors.Slack.v1",
|
|
1041
1235
|
"description": "Create a channel or send a message to a channel or user",
|
|
1042
1236
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
|
|
1043
|
-
"version":
|
|
1237
|
+
"version": 4,
|
|
1044
1238
|
"category": {
|
|
1045
1239
|
"id": "connectors",
|
|
1046
1240
|
"name": "Connectors"
|
|
@@ -1238,7 +1432,24 @@
|
|
|
1238
1432
|
"feel": "optional",
|
|
1239
1433
|
"group": "channel",
|
|
1240
1434
|
"binding": {
|
|
1241
|
-
"name": "data.channel",
|
|
1435
|
+
"name": "data.channel",
|
|
1436
|
+
"type": "zeebe:input"
|
|
1437
|
+
},
|
|
1438
|
+
"condition": {
|
|
1439
|
+
"property": "method",
|
|
1440
|
+
"equals": "chat.postMessage",
|
|
1441
|
+
"type": "simple"
|
|
1442
|
+
},
|
|
1443
|
+
"type": "String"
|
|
1444
|
+
},
|
|
1445
|
+
{
|
|
1446
|
+
"id": "data.thread",
|
|
1447
|
+
"label": "Thread",
|
|
1448
|
+
"optional": true,
|
|
1449
|
+
"feel": "optional",
|
|
1450
|
+
"group": "channel",
|
|
1451
|
+
"binding": {
|
|
1452
|
+
"name": "data.thread",
|
|
1242
1453
|
"type": "zeebe:input"
|
|
1243
1454
|
},
|
|
1244
1455
|
"condition": {
|
|
@@ -1255,7 +1466,7 @@
|
|
|
1255
1466
|
"constraints": {
|
|
1256
1467
|
"notEmpty": true,
|
|
1257
1468
|
"pattern": {
|
|
1258
|
-
"value": "^(=|[-_a-z0-9]{1,80}$)",
|
|
1469
|
+
"value": "^(=|([-_a-z0-9]{1,80}$))",
|
|
1259
1470
|
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
1260
1471
|
}
|
|
1261
1472
|
},
|
|
@@ -1309,7 +1520,7 @@
|
|
|
1309
1520
|
"constraints": {
|
|
1310
1521
|
"notEmpty": true,
|
|
1311
1522
|
"pattern": {
|
|
1312
|
-
"value": "^(=|[-_a-z0-9]{1,80}$)",
|
|
1523
|
+
"value": "^(=|([-_a-z0-9]{1,80}$))",
|
|
1313
1524
|
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
1314
1525
|
}
|
|
1315
1526
|
},
|
|
@@ -1413,19 +1624,19 @@
|
|
|
1413
1624
|
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
|
|
1414
1625
|
},
|
|
1415
1626
|
"engines": {
|
|
1416
|
-
"camunda": "^8.
|
|
1627
|
+
"camunda": "^8.6"
|
|
1417
1628
|
}
|
|
1418
1629
|
},
|
|
1419
1630
|
{
|
|
1420
1631
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
1421
1632
|
"name": "Slack Outbound Connector",
|
|
1422
1633
|
"id": "io.camunda.connectors.Slack.v1",
|
|
1634
|
+
"version": 2,
|
|
1423
1635
|
"description": "Create a channel or send a message to a channel or user",
|
|
1424
|
-
"metadata": {
|
|
1425
|
-
"keywords": []
|
|
1426
|
-
},
|
|
1427
1636
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
|
|
1428
|
-
"
|
|
1637
|
+
"icon": {
|
|
1638
|
+
"contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2218%22%20height%3D%2218%22%20%20viewBox%3D%220%200%20127%20127%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Cpath%20d%3D%22M27.2%2080c0%207.3-5.9%2013.2-13.2%2013.2C6.7%2093.2.8%2087.3.8%2080c0-7.3%205.9-13.2%2013.2-13.2h13.2V80zm6.6%200c0-7.3%205.9-13.2%2013.2-13.2%207.3%200%2013.2%205.9%2013.2%2013.2v33c0%207.3-5.9%2013.2-13.2%2013.2-7.3%200-13.2-5.9-13.2-13.2V80z%22%20fill%3D%22%23E01E5A%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M47%2027c-7.3%200-13.2-5.9-13.2-13.2C33.8%206.5%2039.7.6%2047%20.6c7.3%200%2013.2%205.9%2013.2%2013.2V27H47zm0%206.7c7.3%200%2013.2%205.9%2013.2%2013.2%200%207.3-5.9%2013.2-13.2%2013.2H13.9C6.6%2060.1.7%2054.2.7%2046.9c0-7.3%205.9-13.2%2013.2-13.2H47z%22%20fill%3D%22%2336C5F0%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M99.9%2046.9c0-7.3%205.9-13.2%2013.2-13.2%207.3%200%2013.2%205.9%2013.2%2013.2%200%207.3-5.9%2013.2-13.2%2013.2H99.9V46.9zm-6.6%200c0%207.3-5.9%2013.2-13.2%2013.2-7.3%200-13.2-5.9-13.2-13.2V13.8C66.9%206.5%2072.8.6%2080.1.6c7.3%200%2013.2%205.9%2013.2%2013.2v33.1z%22%20fill%3D%22%232EB67D%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M80.1%2099.8c7.3%200%2013.2%205.9%2013.2%2013.2%200%207.3-5.9%2013.2-13.2%2013.2-7.3%200-13.2-5.9-13.2-13.2V99.8h13.2zm0-6.6c-7.3%200-13.2-5.9-13.2-13.2%200-7.3%205.9-13.2%2013.2-13.2h33.1c7.3%200%2013.2%205.9%2013.2%2013.2%200%207.3-5.9%2013.2-13.2%2013.2H80.1z%22%20fill%3D%22%23ECB22E%22%2F%3E%0A%3C%2Fsvg%3E%0A"
|
|
1639
|
+
},
|
|
1429
1640
|
"category": {
|
|
1430
1641
|
"id": "connectors",
|
|
1431
1642
|
"name": "Connectors"
|
|
@@ -1434,18 +1645,15 @@
|
|
|
1434
1645
|
"elementType": {
|
|
1435
1646
|
"value": "bpmn:ServiceTask"
|
|
1436
1647
|
},
|
|
1437
|
-
"engines": {
|
|
1438
|
-
"camunda": "^8.3"
|
|
1439
|
-
},
|
|
1440
1648
|
"groups": [
|
|
1441
|
-
{
|
|
1442
|
-
"id": "authentication",
|
|
1443
|
-
"label": "Authentication"
|
|
1444
|
-
},
|
|
1445
1649
|
{
|
|
1446
1650
|
"id": "method",
|
|
1447
1651
|
"label": "Method"
|
|
1448
1652
|
},
|
|
1653
|
+
{
|
|
1654
|
+
"id": "authentication",
|
|
1655
|
+
"label": "Authentication"
|
|
1656
|
+
},
|
|
1449
1657
|
{
|
|
1450
1658
|
"id": "message",
|
|
1451
1659
|
"label": "Message"
|
|
@@ -1463,48 +1671,25 @@
|
|
|
1463
1671
|
"label": "Output mapping"
|
|
1464
1672
|
},
|
|
1465
1673
|
{
|
|
1466
|
-
"id": "
|
|
1674
|
+
"id": "errors",
|
|
1467
1675
|
"label": "Error handling"
|
|
1468
|
-
},
|
|
1469
|
-
{
|
|
1470
|
-
"id": "retries",
|
|
1471
|
-
"label": "Retries"
|
|
1472
1676
|
}
|
|
1473
1677
|
],
|
|
1474
1678
|
"properties": [
|
|
1475
1679
|
{
|
|
1680
|
+
"type": "Hidden",
|
|
1476
1681
|
"value": "io.camunda:slack:1",
|
|
1477
1682
|
"binding": {
|
|
1478
|
-
"
|
|
1479
|
-
"
|
|
1480
|
-
}
|
|
1481
|
-
"type": "Hidden"
|
|
1482
|
-
},
|
|
1483
|
-
{
|
|
1484
|
-
"id": "token",
|
|
1485
|
-
"label": "OAuth token",
|
|
1486
|
-
"optional": false,
|
|
1487
|
-
"constraints": {
|
|
1488
|
-
"notEmpty": true
|
|
1489
|
-
},
|
|
1490
|
-
"feel": "optional",
|
|
1491
|
-
"group": "authentication",
|
|
1492
|
-
"binding": {
|
|
1493
|
-
"name": "token",
|
|
1494
|
-
"type": "zeebe:input"
|
|
1495
|
-
},
|
|
1496
|
-
"type": "String"
|
|
1683
|
+
"type": "zeebe:taskDefinition",
|
|
1684
|
+
"property": "type"
|
|
1685
|
+
}
|
|
1497
1686
|
},
|
|
1498
1687
|
{
|
|
1499
|
-
"id": "method",
|
|
1500
1688
|
"label": "Method",
|
|
1501
|
-
"value": "chat.postMessage",
|
|
1502
1689
|
"group": "method",
|
|
1503
|
-
"
|
|
1504
|
-
"name": "method",
|
|
1505
|
-
"type": "zeebe:input"
|
|
1506
|
-
},
|
|
1690
|
+
"id": "method",
|
|
1507
1691
|
"type": "Dropdown",
|
|
1692
|
+
"value": "chat.postMessage",
|
|
1508
1693
|
"choices": [
|
|
1509
1694
|
{
|
|
1510
1695
|
"name": "Post message",
|
|
@@ -1518,411 +1703,192 @@
|
|
|
1518
1703
|
"name": "Invite to channel",
|
|
1519
1704
|
"value": "conversations.invite"
|
|
1520
1705
|
}
|
|
1521
|
-
]
|
|
1522
|
-
},
|
|
1523
|
-
{
|
|
1524
|
-
"id": "data.messageType",
|
|
1525
|
-
"label": "Message type",
|
|
1526
|
-
"optional": false,
|
|
1527
|
-
"value": "plainText",
|
|
1528
|
-
"group": "message",
|
|
1706
|
+
],
|
|
1529
1707
|
"binding": {
|
|
1530
|
-
"
|
|
1531
|
-
"
|
|
1532
|
-
}
|
|
1533
|
-
"condition": {
|
|
1534
|
-
"allMatch": [
|
|
1535
|
-
{
|
|
1536
|
-
"property": "method",
|
|
1537
|
-
"equals": "chat.postMessage",
|
|
1538
|
-
"type": "simple"
|
|
1539
|
-
},
|
|
1540
|
-
{
|
|
1541
|
-
"property": "method",
|
|
1542
|
-
"equals": "chat.postMessage",
|
|
1543
|
-
"type": "simple"
|
|
1544
|
-
}
|
|
1545
|
-
]
|
|
1546
|
-
},
|
|
1547
|
-
"type": "Dropdown",
|
|
1548
|
-
"choices": [
|
|
1549
|
-
{
|
|
1550
|
-
"name": "Plain text",
|
|
1551
|
-
"value": "plainText"
|
|
1552
|
-
},
|
|
1553
|
-
{
|
|
1554
|
-
"name": "Message block",
|
|
1555
|
-
"value": "messageBlock"
|
|
1556
|
-
}
|
|
1557
|
-
]
|
|
1708
|
+
"type": "zeebe:input",
|
|
1709
|
+
"name": "method"
|
|
1710
|
+
}
|
|
1558
1711
|
},
|
|
1559
1712
|
{
|
|
1560
|
-
"
|
|
1561
|
-
"
|
|
1562
|
-
"
|
|
1563
|
-
"constraints": {
|
|
1564
|
-
"notEmpty": true
|
|
1565
|
-
},
|
|
1713
|
+
"label": "OAuth token",
|
|
1714
|
+
"group": "authentication",
|
|
1715
|
+
"type": "String",
|
|
1566
1716
|
"feel": "optional",
|
|
1567
|
-
"group": "message",
|
|
1568
1717
|
"binding": {
|
|
1569
|
-
"
|
|
1570
|
-
"
|
|
1571
|
-
},
|
|
1572
|
-
"condition": {
|
|
1573
|
-
"allMatch": [
|
|
1574
|
-
{
|
|
1575
|
-
"property": "data.messageType",
|
|
1576
|
-
"equals": "plainText",
|
|
1577
|
-
"type": "simple"
|
|
1578
|
-
},
|
|
1579
|
-
{
|
|
1580
|
-
"property": "method",
|
|
1581
|
-
"equals": "chat.postMessage",
|
|
1582
|
-
"type": "simple"
|
|
1583
|
-
}
|
|
1584
|
-
]
|
|
1718
|
+
"type": "zeebe:input",
|
|
1719
|
+
"name": "token"
|
|
1585
1720
|
},
|
|
1586
|
-
"type": "Text"
|
|
1587
|
-
},
|
|
1588
|
-
{
|
|
1589
|
-
"id": "data.blockContent",
|
|
1590
|
-
"label": "Message block",
|
|
1591
|
-
"description": "An array of rich message content blocks. Learn more at the <a href=\"https://api.slack.com/reference/surfaces/formatting#stack_of_blocks\" target=\"_blank\">official Slack documentation page</a>",
|
|
1592
|
-
"optional": false,
|
|
1593
|
-
"value": "=[\n\t{\n\t\t\"type\": \"header\",\n\t\t\"text\": {\n\t\t\t\"type\": \"plain_text\",\n\t\t\t\"text\": \"New request\"\n\t\t}\n\t},\n\t{\n\t\t\"type\": \"section\",\n\t\t\"fields\": [\n\t\t\t{\n\t\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\t\"text\": \"*Type:*\\nPaid Time Off\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\t\"text\": \"*Created by:*\\n<example.com|John Doe>\"\n\t\t\t}\n\t\t]\n\t},\n\t{\n\t\t\"type\": \"section\",\n\t\t\"fields\": [\n\t\t\t{\n\t\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\t\"text\": \"*When:*\\nAug 10 - Aug 13\"\n\t\t\t}\n\t\t]\n\t},\n\t{\n\t\t\"type\": \"section\",\n\t\t\"text\": {\n\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\"text\": \"<https://example.com|View request>\"\n\t\t}\n\t}\n]",
|
|
1594
1721
|
"constraints": {
|
|
1595
1722
|
"notEmpty": true
|
|
1596
|
-
}
|
|
1597
|
-
"feel": "required",
|
|
1598
|
-
"group": "message",
|
|
1599
|
-
"binding": {
|
|
1600
|
-
"name": "data.blockContent",
|
|
1601
|
-
"type": "zeebe:input"
|
|
1602
|
-
},
|
|
1603
|
-
"condition": {
|
|
1604
|
-
"allMatch": [
|
|
1605
|
-
{
|
|
1606
|
-
"property": "data.messageType",
|
|
1607
|
-
"equals": "messageBlock",
|
|
1608
|
-
"type": "simple"
|
|
1609
|
-
},
|
|
1610
|
-
{
|
|
1611
|
-
"property": "method",
|
|
1612
|
-
"equals": "chat.postMessage",
|
|
1613
|
-
"type": "simple"
|
|
1614
|
-
}
|
|
1615
|
-
]
|
|
1616
|
-
},
|
|
1617
|
-
"type": "String"
|
|
1618
|
-
},
|
|
1619
|
-
{
|
|
1620
|
-
"id": "data.documents",
|
|
1621
|
-
"label": "attachments",
|
|
1622
|
-
"description": "<a href=\"https://docs.camunda.io/docs/apis-tools/camunda-api-rest/specifications/upload-document-alpha/\">Camunda documents</a> can be added as attachments",
|
|
1623
|
-
"optional": true,
|
|
1624
|
-
"feel": "required",
|
|
1625
|
-
"group": "message",
|
|
1626
|
-
"binding": {
|
|
1627
|
-
"name": "data.documents",
|
|
1628
|
-
"type": "zeebe:input"
|
|
1629
|
-
},
|
|
1630
|
-
"condition": {
|
|
1631
|
-
"property": "method",
|
|
1632
|
-
"equals": "chat.postMessage",
|
|
1633
|
-
"type": "simple"
|
|
1634
|
-
},
|
|
1635
|
-
"type": "String"
|
|
1723
|
+
}
|
|
1636
1724
|
},
|
|
1637
1725
|
{
|
|
1638
|
-
"id": "data.channel",
|
|
1639
1726
|
"label": "Channel/user name/email",
|
|
1640
|
-
"optional": false,
|
|
1641
|
-
"constraints": {
|
|
1642
|
-
"notEmpty": true
|
|
1643
|
-
},
|
|
1644
|
-
"feel": "optional",
|
|
1645
1727
|
"group": "channel",
|
|
1646
|
-
"
|
|
1647
|
-
"name": "data.channel",
|
|
1648
|
-
"type": "zeebe:input"
|
|
1649
|
-
},
|
|
1650
|
-
"condition": {
|
|
1651
|
-
"property": "method",
|
|
1652
|
-
"equals": "chat.postMessage",
|
|
1653
|
-
"type": "simple"
|
|
1654
|
-
},
|
|
1655
|
-
"type": "String"
|
|
1656
|
-
},
|
|
1657
|
-
{
|
|
1658
|
-
"id": "data.thread",
|
|
1659
|
-
"label": "Thread",
|
|
1660
|
-
"optional": true,
|
|
1728
|
+
"type": "String",
|
|
1661
1729
|
"feel": "optional",
|
|
1662
|
-
"group": "channel",
|
|
1663
1730
|
"binding": {
|
|
1664
|
-
"
|
|
1665
|
-
"
|
|
1666
|
-
},
|
|
1667
|
-
"condition": {
|
|
1668
|
-
"property": "method",
|
|
1669
|
-
"equals": "chat.postMessage",
|
|
1670
|
-
"type": "simple"
|
|
1731
|
+
"type": "zeebe:input",
|
|
1732
|
+
"name": "data.channel"
|
|
1671
1733
|
},
|
|
1672
|
-
"type": "String"
|
|
1673
|
-
},
|
|
1674
|
-
{
|
|
1675
|
-
"id": "data.newChannelName",
|
|
1676
|
-
"label": "Channel name",
|
|
1677
|
-
"optional": false,
|
|
1678
1734
|
"constraints": {
|
|
1679
1735
|
"notEmpty": true,
|
|
1680
1736
|
"pattern": {
|
|
1681
|
-
"value": "^(
|
|
1682
|
-
"message": "
|
|
1737
|
+
"value": "(^(#|@|=).*)|(^.+[@].+[.].{2,4}$)",
|
|
1738
|
+
"message": "Must be a #channel, @user, email or FEEL expression."
|
|
1683
1739
|
}
|
|
1684
1740
|
},
|
|
1685
|
-
"feel": "optional",
|
|
1686
|
-
"group": "channel",
|
|
1687
|
-
"binding": {
|
|
1688
|
-
"name": "data.newChannelName",
|
|
1689
|
-
"type": "zeebe:input"
|
|
1690
|
-
},
|
|
1691
1741
|
"condition": {
|
|
1692
1742
|
"property": "method",
|
|
1693
|
-
"equals": "
|
|
1694
|
-
|
|
1695
|
-
},
|
|
1696
|
-
"type": "String"
|
|
1743
|
+
"equals": "chat.postMessage"
|
|
1744
|
+
}
|
|
1697
1745
|
},
|
|
1698
1746
|
{
|
|
1699
|
-
"
|
|
1700
|
-
"label": "Visibility",
|
|
1701
|
-
"optional": false,
|
|
1702
|
-
"value": "PUBLIC",
|
|
1703
|
-
"constraints": {
|
|
1704
|
-
"notEmpty": true
|
|
1705
|
-
},
|
|
1747
|
+
"label": "New channel name",
|
|
1706
1748
|
"group": "channel",
|
|
1749
|
+
"type": "String",
|
|
1750
|
+
"feel": "optional",
|
|
1707
1751
|
"binding": {
|
|
1708
|
-
"
|
|
1709
|
-
"
|
|
1752
|
+
"type": "zeebe:input",
|
|
1753
|
+
"name": "data.newChannelName"
|
|
1754
|
+
},
|
|
1755
|
+
"constraints": {
|
|
1756
|
+
"notEmpty": true,
|
|
1757
|
+
"pattern": {
|
|
1758
|
+
"value": "^(=|([-_a-z0-9]{1,80}$))",
|
|
1759
|
+
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
1760
|
+
}
|
|
1710
1761
|
},
|
|
1711
1762
|
"condition": {
|
|
1712
1763
|
"property": "method",
|
|
1713
|
-
"equals": "conversations.create"
|
|
1714
|
-
|
|
1715
|
-
|
|
1764
|
+
"equals": "conversations.create"
|
|
1765
|
+
}
|
|
1766
|
+
},
|
|
1767
|
+
{
|
|
1768
|
+
"label": "Visibility",
|
|
1769
|
+
"group": "channel",
|
|
1716
1770
|
"type": "Dropdown",
|
|
1771
|
+
"value": "PUBLIC",
|
|
1772
|
+
"optional": false,
|
|
1717
1773
|
"choices": [
|
|
1718
|
-
{
|
|
1719
|
-
"name": "Public",
|
|
1720
|
-
"value": "PUBLIC"
|
|
1721
|
-
},
|
|
1722
1774
|
{
|
|
1723
1775
|
"name": "Private",
|
|
1724
1776
|
"value": "PRIVATE"
|
|
1777
|
+
},
|
|
1778
|
+
{
|
|
1779
|
+
"name": "Public",
|
|
1780
|
+
"value": "PUBLIC"
|
|
1725
1781
|
}
|
|
1726
|
-
]
|
|
1727
|
-
},
|
|
1728
|
-
{
|
|
1729
|
-
"id": "data.channelType",
|
|
1730
|
-
"label": "Invite By",
|
|
1731
|
-
"optional": false,
|
|
1732
|
-
"value": "channelId",
|
|
1733
|
-
"group": "invite",
|
|
1782
|
+
],
|
|
1734
1783
|
"binding": {
|
|
1735
|
-
"
|
|
1736
|
-
"
|
|
1784
|
+
"type": "zeebe:input",
|
|
1785
|
+
"name": "data.visibility"
|
|
1737
1786
|
},
|
|
1738
1787
|
"condition": {
|
|
1739
|
-
"
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
"equals": "conversations.invite",
|
|
1743
|
-
"type": "simple"
|
|
1744
|
-
},
|
|
1745
|
-
{
|
|
1746
|
-
"property": "method",
|
|
1747
|
-
"equals": "conversations.invite",
|
|
1748
|
-
"type": "simple"
|
|
1749
|
-
}
|
|
1750
|
-
]
|
|
1751
|
-
},
|
|
1752
|
-
"type": "Dropdown",
|
|
1753
|
-
"choices": [
|
|
1754
|
-
{
|
|
1755
|
-
"name": "Channel ID",
|
|
1756
|
-
"value": "channelId"
|
|
1757
|
-
},
|
|
1758
|
-
{
|
|
1759
|
-
"name": "Channel name",
|
|
1760
|
-
"value": "channelName"
|
|
1761
|
-
}
|
|
1762
|
-
]
|
|
1788
|
+
"property": "method",
|
|
1789
|
+
"equals": "conversations.create"
|
|
1790
|
+
}
|
|
1763
1791
|
},
|
|
1764
1792
|
{
|
|
1765
|
-
"
|
|
1766
|
-
"
|
|
1767
|
-
"
|
|
1768
|
-
"constraints": {
|
|
1769
|
-
"notEmpty": true,
|
|
1770
|
-
"pattern": {
|
|
1771
|
-
"value": "^(=|([-_a-z0-9]{1,80}$))",
|
|
1772
|
-
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
1773
|
-
}
|
|
1774
|
-
},
|
|
1793
|
+
"label": "Message",
|
|
1794
|
+
"group": "message",
|
|
1795
|
+
"type": "Text",
|
|
1775
1796
|
"feel": "optional",
|
|
1776
|
-
"group": "invite",
|
|
1777
1797
|
"binding": {
|
|
1778
|
-
"
|
|
1779
|
-
"
|
|
1798
|
+
"type": "zeebe:input",
|
|
1799
|
+
"name": "data.text"
|
|
1780
1800
|
},
|
|
1781
|
-
"
|
|
1782
|
-
"
|
|
1783
|
-
{
|
|
1784
|
-
"property": "data.channelType",
|
|
1785
|
-
"equals": "channelName",
|
|
1786
|
-
"type": "simple"
|
|
1787
|
-
},
|
|
1788
|
-
{
|
|
1789
|
-
"property": "method",
|
|
1790
|
-
"equals": "conversations.invite",
|
|
1791
|
-
"type": "simple"
|
|
1792
|
-
}
|
|
1793
|
-
]
|
|
1801
|
+
"constraints": {
|
|
1802
|
+
"notEmpty": true
|
|
1794
1803
|
},
|
|
1795
|
-
"
|
|
1804
|
+
"condition": {
|
|
1805
|
+
"property": "method",
|
|
1806
|
+
"equals": "chat.postMessage"
|
|
1807
|
+
}
|
|
1796
1808
|
},
|
|
1797
1809
|
{
|
|
1798
|
-
"
|
|
1799
|
-
"
|
|
1800
|
-
"
|
|
1810
|
+
"label": "Channel name",
|
|
1811
|
+
"group": "invite",
|
|
1812
|
+
"type": "String",
|
|
1813
|
+
"feel": "optional",
|
|
1814
|
+
"binding": {
|
|
1815
|
+
"type": "zeebe:input",
|
|
1816
|
+
"name": "data.channelName"
|
|
1817
|
+
},
|
|
1801
1818
|
"constraints": {
|
|
1802
1819
|
"notEmpty": true,
|
|
1803
1820
|
"pattern": {
|
|
1804
|
-
"value": "^(=|
|
|
1821
|
+
"value": "^(=|[-_a-z0-9]{1,80}$)",
|
|
1805
1822
|
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
1806
1823
|
}
|
|
1807
1824
|
},
|
|
1808
|
-
"feel": "optional",
|
|
1809
|
-
"group": "invite",
|
|
1810
|
-
"binding": {
|
|
1811
|
-
"name": "data.channelId",
|
|
1812
|
-
"type": "zeebe:input"
|
|
1813
|
-
},
|
|
1814
1825
|
"condition": {
|
|
1815
|
-
"
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
"equals": "channelId",
|
|
1819
|
-
"type": "simple"
|
|
1820
|
-
},
|
|
1821
|
-
{
|
|
1822
|
-
"property": "method",
|
|
1823
|
-
"equals": "conversations.invite",
|
|
1824
|
-
"type": "simple"
|
|
1825
|
-
}
|
|
1826
|
-
]
|
|
1827
|
-
},
|
|
1828
|
-
"type": "String"
|
|
1826
|
+
"property": "method",
|
|
1827
|
+
"equals": "conversations.invite"
|
|
1828
|
+
}
|
|
1829
1829
|
},
|
|
1830
1830
|
{
|
|
1831
|
-
"id": "data.users",
|
|
1832
1831
|
"label": "Users",
|
|
1833
1832
|
"description": "Comma-separated list of users, e.g., '@user1,@user2' or '=[ \"@user1\", \"user2@company.com\"]'",
|
|
1834
|
-
"optional": false,
|
|
1835
|
-
"constraints": {
|
|
1836
|
-
"notEmpty": true
|
|
1837
|
-
},
|
|
1838
|
-
"feel": "optional",
|
|
1839
1833
|
"group": "invite",
|
|
1834
|
+
"type": "String",
|
|
1835
|
+
"feel": "optional",
|
|
1840
1836
|
"binding": {
|
|
1841
|
-
"
|
|
1842
|
-
"
|
|
1837
|
+
"type": "zeebe:input",
|
|
1838
|
+
"name": "data.users"
|
|
1839
|
+
},
|
|
1840
|
+
"constraints": {
|
|
1841
|
+
"notEmpty": true
|
|
1843
1842
|
},
|
|
1844
1843
|
"condition": {
|
|
1845
1844
|
"property": "method",
|
|
1846
|
-
"equals": "conversations.invite"
|
|
1847
|
-
|
|
1848
|
-
},
|
|
1849
|
-
"type": "String"
|
|
1845
|
+
"equals": "conversations.invite"
|
|
1846
|
+
}
|
|
1850
1847
|
},
|
|
1851
1848
|
{
|
|
1852
|
-
"id": "resultVariable",
|
|
1853
1849
|
"label": "Result variable",
|
|
1854
|
-
"description": "Name of variable to store the response in",
|
|
1850
|
+
"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>",
|
|
1855
1851
|
"group": "output",
|
|
1852
|
+
"type": "String",
|
|
1856
1853
|
"binding": {
|
|
1857
|
-
"
|
|
1858
|
-
"
|
|
1859
|
-
}
|
|
1860
|
-
"type": "String"
|
|
1854
|
+
"type": "zeebe:taskHeader",
|
|
1855
|
+
"key": "resultVariable"
|
|
1856
|
+
}
|
|
1861
1857
|
},
|
|
1862
1858
|
{
|
|
1863
|
-
"id": "resultExpression",
|
|
1864
1859
|
"label": "Result expression",
|
|
1865
|
-
"description": "Expression to map the response into process variables",
|
|
1866
|
-
"feel": "required",
|
|
1860
|
+
"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>",
|
|
1867
1861
|
"group": "output",
|
|
1862
|
+
"type": "Text",
|
|
1863
|
+
"feel": "required",
|
|
1868
1864
|
"binding": {
|
|
1869
|
-
"
|
|
1870
|
-
"
|
|
1871
|
-
}
|
|
1872
|
-
"type": "Text"
|
|
1865
|
+
"type": "zeebe:taskHeader",
|
|
1866
|
+
"key": "resultExpression"
|
|
1867
|
+
}
|
|
1873
1868
|
},
|
|
1874
1869
|
{
|
|
1875
|
-
"id": "errorExpression",
|
|
1876
1870
|
"label": "Error expression",
|
|
1877
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
1871
|
+
"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>",
|
|
1872
|
+
"group": "errors",
|
|
1873
|
+
"type": "Text",
|
|
1878
1874
|
"feel": "required",
|
|
1879
|
-
"group": "error",
|
|
1880
|
-
"binding": {
|
|
1881
|
-
"key": "errorExpression",
|
|
1882
|
-
"type": "zeebe:taskHeader"
|
|
1883
|
-
},
|
|
1884
|
-
"type": "Text"
|
|
1885
|
-
},
|
|
1886
|
-
{
|
|
1887
|
-
"id": "retryCount",
|
|
1888
|
-
"label": "Retries",
|
|
1889
|
-
"description": "Number of retries",
|
|
1890
|
-
"value": "3",
|
|
1891
|
-
"feel": "optional",
|
|
1892
|
-
"group": "retries",
|
|
1893
|
-
"binding": {
|
|
1894
|
-
"property": "retries",
|
|
1895
|
-
"type": "zeebe:taskDefinition"
|
|
1896
|
-
},
|
|
1897
|
-
"type": "String"
|
|
1898
|
-
},
|
|
1899
|
-
{
|
|
1900
|
-
"id": "retryBackoff",
|
|
1901
|
-
"label": "Retry backoff",
|
|
1902
|
-
"description": "ISO-8601 duration to wait between retries",
|
|
1903
|
-
"value": "PT0S",
|
|
1904
|
-
"group": "retries",
|
|
1905
1875
|
"binding": {
|
|
1906
|
-
"
|
|
1907
|
-
"
|
|
1908
|
-
}
|
|
1909
|
-
"type": "String"
|
|
1876
|
+
"type": "zeebe:taskHeader",
|
|
1877
|
+
"key": "errorExpression"
|
|
1878
|
+
}
|
|
1910
1879
|
}
|
|
1911
1880
|
],
|
|
1912
|
-
"
|
|
1913
|
-
"
|
|
1881
|
+
"engines": {
|
|
1882
|
+
"camunda": "^8.2"
|
|
1914
1883
|
}
|
|
1915
1884
|
},
|
|
1916
1885
|
{
|
|
1917
1886
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
1918
|
-
"name": "Slack
|
|
1887
|
+
"name": "Slack Outbound Connector",
|
|
1919
1888
|
"id": "io.camunda.connectors.Slack.v1",
|
|
1920
|
-
"version": 1,
|
|
1921
1889
|
"description": "Create a channel or send a message to a channel or user",
|
|
1922
|
-
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack
|
|
1923
|
-
"
|
|
1924
|
-
"contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2218%22%20height%3D%2218%22%20%20viewBox%3D%220%200%20127%20127%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Cpath%20d%3D%22M27.2%2080c0%207.3-5.9%2013.2-13.2%2013.2C6.7%2093.2.8%2087.3.8%2080c0-7.3%205.9-13.2%2013.2-13.2h13.2V80zm6.6%200c0-7.3%205.9-13.2%2013.2-13.2%207.3%200%2013.2%205.9%2013.2%2013.2v33c0%207.3-5.9%2013.2-13.2%2013.2-7.3%200-13.2-5.9-13.2-13.2V80z%22%20fill%3D%22%23E01E5A%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M47%2027c-7.3%200-13.2-5.9-13.2-13.2C33.8%206.5%2039.7.6%2047%20.6c7.3%200%2013.2%205.9%2013.2%2013.2V27H47zm0%206.7c7.3%200%2013.2%205.9%2013.2%2013.2%200%207.3-5.9%2013.2-13.2%2013.2H13.9C6.6%2060.1.7%2054.2.7%2046.9c0-7.3%205.9-13.2%2013.2-13.2H47z%22%20fill%3D%22%2336C5F0%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M99.9%2046.9c0-7.3%205.9-13.2%2013.2-13.2%207.3%200%2013.2%205.9%2013.2%2013.2%200%207.3-5.9%2013.2-13.2%2013.2H99.9V46.9zm-6.6%200c0%207.3-5.9%2013.2-13.2%2013.2-7.3%200-13.2-5.9-13.2-13.2V13.8C66.9%206.5%2072.8.6%2080.1.6c7.3%200%2013.2%205.9%2013.2%2013.2v33.1z%22%20fill%3D%22%232EB67D%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M80.1%2099.8c7.3%200%2013.2%205.9%2013.2%2013.2%200%207.3-5.9%2013.2-13.2%2013.2-7.3%200-13.2-5.9-13.2-13.2V99.8h13.2zm0-6.6c-7.3%200-13.2-5.9-13.2-13.2%200-7.3%205.9-13.2%2013.2-13.2h33.1c7.3%200%2013.2%205.9%2013.2%2013.2%200%207.3-5.9%2013.2-13.2%2013.2H80.1z%22%20fill%3D%22%23ECB22E%22%2F%3E%0A%3C%2Fsvg%3E%0A"
|
|
1925
|
-
},
|
|
1890
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
|
|
1891
|
+
"version": 3,
|
|
1926
1892
|
"category": {
|
|
1927
1893
|
"id": "connectors",
|
|
1928
1894
|
"name": "Connectors"
|
|
@@ -1932,14 +1898,14 @@
|
|
|
1932
1898
|
"value": "bpmn:ServiceTask"
|
|
1933
1899
|
},
|
|
1934
1900
|
"groups": [
|
|
1935
|
-
{
|
|
1936
|
-
"id": "method",
|
|
1937
|
-
"label": "Method"
|
|
1938
|
-
},
|
|
1939
1901
|
{
|
|
1940
1902
|
"id": "authentication",
|
|
1941
1903
|
"label": "Authentication"
|
|
1942
1904
|
},
|
|
1905
|
+
{
|
|
1906
|
+
"id": "method",
|
|
1907
|
+
"label": "Method"
|
|
1908
|
+
},
|
|
1943
1909
|
{
|
|
1944
1910
|
"id": "message",
|
|
1945
1911
|
"label": "Message"
|
|
@@ -1957,25 +1923,48 @@
|
|
|
1957
1923
|
"label": "Output mapping"
|
|
1958
1924
|
},
|
|
1959
1925
|
{
|
|
1960
|
-
"id": "
|
|
1926
|
+
"id": "error",
|
|
1961
1927
|
"label": "Error handling"
|
|
1928
|
+
},
|
|
1929
|
+
{
|
|
1930
|
+
"id": "retries",
|
|
1931
|
+
"label": "Retries"
|
|
1962
1932
|
}
|
|
1963
1933
|
],
|
|
1964
1934
|
"properties": [
|
|
1965
1935
|
{
|
|
1966
|
-
"type": "Hidden",
|
|
1967
1936
|
"value": "io.camunda:slack:1",
|
|
1968
1937
|
"binding": {
|
|
1969
|
-
"
|
|
1970
|
-
"
|
|
1971
|
-
}
|
|
1938
|
+
"property": "type",
|
|
1939
|
+
"type": "zeebe:taskDefinition"
|
|
1940
|
+
},
|
|
1941
|
+
"type": "Hidden"
|
|
1942
|
+
},
|
|
1943
|
+
{
|
|
1944
|
+
"id": "token",
|
|
1945
|
+
"label": "OAuth token",
|
|
1946
|
+
"optional": false,
|
|
1947
|
+
"constraints": {
|
|
1948
|
+
"notEmpty": true
|
|
1949
|
+
},
|
|
1950
|
+
"feel": "optional",
|
|
1951
|
+
"group": "authentication",
|
|
1952
|
+
"binding": {
|
|
1953
|
+
"name": "token",
|
|
1954
|
+
"type": "zeebe:input"
|
|
1955
|
+
},
|
|
1956
|
+
"type": "String"
|
|
1972
1957
|
},
|
|
1973
1958
|
{
|
|
1959
|
+
"id": "method",
|
|
1974
1960
|
"label": "Method",
|
|
1961
|
+
"value": "chat.postMessage",
|
|
1975
1962
|
"group": "method",
|
|
1976
|
-
"
|
|
1963
|
+
"binding": {
|
|
1964
|
+
"name": "method",
|
|
1965
|
+
"type": "zeebe:input"
|
|
1966
|
+
},
|
|
1977
1967
|
"type": "Dropdown",
|
|
1978
|
-
"value": "chat.postMessage",
|
|
1979
1968
|
"choices": [
|
|
1980
1969
|
{
|
|
1981
1970
|
"name": "Post message",
|
|
@@ -1989,192 +1978,302 @@
|
|
|
1989
1978
|
"name": "Invite to channel",
|
|
1990
1979
|
"value": "conversations.invite"
|
|
1991
1980
|
}
|
|
1992
|
-
]
|
|
1981
|
+
]
|
|
1982
|
+
},
|
|
1983
|
+
{
|
|
1984
|
+
"id": "data.messageType",
|
|
1985
|
+
"label": "Message type",
|
|
1986
|
+
"optional": false,
|
|
1987
|
+
"value": "plainText",
|
|
1988
|
+
"group": "message",
|
|
1993
1989
|
"binding": {
|
|
1994
|
-
"
|
|
1995
|
-
"
|
|
1996
|
-
}
|
|
1990
|
+
"name": "data.messageType",
|
|
1991
|
+
"type": "zeebe:input"
|
|
1992
|
+
},
|
|
1993
|
+
"condition": {
|
|
1994
|
+
"allMatch": [
|
|
1995
|
+
{
|
|
1996
|
+
"property": "method",
|
|
1997
|
+
"equals": "chat.postMessage",
|
|
1998
|
+
"type": "simple"
|
|
1999
|
+
},
|
|
2000
|
+
{
|
|
2001
|
+
"property": "method",
|
|
2002
|
+
"equals": "chat.postMessage",
|
|
2003
|
+
"type": "simple"
|
|
2004
|
+
}
|
|
2005
|
+
]
|
|
2006
|
+
},
|
|
2007
|
+
"type": "Dropdown",
|
|
2008
|
+
"choices": [
|
|
2009
|
+
{
|
|
2010
|
+
"name": "Plain text",
|
|
2011
|
+
"value": "plainText"
|
|
2012
|
+
},
|
|
2013
|
+
{
|
|
2014
|
+
"name": "Message block",
|
|
2015
|
+
"value": "messageBlock"
|
|
2016
|
+
}
|
|
2017
|
+
]
|
|
1997
2018
|
},
|
|
1998
2019
|
{
|
|
1999
|
-
"
|
|
2000
|
-
"
|
|
2001
|
-
"
|
|
2020
|
+
"id": "data.text",
|
|
2021
|
+
"label": "Message",
|
|
2022
|
+
"optional": false,
|
|
2023
|
+
"constraints": {
|
|
2024
|
+
"notEmpty": true
|
|
2025
|
+
},
|
|
2002
2026
|
"feel": "optional",
|
|
2027
|
+
"group": "message",
|
|
2003
2028
|
"binding": {
|
|
2004
|
-
"
|
|
2005
|
-
"
|
|
2029
|
+
"name": "data.text",
|
|
2030
|
+
"type": "zeebe:input"
|
|
2031
|
+
},
|
|
2032
|
+
"condition": {
|
|
2033
|
+
"allMatch": [
|
|
2034
|
+
{
|
|
2035
|
+
"property": "data.messageType",
|
|
2036
|
+
"equals": "plainText",
|
|
2037
|
+
"type": "simple"
|
|
2038
|
+
},
|
|
2039
|
+
{
|
|
2040
|
+
"property": "method",
|
|
2041
|
+
"equals": "chat.postMessage",
|
|
2042
|
+
"type": "simple"
|
|
2043
|
+
}
|
|
2044
|
+
]
|
|
2006
2045
|
},
|
|
2046
|
+
"type": "Text"
|
|
2047
|
+
},
|
|
2048
|
+
{
|
|
2049
|
+
"id": "data.blockContent",
|
|
2050
|
+
"label": "Message block",
|
|
2051
|
+
"description": "An array of rich message content blocks. Learn more at the <a href=\"https://api.slack.com/reference/surfaces/formatting#stack_of_blocks\" target=\"_blank\">official Slack documentation page</a>",
|
|
2052
|
+
"optional": false,
|
|
2053
|
+
"value": "=[\n\t{\n\t\t\"type\": \"header\",\n\t\t\"text\": {\n\t\t\t\"type\": \"plain_text\",\n\t\t\t\"text\": \"New request\"\n\t\t}\n\t},\n\t{\n\t\t\"type\": \"section\",\n\t\t\"fields\": [\n\t\t\t{\n\t\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\t\"text\": \"*Type:*\\nPaid Time Off\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\t\"text\": \"*Created by:*\\n<example.com|John Doe>\"\n\t\t\t}\n\t\t]\n\t},\n\t{\n\t\t\"type\": \"section\",\n\t\t\"fields\": [\n\t\t\t{\n\t\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\t\"text\": \"*When:*\\nAug 10 - Aug 13\"\n\t\t\t}\n\t\t]\n\t},\n\t{\n\t\t\"type\": \"section\",\n\t\t\"text\": {\n\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\"text\": \"<https://example.com|View request>\"\n\t\t}\n\t}\n]",
|
|
2007
2054
|
"constraints": {
|
|
2008
2055
|
"notEmpty": true
|
|
2009
|
-
}
|
|
2056
|
+
},
|
|
2057
|
+
"feel": "required",
|
|
2058
|
+
"group": "message",
|
|
2059
|
+
"binding": {
|
|
2060
|
+
"name": "data.blockContent",
|
|
2061
|
+
"type": "zeebe:input"
|
|
2062
|
+
},
|
|
2063
|
+
"condition": {
|
|
2064
|
+
"allMatch": [
|
|
2065
|
+
{
|
|
2066
|
+
"property": "data.messageType",
|
|
2067
|
+
"equals": "messageBlock",
|
|
2068
|
+
"type": "simple"
|
|
2069
|
+
},
|
|
2070
|
+
{
|
|
2071
|
+
"property": "method",
|
|
2072
|
+
"equals": "chat.postMessage",
|
|
2073
|
+
"type": "simple"
|
|
2074
|
+
}
|
|
2075
|
+
]
|
|
2076
|
+
},
|
|
2077
|
+
"type": "String"
|
|
2010
2078
|
},
|
|
2011
2079
|
{
|
|
2080
|
+
"id": "data.channel",
|
|
2012
2081
|
"label": "Channel/user name/email",
|
|
2013
|
-
"
|
|
2014
|
-
"
|
|
2082
|
+
"optional": false,
|
|
2083
|
+
"constraints": {
|
|
2084
|
+
"notEmpty": true
|
|
2085
|
+
},
|
|
2015
2086
|
"feel": "optional",
|
|
2087
|
+
"group": "channel",
|
|
2016
2088
|
"binding": {
|
|
2017
|
-
"
|
|
2018
|
-
"
|
|
2019
|
-
},
|
|
2020
|
-
"constraints": {
|
|
2021
|
-
"notEmpty": true,
|
|
2022
|
-
"pattern": {
|
|
2023
|
-
"value": "(^(#|@|=).*)|(^.+[@].+[.].{2,4}$)",
|
|
2024
|
-
"message": "Must be a #channel, @user, email or FEEL expression."
|
|
2025
|
-
}
|
|
2089
|
+
"name": "data.channel",
|
|
2090
|
+
"type": "zeebe:input"
|
|
2026
2091
|
},
|
|
2027
2092
|
"condition": {
|
|
2028
2093
|
"property": "method",
|
|
2029
|
-
"equals": "chat.postMessage"
|
|
2030
|
-
|
|
2094
|
+
"equals": "chat.postMessage",
|
|
2095
|
+
"type": "simple"
|
|
2096
|
+
},
|
|
2097
|
+
"type": "String"
|
|
2031
2098
|
},
|
|
2032
2099
|
{
|
|
2033
|
-
"
|
|
2034
|
-
"
|
|
2035
|
-
"
|
|
2036
|
-
"feel": "optional",
|
|
2037
|
-
"binding": {
|
|
2038
|
-
"type": "zeebe:input",
|
|
2039
|
-
"name": "data.newChannelName"
|
|
2040
|
-
},
|
|
2100
|
+
"id": "data.newChannelName",
|
|
2101
|
+
"label": "Channel name",
|
|
2102
|
+
"optional": false,
|
|
2041
2103
|
"constraints": {
|
|
2042
2104
|
"notEmpty": true,
|
|
2043
2105
|
"pattern": {
|
|
2044
|
-
"value": "^(=|
|
|
2106
|
+
"value": "^(=|[-_a-z0-9]{1,80}$)",
|
|
2045
2107
|
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
2046
2108
|
}
|
|
2047
2109
|
},
|
|
2048
|
-
"
|
|
2049
|
-
"property": "method",
|
|
2050
|
-
"equals": "conversations.create"
|
|
2051
|
-
}
|
|
2052
|
-
},
|
|
2053
|
-
{
|
|
2054
|
-
"label": "Visibility",
|
|
2110
|
+
"feel": "optional",
|
|
2055
2111
|
"group": "channel",
|
|
2056
|
-
"type": "Dropdown",
|
|
2057
|
-
"value": "PUBLIC",
|
|
2058
|
-
"optional": false,
|
|
2059
|
-
"choices": [
|
|
2060
|
-
{
|
|
2061
|
-
"name": "Private",
|
|
2062
|
-
"value": "PRIVATE"
|
|
2063
|
-
},
|
|
2064
|
-
{
|
|
2065
|
-
"name": "Public",
|
|
2066
|
-
"value": "PUBLIC"
|
|
2067
|
-
}
|
|
2068
|
-
],
|
|
2069
2112
|
"binding": {
|
|
2070
|
-
"
|
|
2071
|
-
"
|
|
2113
|
+
"name": "data.newChannelName",
|
|
2114
|
+
"type": "zeebe:input"
|
|
2072
2115
|
},
|
|
2073
2116
|
"condition": {
|
|
2074
2117
|
"property": "method",
|
|
2075
|
-
"equals": "conversations.create"
|
|
2076
|
-
|
|
2118
|
+
"equals": "conversations.create",
|
|
2119
|
+
"type": "simple"
|
|
2120
|
+
},
|
|
2121
|
+
"type": "String"
|
|
2077
2122
|
},
|
|
2078
2123
|
{
|
|
2079
|
-
"
|
|
2080
|
-
"
|
|
2081
|
-
"
|
|
2082
|
-
"
|
|
2083
|
-
"binding": {
|
|
2084
|
-
"type": "zeebe:input",
|
|
2085
|
-
"name": "data.text"
|
|
2086
|
-
},
|
|
2124
|
+
"id": "data.visibility",
|
|
2125
|
+
"label": "Visibility",
|
|
2126
|
+
"optional": false,
|
|
2127
|
+
"value": "PUBLIC",
|
|
2087
2128
|
"constraints": {
|
|
2088
2129
|
"notEmpty": true
|
|
2089
2130
|
},
|
|
2131
|
+
"group": "channel",
|
|
2132
|
+
"binding": {
|
|
2133
|
+
"name": "data.visibility",
|
|
2134
|
+
"type": "zeebe:input"
|
|
2135
|
+
},
|
|
2090
2136
|
"condition": {
|
|
2091
2137
|
"property": "method",
|
|
2092
|
-
"equals": "
|
|
2093
|
-
|
|
2138
|
+
"equals": "conversations.create",
|
|
2139
|
+
"type": "simple"
|
|
2140
|
+
},
|
|
2141
|
+
"type": "Dropdown",
|
|
2142
|
+
"choices": [
|
|
2143
|
+
{
|
|
2144
|
+
"name": "Public",
|
|
2145
|
+
"value": "PUBLIC"
|
|
2146
|
+
},
|
|
2147
|
+
{
|
|
2148
|
+
"name": "Private",
|
|
2149
|
+
"value": "PRIVATE"
|
|
2150
|
+
}
|
|
2151
|
+
]
|
|
2094
2152
|
},
|
|
2095
2153
|
{
|
|
2154
|
+
"id": "data.channelName",
|
|
2096
2155
|
"label": "Channel name",
|
|
2097
|
-
"
|
|
2098
|
-
"type": "String",
|
|
2099
|
-
"feel": "optional",
|
|
2100
|
-
"binding": {
|
|
2101
|
-
"type": "zeebe:input",
|
|
2102
|
-
"name": "data.channelName"
|
|
2103
|
-
},
|
|
2156
|
+
"optional": false,
|
|
2104
2157
|
"constraints": {
|
|
2105
2158
|
"notEmpty": true,
|
|
2106
2159
|
"pattern": {
|
|
2107
|
-
"value": "^(=|
|
|
2160
|
+
"value": "^(=|[-_a-z0-9]{1,80}$)",
|
|
2108
2161
|
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
2109
2162
|
}
|
|
2110
2163
|
},
|
|
2164
|
+
"feel": "optional",
|
|
2165
|
+
"group": "invite",
|
|
2166
|
+
"binding": {
|
|
2167
|
+
"name": "data.channelName",
|
|
2168
|
+
"type": "zeebe:input"
|
|
2169
|
+
},
|
|
2111
2170
|
"condition": {
|
|
2112
2171
|
"property": "method",
|
|
2113
|
-
"equals": "conversations.invite"
|
|
2114
|
-
|
|
2172
|
+
"equals": "conversations.invite",
|
|
2173
|
+
"type": "simple"
|
|
2174
|
+
},
|
|
2175
|
+
"type": "String"
|
|
2115
2176
|
},
|
|
2116
2177
|
{
|
|
2178
|
+
"id": "data.users",
|
|
2117
2179
|
"label": "Users",
|
|
2118
2180
|
"description": "Comma-separated list of users, e.g., '@user1,@user2' or '=[ \"@user1\", \"user2@company.com\"]'",
|
|
2119
|
-
"
|
|
2120
|
-
"type": "String",
|
|
2121
|
-
"feel": "optional",
|
|
2122
|
-
"binding": {
|
|
2123
|
-
"type": "zeebe:input",
|
|
2124
|
-
"name": "data.users"
|
|
2125
|
-
},
|
|
2181
|
+
"optional": false,
|
|
2126
2182
|
"constraints": {
|
|
2127
2183
|
"notEmpty": true
|
|
2128
2184
|
},
|
|
2185
|
+
"feel": "optional",
|
|
2186
|
+
"group": "invite",
|
|
2187
|
+
"binding": {
|
|
2188
|
+
"name": "data.users",
|
|
2189
|
+
"type": "zeebe:input"
|
|
2190
|
+
},
|
|
2129
2191
|
"condition": {
|
|
2130
2192
|
"property": "method",
|
|
2131
|
-
"equals": "conversations.invite"
|
|
2132
|
-
|
|
2193
|
+
"equals": "conversations.invite",
|
|
2194
|
+
"type": "simple"
|
|
2195
|
+
},
|
|
2196
|
+
"type": "String"
|
|
2133
2197
|
},
|
|
2134
2198
|
{
|
|
2199
|
+
"id": "resultVariable",
|
|
2135
2200
|
"label": "Result variable",
|
|
2136
|
-
"description": "Name of variable to store the response in
|
|
2201
|
+
"description": "Name of variable to store the response in",
|
|
2137
2202
|
"group": "output",
|
|
2138
|
-
"type": "String",
|
|
2139
2203
|
"binding": {
|
|
2140
|
-
"
|
|
2141
|
-
"
|
|
2142
|
-
}
|
|
2204
|
+
"key": "resultVariable",
|
|
2205
|
+
"type": "zeebe:taskHeader"
|
|
2206
|
+
},
|
|
2207
|
+
"type": "String"
|
|
2143
2208
|
},
|
|
2144
2209
|
{
|
|
2210
|
+
"id": "resultExpression",
|
|
2145
2211
|
"label": "Result expression",
|
|
2146
|
-
"description": "Expression to map the response into process variables
|
|
2147
|
-
"group": "output",
|
|
2148
|
-
"type": "Text",
|
|
2212
|
+
"description": "Expression to map the response into process variables",
|
|
2149
2213
|
"feel": "required",
|
|
2214
|
+
"group": "output",
|
|
2150
2215
|
"binding": {
|
|
2151
|
-
"
|
|
2152
|
-
"
|
|
2153
|
-
}
|
|
2216
|
+
"key": "resultExpression",
|
|
2217
|
+
"type": "zeebe:taskHeader"
|
|
2218
|
+
},
|
|
2219
|
+
"type": "Text"
|
|
2154
2220
|
},
|
|
2155
2221
|
{
|
|
2222
|
+
"id": "errorExpression",
|
|
2156
2223
|
"label": "Error expression",
|
|
2157
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
2158
|
-
"group": "errors",
|
|
2159
|
-
"type": "Text",
|
|
2224
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
|
|
2160
2225
|
"feel": "required",
|
|
2226
|
+
"group": "error",
|
|
2161
2227
|
"binding": {
|
|
2162
|
-
"
|
|
2163
|
-
"
|
|
2164
|
-
}
|
|
2228
|
+
"key": "errorExpression",
|
|
2229
|
+
"type": "zeebe:taskHeader"
|
|
2230
|
+
},
|
|
2231
|
+
"type": "Text"
|
|
2232
|
+
},
|
|
2233
|
+
{
|
|
2234
|
+
"id": "retryCount",
|
|
2235
|
+
"label": "Retries",
|
|
2236
|
+
"description": "Number of retries",
|
|
2237
|
+
"value": "3",
|
|
2238
|
+
"feel": "optional",
|
|
2239
|
+
"group": "retries",
|
|
2240
|
+
"binding": {
|
|
2241
|
+
"property": "retries",
|
|
2242
|
+
"type": "zeebe:taskDefinition"
|
|
2243
|
+
},
|
|
2244
|
+
"type": "String"
|
|
2245
|
+
},
|
|
2246
|
+
{
|
|
2247
|
+
"id": "retryBackoff",
|
|
2248
|
+
"label": "Retry backoff",
|
|
2249
|
+
"description": "ISO-8601 duration to wait between retries",
|
|
2250
|
+
"value": "PT0S",
|
|
2251
|
+
"feel": "optional",
|
|
2252
|
+
"group": "retries",
|
|
2253
|
+
"binding": {
|
|
2254
|
+
"key": "retryBackoff",
|
|
2255
|
+
"type": "zeebe:taskHeader"
|
|
2256
|
+
},
|
|
2257
|
+
"type": "String"
|
|
2165
2258
|
}
|
|
2166
2259
|
],
|
|
2260
|
+
"icon": {
|
|
2261
|
+
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
|
|
2262
|
+
},
|
|
2167
2263
|
"engines": {
|
|
2168
|
-
"camunda": "^8.
|
|
2264
|
+
"camunda": "^8.5"
|
|
2169
2265
|
}
|
|
2170
2266
|
},
|
|
2171
2267
|
{
|
|
2172
2268
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
2173
|
-
"name": "Slack
|
|
2269
|
+
"name": "Slack connector",
|
|
2174
2270
|
"id": "io.camunda.connectors.Slack.v1",
|
|
2271
|
+
"version": 1,
|
|
2175
2272
|
"description": "Create a channel or send a message to a channel or user",
|
|
2176
|
-
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack
|
|
2177
|
-
"
|
|
2273
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/",
|
|
2274
|
+
"icon": {
|
|
2275
|
+
"contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2218%22%20height%3D%2218%22%20%20viewBox%3D%220%200%20127%20127%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Cpath%20d%3D%22M27.2%2080c0%207.3-5.9%2013.2-13.2%2013.2C6.7%2093.2.8%2087.3.8%2080c0-7.3%205.9-13.2%2013.2-13.2h13.2V80zm6.6%200c0-7.3%205.9-13.2%2013.2-13.2%207.3%200%2013.2%205.9%2013.2%2013.2v33c0%207.3-5.9%2013.2-13.2%2013.2-7.3%200-13.2-5.9-13.2-13.2V80z%22%20fill%3D%22%23E01E5A%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M47%2027c-7.3%200-13.2-5.9-13.2-13.2C33.8%206.5%2039.7.6%2047%20.6c7.3%200%2013.2%205.9%2013.2%2013.2V27H47zm0%206.7c7.3%200%2013.2%205.9%2013.2%2013.2%200%207.3-5.9%2013.2-13.2%2013.2H13.9C6.6%2060.1.7%2054.2.7%2046.9c0-7.3%205.9-13.2%2013.2-13.2H47z%22%20fill%3D%22%2336C5F0%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M99.9%2046.9c0-7.3%205.9-13.2%2013.2-13.2%207.3%200%2013.2%205.9%2013.2%2013.2%200%207.3-5.9%2013.2-13.2%2013.2H99.9V46.9zm-6.6%200c0%207.3-5.9%2013.2-13.2%2013.2-7.3%200-13.2-5.9-13.2-13.2V13.8C66.9%206.5%2072.8.6%2080.1.6c7.3%200%2013.2%205.9%2013.2%2013.2v33.1z%22%20fill%3D%22%232EB67D%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M80.1%2099.8c7.3%200%2013.2%205.9%2013.2%2013.2%200%207.3-5.9%2013.2-13.2%2013.2-7.3%200-13.2-5.9-13.2-13.2V99.8h13.2zm0-6.6c-7.3%200-13.2-5.9-13.2-13.2%200-7.3%205.9-13.2%2013.2-13.2h33.1c7.3%200%2013.2%205.9%2013.2%2013.2%200%207.3-5.9%2013.2-13.2%2013.2H80.1z%22%20fill%3D%22%23ECB22E%22%2F%3E%0A%3C%2Fsvg%3E%0A"
|
|
2276
|
+
},
|
|
2178
2277
|
"category": {
|
|
2179
2278
|
"id": "connectors",
|
|
2180
2279
|
"name": "Connectors"
|
|
@@ -2184,14 +2283,14 @@
|
|
|
2184
2283
|
"value": "bpmn:ServiceTask"
|
|
2185
2284
|
},
|
|
2186
2285
|
"groups": [
|
|
2187
|
-
{
|
|
2188
|
-
"id": "authentication",
|
|
2189
|
-
"label": "Authentication"
|
|
2190
|
-
},
|
|
2191
2286
|
{
|
|
2192
2287
|
"id": "method",
|
|
2193
2288
|
"label": "Method"
|
|
2194
2289
|
},
|
|
2290
|
+
{
|
|
2291
|
+
"id": "authentication",
|
|
2292
|
+
"label": "Authentication"
|
|
2293
|
+
},
|
|
2195
2294
|
{
|
|
2196
2295
|
"id": "message",
|
|
2197
2296
|
"label": "Message"
|
|
@@ -2209,48 +2308,25 @@
|
|
|
2209
2308
|
"label": "Output mapping"
|
|
2210
2309
|
},
|
|
2211
2310
|
{
|
|
2212
|
-
"id": "
|
|
2311
|
+
"id": "errors",
|
|
2213
2312
|
"label": "Error handling"
|
|
2214
|
-
},
|
|
2215
|
-
{
|
|
2216
|
-
"id": "retries",
|
|
2217
|
-
"label": "Retries"
|
|
2218
2313
|
}
|
|
2219
2314
|
],
|
|
2220
2315
|
"properties": [
|
|
2221
2316
|
{
|
|
2317
|
+
"type": "Hidden",
|
|
2222
2318
|
"value": "io.camunda:slack:1",
|
|
2223
2319
|
"binding": {
|
|
2224
|
-
"
|
|
2225
|
-
"
|
|
2226
|
-
}
|
|
2227
|
-
"type": "Hidden"
|
|
2228
|
-
},
|
|
2229
|
-
{
|
|
2230
|
-
"id": "token",
|
|
2231
|
-
"label": "OAuth token",
|
|
2232
|
-
"optional": false,
|
|
2233
|
-
"constraints": {
|
|
2234
|
-
"notEmpty": true
|
|
2235
|
-
},
|
|
2236
|
-
"feel": "optional",
|
|
2237
|
-
"group": "authentication",
|
|
2238
|
-
"binding": {
|
|
2239
|
-
"name": "token",
|
|
2240
|
-
"type": "zeebe:input"
|
|
2241
|
-
},
|
|
2242
|
-
"type": "String"
|
|
2320
|
+
"type": "zeebe:taskDefinition",
|
|
2321
|
+
"property": "type"
|
|
2322
|
+
}
|
|
2243
2323
|
},
|
|
2244
2324
|
{
|
|
2245
|
-
"id": "method",
|
|
2246
2325
|
"label": "Method",
|
|
2247
|
-
"value": "chat.postMessage",
|
|
2248
2326
|
"group": "method",
|
|
2249
|
-
"
|
|
2250
|
-
"name": "method",
|
|
2251
|
-
"type": "zeebe:input"
|
|
2252
|
-
},
|
|
2327
|
+
"id": "method",
|
|
2253
2328
|
"type": "Dropdown",
|
|
2329
|
+
"value": "chat.postMessage",
|
|
2254
2330
|
"choices": [
|
|
2255
2331
|
{
|
|
2256
2332
|
"name": "Post message",
|
|
@@ -2264,145 +2340,55 @@
|
|
|
2264
2340
|
"name": "Invite to channel",
|
|
2265
2341
|
"value": "conversations.invite"
|
|
2266
2342
|
}
|
|
2267
|
-
]
|
|
2268
|
-
},
|
|
2269
|
-
{
|
|
2270
|
-
"id": "data.messageType",
|
|
2271
|
-
"label": "Message type",
|
|
2272
|
-
"optional": false,
|
|
2273
|
-
"value": "plainText",
|
|
2274
|
-
"group": "message",
|
|
2343
|
+
],
|
|
2275
2344
|
"binding": {
|
|
2276
|
-
"
|
|
2277
|
-
"
|
|
2278
|
-
}
|
|
2279
|
-
"condition": {
|
|
2280
|
-
"allMatch": [
|
|
2281
|
-
{
|
|
2282
|
-
"property": "method",
|
|
2283
|
-
"equals": "chat.postMessage",
|
|
2284
|
-
"type": "simple"
|
|
2285
|
-
},
|
|
2286
|
-
{
|
|
2287
|
-
"property": "method",
|
|
2288
|
-
"equals": "chat.postMessage",
|
|
2289
|
-
"type": "simple"
|
|
2290
|
-
}
|
|
2291
|
-
]
|
|
2292
|
-
},
|
|
2293
|
-
"type": "Dropdown",
|
|
2294
|
-
"choices": [
|
|
2295
|
-
{
|
|
2296
|
-
"name": "Plain text",
|
|
2297
|
-
"value": "plainText"
|
|
2298
|
-
},
|
|
2299
|
-
{
|
|
2300
|
-
"name": "Message block",
|
|
2301
|
-
"value": "messageBlock"
|
|
2302
|
-
}
|
|
2303
|
-
]
|
|
2345
|
+
"type": "zeebe:input",
|
|
2346
|
+
"name": "method"
|
|
2347
|
+
}
|
|
2304
2348
|
},
|
|
2305
2349
|
{
|
|
2306
|
-
"
|
|
2307
|
-
"
|
|
2308
|
-
"
|
|
2309
|
-
"constraints": {
|
|
2310
|
-
"notEmpty": true
|
|
2311
|
-
},
|
|
2350
|
+
"label": "OAuth token",
|
|
2351
|
+
"group": "authentication",
|
|
2352
|
+
"type": "String",
|
|
2312
2353
|
"feel": "optional",
|
|
2313
|
-
"group": "message",
|
|
2314
2354
|
"binding": {
|
|
2315
|
-
"
|
|
2316
|
-
"
|
|
2317
|
-
},
|
|
2318
|
-
"condition": {
|
|
2319
|
-
"allMatch": [
|
|
2320
|
-
{
|
|
2321
|
-
"property": "data.messageType",
|
|
2322
|
-
"equals": "plainText",
|
|
2323
|
-
"type": "simple"
|
|
2324
|
-
},
|
|
2325
|
-
{
|
|
2326
|
-
"property": "method",
|
|
2327
|
-
"equals": "chat.postMessage",
|
|
2328
|
-
"type": "simple"
|
|
2329
|
-
}
|
|
2330
|
-
]
|
|
2355
|
+
"type": "zeebe:input",
|
|
2356
|
+
"name": "token"
|
|
2331
2357
|
},
|
|
2332
|
-
"type": "Text"
|
|
2333
|
-
},
|
|
2334
|
-
{
|
|
2335
|
-
"id": "data.blockContent",
|
|
2336
|
-
"label": "Message block",
|
|
2337
|
-
"description": "An array of rich message content blocks. Learn more at the <a href=\"https://api.slack.com/reference/surfaces/formatting#stack_of_blocks\" target=\"_blank\">official Slack documentation page</a>",
|
|
2338
|
-
"optional": false,
|
|
2339
|
-
"value": "=[\n\t{\n\t\t\"type\": \"header\",\n\t\t\"text\": {\n\t\t\t\"type\": \"plain_text\",\n\t\t\t\"text\": \"New request\"\n\t\t}\n\t},\n\t{\n\t\t\"type\": \"section\",\n\t\t\"fields\": [\n\t\t\t{\n\t\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\t\"text\": \"*Type:*\\nPaid Time Off\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\t\"text\": \"*Created by:*\\n<example.com|John Doe>\"\n\t\t\t}\n\t\t]\n\t},\n\t{\n\t\t\"type\": \"section\",\n\t\t\"fields\": [\n\t\t\t{\n\t\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\t\"text\": \"*When:*\\nAug 10 - Aug 13\"\n\t\t\t}\n\t\t]\n\t},\n\t{\n\t\t\"type\": \"section\",\n\t\t\"text\": {\n\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\"text\": \"<https://example.com|View request>\"\n\t\t}\n\t}\n]",
|
|
2340
2358
|
"constraints": {
|
|
2341
2359
|
"notEmpty": true
|
|
2342
|
-
}
|
|
2343
|
-
"feel": "required",
|
|
2344
|
-
"group": "message",
|
|
2345
|
-
"binding": {
|
|
2346
|
-
"name": "data.blockContent",
|
|
2347
|
-
"type": "zeebe:input"
|
|
2348
|
-
},
|
|
2349
|
-
"condition": {
|
|
2350
|
-
"allMatch": [
|
|
2351
|
-
{
|
|
2352
|
-
"property": "data.messageType",
|
|
2353
|
-
"equals": "messageBlock",
|
|
2354
|
-
"type": "simple"
|
|
2355
|
-
},
|
|
2356
|
-
{
|
|
2357
|
-
"property": "method",
|
|
2358
|
-
"equals": "chat.postMessage",
|
|
2359
|
-
"type": "simple"
|
|
2360
|
-
}
|
|
2361
|
-
]
|
|
2362
|
-
},
|
|
2363
|
-
"type": "String"
|
|
2360
|
+
}
|
|
2364
2361
|
},
|
|
2365
2362
|
{
|
|
2366
|
-
"id": "data.channel",
|
|
2367
2363
|
"label": "Channel/user name/email",
|
|
2368
|
-
"optional": false,
|
|
2369
|
-
"constraints": {
|
|
2370
|
-
"notEmpty": true
|
|
2371
|
-
},
|
|
2372
|
-
"feel": "optional",
|
|
2373
2364
|
"group": "channel",
|
|
2374
|
-
"
|
|
2375
|
-
"name": "data.channel",
|
|
2376
|
-
"type": "zeebe:input"
|
|
2377
|
-
},
|
|
2378
|
-
"condition": {
|
|
2379
|
-
"property": "method",
|
|
2380
|
-
"equals": "chat.postMessage",
|
|
2381
|
-
"type": "simple"
|
|
2382
|
-
},
|
|
2383
|
-
"type": "String"
|
|
2384
|
-
},
|
|
2385
|
-
{
|
|
2386
|
-
"id": "data.thread",
|
|
2387
|
-
"label": "Thread",
|
|
2388
|
-
"optional": true,
|
|
2365
|
+
"type": "String",
|
|
2389
2366
|
"feel": "optional",
|
|
2390
|
-
"group": "channel",
|
|
2391
2367
|
"binding": {
|
|
2392
|
-
"
|
|
2393
|
-
"
|
|
2368
|
+
"type": "zeebe:input",
|
|
2369
|
+
"name": "data.channel"
|
|
2370
|
+
},
|
|
2371
|
+
"constraints": {
|
|
2372
|
+
"notEmpty": true,
|
|
2373
|
+
"pattern": {
|
|
2374
|
+
"value": "(^(#|@|=).*)|(^.+[@].+[.].{2,4}$)",
|
|
2375
|
+
"message": "Must be a #channel, @user, email or FEEL expression."
|
|
2376
|
+
}
|
|
2394
2377
|
},
|
|
2395
2378
|
"condition": {
|
|
2396
2379
|
"property": "method",
|
|
2397
|
-
"equals": "chat.postMessage"
|
|
2398
|
-
|
|
2399
|
-
},
|
|
2400
|
-
"type": "String"
|
|
2380
|
+
"equals": "chat.postMessage"
|
|
2381
|
+
}
|
|
2401
2382
|
},
|
|
2402
2383
|
{
|
|
2403
|
-
"
|
|
2404
|
-
"
|
|
2405
|
-
"
|
|
2384
|
+
"label": "New channel name",
|
|
2385
|
+
"group": "channel",
|
|
2386
|
+
"type": "String",
|
|
2387
|
+
"feel": "optional",
|
|
2388
|
+
"binding": {
|
|
2389
|
+
"type": "zeebe:input",
|
|
2390
|
+
"name": "data.newChannelName"
|
|
2391
|
+
},
|
|
2406
2392
|
"constraints": {
|
|
2407
2393
|
"notEmpty": true,
|
|
2408
2394
|
"pattern": {
|
|
@@ -2410,53 +2396,62 @@
|
|
|
2410
2396
|
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
2411
2397
|
}
|
|
2412
2398
|
},
|
|
2413
|
-
"feel": "optional",
|
|
2414
|
-
"group": "channel",
|
|
2415
|
-
"binding": {
|
|
2416
|
-
"name": "data.newChannelName",
|
|
2417
|
-
"type": "zeebe:input"
|
|
2418
|
-
},
|
|
2419
2399
|
"condition": {
|
|
2420
2400
|
"property": "method",
|
|
2421
|
-
"equals": "conversations.create"
|
|
2422
|
-
|
|
2423
|
-
},
|
|
2424
|
-
"type": "String"
|
|
2401
|
+
"equals": "conversations.create"
|
|
2402
|
+
}
|
|
2425
2403
|
},
|
|
2426
2404
|
{
|
|
2427
|
-
"id": "data.visibility",
|
|
2428
2405
|
"label": "Visibility",
|
|
2429
|
-
"optional": false,
|
|
2430
|
-
"value": "PUBLIC",
|
|
2431
|
-
"constraints": {
|
|
2432
|
-
"notEmpty": true
|
|
2433
|
-
},
|
|
2434
2406
|
"group": "channel",
|
|
2435
|
-
"binding": {
|
|
2436
|
-
"name": "data.visibility",
|
|
2437
|
-
"type": "zeebe:input"
|
|
2438
|
-
},
|
|
2439
|
-
"condition": {
|
|
2440
|
-
"property": "method",
|
|
2441
|
-
"equals": "conversations.create",
|
|
2442
|
-
"type": "simple"
|
|
2443
|
-
},
|
|
2444
2407
|
"type": "Dropdown",
|
|
2408
|
+
"value": "PUBLIC",
|
|
2409
|
+
"optional": false,
|
|
2445
2410
|
"choices": [
|
|
2446
|
-
{
|
|
2447
|
-
"name": "Public",
|
|
2448
|
-
"value": "PUBLIC"
|
|
2449
|
-
},
|
|
2450
2411
|
{
|
|
2451
2412
|
"name": "Private",
|
|
2452
2413
|
"value": "PRIVATE"
|
|
2414
|
+
},
|
|
2415
|
+
{
|
|
2416
|
+
"name": "Public",
|
|
2417
|
+
"value": "PUBLIC"
|
|
2453
2418
|
}
|
|
2454
|
-
]
|
|
2419
|
+
],
|
|
2420
|
+
"binding": {
|
|
2421
|
+
"type": "zeebe:input",
|
|
2422
|
+
"name": "data.visibility"
|
|
2423
|
+
},
|
|
2424
|
+
"condition": {
|
|
2425
|
+
"property": "method",
|
|
2426
|
+
"equals": "conversations.create"
|
|
2427
|
+
}
|
|
2428
|
+
},
|
|
2429
|
+
{
|
|
2430
|
+
"label": "Message",
|
|
2431
|
+
"group": "message",
|
|
2432
|
+
"type": "Text",
|
|
2433
|
+
"feel": "optional",
|
|
2434
|
+
"binding": {
|
|
2435
|
+
"type": "zeebe:input",
|
|
2436
|
+
"name": "data.text"
|
|
2437
|
+
},
|
|
2438
|
+
"constraints": {
|
|
2439
|
+
"notEmpty": true
|
|
2440
|
+
},
|
|
2441
|
+
"condition": {
|
|
2442
|
+
"property": "method",
|
|
2443
|
+
"equals": "chat.postMessage"
|
|
2444
|
+
}
|
|
2455
2445
|
},
|
|
2456
2446
|
{
|
|
2457
|
-
"id": "data.channelName",
|
|
2458
2447
|
"label": "Channel name",
|
|
2459
|
-
"
|
|
2448
|
+
"group": "invite",
|
|
2449
|
+
"type": "String",
|
|
2450
|
+
"feel": "optional",
|
|
2451
|
+
"binding": {
|
|
2452
|
+
"type": "zeebe:input",
|
|
2453
|
+
"name": "data.channelName"
|
|
2454
|
+
},
|
|
2460
2455
|
"constraints": {
|
|
2461
2456
|
"notEmpty": true,
|
|
2462
2457
|
"pattern": {
|
|
@@ -2464,107 +2459,64 @@
|
|
|
2464
2459
|
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
2465
2460
|
}
|
|
2466
2461
|
},
|
|
2467
|
-
"feel": "optional",
|
|
2468
|
-
"group": "invite",
|
|
2469
|
-
"binding": {
|
|
2470
|
-
"name": "data.channelName",
|
|
2471
|
-
"type": "zeebe:input"
|
|
2472
|
-
},
|
|
2473
2462
|
"condition": {
|
|
2474
2463
|
"property": "method",
|
|
2475
|
-
"equals": "conversations.invite"
|
|
2476
|
-
|
|
2477
|
-
},
|
|
2478
|
-
"type": "String"
|
|
2464
|
+
"equals": "conversations.invite"
|
|
2465
|
+
}
|
|
2479
2466
|
},
|
|
2480
2467
|
{
|
|
2481
|
-
"id": "data.users",
|
|
2482
2468
|
"label": "Users",
|
|
2483
2469
|
"description": "Comma-separated list of users, e.g., '@user1,@user2' or '=[ \"@user1\", \"user2@company.com\"]'",
|
|
2484
|
-
"optional": false,
|
|
2485
|
-
"constraints": {
|
|
2486
|
-
"notEmpty": true
|
|
2487
|
-
},
|
|
2488
|
-
"feel": "optional",
|
|
2489
2470
|
"group": "invite",
|
|
2471
|
+
"type": "String",
|
|
2472
|
+
"feel": "optional",
|
|
2490
2473
|
"binding": {
|
|
2491
|
-
"
|
|
2492
|
-
"
|
|
2474
|
+
"type": "zeebe:input",
|
|
2475
|
+
"name": "data.users"
|
|
2476
|
+
},
|
|
2477
|
+
"constraints": {
|
|
2478
|
+
"notEmpty": true
|
|
2493
2479
|
},
|
|
2494
2480
|
"condition": {
|
|
2495
2481
|
"property": "method",
|
|
2496
|
-
"equals": "conversations.invite"
|
|
2497
|
-
|
|
2498
|
-
},
|
|
2499
|
-
"type": "String"
|
|
2482
|
+
"equals": "conversations.invite"
|
|
2483
|
+
}
|
|
2500
2484
|
},
|
|
2501
2485
|
{
|
|
2502
|
-
"id": "resultVariable",
|
|
2503
2486
|
"label": "Result variable",
|
|
2504
|
-
"description": "Name of variable to store the response in",
|
|
2487
|
+
"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>",
|
|
2505
2488
|
"group": "output",
|
|
2489
|
+
"type": "String",
|
|
2506
2490
|
"binding": {
|
|
2507
|
-
"
|
|
2508
|
-
"
|
|
2509
|
-
}
|
|
2510
|
-
"type": "String"
|
|
2491
|
+
"type": "zeebe:taskHeader",
|
|
2492
|
+
"key": "resultVariable"
|
|
2493
|
+
}
|
|
2511
2494
|
},
|
|
2512
2495
|
{
|
|
2513
|
-
"id": "resultExpression",
|
|
2514
2496
|
"label": "Result expression",
|
|
2515
|
-
"description": "Expression to map the response into process variables",
|
|
2516
|
-
"feel": "required",
|
|
2497
|
+
"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>",
|
|
2517
2498
|
"group": "output",
|
|
2499
|
+
"type": "Text",
|
|
2500
|
+
"feel": "required",
|
|
2518
2501
|
"binding": {
|
|
2519
|
-
"
|
|
2520
|
-
"
|
|
2521
|
-
}
|
|
2522
|
-
"type": "Text"
|
|
2502
|
+
"type": "zeebe:taskHeader",
|
|
2503
|
+
"key": "resultExpression"
|
|
2504
|
+
}
|
|
2523
2505
|
},
|
|
2524
2506
|
{
|
|
2525
|
-
"id": "errorExpression",
|
|
2526
2507
|
"label": "Error expression",
|
|
2527
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
2508
|
+
"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>",
|
|
2509
|
+
"group": "errors",
|
|
2510
|
+
"type": "Text",
|
|
2528
2511
|
"feel": "required",
|
|
2529
|
-
"group": "error",
|
|
2530
2512
|
"binding": {
|
|
2531
|
-
"
|
|
2532
|
-
"
|
|
2533
|
-
}
|
|
2534
|
-
"type": "Text"
|
|
2535
|
-
},
|
|
2536
|
-
{
|
|
2537
|
-
"id": "retryCount",
|
|
2538
|
-
"label": "Retries",
|
|
2539
|
-
"description": "Number of retries",
|
|
2540
|
-
"value": "3",
|
|
2541
|
-
"feel": "optional",
|
|
2542
|
-
"group": "retries",
|
|
2543
|
-
"binding": {
|
|
2544
|
-
"property": "retries",
|
|
2545
|
-
"type": "zeebe:taskDefinition"
|
|
2546
|
-
},
|
|
2547
|
-
"type": "String"
|
|
2548
|
-
},
|
|
2549
|
-
{
|
|
2550
|
-
"id": "retryBackoff",
|
|
2551
|
-
"label": "Retry backoff",
|
|
2552
|
-
"description": "ISO-8601 duration to wait between retries",
|
|
2553
|
-
"value": "PT0S",
|
|
2554
|
-
"feel": "optional",
|
|
2555
|
-
"group": "retries",
|
|
2556
|
-
"binding": {
|
|
2557
|
-
"key": "retryBackoff",
|
|
2558
|
-
"type": "zeebe:taskHeader"
|
|
2559
|
-
},
|
|
2560
|
-
"type": "String"
|
|
2513
|
+
"type": "zeebe:taskHeader",
|
|
2514
|
+
"key": "errorExpression"
|
|
2515
|
+
}
|
|
2561
2516
|
}
|
|
2562
2517
|
],
|
|
2563
|
-
"icon": {
|
|
2564
|
-
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
|
|
2565
|
-
},
|
|
2566
2518
|
"engines": {
|
|
2567
|
-
"camunda": "^8.
|
|
2519
|
+
"camunda": "^8.2"
|
|
2568
2520
|
}
|
|
2569
2521
|
},
|
|
2570
2522
|
{
|
|
@@ -2572,8 +2524,11 @@
|
|
|
2572
2524
|
"name": "Slack Outbound Connector",
|
|
2573
2525
|
"id": "io.camunda.connectors.Slack.v1",
|
|
2574
2526
|
"description": "Create a channel or send a message to a channel or user",
|
|
2527
|
+
"metadata": {
|
|
2528
|
+
"keywords": []
|
|
2529
|
+
},
|
|
2575
2530
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
|
|
2576
|
-
"version":
|
|
2531
|
+
"version": 7,
|
|
2577
2532
|
"category": {
|
|
2578
2533
|
"id": "connectors",
|
|
2579
2534
|
"name": "Connectors"
|
|
@@ -2582,6 +2537,9 @@
|
|
|
2582
2537
|
"elementType": {
|
|
2583
2538
|
"value": "bpmn:ServiceTask"
|
|
2584
2539
|
},
|
|
2540
|
+
"engines": {
|
|
2541
|
+
"camunda": "^8.3"
|
|
2542
|
+
},
|
|
2585
2543
|
"groups": [
|
|
2586
2544
|
{
|
|
2587
2545
|
"id": "authentication",
|
|
@@ -2603,6 +2561,10 @@
|
|
|
2603
2561
|
"id": "invite",
|
|
2604
2562
|
"label": "Invite"
|
|
2605
2563
|
},
|
|
2564
|
+
{
|
|
2565
|
+
"id": "connector",
|
|
2566
|
+
"label": "Connector"
|
|
2567
|
+
},
|
|
2606
2568
|
{
|
|
2607
2569
|
"id": "output",
|
|
2608
2570
|
"label": "Output mapping"
|
|
@@ -2761,6 +2723,24 @@
|
|
|
2761
2723
|
},
|
|
2762
2724
|
"type": "String"
|
|
2763
2725
|
},
|
|
2726
|
+
{
|
|
2727
|
+
"id": "data.documents",
|
|
2728
|
+
"label": "attachments",
|
|
2729
|
+
"description": "<a href=\"https://docs.camunda.io/docs/apis-tools/camunda-api-rest/specifications/upload-document-alpha/\">Camunda documents</a> can be added as attachments",
|
|
2730
|
+
"optional": true,
|
|
2731
|
+
"feel": "required",
|
|
2732
|
+
"group": "message",
|
|
2733
|
+
"binding": {
|
|
2734
|
+
"name": "data.documents",
|
|
2735
|
+
"type": "zeebe:input"
|
|
2736
|
+
},
|
|
2737
|
+
"condition": {
|
|
2738
|
+
"property": "method",
|
|
2739
|
+
"equals": "chat.postMessage",
|
|
2740
|
+
"type": "simple"
|
|
2741
|
+
},
|
|
2742
|
+
"type": "String"
|
|
2743
|
+
},
|
|
2764
2744
|
{
|
|
2765
2745
|
"id": "data.channel",
|
|
2766
2746
|
"label": "Channel/user name/email",
|
|
@@ -2975,6 +2955,30 @@
|
|
|
2975
2955
|
},
|
|
2976
2956
|
"type": "String"
|
|
2977
2957
|
},
|
|
2958
|
+
{
|
|
2959
|
+
"id": "version",
|
|
2960
|
+
"label": "Version",
|
|
2961
|
+
"description": "Version of the element template",
|
|
2962
|
+
"value": "7",
|
|
2963
|
+
"group": "connector",
|
|
2964
|
+
"binding": {
|
|
2965
|
+
"key": "elementTemplateVersion",
|
|
2966
|
+
"type": "zeebe:taskHeader"
|
|
2967
|
+
},
|
|
2968
|
+
"type": "Hidden"
|
|
2969
|
+
},
|
|
2970
|
+
{
|
|
2971
|
+
"id": "id",
|
|
2972
|
+
"label": "ID",
|
|
2973
|
+
"description": "ID of the element template",
|
|
2974
|
+
"value": "io.camunda.connectors.Slack.v1",
|
|
2975
|
+
"group": "connector",
|
|
2976
|
+
"binding": {
|
|
2977
|
+
"key": "elementTemplateId",
|
|
2978
|
+
"type": "zeebe:taskHeader"
|
|
2979
|
+
},
|
|
2980
|
+
"type": "Hidden"
|
|
2981
|
+
},
|
|
2978
2982
|
{
|
|
2979
2983
|
"id": "resultVariable",
|
|
2980
2984
|
"label": "Result variable",
|
|
@@ -3028,7 +3032,6 @@
|
|
|
3028
3032
|
"label": "Retry backoff",
|
|
3029
3033
|
"description": "ISO-8601 duration to wait between retries",
|
|
3030
3034
|
"value": "PT0S",
|
|
3031
|
-
"feel": "optional",
|
|
3032
3035
|
"group": "retries",
|
|
3033
3036
|
"binding": {
|
|
3034
3037
|
"key": "retryBackoff",
|
|
@@ -3039,9 +3042,6 @@
|
|
|
3039
3042
|
],
|
|
3040
3043
|
"icon": {
|
|
3041
3044
|
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
|
|
3042
|
-
},
|
|
3043
|
-
"engines": {
|
|
3044
|
-
"camunda": "^8.6"
|
|
3045
3045
|
}
|
|
3046
3046
|
}
|
|
3047
3047
|
]
|