@camunda/connectors-element-templates 1.0.3 → 1.0.5
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 +8 -2
- package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +30 -30
- package/src/element-templates/agenticai-aiagent-outbound-connector.json +323 -9
- package/src/element-templates/asana-connector.json +101 -101
- package/src/element-templates/automation-anywhere-outbound-connector.json +1777 -961
- package/src/element-templates/aws-bedrock-outbound-connector.json +74 -74
- package/src/element-templates/aws-comprehend-outbound-connector.json +36 -36
- package/src/element-templates/aws-dynamodb-outbound-connector.json +1373 -1373
- package/src/element-templates/aws-eventbridge-connector-boundary.json +28 -28
- package/src/element-templates/aws-eventbridge-connector-message-start.json +10 -10
- package/src/element-templates/aws-eventbridge-connector-start-event.json +23 -23
- package/src/element-templates/aws-eventbridge-outbound-connector.json +326 -326
- package/src/element-templates/aws-lambda-outbound-connector.json +231 -231
- package/src/element-templates/aws-sagemaker-outbound-connector.json +50 -50
- package/src/element-templates/aws-sns-inbound-boundary.json +285 -285
- package/src/element-templates/aws-sns-inbound-intermediate.json +33 -33
- package/src/element-templates/aws-sns-inbound-message-start.json +227 -227
- package/src/element-templates/aws-sns-inbound-start-event.json +132 -132
- package/src/element-templates/aws-sns-outbound-connector.json +370 -370
- package/src/element-templates/aws-sqs-boundary-connector.json +232 -232
- package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +532 -532
- package/src/element-templates/aws-sqs-outbound-connector.json +396 -396
- package/src/element-templates/aws-sqs-start-event-connector.json +389 -389
- package/src/element-templates/aws-textract-outbound-connector.json +123 -123
- package/src/element-templates/azure-blobstorage-outbound-connector.json +349 -0
- package/src/element-templates/blue-prism-connector.json +13 -13
- package/src/element-templates/box-outbound-connector.json +30 -30
- package/src/element-templates/easy-post-connector.json +121 -121
- package/src/element-templates/email-outbound-connector.json +233 -233
- package/src/element-templates/github-connector.json +1259 -1259
- package/src/element-templates/github-webhook-connector-boundary.json +35 -35
- package/src/element-templates/github-webhook-connector-intermediate.json +31 -31
- package/src/element-templates/github-webhook-connector-start-event.json +34 -34
- package/src/element-templates/gitlab-connector.json +3333 -3333
- package/src/element-templates/google-cloud-storage-outbound-connector.json +357 -0
- package/src/element-templates/google-drive-outbound-connector.json +414 -101
- package/src/element-templates/google-gemini-outbound-connector.json +32 -32
- package/src/element-templates/google-maps-platform-connector.json +489 -0
- package/src/element-templates/google-sheets-outbound-connector.json +2468 -2468
- package/src/element-templates/graphql-outbound-connector.json +1113 -1113
- package/src/element-templates/http-json-connector.json +2202 -1290
- package/src/element-templates/http-polling-boundary-catch-event-connector.json +6 -6
- package/src/element-templates/http-polling-connector.json +6 -6
- package/src/element-templates/hugging-face-connector.json +34 -34
- package/src/element-templates/idp-extraction-outbound-connector.json +115 -0
- package/src/element-templates/jdbc-outbound-connector.json +36 -36
- package/src/element-templates/kafka-inbound-connector-boundary.json +540 -540
- package/src/element-templates/kafka-inbound-connector-intermediate.json +585 -585
- package/src/element-templates/kafka-inbound-connector.json +603 -0
- package/src/element-templates/kafka-outbound-connector.json +261 -261
- package/src/element-templates/microsoft-office365-mail-connector.json +32 -32
- package/src/element-templates/microsoft-teams-outbound-connector.json +98 -98
- package/src/element-templates/openai-connector.json +517 -159
- package/src/element-templates/operate-connector.json +569 -53
- package/src/element-templates/power-automate-connector.json +1724 -0
- package/src/element-templates/rabbitmq-inbound-connector-boundary.json +132 -132
- package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +941 -941
- package/src/element-templates/rabbitmq-inbound-connector-message-start.json +459 -459
- package/src/element-templates/rabbitmq-inbound-connector-start-event.json +269 -269
- package/src/element-templates/rabbitmq-outbound-connector.json +631 -631
- package/src/element-templates/salesforce-connector.json +44 -44
- package/src/element-templates/sendgrid-outbound-connector.json +787 -255
- package/src/element-templates/slack-inbound-boundary.json +215 -215
- package/src/element-templates/slack-inbound-intermediate.json +178 -178
- package/src/element-templates/slack-inbound-message-start.json +323 -323
- package/src/element-templates/slack-inbound-start-event.json +212 -212
- package/src/element-templates/slack-outbound-connector.json +777 -522
- package/src/element-templates/twilio-connector.json +29 -29
- package/src/element-templates/twilio-webhook-boundary-connector.json +28 -28
- package/src/element-templates/twilio-webhook-intermediate-connector.json +31 -31
- package/src/element-templates/uipath-connector.json +8 -8
- package/src/element-templates/webhook-connector-boundary.json +1133 -1133
- package/src/element-templates/webhook-connector-intermediate.json +1380 -1380
- package/src/element-templates/webhook-connector-start-event.json +1370 -1370
- package/src/element-templates/webhook-connector-start-message.json +1171 -1171
- package/src/element-templates/agenticai-aiagent-outbound-connector-8.8.0-alpha4.json +0 -843
|
@@ -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": 3,
|
|
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",
|
|
@@ -199,24 +193,6 @@
|
|
|
199
193
|
},
|
|
200
194
|
"type": "String"
|
|
201
195
|
},
|
|
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
|
-
},
|
|
220
196
|
{
|
|
221
197
|
"id": "data.channel",
|
|
222
198
|
"label": "Channel/user name/email",
|
|
@@ -237,23 +213,6 @@
|
|
|
237
213
|
},
|
|
238
214
|
"type": "String"
|
|
239
215
|
},
|
|
240
|
-
{
|
|
241
|
-
"id": "data.thread",
|
|
242
|
-
"label": "Thread",
|
|
243
|
-
"optional": true,
|
|
244
|
-
"feel": "optional",
|
|
245
|
-
"group": "channel",
|
|
246
|
-
"binding": {
|
|
247
|
-
"name": "data.thread",
|
|
248
|
-
"type": "zeebe:input"
|
|
249
|
-
},
|
|
250
|
-
"condition": {
|
|
251
|
-
"property": "method",
|
|
252
|
-
"equals": "chat.postMessage",
|
|
253
|
-
"type": "simple"
|
|
254
|
-
},
|
|
255
|
-
"type": "String"
|
|
256
|
-
},
|
|
257
216
|
{
|
|
258
217
|
"id": "data.newChannelName",
|
|
259
218
|
"label": "Channel name",
|
|
@@ -261,7 +220,7 @@
|
|
|
261
220
|
"constraints": {
|
|
262
221
|
"notEmpty": true,
|
|
263
222
|
"pattern": {
|
|
264
|
-
"value": "^(=|
|
|
223
|
+
"value": "^(=|[-_a-z0-9]{1,80}$)",
|
|
265
224
|
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
266
225
|
}
|
|
267
226
|
},
|
|
@@ -308,42 +267,6 @@
|
|
|
308
267
|
}
|
|
309
268
|
]
|
|
310
269
|
},
|
|
311
|
-
{
|
|
312
|
-
"id": "data.channelType",
|
|
313
|
-
"label": "Invite By",
|
|
314
|
-
"optional": false,
|
|
315
|
-
"value": "channelId",
|
|
316
|
-
"group": "invite",
|
|
317
|
-
"binding": {
|
|
318
|
-
"name": "data.channelType",
|
|
319
|
-
"type": "zeebe:input"
|
|
320
|
-
},
|
|
321
|
-
"condition": {
|
|
322
|
-
"allMatch": [
|
|
323
|
-
{
|
|
324
|
-
"property": "method",
|
|
325
|
-
"equals": "conversations.invite",
|
|
326
|
-
"type": "simple"
|
|
327
|
-
},
|
|
328
|
-
{
|
|
329
|
-
"property": "method",
|
|
330
|
-
"equals": "conversations.invite",
|
|
331
|
-
"type": "simple"
|
|
332
|
-
}
|
|
333
|
-
]
|
|
334
|
-
},
|
|
335
|
-
"type": "Dropdown",
|
|
336
|
-
"choices": [
|
|
337
|
-
{
|
|
338
|
-
"name": "Channel ID",
|
|
339
|
-
"value": "channelId"
|
|
340
|
-
},
|
|
341
|
-
{
|
|
342
|
-
"name": "Channel name",
|
|
343
|
-
"value": "channelName"
|
|
344
|
-
}
|
|
345
|
-
]
|
|
346
|
-
},
|
|
347
270
|
{
|
|
348
271
|
"id": "data.channelName",
|
|
349
272
|
"label": "Channel name",
|
|
@@ -351,7 +274,7 @@
|
|
|
351
274
|
"constraints": {
|
|
352
275
|
"notEmpty": true,
|
|
353
276
|
"pattern": {
|
|
354
|
-
"value": "^(=|
|
|
277
|
+
"value": "^(=|[-_a-z0-9]{1,80}$)",
|
|
355
278
|
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
356
279
|
}
|
|
357
280
|
},
|
|
@@ -362,51 +285,9 @@
|
|
|
362
285
|
"type": "zeebe:input"
|
|
363
286
|
},
|
|
364
287
|
"condition": {
|
|
365
|
-
"
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
"equals": "channelName",
|
|
369
|
-
"type": "simple"
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
"property": "method",
|
|
373
|
-
"equals": "conversations.invite",
|
|
374
|
-
"type": "simple"
|
|
375
|
-
}
|
|
376
|
-
]
|
|
377
|
-
},
|
|
378
|
-
"type": "String"
|
|
379
|
-
},
|
|
380
|
-
{
|
|
381
|
-
"id": "data.channelId",
|
|
382
|
-
"label": "Channel ID",
|
|
383
|
-
"optional": false,
|
|
384
|
-
"constraints": {
|
|
385
|
-
"notEmpty": true,
|
|
386
|
-
"pattern": {
|
|
387
|
-
"value": "^(=|([-_a-z0-9]{1,80}$))",
|
|
388
|
-
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
389
|
-
}
|
|
390
|
-
},
|
|
391
|
-
"feel": "optional",
|
|
392
|
-
"group": "invite",
|
|
393
|
-
"binding": {
|
|
394
|
-
"name": "data.channelId",
|
|
395
|
-
"type": "zeebe:input"
|
|
396
|
-
},
|
|
397
|
-
"condition": {
|
|
398
|
-
"allMatch": [
|
|
399
|
-
{
|
|
400
|
-
"property": "data.channelType",
|
|
401
|
-
"equals": "channelId",
|
|
402
|
-
"type": "simple"
|
|
403
|
-
},
|
|
404
|
-
{
|
|
405
|
-
"property": "method",
|
|
406
|
-
"equals": "conversations.invite",
|
|
407
|
-
"type": "simple"
|
|
408
|
-
}
|
|
409
|
-
]
|
|
288
|
+
"property": "method",
|
|
289
|
+
"equals": "conversations.invite",
|
|
290
|
+
"type": "simple"
|
|
410
291
|
},
|
|
411
292
|
"type": "String"
|
|
412
293
|
},
|
|
@@ -484,6 +365,7 @@
|
|
|
484
365
|
"label": "Retry backoff",
|
|
485
366
|
"description": "ISO-8601 duration to wait between retries",
|
|
486
367
|
"value": "PT0S",
|
|
368
|
+
"feel": "optional",
|
|
487
369
|
"group": "retries",
|
|
488
370
|
"binding": {
|
|
489
371
|
"key": "retryBackoff",
|
|
@@ -494,15 +376,21 @@
|
|
|
494
376
|
],
|
|
495
377
|
"icon": {
|
|
496
378
|
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
|
|
379
|
+
},
|
|
380
|
+
"engines": {
|
|
381
|
+
"camunda": "^8.5"
|
|
497
382
|
}
|
|
498
383
|
},
|
|
499
384
|
{
|
|
500
385
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
501
|
-
"name": "Slack
|
|
386
|
+
"name": "Slack connector",
|
|
502
387
|
"id": "io.camunda.connectors.Slack.v1",
|
|
503
|
-
"
|
|
388
|
+
"deprecated": {
|
|
389
|
+
"message": "Replace with 'Slack connector' template.",
|
|
390
|
+
"documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
|
|
391
|
+
},
|
|
504
392
|
"description": "Create a channel or send a message to a channel or user",
|
|
505
|
-
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack
|
|
393
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/",
|
|
506
394
|
"icon": {
|
|
507
395
|
"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"
|
|
508
396
|
},
|
|
@@ -687,7 +575,7 @@
|
|
|
687
575
|
"constraints": {
|
|
688
576
|
"notEmpty": true,
|
|
689
577
|
"pattern": {
|
|
690
|
-
"value": "^(=|[-_a-z0-9]{1,80}$)",
|
|
578
|
+
"value": "^(=|([-_a-z0-9]{1,80}$))",
|
|
691
579
|
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
692
580
|
}
|
|
693
581
|
},
|
|
@@ -746,21 +634,15 @@
|
|
|
746
634
|
"key": "errorExpression"
|
|
747
635
|
}
|
|
748
636
|
}
|
|
749
|
-
]
|
|
750
|
-
"engines": {
|
|
751
|
-
"camunda": "^8.2"
|
|
752
|
-
}
|
|
637
|
+
]
|
|
753
638
|
},
|
|
754
639
|
{
|
|
755
640
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
756
|
-
"name": "Slack
|
|
641
|
+
"name": "Slack Outbound Connector",
|
|
757
642
|
"id": "io.camunda.connectors.Slack.v1",
|
|
758
|
-
"version": 1,
|
|
759
643
|
"description": "Create a channel or send a message to a channel or user",
|
|
760
|
-
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack
|
|
761
|
-
"
|
|
762
|
-
"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"
|
|
763
|
-
},
|
|
644
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
|
|
645
|
+
"version": 4,
|
|
764
646
|
"category": {
|
|
765
647
|
"id": "connectors",
|
|
766
648
|
"name": "Connectors"
|
|
@@ -770,14 +652,14 @@
|
|
|
770
652
|
"value": "bpmn:ServiceTask"
|
|
771
653
|
},
|
|
772
654
|
"groups": [
|
|
773
|
-
{
|
|
774
|
-
"id": "method",
|
|
775
|
-
"label": "Method"
|
|
776
|
-
},
|
|
777
655
|
{
|
|
778
656
|
"id": "authentication",
|
|
779
657
|
"label": "Authentication"
|
|
780
658
|
},
|
|
659
|
+
{
|
|
660
|
+
"id": "method",
|
|
661
|
+
"label": "Method"
|
|
662
|
+
},
|
|
781
663
|
{
|
|
782
664
|
"id": "message",
|
|
783
665
|
"label": "Message"
|
|
@@ -795,25 +677,48 @@
|
|
|
795
677
|
"label": "Output mapping"
|
|
796
678
|
},
|
|
797
679
|
{
|
|
798
|
-
"id": "
|
|
680
|
+
"id": "error",
|
|
799
681
|
"label": "Error handling"
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
"id": "retries",
|
|
685
|
+
"label": "Retries"
|
|
800
686
|
}
|
|
801
687
|
],
|
|
802
688
|
"properties": [
|
|
803
689
|
{
|
|
804
|
-
"type": "Hidden",
|
|
805
690
|
"value": "io.camunda:slack:1",
|
|
806
691
|
"binding": {
|
|
807
|
-
"
|
|
808
|
-
"
|
|
809
|
-
}
|
|
692
|
+
"property": "type",
|
|
693
|
+
"type": "zeebe:taskDefinition"
|
|
694
|
+
},
|
|
695
|
+
"type": "Hidden"
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
"id": "token",
|
|
699
|
+
"label": "OAuth token",
|
|
700
|
+
"optional": false,
|
|
701
|
+
"constraints": {
|
|
702
|
+
"notEmpty": true
|
|
703
|
+
},
|
|
704
|
+
"feel": "optional",
|
|
705
|
+
"group": "authentication",
|
|
706
|
+
"binding": {
|
|
707
|
+
"name": "token",
|
|
708
|
+
"type": "zeebe:input"
|
|
709
|
+
},
|
|
710
|
+
"type": "String"
|
|
810
711
|
},
|
|
811
712
|
{
|
|
713
|
+
"id": "method",
|
|
812
714
|
"label": "Method",
|
|
715
|
+
"value": "chat.postMessage",
|
|
813
716
|
"group": "method",
|
|
814
|
-
"
|
|
717
|
+
"binding": {
|
|
718
|
+
"name": "method",
|
|
719
|
+
"type": "zeebe:input"
|
|
720
|
+
},
|
|
815
721
|
"type": "Dropdown",
|
|
816
|
-
"value": "chat.postMessage",
|
|
817
722
|
"choices": [
|
|
818
723
|
{
|
|
819
724
|
"name": "Post message",
|
|
@@ -827,118 +732,199 @@
|
|
|
827
732
|
"name": "Invite to channel",
|
|
828
733
|
"value": "conversations.invite"
|
|
829
734
|
}
|
|
830
|
-
]
|
|
831
|
-
"binding": {
|
|
832
|
-
"type": "zeebe:input",
|
|
833
|
-
"name": "method"
|
|
834
|
-
}
|
|
735
|
+
]
|
|
835
736
|
},
|
|
836
737
|
{
|
|
837
|
-
"
|
|
838
|
-
"
|
|
839
|
-
"
|
|
840
|
-
"
|
|
738
|
+
"id": "data.messageType",
|
|
739
|
+
"label": "Message type",
|
|
740
|
+
"optional": false,
|
|
741
|
+
"value": "plainText",
|
|
742
|
+
"group": "message",
|
|
841
743
|
"binding": {
|
|
842
|
-
"
|
|
843
|
-
"
|
|
744
|
+
"name": "data.messageType",
|
|
745
|
+
"type": "zeebe:input"
|
|
844
746
|
},
|
|
845
|
-
"
|
|
846
|
-
"
|
|
847
|
-
|
|
747
|
+
"condition": {
|
|
748
|
+
"allMatch": [
|
|
749
|
+
{
|
|
750
|
+
"property": "method",
|
|
751
|
+
"equals": "chat.postMessage",
|
|
752
|
+
"type": "simple"
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
"property": "method",
|
|
756
|
+
"equals": "chat.postMessage",
|
|
757
|
+
"type": "simple"
|
|
758
|
+
}
|
|
759
|
+
]
|
|
760
|
+
},
|
|
761
|
+
"type": "Dropdown",
|
|
762
|
+
"choices": [
|
|
763
|
+
{
|
|
764
|
+
"name": "Plain text",
|
|
765
|
+
"value": "plainText"
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
"name": "Message block",
|
|
769
|
+
"value": "messageBlock"
|
|
770
|
+
}
|
|
771
|
+
]
|
|
848
772
|
},
|
|
849
773
|
{
|
|
850
|
-
"
|
|
851
|
-
"
|
|
852
|
-
"
|
|
853
|
-
"feel": "optional",
|
|
854
|
-
"binding": {
|
|
855
|
-
"type": "zeebe:input",
|
|
856
|
-
"name": "data.channel"
|
|
857
|
-
},
|
|
774
|
+
"id": "data.text",
|
|
775
|
+
"label": "Message",
|
|
776
|
+
"optional": false,
|
|
858
777
|
"constraints": {
|
|
859
|
-
"notEmpty": true
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
778
|
+
"notEmpty": true
|
|
779
|
+
},
|
|
780
|
+
"feel": "optional",
|
|
781
|
+
"group": "message",
|
|
782
|
+
"binding": {
|
|
783
|
+
"name": "data.text",
|
|
784
|
+
"type": "zeebe:input"
|
|
864
785
|
},
|
|
865
786
|
"condition": {
|
|
866
|
-
"
|
|
867
|
-
|
|
868
|
-
|
|
787
|
+
"allMatch": [
|
|
788
|
+
{
|
|
789
|
+
"property": "data.messageType",
|
|
790
|
+
"equals": "plainText",
|
|
791
|
+
"type": "simple"
|
|
792
|
+
},
|
|
793
|
+
{
|
|
794
|
+
"property": "method",
|
|
795
|
+
"equals": "chat.postMessage",
|
|
796
|
+
"type": "simple"
|
|
797
|
+
}
|
|
798
|
+
]
|
|
799
|
+
},
|
|
800
|
+
"type": "Text"
|
|
869
801
|
},
|
|
870
802
|
{
|
|
871
|
-
"
|
|
872
|
-
"
|
|
873
|
-
"
|
|
874
|
-
"
|
|
803
|
+
"id": "data.blockContent",
|
|
804
|
+
"label": "Message block",
|
|
805
|
+
"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>",
|
|
806
|
+
"optional": false,
|
|
807
|
+
"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]",
|
|
808
|
+
"constraints": {
|
|
809
|
+
"notEmpty": true
|
|
810
|
+
},
|
|
811
|
+
"feel": "required",
|
|
812
|
+
"group": "message",
|
|
875
813
|
"binding": {
|
|
876
|
-
"
|
|
877
|
-
"
|
|
814
|
+
"name": "data.blockContent",
|
|
815
|
+
"type": "zeebe:input"
|
|
816
|
+
},
|
|
817
|
+
"condition": {
|
|
818
|
+
"allMatch": [
|
|
819
|
+
{
|
|
820
|
+
"property": "data.messageType",
|
|
821
|
+
"equals": "messageBlock",
|
|
822
|
+
"type": "simple"
|
|
823
|
+
},
|
|
824
|
+
{
|
|
825
|
+
"property": "method",
|
|
826
|
+
"equals": "chat.postMessage",
|
|
827
|
+
"type": "simple"
|
|
828
|
+
}
|
|
829
|
+
]
|
|
878
830
|
},
|
|
831
|
+
"type": "String"
|
|
832
|
+
},
|
|
833
|
+
{
|
|
834
|
+
"id": "data.channel",
|
|
835
|
+
"label": "Channel/user name/email",
|
|
836
|
+
"optional": false,
|
|
879
837
|
"constraints": {
|
|
880
|
-
"notEmpty": true
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
838
|
+
"notEmpty": true
|
|
839
|
+
},
|
|
840
|
+
"feel": "optional",
|
|
841
|
+
"group": "channel",
|
|
842
|
+
"binding": {
|
|
843
|
+
"name": "data.channel",
|
|
844
|
+
"type": "zeebe:input"
|
|
885
845
|
},
|
|
886
846
|
"condition": {
|
|
887
847
|
"property": "method",
|
|
888
|
-
"equals": "
|
|
889
|
-
|
|
848
|
+
"equals": "chat.postMessage",
|
|
849
|
+
"type": "simple"
|
|
850
|
+
},
|
|
851
|
+
"type": "String"
|
|
890
852
|
},
|
|
891
853
|
{
|
|
892
|
-
"
|
|
854
|
+
"id": "data.thread",
|
|
855
|
+
"label": "Thread",
|
|
856
|
+
"optional": true,
|
|
857
|
+
"feel": "optional",
|
|
893
858
|
"group": "channel",
|
|
894
|
-
"type": "Dropdown",
|
|
895
|
-
"value": "PUBLIC",
|
|
896
|
-
"optional": false,
|
|
897
|
-
"choices": [
|
|
898
|
-
{
|
|
899
|
-
"name": "Private",
|
|
900
|
-
"value": "PRIVATE"
|
|
901
|
-
},
|
|
902
|
-
{
|
|
903
|
-
"name": "Public",
|
|
904
|
-
"value": "PUBLIC"
|
|
905
|
-
}
|
|
906
|
-
],
|
|
907
859
|
"binding": {
|
|
908
|
-
"
|
|
909
|
-
"
|
|
860
|
+
"name": "data.thread",
|
|
861
|
+
"type": "zeebe:input"
|
|
910
862
|
},
|
|
911
863
|
"condition": {
|
|
912
864
|
"property": "method",
|
|
913
|
-
"equals": "
|
|
914
|
-
|
|
865
|
+
"equals": "chat.postMessage",
|
|
866
|
+
"type": "simple"
|
|
867
|
+
},
|
|
868
|
+
"type": "String"
|
|
915
869
|
},
|
|
916
870
|
{
|
|
917
|
-
"
|
|
918
|
-
"
|
|
919
|
-
"
|
|
871
|
+
"id": "data.newChannelName",
|
|
872
|
+
"label": "Channel name",
|
|
873
|
+
"optional": false,
|
|
874
|
+
"constraints": {
|
|
875
|
+
"notEmpty": true,
|
|
876
|
+
"pattern": {
|
|
877
|
+
"value": "^(=|([-_a-z0-9]{1,80}$))",
|
|
878
|
+
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
879
|
+
}
|
|
880
|
+
},
|
|
920
881
|
"feel": "optional",
|
|
882
|
+
"group": "channel",
|
|
921
883
|
"binding": {
|
|
922
|
-
"
|
|
923
|
-
"
|
|
884
|
+
"name": "data.newChannelName",
|
|
885
|
+
"type": "zeebe:input"
|
|
924
886
|
},
|
|
887
|
+
"condition": {
|
|
888
|
+
"property": "method",
|
|
889
|
+
"equals": "conversations.create",
|
|
890
|
+
"type": "simple"
|
|
891
|
+
},
|
|
892
|
+
"type": "String"
|
|
893
|
+
},
|
|
894
|
+
{
|
|
895
|
+
"id": "data.visibility",
|
|
896
|
+
"label": "Visibility",
|
|
897
|
+
"optional": false,
|
|
898
|
+
"value": "PUBLIC",
|
|
925
899
|
"constraints": {
|
|
926
900
|
"notEmpty": true
|
|
927
901
|
},
|
|
902
|
+
"group": "channel",
|
|
903
|
+
"binding": {
|
|
904
|
+
"name": "data.visibility",
|
|
905
|
+
"type": "zeebe:input"
|
|
906
|
+
},
|
|
928
907
|
"condition": {
|
|
929
908
|
"property": "method",
|
|
930
|
-
"equals": "
|
|
931
|
-
|
|
909
|
+
"equals": "conversations.create",
|
|
910
|
+
"type": "simple"
|
|
911
|
+
},
|
|
912
|
+
"type": "Dropdown",
|
|
913
|
+
"choices": [
|
|
914
|
+
{
|
|
915
|
+
"name": "Public",
|
|
916
|
+
"value": "PUBLIC"
|
|
917
|
+
},
|
|
918
|
+
{
|
|
919
|
+
"name": "Private",
|
|
920
|
+
"value": "PRIVATE"
|
|
921
|
+
}
|
|
922
|
+
]
|
|
932
923
|
},
|
|
933
924
|
{
|
|
925
|
+
"id": "data.channelName",
|
|
934
926
|
"label": "Channel name",
|
|
935
|
-
"
|
|
936
|
-
"type": "String",
|
|
937
|
-
"feel": "optional",
|
|
938
|
-
"binding": {
|
|
939
|
-
"type": "zeebe:input",
|
|
940
|
-
"name": "data.channelName"
|
|
941
|
-
},
|
|
927
|
+
"optional": false,
|
|
942
928
|
"constraints": {
|
|
943
929
|
"notEmpty": true,
|
|
944
930
|
"pattern": {
|
|
@@ -946,73 +932,119 @@
|
|
|
946
932
|
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
947
933
|
}
|
|
948
934
|
},
|
|
935
|
+
"feel": "optional",
|
|
936
|
+
"group": "invite",
|
|
937
|
+
"binding": {
|
|
938
|
+
"name": "data.channelName",
|
|
939
|
+
"type": "zeebe:input"
|
|
940
|
+
},
|
|
949
941
|
"condition": {
|
|
950
942
|
"property": "method",
|
|
951
|
-
"equals": "conversations.invite"
|
|
952
|
-
|
|
943
|
+
"equals": "conversations.invite",
|
|
944
|
+
"type": "simple"
|
|
945
|
+
},
|
|
946
|
+
"type": "String"
|
|
953
947
|
},
|
|
954
948
|
{
|
|
949
|
+
"id": "data.users",
|
|
955
950
|
"label": "Users",
|
|
956
951
|
"description": "Comma-separated list of users, e.g., '@user1,@user2' or '=[ \"@user1\", \"user2@company.com\"]'",
|
|
957
|
-
"
|
|
958
|
-
"type": "String",
|
|
959
|
-
"feel": "optional",
|
|
960
|
-
"binding": {
|
|
961
|
-
"type": "zeebe:input",
|
|
962
|
-
"name": "data.users"
|
|
963
|
-
},
|
|
952
|
+
"optional": false,
|
|
964
953
|
"constraints": {
|
|
965
954
|
"notEmpty": true
|
|
966
955
|
},
|
|
956
|
+
"feel": "optional",
|
|
957
|
+
"group": "invite",
|
|
958
|
+
"binding": {
|
|
959
|
+
"name": "data.users",
|
|
960
|
+
"type": "zeebe:input"
|
|
961
|
+
},
|
|
967
962
|
"condition": {
|
|
968
963
|
"property": "method",
|
|
969
|
-
"equals": "conversations.invite"
|
|
970
|
-
|
|
964
|
+
"equals": "conversations.invite",
|
|
965
|
+
"type": "simple"
|
|
966
|
+
},
|
|
967
|
+
"type": "String"
|
|
971
968
|
},
|
|
972
969
|
{
|
|
970
|
+
"id": "resultVariable",
|
|
973
971
|
"label": "Result variable",
|
|
974
|
-
"description": "Name of variable to store the response in
|
|
972
|
+
"description": "Name of variable to store the response in",
|
|
975
973
|
"group": "output",
|
|
976
|
-
"type": "String",
|
|
977
974
|
"binding": {
|
|
978
|
-
"
|
|
979
|
-
"
|
|
980
|
-
}
|
|
975
|
+
"key": "resultVariable",
|
|
976
|
+
"type": "zeebe:taskHeader"
|
|
977
|
+
},
|
|
978
|
+
"type": "String"
|
|
981
979
|
},
|
|
982
980
|
{
|
|
981
|
+
"id": "resultExpression",
|
|
983
982
|
"label": "Result expression",
|
|
984
|
-
"description": "Expression to map the response into process variables
|
|
985
|
-
"group": "output",
|
|
986
|
-
"type": "Text",
|
|
983
|
+
"description": "Expression to map the response into process variables",
|
|
987
984
|
"feel": "required",
|
|
985
|
+
"group": "output",
|
|
988
986
|
"binding": {
|
|
989
|
-
"
|
|
990
|
-
"
|
|
991
|
-
}
|
|
987
|
+
"key": "resultExpression",
|
|
988
|
+
"type": "zeebe:taskHeader"
|
|
989
|
+
},
|
|
990
|
+
"type": "Text"
|
|
992
991
|
},
|
|
993
992
|
{
|
|
993
|
+
"id": "errorExpression",
|
|
994
994
|
"label": "Error expression",
|
|
995
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
996
|
-
"group": "errors",
|
|
997
|
-
"type": "Text",
|
|
995
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
|
|
998
996
|
"feel": "required",
|
|
997
|
+
"group": "error",
|
|
999
998
|
"binding": {
|
|
1000
|
-
"
|
|
1001
|
-
"
|
|
1002
|
-
}
|
|
999
|
+
"key": "errorExpression",
|
|
1000
|
+
"type": "zeebe:taskHeader"
|
|
1001
|
+
},
|
|
1002
|
+
"type": "Text"
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
"id": "retryCount",
|
|
1006
|
+
"label": "Retries",
|
|
1007
|
+
"description": "Number of retries",
|
|
1008
|
+
"value": "3",
|
|
1009
|
+
"feel": "optional",
|
|
1010
|
+
"group": "retries",
|
|
1011
|
+
"binding": {
|
|
1012
|
+
"property": "retries",
|
|
1013
|
+
"type": "zeebe:taskDefinition"
|
|
1014
|
+
},
|
|
1015
|
+
"type": "String"
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
"id": "retryBackoff",
|
|
1019
|
+
"label": "Retry backoff",
|
|
1020
|
+
"description": "ISO-8601 duration to wait between retries",
|
|
1021
|
+
"value": "PT0S",
|
|
1022
|
+
"feel": "optional",
|
|
1023
|
+
"group": "retries",
|
|
1024
|
+
"binding": {
|
|
1025
|
+
"key": "retryBackoff",
|
|
1026
|
+
"type": "zeebe:taskHeader"
|
|
1027
|
+
},
|
|
1028
|
+
"type": "String"
|
|
1003
1029
|
}
|
|
1004
1030
|
],
|
|
1031
|
+
"icon": {
|
|
1032
|
+
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
|
|
1033
|
+
},
|
|
1005
1034
|
"engines": {
|
|
1006
|
-
"camunda": "^8.
|
|
1035
|
+
"camunda": "^8.6"
|
|
1007
1036
|
}
|
|
1008
1037
|
},
|
|
1009
1038
|
{
|
|
1010
1039
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
1011
1040
|
"name": "Slack Outbound Connector",
|
|
1012
1041
|
"id": "io.camunda.connectors.Slack.v1",
|
|
1042
|
+
"version": 2,
|
|
1013
1043
|
"description": "Create a channel or send a message to a channel or user",
|
|
1014
1044
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
|
|
1015
|
-
"
|
|
1045
|
+
"icon": {
|
|
1046
|
+
"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"
|
|
1047
|
+
},
|
|
1016
1048
|
"category": {
|
|
1017
1049
|
"id": "connectors",
|
|
1018
1050
|
"name": "Connectors"
|
|
@@ -1022,14 +1054,14 @@
|
|
|
1022
1054
|
"value": "bpmn:ServiceTask"
|
|
1023
1055
|
},
|
|
1024
1056
|
"groups": [
|
|
1025
|
-
{
|
|
1026
|
-
"id": "authentication",
|
|
1027
|
-
"label": "Authentication"
|
|
1028
|
-
},
|
|
1029
1057
|
{
|
|
1030
1058
|
"id": "method",
|
|
1031
1059
|
"label": "Method"
|
|
1032
1060
|
},
|
|
1061
|
+
{
|
|
1062
|
+
"id": "authentication",
|
|
1063
|
+
"label": "Authentication"
|
|
1064
|
+
},
|
|
1033
1065
|
{
|
|
1034
1066
|
"id": "message",
|
|
1035
1067
|
"label": "Message"
|
|
@@ -1047,48 +1079,25 @@
|
|
|
1047
1079
|
"label": "Output mapping"
|
|
1048
1080
|
},
|
|
1049
1081
|
{
|
|
1050
|
-
"id": "
|
|
1082
|
+
"id": "errors",
|
|
1051
1083
|
"label": "Error handling"
|
|
1052
|
-
},
|
|
1053
|
-
{
|
|
1054
|
-
"id": "retries",
|
|
1055
|
-
"label": "Retries"
|
|
1056
1084
|
}
|
|
1057
1085
|
],
|
|
1058
1086
|
"properties": [
|
|
1059
1087
|
{
|
|
1088
|
+
"type": "Hidden",
|
|
1060
1089
|
"value": "io.camunda:slack:1",
|
|
1061
1090
|
"binding": {
|
|
1062
|
-
"
|
|
1063
|
-
"
|
|
1064
|
-
}
|
|
1065
|
-
"type": "Hidden"
|
|
1066
|
-
},
|
|
1067
|
-
{
|
|
1068
|
-
"id": "token",
|
|
1069
|
-
"label": "OAuth token",
|
|
1070
|
-
"optional": false,
|
|
1071
|
-
"constraints": {
|
|
1072
|
-
"notEmpty": true
|
|
1073
|
-
},
|
|
1074
|
-
"feel": "optional",
|
|
1075
|
-
"group": "authentication",
|
|
1076
|
-
"binding": {
|
|
1077
|
-
"name": "token",
|
|
1078
|
-
"type": "zeebe:input"
|
|
1079
|
-
},
|
|
1080
|
-
"type": "String"
|
|
1091
|
+
"type": "zeebe:taskDefinition",
|
|
1092
|
+
"property": "type"
|
|
1093
|
+
}
|
|
1081
1094
|
},
|
|
1082
1095
|
{
|
|
1083
|
-
"id": "method",
|
|
1084
1096
|
"label": "Method",
|
|
1085
|
-
"value": "chat.postMessage",
|
|
1086
1097
|
"group": "method",
|
|
1087
|
-
"
|
|
1088
|
-
"name": "method",
|
|
1089
|
-
"type": "zeebe:input"
|
|
1090
|
-
},
|
|
1098
|
+
"id": "method",
|
|
1091
1099
|
"type": "Dropdown",
|
|
1100
|
+
"value": "chat.postMessage",
|
|
1092
1101
|
"choices": [
|
|
1093
1102
|
{
|
|
1094
1103
|
"name": "Post message",
|
|
@@ -1102,145 +1111,55 @@
|
|
|
1102
1111
|
"name": "Invite to channel",
|
|
1103
1112
|
"value": "conversations.invite"
|
|
1104
1113
|
}
|
|
1105
|
-
]
|
|
1106
|
-
},
|
|
1107
|
-
{
|
|
1108
|
-
"id": "data.messageType",
|
|
1109
|
-
"label": "Message type",
|
|
1110
|
-
"optional": false,
|
|
1111
|
-
"value": "plainText",
|
|
1112
|
-
"group": "message",
|
|
1114
|
+
],
|
|
1113
1115
|
"binding": {
|
|
1114
|
-
"
|
|
1115
|
-
"
|
|
1116
|
-
}
|
|
1117
|
-
"condition": {
|
|
1118
|
-
"allMatch": [
|
|
1119
|
-
{
|
|
1120
|
-
"property": "method",
|
|
1121
|
-
"equals": "chat.postMessage",
|
|
1122
|
-
"type": "simple"
|
|
1123
|
-
},
|
|
1124
|
-
{
|
|
1125
|
-
"property": "method",
|
|
1126
|
-
"equals": "chat.postMessage",
|
|
1127
|
-
"type": "simple"
|
|
1128
|
-
}
|
|
1129
|
-
]
|
|
1130
|
-
},
|
|
1131
|
-
"type": "Dropdown",
|
|
1132
|
-
"choices": [
|
|
1133
|
-
{
|
|
1134
|
-
"name": "Plain text",
|
|
1135
|
-
"value": "plainText"
|
|
1136
|
-
},
|
|
1137
|
-
{
|
|
1138
|
-
"name": "Message block",
|
|
1139
|
-
"value": "messageBlock"
|
|
1140
|
-
}
|
|
1141
|
-
]
|
|
1116
|
+
"type": "zeebe:input",
|
|
1117
|
+
"name": "method"
|
|
1118
|
+
}
|
|
1142
1119
|
},
|
|
1143
1120
|
{
|
|
1144
|
-
"
|
|
1145
|
-
"
|
|
1146
|
-
"
|
|
1147
|
-
"constraints": {
|
|
1148
|
-
"notEmpty": true
|
|
1149
|
-
},
|
|
1121
|
+
"label": "OAuth token",
|
|
1122
|
+
"group": "authentication",
|
|
1123
|
+
"type": "String",
|
|
1150
1124
|
"feel": "optional",
|
|
1151
|
-
"group": "message",
|
|
1152
1125
|
"binding": {
|
|
1153
|
-
"
|
|
1154
|
-
"
|
|
1155
|
-
},
|
|
1156
|
-
"condition": {
|
|
1157
|
-
"allMatch": [
|
|
1158
|
-
{
|
|
1159
|
-
"property": "data.messageType",
|
|
1160
|
-
"equals": "plainText",
|
|
1161
|
-
"type": "simple"
|
|
1162
|
-
},
|
|
1163
|
-
{
|
|
1164
|
-
"property": "method",
|
|
1165
|
-
"equals": "chat.postMessage",
|
|
1166
|
-
"type": "simple"
|
|
1167
|
-
}
|
|
1168
|
-
]
|
|
1126
|
+
"type": "zeebe:input",
|
|
1127
|
+
"name": "token"
|
|
1169
1128
|
},
|
|
1170
|
-
"type": "Text"
|
|
1171
|
-
},
|
|
1172
|
-
{
|
|
1173
|
-
"id": "data.blockContent",
|
|
1174
|
-
"label": "Message block",
|
|
1175
|
-
"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>",
|
|
1176
|
-
"optional": false,
|
|
1177
|
-
"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]",
|
|
1178
1129
|
"constraints": {
|
|
1179
1130
|
"notEmpty": true
|
|
1180
|
-
}
|
|
1181
|
-
"feel": "required",
|
|
1182
|
-
"group": "message",
|
|
1183
|
-
"binding": {
|
|
1184
|
-
"name": "data.blockContent",
|
|
1185
|
-
"type": "zeebe:input"
|
|
1186
|
-
},
|
|
1187
|
-
"condition": {
|
|
1188
|
-
"allMatch": [
|
|
1189
|
-
{
|
|
1190
|
-
"property": "data.messageType",
|
|
1191
|
-
"equals": "messageBlock",
|
|
1192
|
-
"type": "simple"
|
|
1193
|
-
},
|
|
1194
|
-
{
|
|
1195
|
-
"property": "method",
|
|
1196
|
-
"equals": "chat.postMessage",
|
|
1197
|
-
"type": "simple"
|
|
1198
|
-
}
|
|
1199
|
-
]
|
|
1200
|
-
},
|
|
1201
|
-
"type": "String"
|
|
1131
|
+
}
|
|
1202
1132
|
},
|
|
1203
1133
|
{
|
|
1204
|
-
"id": "data.channel",
|
|
1205
1134
|
"label": "Channel/user name/email",
|
|
1206
|
-
"optional": false,
|
|
1207
|
-
"constraints": {
|
|
1208
|
-
"notEmpty": true
|
|
1209
|
-
},
|
|
1210
|
-
"feel": "optional",
|
|
1211
1135
|
"group": "channel",
|
|
1136
|
+
"type": "String",
|
|
1137
|
+
"feel": "optional",
|
|
1212
1138
|
"binding": {
|
|
1213
|
-
"
|
|
1214
|
-
"
|
|
1139
|
+
"type": "zeebe:input",
|
|
1140
|
+
"name": "data.channel"
|
|
1141
|
+
},
|
|
1142
|
+
"constraints": {
|
|
1143
|
+
"notEmpty": true,
|
|
1144
|
+
"pattern": {
|
|
1145
|
+
"value": "(^(#|@|=).*)|(^.+[@].+[.].{2,4}$)",
|
|
1146
|
+
"message": "Must be a #channel, @user, email or FEEL expression."
|
|
1147
|
+
}
|
|
1215
1148
|
},
|
|
1216
1149
|
"condition": {
|
|
1217
1150
|
"property": "method",
|
|
1218
|
-
"equals": "chat.postMessage"
|
|
1219
|
-
|
|
1220
|
-
},
|
|
1221
|
-
"type": "String"
|
|
1151
|
+
"equals": "chat.postMessage"
|
|
1152
|
+
}
|
|
1222
1153
|
},
|
|
1223
1154
|
{
|
|
1224
|
-
"
|
|
1225
|
-
"label": "Thread",
|
|
1226
|
-
"optional": true,
|
|
1227
|
-
"feel": "optional",
|
|
1155
|
+
"label": "New channel name",
|
|
1228
1156
|
"group": "channel",
|
|
1157
|
+
"type": "String",
|
|
1158
|
+
"feel": "optional",
|
|
1229
1159
|
"binding": {
|
|
1230
|
-
"
|
|
1231
|
-
"
|
|
1232
|
-
},
|
|
1233
|
-
"condition": {
|
|
1234
|
-
"property": "method",
|
|
1235
|
-
"equals": "chat.postMessage",
|
|
1236
|
-
"type": "simple"
|
|
1160
|
+
"type": "zeebe:input",
|
|
1161
|
+
"name": "data.newChannelName"
|
|
1237
1162
|
},
|
|
1238
|
-
"type": "String"
|
|
1239
|
-
},
|
|
1240
|
-
{
|
|
1241
|
-
"id": "data.newChannelName",
|
|
1242
|
-
"label": "Channel name",
|
|
1243
|
-
"optional": false,
|
|
1244
1163
|
"constraints": {
|
|
1245
1164
|
"notEmpty": true,
|
|
1246
1165
|
"pattern": {
|
|
@@ -1248,161 +1167,127 @@
|
|
|
1248
1167
|
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
1249
1168
|
}
|
|
1250
1169
|
},
|
|
1251
|
-
"feel": "optional",
|
|
1252
|
-
"group": "channel",
|
|
1253
|
-
"binding": {
|
|
1254
|
-
"name": "data.newChannelName",
|
|
1255
|
-
"type": "zeebe:input"
|
|
1256
|
-
},
|
|
1257
1170
|
"condition": {
|
|
1258
1171
|
"property": "method",
|
|
1259
|
-
"equals": "conversations.create"
|
|
1260
|
-
|
|
1261
|
-
},
|
|
1262
|
-
"type": "String"
|
|
1172
|
+
"equals": "conversations.create"
|
|
1173
|
+
}
|
|
1263
1174
|
},
|
|
1264
1175
|
{
|
|
1265
|
-
"id": "data.visibility",
|
|
1266
1176
|
"label": "Visibility",
|
|
1267
|
-
"optional": false,
|
|
1268
|
-
"value": "PUBLIC",
|
|
1269
|
-
"constraints": {
|
|
1270
|
-
"notEmpty": true
|
|
1271
|
-
},
|
|
1272
1177
|
"group": "channel",
|
|
1273
|
-
"binding": {
|
|
1274
|
-
"name": "data.visibility",
|
|
1275
|
-
"type": "zeebe:input"
|
|
1276
|
-
},
|
|
1277
|
-
"condition": {
|
|
1278
|
-
"property": "method",
|
|
1279
|
-
"equals": "conversations.create",
|
|
1280
|
-
"type": "simple"
|
|
1281
|
-
},
|
|
1282
1178
|
"type": "Dropdown",
|
|
1179
|
+
"value": "PUBLIC",
|
|
1180
|
+
"optional": false,
|
|
1283
1181
|
"choices": [
|
|
1284
|
-
{
|
|
1285
|
-
"name": "Public",
|
|
1286
|
-
"value": "PUBLIC"
|
|
1287
|
-
},
|
|
1288
1182
|
{
|
|
1289
1183
|
"name": "Private",
|
|
1290
1184
|
"value": "PRIVATE"
|
|
1185
|
+
},
|
|
1186
|
+
{
|
|
1187
|
+
"name": "Public",
|
|
1188
|
+
"value": "PUBLIC"
|
|
1291
1189
|
}
|
|
1292
|
-
]
|
|
1190
|
+
],
|
|
1191
|
+
"binding": {
|
|
1192
|
+
"type": "zeebe:input",
|
|
1193
|
+
"name": "data.visibility"
|
|
1194
|
+
},
|
|
1195
|
+
"condition": {
|
|
1196
|
+
"property": "method",
|
|
1197
|
+
"equals": "conversations.create"
|
|
1198
|
+
}
|
|
1199
|
+
},
|
|
1200
|
+
{
|
|
1201
|
+
"label": "Message",
|
|
1202
|
+
"group": "message",
|
|
1203
|
+
"type": "Text",
|
|
1204
|
+
"feel": "optional",
|
|
1205
|
+
"binding": {
|
|
1206
|
+
"type": "zeebe:input",
|
|
1207
|
+
"name": "data.text"
|
|
1208
|
+
},
|
|
1209
|
+
"constraints": {
|
|
1210
|
+
"notEmpty": true
|
|
1211
|
+
},
|
|
1212
|
+
"condition": {
|
|
1213
|
+
"property": "method",
|
|
1214
|
+
"equals": "chat.postMessage"
|
|
1215
|
+
}
|
|
1293
1216
|
},
|
|
1294
1217
|
{
|
|
1295
|
-
"id": "data.channelName",
|
|
1296
1218
|
"label": "Channel name",
|
|
1297
|
-
"
|
|
1219
|
+
"group": "invite",
|
|
1220
|
+
"type": "String",
|
|
1221
|
+
"feel": "optional",
|
|
1222
|
+
"binding": {
|
|
1223
|
+
"type": "zeebe:input",
|
|
1224
|
+
"name": "data.channelName"
|
|
1225
|
+
},
|
|
1298
1226
|
"constraints": {
|
|
1299
1227
|
"notEmpty": true,
|
|
1300
1228
|
"pattern": {
|
|
1301
|
-
"value": "^(=|
|
|
1229
|
+
"value": "^(=|[-_a-z0-9]{1,80}$)",
|
|
1302
1230
|
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
1303
1231
|
}
|
|
1304
1232
|
},
|
|
1305
|
-
"feel": "optional",
|
|
1306
|
-
"group": "invite",
|
|
1307
|
-
"binding": {
|
|
1308
|
-
"name": "data.channelName",
|
|
1309
|
-
"type": "zeebe:input"
|
|
1310
|
-
},
|
|
1311
1233
|
"condition": {
|
|
1312
1234
|
"property": "method",
|
|
1313
|
-
"equals": "conversations.invite"
|
|
1314
|
-
|
|
1315
|
-
},
|
|
1316
|
-
"type": "String"
|
|
1235
|
+
"equals": "conversations.invite"
|
|
1236
|
+
}
|
|
1317
1237
|
},
|
|
1318
1238
|
{
|
|
1319
|
-
"id": "data.users",
|
|
1320
1239
|
"label": "Users",
|
|
1321
1240
|
"description": "Comma-separated list of users, e.g., '@user1,@user2' or '=[ \"@user1\", \"user2@company.com\"]'",
|
|
1322
|
-
"optional": false,
|
|
1323
|
-
"constraints": {
|
|
1324
|
-
"notEmpty": true
|
|
1325
|
-
},
|
|
1326
|
-
"feel": "optional",
|
|
1327
1241
|
"group": "invite",
|
|
1242
|
+
"type": "String",
|
|
1243
|
+
"feel": "optional",
|
|
1328
1244
|
"binding": {
|
|
1329
|
-
"
|
|
1330
|
-
"
|
|
1245
|
+
"type": "zeebe:input",
|
|
1246
|
+
"name": "data.users"
|
|
1247
|
+
},
|
|
1248
|
+
"constraints": {
|
|
1249
|
+
"notEmpty": true
|
|
1331
1250
|
},
|
|
1332
1251
|
"condition": {
|
|
1333
1252
|
"property": "method",
|
|
1334
|
-
"equals": "conversations.invite"
|
|
1335
|
-
|
|
1336
|
-
},
|
|
1337
|
-
"type": "String"
|
|
1253
|
+
"equals": "conversations.invite"
|
|
1254
|
+
}
|
|
1338
1255
|
},
|
|
1339
1256
|
{
|
|
1340
|
-
"id": "resultVariable",
|
|
1341
1257
|
"label": "Result variable",
|
|
1342
|
-
"description": "Name of variable to store the response in",
|
|
1258
|
+
"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>",
|
|
1343
1259
|
"group": "output",
|
|
1260
|
+
"type": "String",
|
|
1344
1261
|
"binding": {
|
|
1345
|
-
"
|
|
1346
|
-
"
|
|
1347
|
-
}
|
|
1348
|
-
"type": "String"
|
|
1262
|
+
"type": "zeebe:taskHeader",
|
|
1263
|
+
"key": "resultVariable"
|
|
1264
|
+
}
|
|
1349
1265
|
},
|
|
1350
1266
|
{
|
|
1351
|
-
"id": "resultExpression",
|
|
1352
1267
|
"label": "Result expression",
|
|
1353
|
-
"description": "Expression to map the response into process variables",
|
|
1354
|
-
"feel": "required",
|
|
1268
|
+
"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>",
|
|
1355
1269
|
"group": "output",
|
|
1270
|
+
"type": "Text",
|
|
1271
|
+
"feel": "required",
|
|
1356
1272
|
"binding": {
|
|
1357
|
-
"
|
|
1358
|
-
"
|
|
1359
|
-
}
|
|
1360
|
-
"type": "Text"
|
|
1273
|
+
"type": "zeebe:taskHeader",
|
|
1274
|
+
"key": "resultExpression"
|
|
1275
|
+
}
|
|
1361
1276
|
},
|
|
1362
1277
|
{
|
|
1363
|
-
"id": "errorExpression",
|
|
1364
1278
|
"label": "Error expression",
|
|
1365
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
1279
|
+
"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>",
|
|
1280
|
+
"group": "errors",
|
|
1281
|
+
"type": "Text",
|
|
1366
1282
|
"feel": "required",
|
|
1367
|
-
"group": "error",
|
|
1368
|
-
"binding": {
|
|
1369
|
-
"key": "errorExpression",
|
|
1370
|
-
"type": "zeebe:taskHeader"
|
|
1371
|
-
},
|
|
1372
|
-
"type": "Text"
|
|
1373
|
-
},
|
|
1374
|
-
{
|
|
1375
|
-
"id": "retryCount",
|
|
1376
|
-
"label": "Retries",
|
|
1377
|
-
"description": "Number of retries",
|
|
1378
|
-
"value": "3",
|
|
1379
|
-
"feel": "optional",
|
|
1380
|
-
"group": "retries",
|
|
1381
|
-
"binding": {
|
|
1382
|
-
"property": "retries",
|
|
1383
|
-
"type": "zeebe:taskDefinition"
|
|
1384
|
-
},
|
|
1385
|
-
"type": "String"
|
|
1386
|
-
},
|
|
1387
|
-
{
|
|
1388
|
-
"id": "retryBackoff",
|
|
1389
|
-
"label": "Retry backoff",
|
|
1390
|
-
"description": "ISO-8601 duration to wait between retries",
|
|
1391
|
-
"value": "PT0S",
|
|
1392
|
-
"feel": "optional",
|
|
1393
|
-
"group": "retries",
|
|
1394
1283
|
"binding": {
|
|
1395
|
-
"
|
|
1396
|
-
"
|
|
1397
|
-
}
|
|
1398
|
-
"type": "String"
|
|
1284
|
+
"type": "zeebe:taskHeader",
|
|
1285
|
+
"key": "errorExpression"
|
|
1286
|
+
}
|
|
1399
1287
|
}
|
|
1400
1288
|
],
|
|
1401
|
-
"icon": {
|
|
1402
|
-
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
|
|
1403
|
-
},
|
|
1404
1289
|
"engines": {
|
|
1405
|
-
"camunda": "^8.
|
|
1290
|
+
"camunda": "^8.2"
|
|
1406
1291
|
}
|
|
1407
1292
|
},
|
|
1408
1293
|
{
|
|
@@ -1411,7 +1296,7 @@
|
|
|
1411
1296
|
"id": "io.camunda.connectors.Slack.v1",
|
|
1412
1297
|
"description": "Create a channel or send a message to a channel or user",
|
|
1413
1298
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
|
|
1414
|
-
"version":
|
|
1299
|
+
"version": 5,
|
|
1415
1300
|
"category": {
|
|
1416
1301
|
"id": "connectors",
|
|
1417
1302
|
"name": "Connectors"
|
|
@@ -1619,6 +1504,23 @@
|
|
|
1619
1504
|
},
|
|
1620
1505
|
"type": "String"
|
|
1621
1506
|
},
|
|
1507
|
+
{
|
|
1508
|
+
"id": "data.thread",
|
|
1509
|
+
"label": "Thread",
|
|
1510
|
+
"optional": true,
|
|
1511
|
+
"feel": "optional",
|
|
1512
|
+
"group": "channel",
|
|
1513
|
+
"binding": {
|
|
1514
|
+
"name": "data.thread",
|
|
1515
|
+
"type": "zeebe:input"
|
|
1516
|
+
},
|
|
1517
|
+
"condition": {
|
|
1518
|
+
"property": "method",
|
|
1519
|
+
"equals": "chat.postMessage",
|
|
1520
|
+
"type": "simple"
|
|
1521
|
+
},
|
|
1522
|
+
"type": "String"
|
|
1523
|
+
},
|
|
1622
1524
|
{
|
|
1623
1525
|
"id": "data.newChannelName",
|
|
1624
1526
|
"label": "Channel name",
|
|
@@ -1626,7 +1528,7 @@
|
|
|
1626
1528
|
"constraints": {
|
|
1627
1529
|
"notEmpty": true,
|
|
1628
1530
|
"pattern": {
|
|
1629
|
-
"value": "^(=|[-_a-z0-9]{1,80}$)",
|
|
1531
|
+
"value": "^(=|([-_a-z0-9]{1,80}$))",
|
|
1630
1532
|
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
1631
1533
|
}
|
|
1632
1534
|
},
|
|
@@ -1673,6 +1575,42 @@
|
|
|
1673
1575
|
}
|
|
1674
1576
|
]
|
|
1675
1577
|
},
|
|
1578
|
+
{
|
|
1579
|
+
"id": "data.channelType",
|
|
1580
|
+
"label": "Invite By",
|
|
1581
|
+
"optional": false,
|
|
1582
|
+
"value": "channelId",
|
|
1583
|
+
"group": "invite",
|
|
1584
|
+
"binding": {
|
|
1585
|
+
"name": "data.channelType",
|
|
1586
|
+
"type": "zeebe:input"
|
|
1587
|
+
},
|
|
1588
|
+
"condition": {
|
|
1589
|
+
"allMatch": [
|
|
1590
|
+
{
|
|
1591
|
+
"property": "method",
|
|
1592
|
+
"equals": "conversations.invite",
|
|
1593
|
+
"type": "simple"
|
|
1594
|
+
},
|
|
1595
|
+
{
|
|
1596
|
+
"property": "method",
|
|
1597
|
+
"equals": "conversations.invite",
|
|
1598
|
+
"type": "simple"
|
|
1599
|
+
}
|
|
1600
|
+
]
|
|
1601
|
+
},
|
|
1602
|
+
"type": "Dropdown",
|
|
1603
|
+
"choices": [
|
|
1604
|
+
{
|
|
1605
|
+
"name": "Channel ID",
|
|
1606
|
+
"value": "channelId"
|
|
1607
|
+
},
|
|
1608
|
+
{
|
|
1609
|
+
"name": "Channel name",
|
|
1610
|
+
"value": "channelName"
|
|
1611
|
+
}
|
|
1612
|
+
]
|
|
1613
|
+
},
|
|
1676
1614
|
{
|
|
1677
1615
|
"id": "data.channelName",
|
|
1678
1616
|
"label": "Channel name",
|
|
@@ -1680,7 +1618,7 @@
|
|
|
1680
1618
|
"constraints": {
|
|
1681
1619
|
"notEmpty": true,
|
|
1682
1620
|
"pattern": {
|
|
1683
|
-
"value": "^(=|[-_a-z0-9]{1,80}$)",
|
|
1621
|
+
"value": "^(=|([-_a-z0-9]{1,80}$))",
|
|
1684
1622
|
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
1685
1623
|
}
|
|
1686
1624
|
},
|
|
@@ -1691,9 +1629,51 @@
|
|
|
1691
1629
|
"type": "zeebe:input"
|
|
1692
1630
|
},
|
|
1693
1631
|
"condition": {
|
|
1694
|
-
"
|
|
1695
|
-
|
|
1696
|
-
|
|
1632
|
+
"allMatch": [
|
|
1633
|
+
{
|
|
1634
|
+
"property": "data.channelType",
|
|
1635
|
+
"equals": "channelName",
|
|
1636
|
+
"type": "simple"
|
|
1637
|
+
},
|
|
1638
|
+
{
|
|
1639
|
+
"property": "method",
|
|
1640
|
+
"equals": "conversations.invite",
|
|
1641
|
+
"type": "simple"
|
|
1642
|
+
}
|
|
1643
|
+
]
|
|
1644
|
+
},
|
|
1645
|
+
"type": "String"
|
|
1646
|
+
},
|
|
1647
|
+
{
|
|
1648
|
+
"id": "data.channelId",
|
|
1649
|
+
"label": "Channel ID",
|
|
1650
|
+
"optional": false,
|
|
1651
|
+
"constraints": {
|
|
1652
|
+
"notEmpty": true,
|
|
1653
|
+
"pattern": {
|
|
1654
|
+
"value": "^(=|([-_a-z0-9]{1,80}$))",
|
|
1655
|
+
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
1656
|
+
}
|
|
1657
|
+
},
|
|
1658
|
+
"feel": "optional",
|
|
1659
|
+
"group": "invite",
|
|
1660
|
+
"binding": {
|
|
1661
|
+
"name": "data.channelId",
|
|
1662
|
+
"type": "zeebe:input"
|
|
1663
|
+
},
|
|
1664
|
+
"condition": {
|
|
1665
|
+
"allMatch": [
|
|
1666
|
+
{
|
|
1667
|
+
"property": "data.channelType",
|
|
1668
|
+
"equals": "channelId",
|
|
1669
|
+
"type": "simple"
|
|
1670
|
+
},
|
|
1671
|
+
{
|
|
1672
|
+
"property": "method",
|
|
1673
|
+
"equals": "conversations.invite",
|
|
1674
|
+
"type": "simple"
|
|
1675
|
+
}
|
|
1676
|
+
]
|
|
1697
1677
|
},
|
|
1698
1678
|
"type": "String"
|
|
1699
1679
|
},
|
|
@@ -1784,7 +1764,7 @@
|
|
|
1784
1764
|
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
|
|
1785
1765
|
},
|
|
1786
1766
|
"engines": {
|
|
1787
|
-
"camunda": "^8.
|
|
1767
|
+
"camunda": "^8.6"
|
|
1788
1768
|
}
|
|
1789
1769
|
},
|
|
1790
1770
|
{
|
|
@@ -1792,8 +1772,11 @@
|
|
|
1792
1772
|
"name": "Slack Outbound Connector",
|
|
1793
1773
|
"id": "io.camunda.connectors.Slack.v1",
|
|
1794
1774
|
"description": "Create a channel or send a message to a channel or user",
|
|
1775
|
+
"metadata": {
|
|
1776
|
+
"keywords": []
|
|
1777
|
+
},
|
|
1795
1778
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
|
|
1796
|
-
"version":
|
|
1779
|
+
"version": 6,
|
|
1797
1780
|
"category": {
|
|
1798
1781
|
"id": "connectors",
|
|
1799
1782
|
"name": "Connectors"
|
|
@@ -1802,6 +1785,9 @@
|
|
|
1802
1785
|
"elementType": {
|
|
1803
1786
|
"value": "bpmn:ServiceTask"
|
|
1804
1787
|
},
|
|
1788
|
+
"engines": {
|
|
1789
|
+
"camunda": "^8.3"
|
|
1790
|
+
},
|
|
1805
1791
|
"groups": [
|
|
1806
1792
|
{
|
|
1807
1793
|
"id": "authentication",
|
|
@@ -1981,6 +1967,24 @@
|
|
|
1981
1967
|
},
|
|
1982
1968
|
"type": "String"
|
|
1983
1969
|
},
|
|
1970
|
+
{
|
|
1971
|
+
"id": "data.documents",
|
|
1972
|
+
"label": "attachments",
|
|
1973
|
+
"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",
|
|
1974
|
+
"optional": true,
|
|
1975
|
+
"feel": "required",
|
|
1976
|
+
"group": "message",
|
|
1977
|
+
"binding": {
|
|
1978
|
+
"name": "data.documents",
|
|
1979
|
+
"type": "zeebe:input"
|
|
1980
|
+
},
|
|
1981
|
+
"condition": {
|
|
1982
|
+
"property": "method",
|
|
1983
|
+
"equals": "chat.postMessage",
|
|
1984
|
+
"type": "simple"
|
|
1985
|
+
},
|
|
1986
|
+
"type": "String"
|
|
1987
|
+
},
|
|
1984
1988
|
{
|
|
1985
1989
|
"id": "data.channel",
|
|
1986
1990
|
"label": "Channel/user name/email",
|
|
@@ -2248,7 +2252,6 @@
|
|
|
2248
2252
|
"label": "Retry backoff",
|
|
2249
2253
|
"description": "ISO-8601 duration to wait between retries",
|
|
2250
2254
|
"value": "PT0S",
|
|
2251
|
-
"feel": "optional",
|
|
2252
2255
|
"group": "retries",
|
|
2253
2256
|
"binding": {
|
|
2254
2257
|
"key": "retryBackoff",
|
|
@@ -2259,9 +2262,261 @@
|
|
|
2259
2262
|
],
|
|
2260
2263
|
"icon": {
|
|
2261
2264
|
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
|
|
2265
|
+
}
|
|
2266
|
+
},
|
|
2267
|
+
{
|
|
2268
|
+
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
2269
|
+
"name": "Slack connector",
|
|
2270
|
+
"id": "io.camunda.connectors.Slack.v1",
|
|
2271
|
+
"version": 1,
|
|
2272
|
+
"description": "Create a channel or send a message to a channel or user",
|
|
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
|
+
},
|
|
2277
|
+
"category": {
|
|
2278
|
+
"id": "connectors",
|
|
2279
|
+
"name": "Connectors"
|
|
2280
|
+
},
|
|
2281
|
+
"appliesTo": ["bpmn:Task"],
|
|
2282
|
+
"elementType": {
|
|
2283
|
+
"value": "bpmn:ServiceTask"
|
|
2262
2284
|
},
|
|
2285
|
+
"groups": [
|
|
2286
|
+
{
|
|
2287
|
+
"id": "method",
|
|
2288
|
+
"label": "Method"
|
|
2289
|
+
},
|
|
2290
|
+
{
|
|
2291
|
+
"id": "authentication",
|
|
2292
|
+
"label": "Authentication"
|
|
2293
|
+
},
|
|
2294
|
+
{
|
|
2295
|
+
"id": "message",
|
|
2296
|
+
"label": "Message"
|
|
2297
|
+
},
|
|
2298
|
+
{
|
|
2299
|
+
"id": "channel",
|
|
2300
|
+
"label": "Channel"
|
|
2301
|
+
},
|
|
2302
|
+
{
|
|
2303
|
+
"id": "invite",
|
|
2304
|
+
"label": "Invite"
|
|
2305
|
+
},
|
|
2306
|
+
{
|
|
2307
|
+
"id": "output",
|
|
2308
|
+
"label": "Output mapping"
|
|
2309
|
+
},
|
|
2310
|
+
{
|
|
2311
|
+
"id": "errors",
|
|
2312
|
+
"label": "Error handling"
|
|
2313
|
+
}
|
|
2314
|
+
],
|
|
2315
|
+
"properties": [
|
|
2316
|
+
{
|
|
2317
|
+
"type": "Hidden",
|
|
2318
|
+
"value": "io.camunda:slack:1",
|
|
2319
|
+
"binding": {
|
|
2320
|
+
"type": "zeebe:taskDefinition",
|
|
2321
|
+
"property": "type"
|
|
2322
|
+
}
|
|
2323
|
+
},
|
|
2324
|
+
{
|
|
2325
|
+
"label": "Method",
|
|
2326
|
+
"group": "method",
|
|
2327
|
+
"id": "method",
|
|
2328
|
+
"type": "Dropdown",
|
|
2329
|
+
"value": "chat.postMessage",
|
|
2330
|
+
"choices": [
|
|
2331
|
+
{
|
|
2332
|
+
"name": "Post message",
|
|
2333
|
+
"value": "chat.postMessage"
|
|
2334
|
+
},
|
|
2335
|
+
{
|
|
2336
|
+
"name": "Create channel",
|
|
2337
|
+
"value": "conversations.create"
|
|
2338
|
+
},
|
|
2339
|
+
{
|
|
2340
|
+
"name": "Invite to channel",
|
|
2341
|
+
"value": "conversations.invite"
|
|
2342
|
+
}
|
|
2343
|
+
],
|
|
2344
|
+
"binding": {
|
|
2345
|
+
"type": "zeebe:input",
|
|
2346
|
+
"name": "method"
|
|
2347
|
+
}
|
|
2348
|
+
},
|
|
2349
|
+
{
|
|
2350
|
+
"label": "OAuth token",
|
|
2351
|
+
"group": "authentication",
|
|
2352
|
+
"type": "String",
|
|
2353
|
+
"feel": "optional",
|
|
2354
|
+
"binding": {
|
|
2355
|
+
"type": "zeebe:input",
|
|
2356
|
+
"name": "token"
|
|
2357
|
+
},
|
|
2358
|
+
"constraints": {
|
|
2359
|
+
"notEmpty": true
|
|
2360
|
+
}
|
|
2361
|
+
},
|
|
2362
|
+
{
|
|
2363
|
+
"label": "Channel/user name/email",
|
|
2364
|
+
"group": "channel",
|
|
2365
|
+
"type": "String",
|
|
2366
|
+
"feel": "optional",
|
|
2367
|
+
"binding": {
|
|
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
|
+
}
|
|
2377
|
+
},
|
|
2378
|
+
"condition": {
|
|
2379
|
+
"property": "method",
|
|
2380
|
+
"equals": "chat.postMessage"
|
|
2381
|
+
}
|
|
2382
|
+
},
|
|
2383
|
+
{
|
|
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
|
+
},
|
|
2392
|
+
"constraints": {
|
|
2393
|
+
"notEmpty": true,
|
|
2394
|
+
"pattern": {
|
|
2395
|
+
"value": "^(=|([-_a-z0-9]{1,80}$))",
|
|
2396
|
+
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
2397
|
+
}
|
|
2398
|
+
},
|
|
2399
|
+
"condition": {
|
|
2400
|
+
"property": "method",
|
|
2401
|
+
"equals": "conversations.create"
|
|
2402
|
+
}
|
|
2403
|
+
},
|
|
2404
|
+
{
|
|
2405
|
+
"label": "Visibility",
|
|
2406
|
+
"group": "channel",
|
|
2407
|
+
"type": "Dropdown",
|
|
2408
|
+
"value": "PUBLIC",
|
|
2409
|
+
"optional": false,
|
|
2410
|
+
"choices": [
|
|
2411
|
+
{
|
|
2412
|
+
"name": "Private",
|
|
2413
|
+
"value": "PRIVATE"
|
|
2414
|
+
},
|
|
2415
|
+
{
|
|
2416
|
+
"name": "Public",
|
|
2417
|
+
"value": "PUBLIC"
|
|
2418
|
+
}
|
|
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
|
+
}
|
|
2445
|
+
},
|
|
2446
|
+
{
|
|
2447
|
+
"label": "Channel name",
|
|
2448
|
+
"group": "invite",
|
|
2449
|
+
"type": "String",
|
|
2450
|
+
"feel": "optional",
|
|
2451
|
+
"binding": {
|
|
2452
|
+
"type": "zeebe:input",
|
|
2453
|
+
"name": "data.channelName"
|
|
2454
|
+
},
|
|
2455
|
+
"constraints": {
|
|
2456
|
+
"notEmpty": true,
|
|
2457
|
+
"pattern": {
|
|
2458
|
+
"value": "^(=|([-_a-z0-9]{1,80}$))",
|
|
2459
|
+
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
2460
|
+
}
|
|
2461
|
+
},
|
|
2462
|
+
"condition": {
|
|
2463
|
+
"property": "method",
|
|
2464
|
+
"equals": "conversations.invite"
|
|
2465
|
+
}
|
|
2466
|
+
},
|
|
2467
|
+
{
|
|
2468
|
+
"label": "Users",
|
|
2469
|
+
"description": "Comma-separated list of users, e.g., '@user1,@user2' or '=[ \"@user1\", \"user2@company.com\"]'",
|
|
2470
|
+
"group": "invite",
|
|
2471
|
+
"type": "String",
|
|
2472
|
+
"feel": "optional",
|
|
2473
|
+
"binding": {
|
|
2474
|
+
"type": "zeebe:input",
|
|
2475
|
+
"name": "data.users"
|
|
2476
|
+
},
|
|
2477
|
+
"constraints": {
|
|
2478
|
+
"notEmpty": true
|
|
2479
|
+
},
|
|
2480
|
+
"condition": {
|
|
2481
|
+
"property": "method",
|
|
2482
|
+
"equals": "conversations.invite"
|
|
2483
|
+
}
|
|
2484
|
+
},
|
|
2485
|
+
{
|
|
2486
|
+
"label": "Result variable",
|
|
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>",
|
|
2488
|
+
"group": "output",
|
|
2489
|
+
"type": "String",
|
|
2490
|
+
"binding": {
|
|
2491
|
+
"type": "zeebe:taskHeader",
|
|
2492
|
+
"key": "resultVariable"
|
|
2493
|
+
}
|
|
2494
|
+
},
|
|
2495
|
+
{
|
|
2496
|
+
"label": "Result expression",
|
|
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>",
|
|
2498
|
+
"group": "output",
|
|
2499
|
+
"type": "Text",
|
|
2500
|
+
"feel": "required",
|
|
2501
|
+
"binding": {
|
|
2502
|
+
"type": "zeebe:taskHeader",
|
|
2503
|
+
"key": "resultExpression"
|
|
2504
|
+
}
|
|
2505
|
+
},
|
|
2506
|
+
{
|
|
2507
|
+
"label": "Error expression",
|
|
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",
|
|
2511
|
+
"feel": "required",
|
|
2512
|
+
"binding": {
|
|
2513
|
+
"type": "zeebe:taskHeader",
|
|
2514
|
+
"key": "errorExpression"
|
|
2515
|
+
}
|
|
2516
|
+
}
|
|
2517
|
+
],
|
|
2263
2518
|
"engines": {
|
|
2264
|
-
"camunda": "^8.
|
|
2519
|
+
"camunda": "^8.2"
|
|
2265
2520
|
}
|
|
2266
2521
|
},
|
|
2267
2522
|
{
|