@camunda/connectors-element-templates 1.0.16 → 1.0.17
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 +2 -0
- package/src/element-templates/agenticai-a2a-client-outbound-connector.json +1 -0
- package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-intermediate.json +3 -2
- package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-receive.json +3 -2
- package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-intermediate.json +3 -2
- package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-receive.json +3 -2
- package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +30 -30
- package/src/element-templates/agenticai-aiagent-job-worker.json +163 -163
- package/src/element-templates/agenticai-aiagent-outbound-connector.json +2144 -2144
- package/src/element-templates/agenticai-mcp-client-outbound-connector.json +467 -466
- package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +482 -481
- package/src/element-templates/automation-anywhere-outbound-connector.json +613 -613
- package/src/element-templates/aws-bedrock-outbound-connector.json +74 -74
- package/src/element-templates/aws-dynamodb-outbound-connector.json +80 -80
- package/src/element-templates/aws-eventbridge-connector-boundary.json +26 -26
- package/src/element-templates/aws-eventbridge-connector-intermediate.json +22 -22
- package/src/element-templates/aws-eventbridge-connector-message-start.json +10 -10
- package/src/element-templates/aws-eventbridge-connector-start-event.json +26 -26
- package/src/element-templates/aws-eventbridge-outbound-connector.json +188 -188
- package/src/element-templates/aws-lambda-outbound-connector.json +238 -238
- package/src/element-templates/aws-sns-inbound-boundary.json +193 -193
- package/src/element-templates/aws-sns-inbound-intermediate.json +332 -332
- package/src/element-templates/aws-sns-inbound-message-start.json +110 -110
- package/src/element-templates/aws-sns-outbound-connector.json +741 -741
- package/src/element-templates/aws-sqs-boundary-connector.json +232 -232
- package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +493 -493
- package/src/element-templates/aws-sqs-outbound-connector.json +753 -753
- package/src/element-templates/aws-sqs-start-event-connector.json +483 -483
- package/src/element-templates/aws-sqs-start-message.json +438 -438
- package/src/element-templates/aws-textract-outbound-connector.json +123 -123
- package/src/element-templates/azure-open-ai-connector.json +32 -32
- package/src/element-templates/blue-prism-connector.json +6 -6
- package/src/element-templates/easy-post-connector.json +114 -114
- 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 +32 -32
- package/src/element-templates/email-outbound-connector.json +233 -233
- package/src/element-templates/github-connector.json +11435 -7908
- package/src/element-templates/github-webhook-connector-boundary.json +16 -16
- package/src/element-templates/github-webhook-connector-intermediate.json +25 -25
- package/src/element-templates/github-webhook-connector-start-event.json +64 -64
- package/src/element-templates/gitlab-connector.json +3394 -3394
- package/src/element-templates/google-drive-outbound-connector.json +420 -420
- package/src/element-templates/google-maps-platform-connector.json +14 -14
- package/src/element-templates/google-sheets-outbound-connector.json +1055 -1055
- package/src/element-templates/graphql-outbound-connector.json +1341 -763
- package/src/element-templates/http-connector.json.json +654 -0
- package/src/element-templates/http-json-connector.json +1489 -1475
- package/src/element-templates/http-polling-boundary-catch-event-connector.json +801 -136
- package/src/element-templates/http-polling-connector.json +1604 -939
- package/src/element-templates/hugging-face-connector.json +196 -0
- package/src/element-templates/kafka-inbound-connector-boundary.json +483 -483
- package/src/element-templates/kafka-inbound-connector-intermediate.json +466 -466
- package/src/element-templates/kafka-inbound-connector-start-message.json +529 -529
- package/src/element-templates/kafka-outbound-connector.json +360 -360
- package/src/element-templates/microsoft-o365-email-boundary-event-connector.json +147 -7
- package/src/element-templates/microsoft-o365-email-intermediate-catch-event-connector.json +147 -7
- package/src/element-templates/microsoft-o365-email-message-start-event-connector.json +160 -20
- package/src/element-templates/microsoft-teams-outbound-connector.json +1892 -47
- package/src/element-templates/openai-connector.json +83 -83
- package/src/element-templates/operate-connector.json +21 -21
- package/src/element-templates/power-automate-connector.json +4 -4
- package/src/element-templates/rabbitmq-inbound-connector-boundary.json +422 -422
- package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +338 -338
- package/src/element-templates/rabbitmq-inbound-connector-message-start.json +463 -463
- package/src/element-templates/rabbitmq-inbound-connector-start-event.json +360 -360
- package/src/element-templates/rabbitmq-outbound-connector.json +354 -354
- package/src/element-templates/salesforce-connector.json +38 -38
- package/src/element-templates/sendgrid-outbound-connector.json +354 -354
- package/src/element-templates/slack-inbound-boundary.json +253 -253
- package/src/element-templates/slack-inbound-message-start.json +321 -321
- package/src/element-templates/slack-inbound-start-event.json +327 -327
- package/src/element-templates/slack-outbound-connector.json +1203 -507
- package/src/element-templates/twilio-connector.json +65 -65
- package/src/element-templates/twilio-webhook-boundary-connector.json +28 -28
- package/src/element-templates/twilio-webhook-intermediate-connector.json +25 -25
- package/src/element-templates/uipath-connector.json +10 -10
- package/src/element-templates/webhook-connector-boundary.json +1192 -547
- package/src/element-templates/webhook-connector-intermediate.json +1258 -613
- package/src/element-templates/webhook-connector-receive.json +644 -0
- package/src/element-templates/webhook-connector-start-event.json +1690 -1136
- package/src/element-templates/webhook-connector-start-message.json +1601 -924
|
@@ -4,8 +4,11 @@
|
|
|
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
|
+
},
|
|
7
10
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
|
|
8
|
-
"version":
|
|
11
|
+
"version": 6,
|
|
9
12
|
"category": {
|
|
10
13
|
"id": "connectors",
|
|
11
14
|
"name": "Connectors"
|
|
@@ -14,6 +17,9 @@
|
|
|
14
17
|
"elementType": {
|
|
15
18
|
"value": "bpmn:ServiceTask"
|
|
16
19
|
},
|
|
20
|
+
"engines": {
|
|
21
|
+
"camunda": "^8.3"
|
|
22
|
+
},
|
|
17
23
|
"groups": [
|
|
18
24
|
{
|
|
19
25
|
"id": "authentication",
|
|
@@ -193,6 +199,24 @@
|
|
|
193
199
|
},
|
|
194
200
|
"type": "String"
|
|
195
201
|
},
|
|
202
|
+
{
|
|
203
|
+
"id": "data.documents",
|
|
204
|
+
"label": "attachments",
|
|
205
|
+
"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",
|
|
206
|
+
"optional": true,
|
|
207
|
+
"feel": "required",
|
|
208
|
+
"group": "message",
|
|
209
|
+
"binding": {
|
|
210
|
+
"name": "data.documents",
|
|
211
|
+
"type": "zeebe:input"
|
|
212
|
+
},
|
|
213
|
+
"condition": {
|
|
214
|
+
"property": "method",
|
|
215
|
+
"equals": "chat.postMessage",
|
|
216
|
+
"type": "simple"
|
|
217
|
+
},
|
|
218
|
+
"type": "String"
|
|
219
|
+
},
|
|
196
220
|
{
|
|
197
221
|
"id": "data.channel",
|
|
198
222
|
"label": "Channel/user name/email",
|
|
@@ -460,7 +484,6 @@
|
|
|
460
484
|
"label": "Retry backoff",
|
|
461
485
|
"description": "ISO-8601 duration to wait between retries",
|
|
462
486
|
"value": "PT0S",
|
|
463
|
-
"feel": "optional",
|
|
464
487
|
"group": "retries",
|
|
465
488
|
"binding": {
|
|
466
489
|
"key": "retryBackoff",
|
|
@@ -471,9 +494,6 @@
|
|
|
471
494
|
],
|
|
472
495
|
"icon": {
|
|
473
496
|
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
|
|
474
|
-
},
|
|
475
|
-
"engines": {
|
|
476
|
-
"camunda": "^8.6"
|
|
477
497
|
}
|
|
478
498
|
},
|
|
479
499
|
{
|
|
@@ -485,7 +505,7 @@
|
|
|
485
505
|
"keywords": []
|
|
486
506
|
},
|
|
487
507
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
|
|
488
|
-
"version":
|
|
508
|
+
"version": 7,
|
|
489
509
|
"category": {
|
|
490
510
|
"id": "connectors",
|
|
491
511
|
"name": "Connectors"
|
|
@@ -518,6 +538,14 @@
|
|
|
518
538
|
"id": "invite",
|
|
519
539
|
"label": "Invite"
|
|
520
540
|
},
|
|
541
|
+
{
|
|
542
|
+
"id": "reaction",
|
|
543
|
+
"label": "Reaction"
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
"id": "connector",
|
|
547
|
+
"label": "Connector"
|
|
548
|
+
},
|
|
521
549
|
{
|
|
522
550
|
"id": "output",
|
|
523
551
|
"label": "Output mapping"
|
|
@@ -577,6 +605,10 @@
|
|
|
577
605
|
{
|
|
578
606
|
"name": "Invite to channel",
|
|
579
607
|
"value": "conversations.invite"
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
"name": "Add reaction",
|
|
611
|
+
"value": "reactions.add"
|
|
580
612
|
}
|
|
581
613
|
]
|
|
582
614
|
},
|
|
@@ -908,6 +940,93 @@
|
|
|
908
940
|
},
|
|
909
941
|
"type": "String"
|
|
910
942
|
},
|
|
943
|
+
{
|
|
944
|
+
"id": "reaction.channel",
|
|
945
|
+
"label": "Channel",
|
|
946
|
+
"description": "Channel ID of the message to react to",
|
|
947
|
+
"optional": false,
|
|
948
|
+
"constraints": {
|
|
949
|
+
"notEmpty": true
|
|
950
|
+
},
|
|
951
|
+
"feel": "optional",
|
|
952
|
+
"group": "reaction",
|
|
953
|
+
"binding": {
|
|
954
|
+
"name": "data.channel",
|
|
955
|
+
"type": "zeebe:input"
|
|
956
|
+
},
|
|
957
|
+
"condition": {
|
|
958
|
+
"property": "method",
|
|
959
|
+
"equals": "reactions.add",
|
|
960
|
+
"type": "simple"
|
|
961
|
+
},
|
|
962
|
+
"type": "String"
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
"id": "data.emoji",
|
|
966
|
+
"label": "Emoji name",
|
|
967
|
+
"description": "Emoji name (e.g. eyes)",
|
|
968
|
+
"optional": false,
|
|
969
|
+
"constraints": {
|
|
970
|
+
"notEmpty": true
|
|
971
|
+
},
|
|
972
|
+
"feel": "optional",
|
|
973
|
+
"group": "reaction",
|
|
974
|
+
"binding": {
|
|
975
|
+
"name": "data.emoji",
|
|
976
|
+
"type": "zeebe:input"
|
|
977
|
+
},
|
|
978
|
+
"condition": {
|
|
979
|
+
"property": "method",
|
|
980
|
+
"equals": "reactions.add",
|
|
981
|
+
"type": "simple"
|
|
982
|
+
},
|
|
983
|
+
"type": "String"
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
"id": "data.timestamp",
|
|
987
|
+
"label": "Message timestamp",
|
|
988
|
+
"description": "Timestamp of the Slack message to react to",
|
|
989
|
+
"optional": false,
|
|
990
|
+
"constraints": {
|
|
991
|
+
"notEmpty": true
|
|
992
|
+
},
|
|
993
|
+
"feel": "required",
|
|
994
|
+
"group": "reaction",
|
|
995
|
+
"binding": {
|
|
996
|
+
"name": "data.timestamp",
|
|
997
|
+
"type": "zeebe:input"
|
|
998
|
+
},
|
|
999
|
+
"condition": {
|
|
1000
|
+
"property": "method",
|
|
1001
|
+
"equals": "reactions.add",
|
|
1002
|
+
"type": "simple"
|
|
1003
|
+
},
|
|
1004
|
+
"type": "String"
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
"id": "version",
|
|
1008
|
+
"label": "Version",
|
|
1009
|
+
"description": "Version of the element template",
|
|
1010
|
+
"value": "7",
|
|
1011
|
+
"group": "connector",
|
|
1012
|
+
"binding": {
|
|
1013
|
+
"key": "elementTemplateVersion",
|
|
1014
|
+
"type": "zeebe:taskHeader"
|
|
1015
|
+
},
|
|
1016
|
+
"type": "Hidden"
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
"id": "id",
|
|
1020
|
+
"label": "ID",
|
|
1021
|
+
"description": "ID of the element template",
|
|
1022
|
+
"value": "io.camunda.connectors.Slack.v1",
|
|
1023
|
+
"group": "connector",
|
|
1024
|
+
"binding": {
|
|
1025
|
+
"key": "elementTemplateId",
|
|
1026
|
+
"type": "zeebe:taskHeader"
|
|
1027
|
+
},
|
|
1028
|
+
"type": "Hidden"
|
|
1029
|
+
},
|
|
911
1030
|
{
|
|
912
1031
|
"id": "resultVariable",
|
|
913
1032
|
"label": "Result variable",
|
|
@@ -975,17 +1094,11 @@
|
|
|
975
1094
|
},
|
|
976
1095
|
{
|
|
977
1096
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
978
|
-
"name": "Slack
|
|
1097
|
+
"name": "Slack Outbound Connector",
|
|
979
1098
|
"id": "io.camunda.connectors.Slack.v1",
|
|
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
|
-
},
|
|
984
1099
|
"description": "Create a channel or send a message to a channel or user",
|
|
985
|
-
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack
|
|
986
|
-
"
|
|
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"
|
|
988
|
-
},
|
|
1100
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
|
|
1101
|
+
"version": 3,
|
|
989
1102
|
"category": {
|
|
990
1103
|
"id": "connectors",
|
|
991
1104
|
"name": "Connectors"
|
|
@@ -995,14 +1108,14 @@
|
|
|
995
1108
|
"value": "bpmn:ServiceTask"
|
|
996
1109
|
},
|
|
997
1110
|
"groups": [
|
|
998
|
-
{
|
|
999
|
-
"id": "method",
|
|
1000
|
-
"label": "Method"
|
|
1001
|
-
},
|
|
1002
1111
|
{
|
|
1003
1112
|
"id": "authentication",
|
|
1004
1113
|
"label": "Authentication"
|
|
1005
1114
|
},
|
|
1115
|
+
{
|
|
1116
|
+
"id": "method",
|
|
1117
|
+
"label": "Method"
|
|
1118
|
+
},
|
|
1006
1119
|
{
|
|
1007
1120
|
"id": "message",
|
|
1008
1121
|
"label": "Message"
|
|
@@ -1020,25 +1133,48 @@
|
|
|
1020
1133
|
"label": "Output mapping"
|
|
1021
1134
|
},
|
|
1022
1135
|
{
|
|
1023
|
-
"id": "
|
|
1136
|
+
"id": "error",
|
|
1024
1137
|
"label": "Error handling"
|
|
1138
|
+
},
|
|
1139
|
+
{
|
|
1140
|
+
"id": "retries",
|
|
1141
|
+
"label": "Retries"
|
|
1025
1142
|
}
|
|
1026
1143
|
],
|
|
1027
1144
|
"properties": [
|
|
1028
1145
|
{
|
|
1029
|
-
"type": "Hidden",
|
|
1030
1146
|
"value": "io.camunda:slack:1",
|
|
1031
1147
|
"binding": {
|
|
1032
|
-
"
|
|
1033
|
-
"
|
|
1034
|
-
}
|
|
1148
|
+
"property": "type",
|
|
1149
|
+
"type": "zeebe:taskDefinition"
|
|
1150
|
+
},
|
|
1151
|
+
"type": "Hidden"
|
|
1152
|
+
},
|
|
1153
|
+
{
|
|
1154
|
+
"id": "token",
|
|
1155
|
+
"label": "OAuth token",
|
|
1156
|
+
"optional": false,
|
|
1157
|
+
"constraints": {
|
|
1158
|
+
"notEmpty": true
|
|
1159
|
+
},
|
|
1160
|
+
"feel": "optional",
|
|
1161
|
+
"group": "authentication",
|
|
1162
|
+
"binding": {
|
|
1163
|
+
"name": "token",
|
|
1164
|
+
"type": "zeebe:input"
|
|
1165
|
+
},
|
|
1166
|
+
"type": "String"
|
|
1035
1167
|
},
|
|
1036
1168
|
{
|
|
1169
|
+
"id": "method",
|
|
1037
1170
|
"label": "Method",
|
|
1171
|
+
"value": "chat.postMessage",
|
|
1038
1172
|
"group": "method",
|
|
1039
|
-
"
|
|
1173
|
+
"binding": {
|
|
1174
|
+
"name": "method",
|
|
1175
|
+
"type": "zeebe:input"
|
|
1176
|
+
},
|
|
1040
1177
|
"type": "Dropdown",
|
|
1041
|
-
"value": "chat.postMessage",
|
|
1042
1178
|
"choices": [
|
|
1043
1179
|
{
|
|
1044
1180
|
"name": "Post message",
|
|
@@ -1052,189 +1188,302 @@
|
|
|
1052
1188
|
"name": "Invite to channel",
|
|
1053
1189
|
"value": "conversations.invite"
|
|
1054
1190
|
}
|
|
1055
|
-
]
|
|
1056
|
-
"binding": {
|
|
1057
|
-
"type": "zeebe:input",
|
|
1058
|
-
"name": "method"
|
|
1059
|
-
}
|
|
1191
|
+
]
|
|
1060
1192
|
},
|
|
1061
1193
|
{
|
|
1062
|
-
"
|
|
1063
|
-
"
|
|
1064
|
-
"
|
|
1065
|
-
"
|
|
1194
|
+
"id": "data.messageType",
|
|
1195
|
+
"label": "Message type",
|
|
1196
|
+
"optional": false,
|
|
1197
|
+
"value": "plainText",
|
|
1198
|
+
"group": "message",
|
|
1066
1199
|
"binding": {
|
|
1067
|
-
"
|
|
1068
|
-
"
|
|
1200
|
+
"name": "data.messageType",
|
|
1201
|
+
"type": "zeebe:input"
|
|
1069
1202
|
},
|
|
1070
|
-
"
|
|
1071
|
-
"
|
|
1072
|
-
|
|
1203
|
+
"condition": {
|
|
1204
|
+
"allMatch": [
|
|
1205
|
+
{
|
|
1206
|
+
"property": "method",
|
|
1207
|
+
"equals": "chat.postMessage",
|
|
1208
|
+
"type": "simple"
|
|
1209
|
+
},
|
|
1210
|
+
{
|
|
1211
|
+
"property": "method",
|
|
1212
|
+
"equals": "chat.postMessage",
|
|
1213
|
+
"type": "simple"
|
|
1214
|
+
}
|
|
1215
|
+
]
|
|
1216
|
+
},
|
|
1217
|
+
"type": "Dropdown",
|
|
1218
|
+
"choices": [
|
|
1219
|
+
{
|
|
1220
|
+
"name": "Plain text",
|
|
1221
|
+
"value": "plainText"
|
|
1222
|
+
},
|
|
1223
|
+
{
|
|
1224
|
+
"name": "Message block",
|
|
1225
|
+
"value": "messageBlock"
|
|
1226
|
+
}
|
|
1227
|
+
]
|
|
1073
1228
|
},
|
|
1074
1229
|
{
|
|
1075
|
-
"
|
|
1076
|
-
"
|
|
1077
|
-
"
|
|
1230
|
+
"id": "data.text",
|
|
1231
|
+
"label": "Message",
|
|
1232
|
+
"optional": false,
|
|
1233
|
+
"constraints": {
|
|
1234
|
+
"notEmpty": true
|
|
1235
|
+
},
|
|
1078
1236
|
"feel": "optional",
|
|
1237
|
+
"group": "message",
|
|
1079
1238
|
"binding": {
|
|
1080
|
-
"
|
|
1081
|
-
"
|
|
1082
|
-
},
|
|
1083
|
-
"constraints": {
|
|
1084
|
-
"notEmpty": true,
|
|
1085
|
-
"pattern": {
|
|
1086
|
-
"value": "(^(#|@|=).*)|(^.+[@].+[.].{2,4}$)",
|
|
1087
|
-
"message": "Must be a #channel, @user, email or FEEL expression."
|
|
1088
|
-
}
|
|
1239
|
+
"name": "data.text",
|
|
1240
|
+
"type": "zeebe:input"
|
|
1089
1241
|
},
|
|
1090
1242
|
"condition": {
|
|
1091
|
-
"
|
|
1092
|
-
|
|
1093
|
-
|
|
1243
|
+
"allMatch": [
|
|
1244
|
+
{
|
|
1245
|
+
"property": "data.messageType",
|
|
1246
|
+
"equals": "plainText",
|
|
1247
|
+
"type": "simple"
|
|
1248
|
+
},
|
|
1249
|
+
{
|
|
1250
|
+
"property": "method",
|
|
1251
|
+
"equals": "chat.postMessage",
|
|
1252
|
+
"type": "simple"
|
|
1253
|
+
}
|
|
1254
|
+
]
|
|
1255
|
+
},
|
|
1256
|
+
"type": "Text"
|
|
1094
1257
|
},
|
|
1095
1258
|
{
|
|
1096
|
-
"
|
|
1097
|
-
"
|
|
1098
|
-
"
|
|
1099
|
-
"
|
|
1259
|
+
"id": "data.blockContent",
|
|
1260
|
+
"label": "Message block",
|
|
1261
|
+
"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>",
|
|
1262
|
+
"optional": false,
|
|
1263
|
+
"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]",
|
|
1264
|
+
"constraints": {
|
|
1265
|
+
"notEmpty": true
|
|
1266
|
+
},
|
|
1267
|
+
"feel": "required",
|
|
1268
|
+
"group": "message",
|
|
1100
1269
|
"binding": {
|
|
1101
|
-
"
|
|
1102
|
-
"
|
|
1270
|
+
"name": "data.blockContent",
|
|
1271
|
+
"type": "zeebe:input"
|
|
1103
1272
|
},
|
|
1273
|
+
"condition": {
|
|
1274
|
+
"allMatch": [
|
|
1275
|
+
{
|
|
1276
|
+
"property": "data.messageType",
|
|
1277
|
+
"equals": "messageBlock",
|
|
1278
|
+
"type": "simple"
|
|
1279
|
+
},
|
|
1280
|
+
{
|
|
1281
|
+
"property": "method",
|
|
1282
|
+
"equals": "chat.postMessage",
|
|
1283
|
+
"type": "simple"
|
|
1284
|
+
}
|
|
1285
|
+
]
|
|
1286
|
+
},
|
|
1287
|
+
"type": "String"
|
|
1288
|
+
},
|
|
1289
|
+
{
|
|
1290
|
+
"id": "data.channel",
|
|
1291
|
+
"label": "Channel/user name/email",
|
|
1292
|
+
"optional": false,
|
|
1104
1293
|
"constraints": {
|
|
1105
|
-
"notEmpty": true
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1294
|
+
"notEmpty": true
|
|
1295
|
+
},
|
|
1296
|
+
"feel": "optional",
|
|
1297
|
+
"group": "channel",
|
|
1298
|
+
"binding": {
|
|
1299
|
+
"name": "data.channel",
|
|
1300
|
+
"type": "zeebe:input"
|
|
1110
1301
|
},
|
|
1111
1302
|
"condition": {
|
|
1112
1303
|
"property": "method",
|
|
1113
|
-
"equals": "
|
|
1114
|
-
|
|
1304
|
+
"equals": "chat.postMessage",
|
|
1305
|
+
"type": "simple"
|
|
1306
|
+
},
|
|
1307
|
+
"type": "String"
|
|
1115
1308
|
},
|
|
1116
1309
|
{
|
|
1117
|
-
"
|
|
1118
|
-
"
|
|
1119
|
-
"type": "Dropdown",
|
|
1120
|
-
"value": "PUBLIC",
|
|
1310
|
+
"id": "data.newChannelName",
|
|
1311
|
+
"label": "Channel name",
|
|
1121
1312
|
"optional": false,
|
|
1122
|
-
"
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
"value": "
|
|
1126
|
-
|
|
1127
|
-
{
|
|
1128
|
-
"name": "Public",
|
|
1129
|
-
"value": "PUBLIC"
|
|
1313
|
+
"constraints": {
|
|
1314
|
+
"notEmpty": true,
|
|
1315
|
+
"pattern": {
|
|
1316
|
+
"value": "^(=|[-_a-z0-9]{1,80}$)",
|
|
1317
|
+
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
1130
1318
|
}
|
|
1131
|
-
|
|
1319
|
+
},
|
|
1320
|
+
"feel": "optional",
|
|
1321
|
+
"group": "channel",
|
|
1132
1322
|
"binding": {
|
|
1133
|
-
"
|
|
1134
|
-
"
|
|
1323
|
+
"name": "data.newChannelName",
|
|
1324
|
+
"type": "zeebe:input"
|
|
1135
1325
|
},
|
|
1136
1326
|
"condition": {
|
|
1137
1327
|
"property": "method",
|
|
1138
|
-
"equals": "conversations.create"
|
|
1139
|
-
|
|
1328
|
+
"equals": "conversations.create",
|
|
1329
|
+
"type": "simple"
|
|
1330
|
+
},
|
|
1331
|
+
"type": "String"
|
|
1140
1332
|
},
|
|
1141
1333
|
{
|
|
1142
|
-
"
|
|
1143
|
-
"
|
|
1144
|
-
"
|
|
1145
|
-
"
|
|
1146
|
-
"binding": {
|
|
1147
|
-
"type": "zeebe:input",
|
|
1148
|
-
"name": "data.text"
|
|
1149
|
-
},
|
|
1334
|
+
"id": "data.visibility",
|
|
1335
|
+
"label": "Visibility",
|
|
1336
|
+
"optional": false,
|
|
1337
|
+
"value": "PUBLIC",
|
|
1150
1338
|
"constraints": {
|
|
1151
1339
|
"notEmpty": true
|
|
1152
1340
|
},
|
|
1341
|
+
"group": "channel",
|
|
1342
|
+
"binding": {
|
|
1343
|
+
"name": "data.visibility",
|
|
1344
|
+
"type": "zeebe:input"
|
|
1345
|
+
},
|
|
1153
1346
|
"condition": {
|
|
1154
1347
|
"property": "method",
|
|
1155
|
-
"equals": "
|
|
1156
|
-
|
|
1348
|
+
"equals": "conversations.create",
|
|
1349
|
+
"type": "simple"
|
|
1350
|
+
},
|
|
1351
|
+
"type": "Dropdown",
|
|
1352
|
+
"choices": [
|
|
1353
|
+
{
|
|
1354
|
+
"name": "Public",
|
|
1355
|
+
"value": "PUBLIC"
|
|
1356
|
+
},
|
|
1357
|
+
{
|
|
1358
|
+
"name": "Private",
|
|
1359
|
+
"value": "PRIVATE"
|
|
1360
|
+
}
|
|
1361
|
+
]
|
|
1157
1362
|
},
|
|
1158
1363
|
{
|
|
1364
|
+
"id": "data.channelName",
|
|
1159
1365
|
"label": "Channel name",
|
|
1160
|
-
"
|
|
1161
|
-
"type": "String",
|
|
1162
|
-
"feel": "optional",
|
|
1163
|
-
"binding": {
|
|
1164
|
-
"type": "zeebe:input",
|
|
1165
|
-
"name": "data.channelName"
|
|
1166
|
-
},
|
|
1366
|
+
"optional": false,
|
|
1167
1367
|
"constraints": {
|
|
1168
1368
|
"notEmpty": true,
|
|
1169
1369
|
"pattern": {
|
|
1170
|
-
"value": "^(=|
|
|
1370
|
+
"value": "^(=|[-_a-z0-9]{1,80}$)",
|
|
1171
1371
|
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
1172
1372
|
}
|
|
1173
1373
|
},
|
|
1374
|
+
"feel": "optional",
|
|
1375
|
+
"group": "invite",
|
|
1376
|
+
"binding": {
|
|
1377
|
+
"name": "data.channelName",
|
|
1378
|
+
"type": "zeebe:input"
|
|
1379
|
+
},
|
|
1174
1380
|
"condition": {
|
|
1175
1381
|
"property": "method",
|
|
1176
|
-
"equals": "conversations.invite"
|
|
1177
|
-
|
|
1382
|
+
"equals": "conversations.invite",
|
|
1383
|
+
"type": "simple"
|
|
1384
|
+
},
|
|
1385
|
+
"type": "String"
|
|
1178
1386
|
},
|
|
1179
1387
|
{
|
|
1388
|
+
"id": "data.users",
|
|
1180
1389
|
"label": "Users",
|
|
1181
1390
|
"description": "Comma-separated list of users, e.g., '@user1,@user2' or '=[ \"@user1\", \"user2@company.com\"]'",
|
|
1182
|
-
"
|
|
1183
|
-
"type": "String",
|
|
1184
|
-
"feel": "optional",
|
|
1185
|
-
"binding": {
|
|
1186
|
-
"type": "zeebe:input",
|
|
1187
|
-
"name": "data.users"
|
|
1188
|
-
},
|
|
1391
|
+
"optional": false,
|
|
1189
1392
|
"constraints": {
|
|
1190
1393
|
"notEmpty": true
|
|
1191
1394
|
},
|
|
1395
|
+
"feel": "optional",
|
|
1396
|
+
"group": "invite",
|
|
1397
|
+
"binding": {
|
|
1398
|
+
"name": "data.users",
|
|
1399
|
+
"type": "zeebe:input"
|
|
1400
|
+
},
|
|
1192
1401
|
"condition": {
|
|
1193
1402
|
"property": "method",
|
|
1194
|
-
"equals": "conversations.invite"
|
|
1195
|
-
|
|
1403
|
+
"equals": "conversations.invite",
|
|
1404
|
+
"type": "simple"
|
|
1405
|
+
},
|
|
1406
|
+
"type": "String"
|
|
1196
1407
|
},
|
|
1197
1408
|
{
|
|
1409
|
+
"id": "resultVariable",
|
|
1198
1410
|
"label": "Result variable",
|
|
1199
|
-
"description": "Name of variable to store the response in
|
|
1411
|
+
"description": "Name of variable to store the response in",
|
|
1200
1412
|
"group": "output",
|
|
1201
|
-
"type": "String",
|
|
1202
1413
|
"binding": {
|
|
1203
|
-
"
|
|
1204
|
-
"
|
|
1205
|
-
}
|
|
1414
|
+
"key": "resultVariable",
|
|
1415
|
+
"type": "zeebe:taskHeader"
|
|
1416
|
+
},
|
|
1417
|
+
"type": "String"
|
|
1206
1418
|
},
|
|
1207
1419
|
{
|
|
1420
|
+
"id": "resultExpression",
|
|
1208
1421
|
"label": "Result expression",
|
|
1209
|
-
"description": "Expression to map the response into process variables
|
|
1210
|
-
"group": "output",
|
|
1211
|
-
"type": "Text",
|
|
1422
|
+
"description": "Expression to map the response into process variables",
|
|
1212
1423
|
"feel": "required",
|
|
1424
|
+
"group": "output",
|
|
1213
1425
|
"binding": {
|
|
1214
|
-
"
|
|
1215
|
-
"
|
|
1216
|
-
}
|
|
1426
|
+
"key": "resultExpression",
|
|
1427
|
+
"type": "zeebe:taskHeader"
|
|
1428
|
+
},
|
|
1429
|
+
"type": "Text"
|
|
1217
1430
|
},
|
|
1218
1431
|
{
|
|
1432
|
+
"id": "errorExpression",
|
|
1219
1433
|
"label": "Error expression",
|
|
1220
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
1221
|
-
"group": "errors",
|
|
1222
|
-
"type": "Text",
|
|
1434
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
|
|
1223
1435
|
"feel": "required",
|
|
1436
|
+
"group": "error",
|
|
1224
1437
|
"binding": {
|
|
1225
|
-
"
|
|
1226
|
-
"
|
|
1227
|
-
}
|
|
1438
|
+
"key": "errorExpression",
|
|
1439
|
+
"type": "zeebe:taskHeader"
|
|
1440
|
+
},
|
|
1441
|
+
"type": "Text"
|
|
1442
|
+
},
|
|
1443
|
+
{
|
|
1444
|
+
"id": "retryCount",
|
|
1445
|
+
"label": "Retries",
|
|
1446
|
+
"description": "Number of retries",
|
|
1447
|
+
"value": "3",
|
|
1448
|
+
"feel": "optional",
|
|
1449
|
+
"group": "retries",
|
|
1450
|
+
"binding": {
|
|
1451
|
+
"property": "retries",
|
|
1452
|
+
"type": "zeebe:taskDefinition"
|
|
1453
|
+
},
|
|
1454
|
+
"type": "String"
|
|
1455
|
+
},
|
|
1456
|
+
{
|
|
1457
|
+
"id": "retryBackoff",
|
|
1458
|
+
"label": "Retry backoff",
|
|
1459
|
+
"description": "ISO-8601 duration to wait between retries",
|
|
1460
|
+
"value": "PT0S",
|
|
1461
|
+
"feel": "optional",
|
|
1462
|
+
"group": "retries",
|
|
1463
|
+
"binding": {
|
|
1464
|
+
"key": "retryBackoff",
|
|
1465
|
+
"type": "zeebe:taskHeader"
|
|
1466
|
+
},
|
|
1467
|
+
"type": "String"
|
|
1228
1468
|
}
|
|
1229
|
-
]
|
|
1469
|
+
],
|
|
1470
|
+
"icon": {
|
|
1471
|
+
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
|
|
1472
|
+
},
|
|
1473
|
+
"engines": {
|
|
1474
|
+
"camunda": "^8.5"
|
|
1475
|
+
}
|
|
1230
1476
|
},
|
|
1231
1477
|
{
|
|
1232
1478
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
1233
1479
|
"name": "Slack Outbound Connector",
|
|
1234
1480
|
"id": "io.camunda.connectors.Slack.v1",
|
|
1481
|
+
"version": 2,
|
|
1235
1482
|
"description": "Create a channel or send a message to a channel or user",
|
|
1236
1483
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
|
|
1237
|
-
"
|
|
1484
|
+
"icon": {
|
|
1485
|
+
"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"
|
|
1486
|
+
},
|
|
1238
1487
|
"category": {
|
|
1239
1488
|
"id": "connectors",
|
|
1240
1489
|
"name": "Connectors"
|
|
@@ -1244,14 +1493,14 @@
|
|
|
1244
1493
|
"value": "bpmn:ServiceTask"
|
|
1245
1494
|
},
|
|
1246
1495
|
"groups": [
|
|
1247
|
-
{
|
|
1248
|
-
"id": "authentication",
|
|
1249
|
-
"label": "Authentication"
|
|
1250
|
-
},
|
|
1251
1496
|
{
|
|
1252
1497
|
"id": "method",
|
|
1253
1498
|
"label": "Method"
|
|
1254
1499
|
},
|
|
1500
|
+
{
|
|
1501
|
+
"id": "authentication",
|
|
1502
|
+
"label": "Authentication"
|
|
1503
|
+
},
|
|
1255
1504
|
{
|
|
1256
1505
|
"id": "message",
|
|
1257
1506
|
"label": "Message"
|
|
@@ -1269,48 +1518,25 @@
|
|
|
1269
1518
|
"label": "Output mapping"
|
|
1270
1519
|
},
|
|
1271
1520
|
{
|
|
1272
|
-
"id": "
|
|
1521
|
+
"id": "errors",
|
|
1273
1522
|
"label": "Error handling"
|
|
1274
|
-
},
|
|
1275
|
-
{
|
|
1276
|
-
"id": "retries",
|
|
1277
|
-
"label": "Retries"
|
|
1278
1523
|
}
|
|
1279
1524
|
],
|
|
1280
1525
|
"properties": [
|
|
1281
1526
|
{
|
|
1527
|
+
"type": "Hidden",
|
|
1282
1528
|
"value": "io.camunda:slack:1",
|
|
1283
1529
|
"binding": {
|
|
1284
|
-
"
|
|
1285
|
-
"
|
|
1286
|
-
}
|
|
1287
|
-
"type": "Hidden"
|
|
1288
|
-
},
|
|
1289
|
-
{
|
|
1290
|
-
"id": "token",
|
|
1291
|
-
"label": "OAuth token",
|
|
1292
|
-
"optional": false,
|
|
1293
|
-
"constraints": {
|
|
1294
|
-
"notEmpty": true
|
|
1295
|
-
},
|
|
1296
|
-
"feel": "optional",
|
|
1297
|
-
"group": "authentication",
|
|
1298
|
-
"binding": {
|
|
1299
|
-
"name": "token",
|
|
1300
|
-
"type": "zeebe:input"
|
|
1301
|
-
},
|
|
1302
|
-
"type": "String"
|
|
1530
|
+
"type": "zeebe:taskDefinition",
|
|
1531
|
+
"property": "type"
|
|
1532
|
+
}
|
|
1303
1533
|
},
|
|
1304
1534
|
{
|
|
1305
|
-
"id": "method",
|
|
1306
1535
|
"label": "Method",
|
|
1307
|
-
"value": "chat.postMessage",
|
|
1308
1536
|
"group": "method",
|
|
1309
|
-
"
|
|
1310
|
-
"name": "method",
|
|
1311
|
-
"type": "zeebe:input"
|
|
1312
|
-
},
|
|
1537
|
+
"id": "method",
|
|
1313
1538
|
"type": "Dropdown",
|
|
1539
|
+
"value": "chat.postMessage",
|
|
1314
1540
|
"choices": [
|
|
1315
1541
|
{
|
|
1316
1542
|
"name": "Post message",
|
|
@@ -1324,145 +1550,55 @@
|
|
|
1324
1550
|
"name": "Invite to channel",
|
|
1325
1551
|
"value": "conversations.invite"
|
|
1326
1552
|
}
|
|
1327
|
-
]
|
|
1328
|
-
},
|
|
1329
|
-
{
|
|
1330
|
-
"id": "data.messageType",
|
|
1331
|
-
"label": "Message type",
|
|
1332
|
-
"optional": false,
|
|
1333
|
-
"value": "plainText",
|
|
1334
|
-
"group": "message",
|
|
1553
|
+
],
|
|
1335
1554
|
"binding": {
|
|
1336
|
-
"
|
|
1337
|
-
"
|
|
1338
|
-
}
|
|
1339
|
-
"condition": {
|
|
1340
|
-
"allMatch": [
|
|
1341
|
-
{
|
|
1342
|
-
"property": "method",
|
|
1343
|
-
"equals": "chat.postMessage",
|
|
1344
|
-
"type": "simple"
|
|
1345
|
-
},
|
|
1346
|
-
{
|
|
1347
|
-
"property": "method",
|
|
1348
|
-
"equals": "chat.postMessage",
|
|
1349
|
-
"type": "simple"
|
|
1350
|
-
}
|
|
1351
|
-
]
|
|
1352
|
-
},
|
|
1353
|
-
"type": "Dropdown",
|
|
1354
|
-
"choices": [
|
|
1355
|
-
{
|
|
1356
|
-
"name": "Plain text",
|
|
1357
|
-
"value": "plainText"
|
|
1358
|
-
},
|
|
1359
|
-
{
|
|
1360
|
-
"name": "Message block",
|
|
1361
|
-
"value": "messageBlock"
|
|
1362
|
-
}
|
|
1363
|
-
]
|
|
1555
|
+
"type": "zeebe:input",
|
|
1556
|
+
"name": "method"
|
|
1557
|
+
}
|
|
1364
1558
|
},
|
|
1365
1559
|
{
|
|
1366
|
-
"
|
|
1367
|
-
"
|
|
1368
|
-
"
|
|
1369
|
-
"constraints": {
|
|
1370
|
-
"notEmpty": true
|
|
1371
|
-
},
|
|
1560
|
+
"label": "OAuth token",
|
|
1561
|
+
"group": "authentication",
|
|
1562
|
+
"type": "String",
|
|
1372
1563
|
"feel": "optional",
|
|
1373
|
-
"group": "message",
|
|
1374
1564
|
"binding": {
|
|
1375
|
-
"
|
|
1376
|
-
"
|
|
1377
|
-
},
|
|
1378
|
-
"condition": {
|
|
1379
|
-
"allMatch": [
|
|
1380
|
-
{
|
|
1381
|
-
"property": "data.messageType",
|
|
1382
|
-
"equals": "plainText",
|
|
1383
|
-
"type": "simple"
|
|
1384
|
-
},
|
|
1385
|
-
{
|
|
1386
|
-
"property": "method",
|
|
1387
|
-
"equals": "chat.postMessage",
|
|
1388
|
-
"type": "simple"
|
|
1389
|
-
}
|
|
1390
|
-
]
|
|
1565
|
+
"type": "zeebe:input",
|
|
1566
|
+
"name": "token"
|
|
1391
1567
|
},
|
|
1392
|
-
"type": "Text"
|
|
1393
|
-
},
|
|
1394
|
-
{
|
|
1395
|
-
"id": "data.blockContent",
|
|
1396
|
-
"label": "Message block",
|
|
1397
|
-
"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>",
|
|
1398
|
-
"optional": false,
|
|
1399
|
-
"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]",
|
|
1400
1568
|
"constraints": {
|
|
1401
1569
|
"notEmpty": true
|
|
1402
|
-
}
|
|
1403
|
-
"feel": "required",
|
|
1404
|
-
"group": "message",
|
|
1405
|
-
"binding": {
|
|
1406
|
-
"name": "data.blockContent",
|
|
1407
|
-
"type": "zeebe:input"
|
|
1408
|
-
},
|
|
1409
|
-
"condition": {
|
|
1410
|
-
"allMatch": [
|
|
1411
|
-
{
|
|
1412
|
-
"property": "data.messageType",
|
|
1413
|
-
"equals": "messageBlock",
|
|
1414
|
-
"type": "simple"
|
|
1415
|
-
},
|
|
1416
|
-
{
|
|
1417
|
-
"property": "method",
|
|
1418
|
-
"equals": "chat.postMessage",
|
|
1419
|
-
"type": "simple"
|
|
1420
|
-
}
|
|
1421
|
-
]
|
|
1422
|
-
},
|
|
1423
|
-
"type": "String"
|
|
1570
|
+
}
|
|
1424
1571
|
},
|
|
1425
1572
|
{
|
|
1426
|
-
"id": "data.channel",
|
|
1427
1573
|
"label": "Channel/user name/email",
|
|
1428
|
-
"optional": false,
|
|
1429
|
-
"constraints": {
|
|
1430
|
-
"notEmpty": true
|
|
1431
|
-
},
|
|
1432
|
-
"feel": "optional",
|
|
1433
1574
|
"group": "channel",
|
|
1575
|
+
"type": "String",
|
|
1576
|
+
"feel": "optional",
|
|
1434
1577
|
"binding": {
|
|
1435
|
-
"
|
|
1436
|
-
"
|
|
1578
|
+
"type": "zeebe:input",
|
|
1579
|
+
"name": "data.channel"
|
|
1580
|
+
},
|
|
1581
|
+
"constraints": {
|
|
1582
|
+
"notEmpty": true,
|
|
1583
|
+
"pattern": {
|
|
1584
|
+
"value": "(^(#|@|=).*)|(^.+[@].+[.].{2,4}$)",
|
|
1585
|
+
"message": "Must be a #channel, @user, email or FEEL expression."
|
|
1586
|
+
}
|
|
1437
1587
|
},
|
|
1438
1588
|
"condition": {
|
|
1439
1589
|
"property": "method",
|
|
1440
|
-
"equals": "chat.postMessage"
|
|
1441
|
-
|
|
1442
|
-
},
|
|
1443
|
-
"type": "String"
|
|
1590
|
+
"equals": "chat.postMessage"
|
|
1591
|
+
}
|
|
1444
1592
|
},
|
|
1445
1593
|
{
|
|
1446
|
-
"
|
|
1447
|
-
"label": "Thread",
|
|
1448
|
-
"optional": true,
|
|
1449
|
-
"feel": "optional",
|
|
1594
|
+
"label": "New channel name",
|
|
1450
1595
|
"group": "channel",
|
|
1596
|
+
"type": "String",
|
|
1597
|
+
"feel": "optional",
|
|
1451
1598
|
"binding": {
|
|
1452
|
-
"
|
|
1453
|
-
"
|
|
1454
|
-
},
|
|
1455
|
-
"condition": {
|
|
1456
|
-
"property": "method",
|
|
1457
|
-
"equals": "chat.postMessage",
|
|
1458
|
-
"type": "simple"
|
|
1599
|
+
"type": "zeebe:input",
|
|
1600
|
+
"name": "data.newChannelName"
|
|
1459
1601
|
},
|
|
1460
|
-
"type": "String"
|
|
1461
|
-
},
|
|
1462
|
-
{
|
|
1463
|
-
"id": "data.newChannelName",
|
|
1464
|
-
"label": "Channel name",
|
|
1465
|
-
"optional": false,
|
|
1466
1602
|
"constraints": {
|
|
1467
1603
|
"notEmpty": true,
|
|
1468
1604
|
"pattern": {
|
|
@@ -1470,170 +1606,139 @@
|
|
|
1470
1606
|
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
1471
1607
|
}
|
|
1472
1608
|
},
|
|
1473
|
-
"feel": "optional",
|
|
1474
|
-
"group": "channel",
|
|
1475
|
-
"binding": {
|
|
1476
|
-
"name": "data.newChannelName",
|
|
1477
|
-
"type": "zeebe:input"
|
|
1478
|
-
},
|
|
1479
1609
|
"condition": {
|
|
1480
1610
|
"property": "method",
|
|
1481
|
-
"equals": "conversations.create"
|
|
1482
|
-
|
|
1483
|
-
},
|
|
1484
|
-
"type": "String"
|
|
1611
|
+
"equals": "conversations.create"
|
|
1612
|
+
}
|
|
1485
1613
|
},
|
|
1486
1614
|
{
|
|
1487
|
-
"id": "data.visibility",
|
|
1488
1615
|
"label": "Visibility",
|
|
1489
|
-
"optional": false,
|
|
1490
|
-
"value": "PUBLIC",
|
|
1491
|
-
"constraints": {
|
|
1492
|
-
"notEmpty": true
|
|
1493
|
-
},
|
|
1494
1616
|
"group": "channel",
|
|
1495
|
-
"binding": {
|
|
1496
|
-
"name": "data.visibility",
|
|
1497
|
-
"type": "zeebe:input"
|
|
1498
|
-
},
|
|
1499
|
-
"condition": {
|
|
1500
|
-
"property": "method",
|
|
1501
|
-
"equals": "conversations.create",
|
|
1502
|
-
"type": "simple"
|
|
1503
|
-
},
|
|
1504
1617
|
"type": "Dropdown",
|
|
1618
|
+
"value": "PUBLIC",
|
|
1619
|
+
"optional": false,
|
|
1505
1620
|
"choices": [
|
|
1506
|
-
{
|
|
1507
|
-
"name": "Public",
|
|
1508
|
-
"value": "PUBLIC"
|
|
1509
|
-
},
|
|
1510
1621
|
{
|
|
1511
1622
|
"name": "Private",
|
|
1512
1623
|
"value": "PRIVATE"
|
|
1624
|
+
},
|
|
1625
|
+
{
|
|
1626
|
+
"name": "Public",
|
|
1627
|
+
"value": "PUBLIC"
|
|
1513
1628
|
}
|
|
1514
|
-
]
|
|
1629
|
+
],
|
|
1630
|
+
"binding": {
|
|
1631
|
+
"type": "zeebe:input",
|
|
1632
|
+
"name": "data.visibility"
|
|
1633
|
+
},
|
|
1634
|
+
"condition": {
|
|
1635
|
+
"property": "method",
|
|
1636
|
+
"equals": "conversations.create"
|
|
1637
|
+
}
|
|
1638
|
+
},
|
|
1639
|
+
{
|
|
1640
|
+
"label": "Message",
|
|
1641
|
+
"group": "message",
|
|
1642
|
+
"type": "Text",
|
|
1643
|
+
"feel": "optional",
|
|
1644
|
+
"binding": {
|
|
1645
|
+
"type": "zeebe:input",
|
|
1646
|
+
"name": "data.text"
|
|
1647
|
+
},
|
|
1648
|
+
"constraints": {
|
|
1649
|
+
"notEmpty": true
|
|
1650
|
+
},
|
|
1651
|
+
"condition": {
|
|
1652
|
+
"property": "method",
|
|
1653
|
+
"equals": "chat.postMessage"
|
|
1654
|
+
}
|
|
1515
1655
|
},
|
|
1516
1656
|
{
|
|
1517
|
-
"id": "data.channelName",
|
|
1518
1657
|
"label": "Channel name",
|
|
1519
|
-
"
|
|
1658
|
+
"group": "invite",
|
|
1659
|
+
"type": "String",
|
|
1660
|
+
"feel": "optional",
|
|
1661
|
+
"binding": {
|
|
1662
|
+
"type": "zeebe:input",
|
|
1663
|
+
"name": "data.channelName"
|
|
1664
|
+
},
|
|
1520
1665
|
"constraints": {
|
|
1521
1666
|
"notEmpty": true,
|
|
1522
1667
|
"pattern": {
|
|
1523
|
-
"value": "^(=|
|
|
1668
|
+
"value": "^(=|[-_a-z0-9]{1,80}$)",
|
|
1524
1669
|
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
1525
1670
|
}
|
|
1526
1671
|
},
|
|
1527
|
-
"feel": "optional",
|
|
1528
|
-
"group": "invite",
|
|
1529
|
-
"binding": {
|
|
1530
|
-
"name": "data.channelName",
|
|
1531
|
-
"type": "zeebe:input"
|
|
1532
|
-
},
|
|
1533
1672
|
"condition": {
|
|
1534
1673
|
"property": "method",
|
|
1535
|
-
"equals": "conversations.invite"
|
|
1536
|
-
|
|
1537
|
-
},
|
|
1538
|
-
"type": "String"
|
|
1674
|
+
"equals": "conversations.invite"
|
|
1675
|
+
}
|
|
1539
1676
|
},
|
|
1540
1677
|
{
|
|
1541
|
-
"id": "data.users",
|
|
1542
1678
|
"label": "Users",
|
|
1543
1679
|
"description": "Comma-separated list of users, e.g., '@user1,@user2' or '=[ \"@user1\", \"user2@company.com\"]'",
|
|
1544
|
-
"optional": false,
|
|
1545
|
-
"constraints": {
|
|
1546
|
-
"notEmpty": true
|
|
1547
|
-
},
|
|
1548
|
-
"feel": "optional",
|
|
1549
1680
|
"group": "invite",
|
|
1681
|
+
"type": "String",
|
|
1682
|
+
"feel": "optional",
|
|
1550
1683
|
"binding": {
|
|
1551
|
-
"
|
|
1552
|
-
"
|
|
1684
|
+
"type": "zeebe:input",
|
|
1685
|
+
"name": "data.users"
|
|
1686
|
+
},
|
|
1687
|
+
"constraints": {
|
|
1688
|
+
"notEmpty": true
|
|
1553
1689
|
},
|
|
1554
1690
|
"condition": {
|
|
1555
1691
|
"property": "method",
|
|
1556
|
-
"equals": "conversations.invite"
|
|
1557
|
-
|
|
1558
|
-
},
|
|
1559
|
-
"type": "String"
|
|
1692
|
+
"equals": "conversations.invite"
|
|
1693
|
+
}
|
|
1560
1694
|
},
|
|
1561
1695
|
{
|
|
1562
|
-
"id": "resultVariable",
|
|
1563
1696
|
"label": "Result variable",
|
|
1564
|
-
"description": "Name of variable to store the response in",
|
|
1697
|
+
"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>",
|
|
1565
1698
|
"group": "output",
|
|
1699
|
+
"type": "String",
|
|
1566
1700
|
"binding": {
|
|
1567
|
-
"
|
|
1568
|
-
"
|
|
1569
|
-
}
|
|
1570
|
-
"type": "String"
|
|
1701
|
+
"type": "zeebe:taskHeader",
|
|
1702
|
+
"key": "resultVariable"
|
|
1703
|
+
}
|
|
1571
1704
|
},
|
|
1572
1705
|
{
|
|
1573
|
-
"id": "resultExpression",
|
|
1574
1706
|
"label": "Result expression",
|
|
1575
|
-
"description": "Expression to map the response into process variables",
|
|
1576
|
-
"feel": "required",
|
|
1707
|
+
"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>",
|
|
1577
1708
|
"group": "output",
|
|
1709
|
+
"type": "Text",
|
|
1710
|
+
"feel": "required",
|
|
1578
1711
|
"binding": {
|
|
1579
|
-
"
|
|
1580
|
-
"
|
|
1581
|
-
}
|
|
1582
|
-
"type": "Text"
|
|
1712
|
+
"type": "zeebe:taskHeader",
|
|
1713
|
+
"key": "resultExpression"
|
|
1714
|
+
}
|
|
1583
1715
|
},
|
|
1584
1716
|
{
|
|
1585
|
-
"id": "errorExpression",
|
|
1586
1717
|
"label": "Error expression",
|
|
1587
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
1718
|
+
"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>",
|
|
1719
|
+
"group": "errors",
|
|
1720
|
+
"type": "Text",
|
|
1588
1721
|
"feel": "required",
|
|
1589
|
-
"group": "error",
|
|
1590
|
-
"binding": {
|
|
1591
|
-
"key": "errorExpression",
|
|
1592
|
-
"type": "zeebe:taskHeader"
|
|
1593
|
-
},
|
|
1594
|
-
"type": "Text"
|
|
1595
|
-
},
|
|
1596
|
-
{
|
|
1597
|
-
"id": "retryCount",
|
|
1598
|
-
"label": "Retries",
|
|
1599
|
-
"description": "Number of retries",
|
|
1600
|
-
"value": "3",
|
|
1601
|
-
"feel": "optional",
|
|
1602
|
-
"group": "retries",
|
|
1603
|
-
"binding": {
|
|
1604
|
-
"property": "retries",
|
|
1605
|
-
"type": "zeebe:taskDefinition"
|
|
1606
|
-
},
|
|
1607
|
-
"type": "String"
|
|
1608
|
-
},
|
|
1609
|
-
{
|
|
1610
|
-
"id": "retryBackoff",
|
|
1611
|
-
"label": "Retry backoff",
|
|
1612
|
-
"description": "ISO-8601 duration to wait between retries",
|
|
1613
|
-
"value": "PT0S",
|
|
1614
|
-
"feel": "optional",
|
|
1615
|
-
"group": "retries",
|
|
1616
1722
|
"binding": {
|
|
1617
|
-
"
|
|
1618
|
-
"
|
|
1619
|
-
}
|
|
1620
|
-
"type": "String"
|
|
1723
|
+
"type": "zeebe:taskHeader",
|
|
1724
|
+
"key": "errorExpression"
|
|
1725
|
+
}
|
|
1621
1726
|
}
|
|
1622
1727
|
],
|
|
1623
|
-
"icon": {
|
|
1624
|
-
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
|
|
1625
|
-
},
|
|
1626
1728
|
"engines": {
|
|
1627
|
-
"camunda": "^8.
|
|
1729
|
+
"camunda": "^8.2"
|
|
1628
1730
|
}
|
|
1629
1731
|
},
|
|
1630
1732
|
{
|
|
1631
1733
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
1632
|
-
"name": "Slack
|
|
1734
|
+
"name": "Slack connector",
|
|
1633
1735
|
"id": "io.camunda.connectors.Slack.v1",
|
|
1634
|
-
"
|
|
1736
|
+
"deprecated": {
|
|
1737
|
+
"message": "Replace with 'Slack connector' template.",
|
|
1738
|
+
"documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
|
|
1739
|
+
},
|
|
1635
1740
|
"description": "Create a channel or send a message to a channel or user",
|
|
1636
|
-
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack
|
|
1741
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/",
|
|
1637
1742
|
"icon": {
|
|
1638
1743
|
"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
1744
|
},
|
|
@@ -1818,7 +1923,7 @@
|
|
|
1818
1923
|
"constraints": {
|
|
1819
1924
|
"notEmpty": true,
|
|
1820
1925
|
"pattern": {
|
|
1821
|
-
"value": "^(=|[-_a-z0-9]{1,80}$)",
|
|
1926
|
+
"value": "^(=|([-_a-z0-9]{1,80}$))",
|
|
1822
1927
|
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
1823
1928
|
}
|
|
1824
1929
|
},
|
|
@@ -1877,10 +1982,7 @@
|
|
|
1877
1982
|
"key": "errorExpression"
|
|
1878
1983
|
}
|
|
1879
1984
|
}
|
|
1880
|
-
]
|
|
1881
|
-
"engines": {
|
|
1882
|
-
"camunda": "^8.2"
|
|
1883
|
-
}
|
|
1985
|
+
]
|
|
1884
1986
|
},
|
|
1885
1987
|
{
|
|
1886
1988
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
@@ -1888,7 +1990,7 @@
|
|
|
1888
1990
|
"id": "io.camunda.connectors.Slack.v1",
|
|
1889
1991
|
"description": "Create a channel or send a message to a channel or user",
|
|
1890
1992
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
|
|
1891
|
-
"version":
|
|
1993
|
+
"version": 4,
|
|
1892
1994
|
"category": {
|
|
1893
1995
|
"id": "connectors",
|
|
1894
1996
|
"name": "Connectors"
|
|
@@ -2096,6 +2198,23 @@
|
|
|
2096
2198
|
},
|
|
2097
2199
|
"type": "String"
|
|
2098
2200
|
},
|
|
2201
|
+
{
|
|
2202
|
+
"id": "data.thread",
|
|
2203
|
+
"label": "Thread",
|
|
2204
|
+
"optional": true,
|
|
2205
|
+
"feel": "optional",
|
|
2206
|
+
"group": "channel",
|
|
2207
|
+
"binding": {
|
|
2208
|
+
"name": "data.thread",
|
|
2209
|
+
"type": "zeebe:input"
|
|
2210
|
+
},
|
|
2211
|
+
"condition": {
|
|
2212
|
+
"property": "method",
|
|
2213
|
+
"equals": "chat.postMessage",
|
|
2214
|
+
"type": "simple"
|
|
2215
|
+
},
|
|
2216
|
+
"type": "String"
|
|
2217
|
+
},
|
|
2099
2218
|
{
|
|
2100
2219
|
"id": "data.newChannelName",
|
|
2101
2220
|
"label": "Channel name",
|
|
@@ -2103,7 +2222,7 @@
|
|
|
2103
2222
|
"constraints": {
|
|
2104
2223
|
"notEmpty": true,
|
|
2105
2224
|
"pattern": {
|
|
2106
|
-
"value": "^(=|[-_a-z0-9]{1,80}$)",
|
|
2225
|
+
"value": "^(=|([-_a-z0-9]{1,80}$))",
|
|
2107
2226
|
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
2108
2227
|
}
|
|
2109
2228
|
},
|
|
@@ -2157,7 +2276,7 @@
|
|
|
2157
2276
|
"constraints": {
|
|
2158
2277
|
"notEmpty": true,
|
|
2159
2278
|
"pattern": {
|
|
2160
|
-
"value": "^(=|[-_a-z0-9]{1,80}$)",
|
|
2279
|
+
"value": "^(=|([-_a-z0-9]{1,80}$))",
|
|
2161
2280
|
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
2162
2281
|
}
|
|
2163
2282
|
},
|
|
@@ -2261,7 +2380,7 @@
|
|
|
2261
2380
|
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
|
|
2262
2381
|
},
|
|
2263
2382
|
"engines": {
|
|
2264
|
-
"camunda": "^8.
|
|
2383
|
+
"camunda": "^8.6"
|
|
2265
2384
|
}
|
|
2266
2385
|
},
|
|
2267
2386
|
{
|
|
@@ -2283,14 +2402,266 @@
|
|
|
2283
2402
|
"value": "bpmn:ServiceTask"
|
|
2284
2403
|
},
|
|
2285
2404
|
"groups": [
|
|
2286
|
-
{
|
|
2287
|
-
"id": "method",
|
|
2288
|
-
"label": "Method"
|
|
2289
|
-
},
|
|
2405
|
+
{
|
|
2406
|
+
"id": "method",
|
|
2407
|
+
"label": "Method"
|
|
2408
|
+
},
|
|
2409
|
+
{
|
|
2410
|
+
"id": "authentication",
|
|
2411
|
+
"label": "Authentication"
|
|
2412
|
+
},
|
|
2413
|
+
{
|
|
2414
|
+
"id": "message",
|
|
2415
|
+
"label": "Message"
|
|
2416
|
+
},
|
|
2417
|
+
{
|
|
2418
|
+
"id": "channel",
|
|
2419
|
+
"label": "Channel"
|
|
2420
|
+
},
|
|
2421
|
+
{
|
|
2422
|
+
"id": "invite",
|
|
2423
|
+
"label": "Invite"
|
|
2424
|
+
},
|
|
2425
|
+
{
|
|
2426
|
+
"id": "output",
|
|
2427
|
+
"label": "Output mapping"
|
|
2428
|
+
},
|
|
2429
|
+
{
|
|
2430
|
+
"id": "errors",
|
|
2431
|
+
"label": "Error handling"
|
|
2432
|
+
}
|
|
2433
|
+
],
|
|
2434
|
+
"properties": [
|
|
2435
|
+
{
|
|
2436
|
+
"type": "Hidden",
|
|
2437
|
+
"value": "io.camunda:slack:1",
|
|
2438
|
+
"binding": {
|
|
2439
|
+
"type": "zeebe:taskDefinition",
|
|
2440
|
+
"property": "type"
|
|
2441
|
+
}
|
|
2442
|
+
},
|
|
2443
|
+
{
|
|
2444
|
+
"label": "Method",
|
|
2445
|
+
"group": "method",
|
|
2446
|
+
"id": "method",
|
|
2447
|
+
"type": "Dropdown",
|
|
2448
|
+
"value": "chat.postMessage",
|
|
2449
|
+
"choices": [
|
|
2450
|
+
{
|
|
2451
|
+
"name": "Post message",
|
|
2452
|
+
"value": "chat.postMessage"
|
|
2453
|
+
},
|
|
2454
|
+
{
|
|
2455
|
+
"name": "Create channel",
|
|
2456
|
+
"value": "conversations.create"
|
|
2457
|
+
},
|
|
2458
|
+
{
|
|
2459
|
+
"name": "Invite to channel",
|
|
2460
|
+
"value": "conversations.invite"
|
|
2461
|
+
}
|
|
2462
|
+
],
|
|
2463
|
+
"binding": {
|
|
2464
|
+
"type": "zeebe:input",
|
|
2465
|
+
"name": "method"
|
|
2466
|
+
}
|
|
2467
|
+
},
|
|
2468
|
+
{
|
|
2469
|
+
"label": "OAuth token",
|
|
2470
|
+
"group": "authentication",
|
|
2471
|
+
"type": "String",
|
|
2472
|
+
"feel": "optional",
|
|
2473
|
+
"binding": {
|
|
2474
|
+
"type": "zeebe:input",
|
|
2475
|
+
"name": "token"
|
|
2476
|
+
},
|
|
2477
|
+
"constraints": {
|
|
2478
|
+
"notEmpty": true
|
|
2479
|
+
}
|
|
2480
|
+
},
|
|
2481
|
+
{
|
|
2482
|
+
"label": "Channel/user name/email",
|
|
2483
|
+
"group": "channel",
|
|
2484
|
+
"type": "String",
|
|
2485
|
+
"feel": "optional",
|
|
2486
|
+
"binding": {
|
|
2487
|
+
"type": "zeebe:input",
|
|
2488
|
+
"name": "data.channel"
|
|
2489
|
+
},
|
|
2490
|
+
"constraints": {
|
|
2491
|
+
"notEmpty": true,
|
|
2492
|
+
"pattern": {
|
|
2493
|
+
"value": "(^(#|@|=).*)|(^.+[@].+[.].{2,4}$)",
|
|
2494
|
+
"message": "Must be a #channel, @user, email or FEEL expression."
|
|
2495
|
+
}
|
|
2496
|
+
},
|
|
2497
|
+
"condition": {
|
|
2498
|
+
"property": "method",
|
|
2499
|
+
"equals": "chat.postMessage"
|
|
2500
|
+
}
|
|
2501
|
+
},
|
|
2502
|
+
{
|
|
2503
|
+
"label": "New channel name",
|
|
2504
|
+
"group": "channel",
|
|
2505
|
+
"type": "String",
|
|
2506
|
+
"feel": "optional",
|
|
2507
|
+
"binding": {
|
|
2508
|
+
"type": "zeebe:input",
|
|
2509
|
+
"name": "data.newChannelName"
|
|
2510
|
+
},
|
|
2511
|
+
"constraints": {
|
|
2512
|
+
"notEmpty": true,
|
|
2513
|
+
"pattern": {
|
|
2514
|
+
"value": "^(=|([-_a-z0-9]{1,80}$))",
|
|
2515
|
+
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
2516
|
+
}
|
|
2517
|
+
},
|
|
2518
|
+
"condition": {
|
|
2519
|
+
"property": "method",
|
|
2520
|
+
"equals": "conversations.create"
|
|
2521
|
+
}
|
|
2522
|
+
},
|
|
2523
|
+
{
|
|
2524
|
+
"label": "Visibility",
|
|
2525
|
+
"group": "channel",
|
|
2526
|
+
"type": "Dropdown",
|
|
2527
|
+
"value": "PUBLIC",
|
|
2528
|
+
"optional": false,
|
|
2529
|
+
"choices": [
|
|
2530
|
+
{
|
|
2531
|
+
"name": "Private",
|
|
2532
|
+
"value": "PRIVATE"
|
|
2533
|
+
},
|
|
2534
|
+
{
|
|
2535
|
+
"name": "Public",
|
|
2536
|
+
"value": "PUBLIC"
|
|
2537
|
+
}
|
|
2538
|
+
],
|
|
2539
|
+
"binding": {
|
|
2540
|
+
"type": "zeebe:input",
|
|
2541
|
+
"name": "data.visibility"
|
|
2542
|
+
},
|
|
2543
|
+
"condition": {
|
|
2544
|
+
"property": "method",
|
|
2545
|
+
"equals": "conversations.create"
|
|
2546
|
+
}
|
|
2547
|
+
},
|
|
2548
|
+
{
|
|
2549
|
+
"label": "Message",
|
|
2550
|
+
"group": "message",
|
|
2551
|
+
"type": "Text",
|
|
2552
|
+
"feel": "optional",
|
|
2553
|
+
"binding": {
|
|
2554
|
+
"type": "zeebe:input",
|
|
2555
|
+
"name": "data.text"
|
|
2556
|
+
},
|
|
2557
|
+
"constraints": {
|
|
2558
|
+
"notEmpty": true
|
|
2559
|
+
},
|
|
2560
|
+
"condition": {
|
|
2561
|
+
"property": "method",
|
|
2562
|
+
"equals": "chat.postMessage"
|
|
2563
|
+
}
|
|
2564
|
+
},
|
|
2565
|
+
{
|
|
2566
|
+
"label": "Channel name",
|
|
2567
|
+
"group": "invite",
|
|
2568
|
+
"type": "String",
|
|
2569
|
+
"feel": "optional",
|
|
2570
|
+
"binding": {
|
|
2571
|
+
"type": "zeebe:input",
|
|
2572
|
+
"name": "data.channelName"
|
|
2573
|
+
},
|
|
2574
|
+
"constraints": {
|
|
2575
|
+
"notEmpty": true,
|
|
2576
|
+
"pattern": {
|
|
2577
|
+
"value": "^(=|([-_a-z0-9]{1,80}$))",
|
|
2578
|
+
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
2579
|
+
}
|
|
2580
|
+
},
|
|
2581
|
+
"condition": {
|
|
2582
|
+
"property": "method",
|
|
2583
|
+
"equals": "conversations.invite"
|
|
2584
|
+
}
|
|
2585
|
+
},
|
|
2586
|
+
{
|
|
2587
|
+
"label": "Users",
|
|
2588
|
+
"description": "Comma-separated list of users, e.g., '@user1,@user2' or '=[ \"@user1\", \"user2@company.com\"]'",
|
|
2589
|
+
"group": "invite",
|
|
2590
|
+
"type": "String",
|
|
2591
|
+
"feel": "optional",
|
|
2592
|
+
"binding": {
|
|
2593
|
+
"type": "zeebe:input",
|
|
2594
|
+
"name": "data.users"
|
|
2595
|
+
},
|
|
2596
|
+
"constraints": {
|
|
2597
|
+
"notEmpty": true
|
|
2598
|
+
},
|
|
2599
|
+
"condition": {
|
|
2600
|
+
"property": "method",
|
|
2601
|
+
"equals": "conversations.invite"
|
|
2602
|
+
}
|
|
2603
|
+
},
|
|
2604
|
+
{
|
|
2605
|
+
"label": "Result variable",
|
|
2606
|
+
"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>",
|
|
2607
|
+
"group": "output",
|
|
2608
|
+
"type": "String",
|
|
2609
|
+
"binding": {
|
|
2610
|
+
"type": "zeebe:taskHeader",
|
|
2611
|
+
"key": "resultVariable"
|
|
2612
|
+
}
|
|
2613
|
+
},
|
|
2614
|
+
{
|
|
2615
|
+
"label": "Result expression",
|
|
2616
|
+
"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>",
|
|
2617
|
+
"group": "output",
|
|
2618
|
+
"type": "Text",
|
|
2619
|
+
"feel": "required",
|
|
2620
|
+
"binding": {
|
|
2621
|
+
"type": "zeebe:taskHeader",
|
|
2622
|
+
"key": "resultExpression"
|
|
2623
|
+
}
|
|
2624
|
+
},
|
|
2625
|
+
{
|
|
2626
|
+
"label": "Error expression",
|
|
2627
|
+
"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>",
|
|
2628
|
+
"group": "errors",
|
|
2629
|
+
"type": "Text",
|
|
2630
|
+
"feel": "required",
|
|
2631
|
+
"binding": {
|
|
2632
|
+
"type": "zeebe:taskHeader",
|
|
2633
|
+
"key": "errorExpression"
|
|
2634
|
+
}
|
|
2635
|
+
}
|
|
2636
|
+
],
|
|
2637
|
+
"engines": {
|
|
2638
|
+
"camunda": "^8.2"
|
|
2639
|
+
}
|
|
2640
|
+
},
|
|
2641
|
+
{
|
|
2642
|
+
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
2643
|
+
"name": "Slack Outbound Connector",
|
|
2644
|
+
"id": "io.camunda.connectors.Slack.v1",
|
|
2645
|
+
"description": "Create a channel or send a message to a channel or user",
|
|
2646
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
|
|
2647
|
+
"version": 5,
|
|
2648
|
+
"category": {
|
|
2649
|
+
"id": "connectors",
|
|
2650
|
+
"name": "Connectors"
|
|
2651
|
+
},
|
|
2652
|
+
"appliesTo": ["bpmn:Task"],
|
|
2653
|
+
"elementType": {
|
|
2654
|
+
"value": "bpmn:ServiceTask"
|
|
2655
|
+
},
|
|
2656
|
+
"groups": [
|
|
2290
2657
|
{
|
|
2291
2658
|
"id": "authentication",
|
|
2292
2659
|
"label": "Authentication"
|
|
2293
2660
|
},
|
|
2661
|
+
{
|
|
2662
|
+
"id": "method",
|
|
2663
|
+
"label": "Method"
|
|
2664
|
+
},
|
|
2294
2665
|
{
|
|
2295
2666
|
"id": "message",
|
|
2296
2667
|
"label": "Message"
|
|
@@ -2308,25 +2679,48 @@
|
|
|
2308
2679
|
"label": "Output mapping"
|
|
2309
2680
|
},
|
|
2310
2681
|
{
|
|
2311
|
-
"id": "
|
|
2682
|
+
"id": "error",
|
|
2312
2683
|
"label": "Error handling"
|
|
2684
|
+
},
|
|
2685
|
+
{
|
|
2686
|
+
"id": "retries",
|
|
2687
|
+
"label": "Retries"
|
|
2313
2688
|
}
|
|
2314
2689
|
],
|
|
2315
2690
|
"properties": [
|
|
2316
2691
|
{
|
|
2317
|
-
"type": "Hidden",
|
|
2318
2692
|
"value": "io.camunda:slack:1",
|
|
2319
2693
|
"binding": {
|
|
2320
|
-
"
|
|
2321
|
-
"
|
|
2322
|
-
}
|
|
2694
|
+
"property": "type",
|
|
2695
|
+
"type": "zeebe:taskDefinition"
|
|
2696
|
+
},
|
|
2697
|
+
"type": "Hidden"
|
|
2698
|
+
},
|
|
2699
|
+
{
|
|
2700
|
+
"id": "token",
|
|
2701
|
+
"label": "OAuth token",
|
|
2702
|
+
"optional": false,
|
|
2703
|
+
"constraints": {
|
|
2704
|
+
"notEmpty": true
|
|
2705
|
+
},
|
|
2706
|
+
"feel": "optional",
|
|
2707
|
+
"group": "authentication",
|
|
2708
|
+
"binding": {
|
|
2709
|
+
"name": "token",
|
|
2710
|
+
"type": "zeebe:input"
|
|
2711
|
+
},
|
|
2712
|
+
"type": "String"
|
|
2323
2713
|
},
|
|
2324
2714
|
{
|
|
2715
|
+
"id": "method",
|
|
2325
2716
|
"label": "Method",
|
|
2717
|
+
"value": "chat.postMessage",
|
|
2326
2718
|
"group": "method",
|
|
2327
|
-
"
|
|
2719
|
+
"binding": {
|
|
2720
|
+
"name": "method",
|
|
2721
|
+
"type": "zeebe:input"
|
|
2722
|
+
},
|
|
2328
2723
|
"type": "Dropdown",
|
|
2329
|
-
"value": "chat.postMessage",
|
|
2330
2724
|
"choices": [
|
|
2331
2725
|
{
|
|
2332
2726
|
"name": "Post message",
|
|
@@ -2340,55 +2734,145 @@
|
|
|
2340
2734
|
"name": "Invite to channel",
|
|
2341
2735
|
"value": "conversations.invite"
|
|
2342
2736
|
}
|
|
2343
|
-
]
|
|
2737
|
+
]
|
|
2738
|
+
},
|
|
2739
|
+
{
|
|
2740
|
+
"id": "data.messageType",
|
|
2741
|
+
"label": "Message type",
|
|
2742
|
+
"optional": false,
|
|
2743
|
+
"value": "plainText",
|
|
2744
|
+
"group": "message",
|
|
2344
2745
|
"binding": {
|
|
2345
|
-
"
|
|
2346
|
-
"
|
|
2347
|
-
}
|
|
2746
|
+
"name": "data.messageType",
|
|
2747
|
+
"type": "zeebe:input"
|
|
2748
|
+
},
|
|
2749
|
+
"condition": {
|
|
2750
|
+
"allMatch": [
|
|
2751
|
+
{
|
|
2752
|
+
"property": "method",
|
|
2753
|
+
"equals": "chat.postMessage",
|
|
2754
|
+
"type": "simple"
|
|
2755
|
+
},
|
|
2756
|
+
{
|
|
2757
|
+
"property": "method",
|
|
2758
|
+
"equals": "chat.postMessage",
|
|
2759
|
+
"type": "simple"
|
|
2760
|
+
}
|
|
2761
|
+
]
|
|
2762
|
+
},
|
|
2763
|
+
"type": "Dropdown",
|
|
2764
|
+
"choices": [
|
|
2765
|
+
{
|
|
2766
|
+
"name": "Plain text",
|
|
2767
|
+
"value": "plainText"
|
|
2768
|
+
},
|
|
2769
|
+
{
|
|
2770
|
+
"name": "Message block",
|
|
2771
|
+
"value": "messageBlock"
|
|
2772
|
+
}
|
|
2773
|
+
]
|
|
2348
2774
|
},
|
|
2349
2775
|
{
|
|
2350
|
-
"
|
|
2351
|
-
"
|
|
2352
|
-
"
|
|
2776
|
+
"id": "data.text",
|
|
2777
|
+
"label": "Message",
|
|
2778
|
+
"optional": false,
|
|
2779
|
+
"constraints": {
|
|
2780
|
+
"notEmpty": true
|
|
2781
|
+
},
|
|
2353
2782
|
"feel": "optional",
|
|
2783
|
+
"group": "message",
|
|
2354
2784
|
"binding": {
|
|
2355
|
-
"
|
|
2356
|
-
"
|
|
2785
|
+
"name": "data.text",
|
|
2786
|
+
"type": "zeebe:input"
|
|
2787
|
+
},
|
|
2788
|
+
"condition": {
|
|
2789
|
+
"allMatch": [
|
|
2790
|
+
{
|
|
2791
|
+
"property": "data.messageType",
|
|
2792
|
+
"equals": "plainText",
|
|
2793
|
+
"type": "simple"
|
|
2794
|
+
},
|
|
2795
|
+
{
|
|
2796
|
+
"property": "method",
|
|
2797
|
+
"equals": "chat.postMessage",
|
|
2798
|
+
"type": "simple"
|
|
2799
|
+
}
|
|
2800
|
+
]
|
|
2357
2801
|
},
|
|
2802
|
+
"type": "Text"
|
|
2803
|
+
},
|
|
2804
|
+
{
|
|
2805
|
+
"id": "data.blockContent",
|
|
2806
|
+
"label": "Message block",
|
|
2807
|
+
"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>",
|
|
2808
|
+
"optional": false,
|
|
2809
|
+
"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]",
|
|
2358
2810
|
"constraints": {
|
|
2359
2811
|
"notEmpty": true
|
|
2360
|
-
}
|
|
2812
|
+
},
|
|
2813
|
+
"feel": "required",
|
|
2814
|
+
"group": "message",
|
|
2815
|
+
"binding": {
|
|
2816
|
+
"name": "data.blockContent",
|
|
2817
|
+
"type": "zeebe:input"
|
|
2818
|
+
},
|
|
2819
|
+
"condition": {
|
|
2820
|
+
"allMatch": [
|
|
2821
|
+
{
|
|
2822
|
+
"property": "data.messageType",
|
|
2823
|
+
"equals": "messageBlock",
|
|
2824
|
+
"type": "simple"
|
|
2825
|
+
},
|
|
2826
|
+
{
|
|
2827
|
+
"property": "method",
|
|
2828
|
+
"equals": "chat.postMessage",
|
|
2829
|
+
"type": "simple"
|
|
2830
|
+
}
|
|
2831
|
+
]
|
|
2832
|
+
},
|
|
2833
|
+
"type": "String"
|
|
2361
2834
|
},
|
|
2362
2835
|
{
|
|
2836
|
+
"id": "data.channel",
|
|
2363
2837
|
"label": "Channel/user name/email",
|
|
2364
|
-
"
|
|
2365
|
-
"
|
|
2838
|
+
"optional": false,
|
|
2839
|
+
"constraints": {
|
|
2840
|
+
"notEmpty": true
|
|
2841
|
+
},
|
|
2366
2842
|
"feel": "optional",
|
|
2843
|
+
"group": "channel",
|
|
2367
2844
|
"binding": {
|
|
2368
|
-
"
|
|
2369
|
-
"
|
|
2370
|
-
},
|
|
2371
|
-
"constraints": {
|
|
2372
|
-
"notEmpty": true,
|
|
2373
|
-
"pattern": {
|
|
2374
|
-
"value": "(^(#|@|=).*)|(^.+[@].+[.].{2,4}$)",
|
|
2375
|
-
"message": "Must be a #channel, @user, email or FEEL expression."
|
|
2376
|
-
}
|
|
2845
|
+
"name": "data.channel",
|
|
2846
|
+
"type": "zeebe:input"
|
|
2377
2847
|
},
|
|
2378
2848
|
"condition": {
|
|
2379
2849
|
"property": "method",
|
|
2380
|
-
"equals": "chat.postMessage"
|
|
2381
|
-
|
|
2850
|
+
"equals": "chat.postMessage",
|
|
2851
|
+
"type": "simple"
|
|
2852
|
+
},
|
|
2853
|
+
"type": "String"
|
|
2382
2854
|
},
|
|
2383
2855
|
{
|
|
2384
|
-
"
|
|
2385
|
-
"
|
|
2386
|
-
"
|
|
2856
|
+
"id": "data.thread",
|
|
2857
|
+
"label": "Thread",
|
|
2858
|
+
"optional": true,
|
|
2387
2859
|
"feel": "optional",
|
|
2860
|
+
"group": "channel",
|
|
2388
2861
|
"binding": {
|
|
2389
|
-
"
|
|
2390
|
-
"
|
|
2862
|
+
"name": "data.thread",
|
|
2863
|
+
"type": "zeebe:input"
|
|
2864
|
+
},
|
|
2865
|
+
"condition": {
|
|
2866
|
+
"property": "method",
|
|
2867
|
+
"equals": "chat.postMessage",
|
|
2868
|
+
"type": "simple"
|
|
2391
2869
|
},
|
|
2870
|
+
"type": "String"
|
|
2871
|
+
},
|
|
2872
|
+
{
|
|
2873
|
+
"id": "data.newChannelName",
|
|
2874
|
+
"label": "Channel name",
|
|
2875
|
+
"optional": false,
|
|
2392
2876
|
"constraints": {
|
|
2393
2877
|
"notEmpty": true,
|
|
2394
2878
|
"pattern": {
|
|
@@ -2396,62 +2880,122 @@
|
|
|
2396
2880
|
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
2397
2881
|
}
|
|
2398
2882
|
},
|
|
2883
|
+
"feel": "optional",
|
|
2884
|
+
"group": "channel",
|
|
2885
|
+
"binding": {
|
|
2886
|
+
"name": "data.newChannelName",
|
|
2887
|
+
"type": "zeebe:input"
|
|
2888
|
+
},
|
|
2399
2889
|
"condition": {
|
|
2400
2890
|
"property": "method",
|
|
2401
|
-
"equals": "conversations.create"
|
|
2402
|
-
|
|
2891
|
+
"equals": "conversations.create",
|
|
2892
|
+
"type": "simple"
|
|
2893
|
+
},
|
|
2894
|
+
"type": "String"
|
|
2403
2895
|
},
|
|
2404
2896
|
{
|
|
2897
|
+
"id": "data.visibility",
|
|
2405
2898
|
"label": "Visibility",
|
|
2899
|
+
"optional": false,
|
|
2900
|
+
"value": "PUBLIC",
|
|
2901
|
+
"constraints": {
|
|
2902
|
+
"notEmpty": true
|
|
2903
|
+
},
|
|
2406
2904
|
"group": "channel",
|
|
2905
|
+
"binding": {
|
|
2906
|
+
"name": "data.visibility",
|
|
2907
|
+
"type": "zeebe:input"
|
|
2908
|
+
},
|
|
2909
|
+
"condition": {
|
|
2910
|
+
"property": "method",
|
|
2911
|
+
"equals": "conversations.create",
|
|
2912
|
+
"type": "simple"
|
|
2913
|
+
},
|
|
2407
2914
|
"type": "Dropdown",
|
|
2408
|
-
"value": "PUBLIC",
|
|
2409
|
-
"optional": false,
|
|
2410
2915
|
"choices": [
|
|
2916
|
+
{
|
|
2917
|
+
"name": "Public",
|
|
2918
|
+
"value": "PUBLIC"
|
|
2919
|
+
},
|
|
2411
2920
|
{
|
|
2412
2921
|
"name": "Private",
|
|
2413
2922
|
"value": "PRIVATE"
|
|
2923
|
+
}
|
|
2924
|
+
]
|
|
2925
|
+
},
|
|
2926
|
+
{
|
|
2927
|
+
"id": "data.channelType",
|
|
2928
|
+
"label": "Invite By",
|
|
2929
|
+
"optional": false,
|
|
2930
|
+
"value": "channelId",
|
|
2931
|
+
"group": "invite",
|
|
2932
|
+
"binding": {
|
|
2933
|
+
"name": "data.channelType",
|
|
2934
|
+
"type": "zeebe:input"
|
|
2935
|
+
},
|
|
2936
|
+
"condition": {
|
|
2937
|
+
"allMatch": [
|
|
2938
|
+
{
|
|
2939
|
+
"property": "method",
|
|
2940
|
+
"equals": "conversations.invite",
|
|
2941
|
+
"type": "simple"
|
|
2942
|
+
},
|
|
2943
|
+
{
|
|
2944
|
+
"property": "method",
|
|
2945
|
+
"equals": "conversations.invite",
|
|
2946
|
+
"type": "simple"
|
|
2947
|
+
}
|
|
2948
|
+
]
|
|
2949
|
+
},
|
|
2950
|
+
"type": "Dropdown",
|
|
2951
|
+
"choices": [
|
|
2952
|
+
{
|
|
2953
|
+
"name": "Channel ID",
|
|
2954
|
+
"value": "channelId"
|
|
2414
2955
|
},
|
|
2415
2956
|
{
|
|
2416
|
-
"name": "
|
|
2417
|
-
"value": "
|
|
2957
|
+
"name": "Channel name",
|
|
2958
|
+
"value": "channelName"
|
|
2418
2959
|
}
|
|
2419
|
-
]
|
|
2420
|
-
"binding": {
|
|
2421
|
-
"type": "zeebe:input",
|
|
2422
|
-
"name": "data.visibility"
|
|
2423
|
-
},
|
|
2424
|
-
"condition": {
|
|
2425
|
-
"property": "method",
|
|
2426
|
-
"equals": "conversations.create"
|
|
2427
|
-
}
|
|
2960
|
+
]
|
|
2428
2961
|
},
|
|
2429
2962
|
{
|
|
2430
|
-
"
|
|
2431
|
-
"
|
|
2432
|
-
"
|
|
2963
|
+
"id": "data.channelName",
|
|
2964
|
+
"label": "Channel name",
|
|
2965
|
+
"optional": false,
|
|
2966
|
+
"constraints": {
|
|
2967
|
+
"notEmpty": true,
|
|
2968
|
+
"pattern": {
|
|
2969
|
+
"value": "^(=|([-_a-z0-9]{1,80}$))",
|
|
2970
|
+
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
2971
|
+
}
|
|
2972
|
+
},
|
|
2433
2973
|
"feel": "optional",
|
|
2974
|
+
"group": "invite",
|
|
2434
2975
|
"binding": {
|
|
2435
|
-
"
|
|
2436
|
-
"
|
|
2437
|
-
},
|
|
2438
|
-
"constraints": {
|
|
2439
|
-
"notEmpty": true
|
|
2976
|
+
"name": "data.channelName",
|
|
2977
|
+
"type": "zeebe:input"
|
|
2440
2978
|
},
|
|
2441
2979
|
"condition": {
|
|
2442
|
-
"
|
|
2443
|
-
|
|
2444
|
-
|
|
2980
|
+
"allMatch": [
|
|
2981
|
+
{
|
|
2982
|
+
"property": "data.channelType",
|
|
2983
|
+
"equals": "channelName",
|
|
2984
|
+
"type": "simple"
|
|
2985
|
+
},
|
|
2986
|
+
{
|
|
2987
|
+
"property": "method",
|
|
2988
|
+
"equals": "conversations.invite",
|
|
2989
|
+
"type": "simple"
|
|
2990
|
+
}
|
|
2991
|
+
]
|
|
2992
|
+
},
|
|
2993
|
+
"type": "String"
|
|
2445
2994
|
},
|
|
2446
2995
|
{
|
|
2447
|
-
"
|
|
2448
|
-
"
|
|
2449
|
-
"
|
|
2450
|
-
"feel": "optional",
|
|
2451
|
-
"binding": {
|
|
2452
|
-
"type": "zeebe:input",
|
|
2453
|
-
"name": "data.channelName"
|
|
2454
|
-
},
|
|
2996
|
+
"id": "data.channelId",
|
|
2997
|
+
"label": "Channel ID",
|
|
2998
|
+
"optional": false,
|
|
2455
2999
|
"constraints": {
|
|
2456
3000
|
"notEmpty": true,
|
|
2457
3001
|
"pattern": {
|
|
@@ -2459,64 +3003,116 @@
|
|
|
2459
3003
|
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
2460
3004
|
}
|
|
2461
3005
|
},
|
|
3006
|
+
"feel": "optional",
|
|
3007
|
+
"group": "invite",
|
|
3008
|
+
"binding": {
|
|
3009
|
+
"name": "data.channelId",
|
|
3010
|
+
"type": "zeebe:input"
|
|
3011
|
+
},
|
|
2462
3012
|
"condition": {
|
|
2463
|
-
"
|
|
2464
|
-
|
|
2465
|
-
|
|
3013
|
+
"allMatch": [
|
|
3014
|
+
{
|
|
3015
|
+
"property": "data.channelType",
|
|
3016
|
+
"equals": "channelId",
|
|
3017
|
+
"type": "simple"
|
|
3018
|
+
},
|
|
3019
|
+
{
|
|
3020
|
+
"property": "method",
|
|
3021
|
+
"equals": "conversations.invite",
|
|
3022
|
+
"type": "simple"
|
|
3023
|
+
}
|
|
3024
|
+
]
|
|
3025
|
+
},
|
|
3026
|
+
"type": "String"
|
|
2466
3027
|
},
|
|
2467
3028
|
{
|
|
3029
|
+
"id": "data.users",
|
|
2468
3030
|
"label": "Users",
|
|
2469
3031
|
"description": "Comma-separated list of users, e.g., '@user1,@user2' or '=[ \"@user1\", \"user2@company.com\"]'",
|
|
2470
|
-
"
|
|
2471
|
-
"type": "String",
|
|
2472
|
-
"feel": "optional",
|
|
2473
|
-
"binding": {
|
|
2474
|
-
"type": "zeebe:input",
|
|
2475
|
-
"name": "data.users"
|
|
2476
|
-
},
|
|
3032
|
+
"optional": false,
|
|
2477
3033
|
"constraints": {
|
|
2478
3034
|
"notEmpty": true
|
|
2479
3035
|
},
|
|
3036
|
+
"feel": "optional",
|
|
3037
|
+
"group": "invite",
|
|
3038
|
+
"binding": {
|
|
3039
|
+
"name": "data.users",
|
|
3040
|
+
"type": "zeebe:input"
|
|
3041
|
+
},
|
|
2480
3042
|
"condition": {
|
|
2481
3043
|
"property": "method",
|
|
2482
|
-
"equals": "conversations.invite"
|
|
2483
|
-
|
|
3044
|
+
"equals": "conversations.invite",
|
|
3045
|
+
"type": "simple"
|
|
3046
|
+
},
|
|
3047
|
+
"type": "String"
|
|
2484
3048
|
},
|
|
2485
3049
|
{
|
|
3050
|
+
"id": "resultVariable",
|
|
2486
3051
|
"label": "Result variable",
|
|
2487
|
-
"description": "Name of variable to store the response in
|
|
3052
|
+
"description": "Name of variable to store the response in",
|
|
2488
3053
|
"group": "output",
|
|
2489
|
-
"type": "String",
|
|
2490
3054
|
"binding": {
|
|
2491
|
-
"
|
|
2492
|
-
"
|
|
2493
|
-
}
|
|
3055
|
+
"key": "resultVariable",
|
|
3056
|
+
"type": "zeebe:taskHeader"
|
|
3057
|
+
},
|
|
3058
|
+
"type": "String"
|
|
2494
3059
|
},
|
|
2495
3060
|
{
|
|
3061
|
+
"id": "resultExpression",
|
|
2496
3062
|
"label": "Result expression",
|
|
2497
|
-
"description": "Expression to map the response into process variables
|
|
2498
|
-
"group": "output",
|
|
2499
|
-
"type": "Text",
|
|
3063
|
+
"description": "Expression to map the response into process variables",
|
|
2500
3064
|
"feel": "required",
|
|
3065
|
+
"group": "output",
|
|
2501
3066
|
"binding": {
|
|
2502
|
-
"
|
|
2503
|
-
"
|
|
2504
|
-
}
|
|
3067
|
+
"key": "resultExpression",
|
|
3068
|
+
"type": "zeebe:taskHeader"
|
|
3069
|
+
},
|
|
3070
|
+
"type": "Text"
|
|
2505
3071
|
},
|
|
2506
3072
|
{
|
|
3073
|
+
"id": "errorExpression",
|
|
2507
3074
|
"label": "Error expression",
|
|
2508
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
2509
|
-
"group": "errors",
|
|
2510
|
-
"type": "Text",
|
|
3075
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
|
|
2511
3076
|
"feel": "required",
|
|
3077
|
+
"group": "error",
|
|
2512
3078
|
"binding": {
|
|
2513
|
-
"
|
|
2514
|
-
"
|
|
2515
|
-
}
|
|
3079
|
+
"key": "errorExpression",
|
|
3080
|
+
"type": "zeebe:taskHeader"
|
|
3081
|
+
},
|
|
3082
|
+
"type": "Text"
|
|
3083
|
+
},
|
|
3084
|
+
{
|
|
3085
|
+
"id": "retryCount",
|
|
3086
|
+
"label": "Retries",
|
|
3087
|
+
"description": "Number of retries",
|
|
3088
|
+
"value": "3",
|
|
3089
|
+
"feel": "optional",
|
|
3090
|
+
"group": "retries",
|
|
3091
|
+
"binding": {
|
|
3092
|
+
"property": "retries",
|
|
3093
|
+
"type": "zeebe:taskDefinition"
|
|
3094
|
+
},
|
|
3095
|
+
"type": "String"
|
|
3096
|
+
},
|
|
3097
|
+
{
|
|
3098
|
+
"id": "retryBackoff",
|
|
3099
|
+
"label": "Retry backoff",
|
|
3100
|
+
"description": "ISO-8601 duration to wait between retries",
|
|
3101
|
+
"value": "PT0S",
|
|
3102
|
+
"feel": "optional",
|
|
3103
|
+
"group": "retries",
|
|
3104
|
+
"binding": {
|
|
3105
|
+
"key": "retryBackoff",
|
|
3106
|
+
"type": "zeebe:taskHeader"
|
|
3107
|
+
},
|
|
3108
|
+
"type": "String"
|
|
2516
3109
|
}
|
|
2517
3110
|
],
|
|
3111
|
+
"icon": {
|
|
3112
|
+
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
|
|
3113
|
+
},
|
|
2518
3114
|
"engines": {
|
|
2519
|
-
"camunda": "^8.
|
|
3115
|
+
"camunda": "^8.6"
|
|
2520
3116
|
}
|
|
2521
3117
|
},
|
|
2522
3118
|
{
|
|
@@ -2528,7 +3124,7 @@
|
|
|
2528
3124
|
"keywords": []
|
|
2529
3125
|
},
|
|
2530
3126
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
|
|
2531
|
-
"version":
|
|
3127
|
+
"version": 8,
|
|
2532
3128
|
"category": {
|
|
2533
3129
|
"id": "connectors",
|
|
2534
3130
|
"name": "Connectors"
|
|
@@ -2565,6 +3161,14 @@
|
|
|
2565
3161
|
"id": "reaction",
|
|
2566
3162
|
"label": "Reaction"
|
|
2567
3163
|
},
|
|
3164
|
+
{
|
|
3165
|
+
"id": "pinMessage",
|
|
3166
|
+
"label": "Pin Message"
|
|
3167
|
+
},
|
|
3168
|
+
{
|
|
3169
|
+
"id": "unpinMessage",
|
|
3170
|
+
"label": "Unpin Message"
|
|
3171
|
+
},
|
|
2568
3172
|
{
|
|
2569
3173
|
"id": "connector",
|
|
2570
3174
|
"label": "Connector"
|
|
@@ -2632,6 +3236,14 @@
|
|
|
2632
3236
|
{
|
|
2633
3237
|
"name": "Add reaction",
|
|
2634
3238
|
"value": "reactions.add"
|
|
3239
|
+
},
|
|
3240
|
+
{
|
|
3241
|
+
"name": "Pin Message",
|
|
3242
|
+
"value": "pins.add"
|
|
3243
|
+
},
|
|
3244
|
+
{
|
|
3245
|
+
"name": "Unpin Message",
|
|
3246
|
+
"value": "pins.remove"
|
|
2635
3247
|
}
|
|
2636
3248
|
]
|
|
2637
3249
|
},
|
|
@@ -3026,11 +3638,95 @@
|
|
|
3026
3638
|
},
|
|
3027
3639
|
"type": "String"
|
|
3028
3640
|
},
|
|
3641
|
+
{
|
|
3642
|
+
"id": "pinMessage.channel",
|
|
3643
|
+
"label": "Channel",
|
|
3644
|
+
"description": "Channel ID of the message to pin",
|
|
3645
|
+
"optional": false,
|
|
3646
|
+
"constraints": {
|
|
3647
|
+
"notEmpty": true
|
|
3648
|
+
},
|
|
3649
|
+
"feel": "optional",
|
|
3650
|
+
"group": "pinMessage",
|
|
3651
|
+
"binding": {
|
|
3652
|
+
"name": "data.channel",
|
|
3653
|
+
"type": "zeebe:input"
|
|
3654
|
+
},
|
|
3655
|
+
"condition": {
|
|
3656
|
+
"property": "method",
|
|
3657
|
+
"equals": "pins.add",
|
|
3658
|
+
"type": "simple"
|
|
3659
|
+
},
|
|
3660
|
+
"type": "String"
|
|
3661
|
+
},
|
|
3662
|
+
{
|
|
3663
|
+
"id": "pinMessage.timestamp",
|
|
3664
|
+
"label": "Message timestamp",
|
|
3665
|
+
"description": "Timestamp of the Slack message to pin",
|
|
3666
|
+
"optional": false,
|
|
3667
|
+
"constraints": {
|
|
3668
|
+
"notEmpty": true
|
|
3669
|
+
},
|
|
3670
|
+
"feel": "required",
|
|
3671
|
+
"group": "pinMessage",
|
|
3672
|
+
"binding": {
|
|
3673
|
+
"name": "data.timestamp",
|
|
3674
|
+
"type": "zeebe:input"
|
|
3675
|
+
},
|
|
3676
|
+
"condition": {
|
|
3677
|
+
"property": "method",
|
|
3678
|
+
"equals": "pins.add",
|
|
3679
|
+
"type": "simple"
|
|
3680
|
+
},
|
|
3681
|
+
"type": "String"
|
|
3682
|
+
},
|
|
3683
|
+
{
|
|
3684
|
+
"id": "unpinMessage.channel",
|
|
3685
|
+
"label": "Channel",
|
|
3686
|
+
"description": "Channel ID of the message to unpin",
|
|
3687
|
+
"optional": false,
|
|
3688
|
+
"constraints": {
|
|
3689
|
+
"notEmpty": true
|
|
3690
|
+
},
|
|
3691
|
+
"feel": "optional",
|
|
3692
|
+
"group": "unpinMessage",
|
|
3693
|
+
"binding": {
|
|
3694
|
+
"name": "data.channel",
|
|
3695
|
+
"type": "zeebe:input"
|
|
3696
|
+
},
|
|
3697
|
+
"condition": {
|
|
3698
|
+
"property": "method",
|
|
3699
|
+
"equals": "pins.remove",
|
|
3700
|
+
"type": "simple"
|
|
3701
|
+
},
|
|
3702
|
+
"type": "String"
|
|
3703
|
+
},
|
|
3704
|
+
{
|
|
3705
|
+
"id": "unpinMessage.timestamp",
|
|
3706
|
+
"label": "Message timestamp",
|
|
3707
|
+
"description": "Timestamp of the Slack message to unpin",
|
|
3708
|
+
"optional": false,
|
|
3709
|
+
"constraints": {
|
|
3710
|
+
"notEmpty": true
|
|
3711
|
+
},
|
|
3712
|
+
"feel": "required",
|
|
3713
|
+
"group": "unpinMessage",
|
|
3714
|
+
"binding": {
|
|
3715
|
+
"name": "data.timestamp",
|
|
3716
|
+
"type": "zeebe:input"
|
|
3717
|
+
},
|
|
3718
|
+
"condition": {
|
|
3719
|
+
"property": "method",
|
|
3720
|
+
"equals": "pins.remove",
|
|
3721
|
+
"type": "simple"
|
|
3722
|
+
},
|
|
3723
|
+
"type": "String"
|
|
3724
|
+
},
|
|
3029
3725
|
{
|
|
3030
3726
|
"id": "version",
|
|
3031
3727
|
"label": "Version",
|
|
3032
3728
|
"description": "Version of the element template",
|
|
3033
|
-
"value": "
|
|
3729
|
+
"value": "8",
|
|
3034
3730
|
"group": "connector",
|
|
3035
3731
|
"binding": {
|
|
3036
3732
|
"key": "elementTemplateVersion",
|