@camunda/connectors-element-templates 1.0.19 → 1.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/element-templates/agenticai-a2a-client-outbound-connector.json +1 -1
- package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +31 -31
- package/src/element-templates/agenticai-aiagent-job-worker.json +180 -180
- package/src/element-templates/agenticai-aiagent-outbound-connector.json +3080 -3080
- package/src/element-templates/agenticai-mcp-client-outbound-connector.json +1 -1
- package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +1 -1
- package/src/element-templates/asana-connector.json +107 -107
- package/src/element-templates/automation-anywhere-outbound-connector.json +575 -575
- package/src/element-templates/aws-bedrock-agentcore-long-term-memory-outbound-connector.json +1 -1
- package/src/element-templates/aws-bedrock-agentcore-runtime-outbound-connector.json +1 -1
- package/src/element-templates/aws-bedrock-codeinterpreter-outbound-connector.json +1 -1
- package/src/element-templates/aws-bedrock-knowledgebase-outbound-connector.json +1 -1
- package/src/element-templates/aws-bedrock-outbound-connector.json +1 -1
- package/src/element-templates/aws-comprehend-outbound-connector.json +1 -1
- package/src/element-templates/aws-dynamodb-outbound-connector.json +3079 -1727
- package/src/element-templates/aws-eventbridge-connector-boundary.json +33 -33
- package/src/element-templates/aws-eventbridge-connector-intermediate.json +28 -28
- package/src/element-templates/aws-eventbridge-connector-start-event.json +15 -15
- package/src/element-templates/aws-eventbridge-outbound-connector.json +289 -289
- package/src/element-templates/aws-lambda-outbound-connector.json +45 -45
- package/src/element-templates/aws-s3-outbound-connector.json +705 -32
- package/src/element-templates/aws-sagemaker-outbound-connector.json +1 -1
- package/src/element-templates/aws-sns-inbound-boundary.json +203 -203
- package/src/element-templates/aws-sns-inbound-intermediate.json +217 -217
- package/src/element-templates/aws-sns-inbound-message-start.json +237 -237
- package/src/element-templates/aws-sns-inbound-start-event.json +6 -6
- package/src/element-templates/aws-sns-outbound-connector.json +68 -68
- package/src/element-templates/aws-sqs-boundary-connector.json +415 -415
- package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +500 -500
- package/src/element-templates/aws-sqs-outbound-connector.json +390 -390
- package/src/element-templates/aws-sqs-start-event-connector.json +409 -409
- package/src/element-templates/aws-textract-outbound-connector.json +124 -124
- package/src/element-templates/azure-blobstorage-outbound-connector.json +1 -1
- package/src/element-templates/azure-open-ai-connector.json +1 -1
- package/src/element-templates/blue-prism-connector.json +52 -52
- package/src/element-templates/box-outbound-connector.json +49 -49
- package/src/element-templates/csv-outbound-connector.json +452 -3
- package/src/element-templates/easy-post-connector.json +262 -262
- package/src/element-templates/email-outbound-connector.json +1 -1
- package/src/element-templates/embeddings-vector-database-outbound-connector.json +1 -1
- package/src/element-templates/github-connector.json +10051 -10051
- package/src/element-templates/github-webhook-connector-intermediate.json +25 -25
- package/src/element-templates/github-webhook-connector-start-event.json +26 -26
- package/src/element-templates/gitlab-connector.json +1081 -1081
- package/src/element-templates/google-cloud-storage-outbound-connector.json +1 -1
- package/src/element-templates/google-drive-outbound-connector.json +361 -361
- package/src/element-templates/google-gemini-outbound-connector.json +33 -33
- package/src/element-templates/google-maps-platform-connector.json +81 -81
- package/src/element-templates/google-sheets-outbound-connector.json +1124 -1124
- package/src/element-templates/graphql-outbound-connector.json +1813 -1706
- package/src/element-templates/http-json-connector.json +3412 -1814
- package/src/element-templates/http-polling-boundary-catch-event-connector.json +102 -0
- package/src/element-templates/http-polling-connector.json +825 -723
- package/src/element-templates/hubspot-outbound-connector.json +59 -59
- package/src/element-templates/hugging-face-connector.json +75 -75
- package/src/element-templates/jdbc-outbound-connector.json +1 -1
- package/src/element-templates/kafka-inbound-connector-boundary.json +976 -976
- package/src/element-templates/kafka-inbound-connector-intermediate.json +501 -501
- package/src/element-templates/kafka-inbound-connector-start-message.json +532 -532
- package/src/element-templates/kafka-outbound-connector.json +177 -177
- package/src/element-templates/microsoft-office365-mail-connector.json +1059 -73
- package/src/element-templates/microsoft-teams-outbound-connector.json +4489 -4489
- package/src/element-templates/openai-connector.json +238 -238
- package/src/element-templates/operate-connector.json +136 -136
- package/src/element-templates/power-automate-connector.json +19 -19
- package/src/element-templates/rabbitmq-inbound-connector-boundary.json +443 -443
- package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +765 -765
- package/src/element-templates/rabbitmq-inbound-connector-message-start.json +352 -352
- package/src/element-templates/rabbitmq-inbound-connector-start-event.json +337 -337
- package/src/element-templates/rabbitmq-outbound-connector.json +326 -326
- package/src/element-templates/salesforce-connector.json +59 -59
- package/src/element-templates/send-message-connector-intermediate-throw-event.json +1 -1
- package/src/element-templates/send-message-connector-message-end-event.json +1 -1
- package/src/element-templates/send-message-connector-send-task.json +1 -1
- package/src/element-templates/sendgrid-outbound-connector.json +636 -636
- package/src/element-templates/servicenow-connector.json +1 -1
- package/src/element-templates/servicenow-flow-starter-connector.json +1 -1
- package/src/element-templates/servicenow-incident-connector.json +1 -1
- package/src/element-templates/slack-inbound-boundary.json +266 -266
- package/src/element-templates/slack-inbound-intermediate.json +557 -557
- package/src/element-templates/slack-inbound-message-start.json +334 -334
- package/src/element-templates/slack-inbound-start-event.json +128 -128
- package/src/element-templates/slack-outbound-connector.json +1415 -1415
- package/src/element-templates/soap-outbound-connector.json +1 -1
- package/src/element-templates/twilio-connector.json +354 -354
- package/src/element-templates/twilio-webhook-boundary-connector.json +20 -20
- package/src/element-templates/twilio-webhook-connector.json +29 -29
- package/src/element-templates/twilio-webhook-intermediate-connector.json +25 -25
- package/src/element-templates/twilio-webhook-message-start-connector.json +17 -17
- package/src/element-templates/uipath-connector.json +56 -56
- package/src/element-templates/webhook-connector-boundary.json +114 -114
- package/src/element-templates/webhook-connector-intermediate.json +1129 -1129
- package/src/element-templates/webhook-connector-start-event.json +1293 -1293
- package/src/element-templates/webhook-connector-start-message.json +537 -537
- package/src/element-templates/whatsapp-connector.json +51 -51
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"keywords": []
|
|
9
9
|
},
|
|
10
10
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
|
|
11
|
-
"version":
|
|
11
|
+
"version": 7,
|
|
12
12
|
"category": {
|
|
13
13
|
"id": "connectors",
|
|
14
14
|
"name": "Connectors"
|
|
@@ -41,6 +41,14 @@
|
|
|
41
41
|
"id": "invite",
|
|
42
42
|
"label": "Invite"
|
|
43
43
|
},
|
|
44
|
+
{
|
|
45
|
+
"id": "reaction",
|
|
46
|
+
"label": "Reaction"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"id": "connector",
|
|
50
|
+
"label": "Connector"
|
|
51
|
+
},
|
|
44
52
|
{
|
|
45
53
|
"id": "output",
|
|
46
54
|
"label": "Output mapping"
|
|
@@ -100,6 +108,10 @@
|
|
|
100
108
|
{
|
|
101
109
|
"name": "Invite to channel",
|
|
102
110
|
"value": "conversations.invite"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"name": "Add reaction",
|
|
114
|
+
"value": "reactions.add"
|
|
103
115
|
}
|
|
104
116
|
]
|
|
105
117
|
},
|
|
@@ -431,6 +443,93 @@
|
|
|
431
443
|
},
|
|
432
444
|
"type": "String"
|
|
433
445
|
},
|
|
446
|
+
{
|
|
447
|
+
"id": "reaction.channel",
|
|
448
|
+
"label": "Channel",
|
|
449
|
+
"description": "Channel ID of the message to react to",
|
|
450
|
+
"optional": false,
|
|
451
|
+
"constraints": {
|
|
452
|
+
"notEmpty": true
|
|
453
|
+
},
|
|
454
|
+
"feel": "optional",
|
|
455
|
+
"group": "reaction",
|
|
456
|
+
"binding": {
|
|
457
|
+
"name": "data.channel",
|
|
458
|
+
"type": "zeebe:input"
|
|
459
|
+
},
|
|
460
|
+
"condition": {
|
|
461
|
+
"property": "method",
|
|
462
|
+
"equals": "reactions.add",
|
|
463
|
+
"type": "simple"
|
|
464
|
+
},
|
|
465
|
+
"type": "String"
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"id": "data.emoji",
|
|
469
|
+
"label": "Emoji name",
|
|
470
|
+
"description": "Emoji name (e.g. eyes)",
|
|
471
|
+
"optional": false,
|
|
472
|
+
"constraints": {
|
|
473
|
+
"notEmpty": true
|
|
474
|
+
},
|
|
475
|
+
"feel": "optional",
|
|
476
|
+
"group": "reaction",
|
|
477
|
+
"binding": {
|
|
478
|
+
"name": "data.emoji",
|
|
479
|
+
"type": "zeebe:input"
|
|
480
|
+
},
|
|
481
|
+
"condition": {
|
|
482
|
+
"property": "method",
|
|
483
|
+
"equals": "reactions.add",
|
|
484
|
+
"type": "simple"
|
|
485
|
+
},
|
|
486
|
+
"type": "String"
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"id": "data.timestamp",
|
|
490
|
+
"label": "Message timestamp",
|
|
491
|
+
"description": "Timestamp of the Slack message to react to",
|
|
492
|
+
"optional": false,
|
|
493
|
+
"constraints": {
|
|
494
|
+
"notEmpty": true
|
|
495
|
+
},
|
|
496
|
+
"feel": "required",
|
|
497
|
+
"group": "reaction",
|
|
498
|
+
"binding": {
|
|
499
|
+
"name": "data.timestamp",
|
|
500
|
+
"type": "zeebe:input"
|
|
501
|
+
},
|
|
502
|
+
"condition": {
|
|
503
|
+
"property": "method",
|
|
504
|
+
"equals": "reactions.add",
|
|
505
|
+
"type": "simple"
|
|
506
|
+
},
|
|
507
|
+
"type": "String"
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
"id": "version",
|
|
511
|
+
"label": "Version",
|
|
512
|
+
"description": "Version of the element template",
|
|
513
|
+
"value": "7",
|
|
514
|
+
"group": "connector",
|
|
515
|
+
"binding": {
|
|
516
|
+
"key": "elementTemplateVersion",
|
|
517
|
+
"type": "zeebe:taskHeader"
|
|
518
|
+
},
|
|
519
|
+
"type": "Hidden"
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
"id": "id",
|
|
523
|
+
"label": "ID",
|
|
524
|
+
"description": "ID of the element template",
|
|
525
|
+
"value": "io.camunda.connectors.Slack.v1",
|
|
526
|
+
"group": "connector",
|
|
527
|
+
"binding": {
|
|
528
|
+
"key": "elementTemplateId",
|
|
529
|
+
"type": "zeebe:taskHeader"
|
|
530
|
+
},
|
|
531
|
+
"type": "Hidden"
|
|
532
|
+
},
|
|
434
533
|
{
|
|
435
534
|
"id": "resultVariable",
|
|
436
535
|
"label": "Result variable",
|
|
@@ -500,12 +599,22 @@
|
|
|
500
599
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
501
600
|
"name": "Slack Outbound Connector",
|
|
502
601
|
"id": "io.camunda.connectors.Slack.v1",
|
|
503
|
-
"version": 2,
|
|
504
602
|
"description": "Create a channel or send a message to a channel or user",
|
|
603
|
+
"keywords": [
|
|
604
|
+
"post message",
|
|
605
|
+
"create channel",
|
|
606
|
+
"invite to channel",
|
|
607
|
+
"add reaction",
|
|
608
|
+
"pin message",
|
|
609
|
+
"unpin message",
|
|
610
|
+
"send message",
|
|
611
|
+
"channel",
|
|
612
|
+
"messaging",
|
|
613
|
+
"chat",
|
|
614
|
+
"notification"
|
|
615
|
+
],
|
|
505
616
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
|
|
506
|
-
"
|
|
507
|
-
"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
|
-
},
|
|
617
|
+
"version": 9,
|
|
509
618
|
"category": {
|
|
510
619
|
"id": "connectors",
|
|
511
620
|
"name": "Connectors"
|
|
@@ -514,15 +623,18 @@
|
|
|
514
623
|
"elementType": {
|
|
515
624
|
"value": "bpmn:ServiceTask"
|
|
516
625
|
},
|
|
626
|
+
"engines": {
|
|
627
|
+
"camunda": "^8.3"
|
|
628
|
+
},
|
|
517
629
|
"groups": [
|
|
518
|
-
{
|
|
519
|
-
"id": "method",
|
|
520
|
-
"label": "Method"
|
|
521
|
-
},
|
|
522
630
|
{
|
|
523
631
|
"id": "authentication",
|
|
524
632
|
"label": "Authentication"
|
|
525
633
|
},
|
|
634
|
+
{
|
|
635
|
+
"id": "method",
|
|
636
|
+
"label": "Method"
|
|
637
|
+
},
|
|
526
638
|
{
|
|
527
639
|
"id": "message",
|
|
528
640
|
"label": "Message"
|
|
@@ -535,30 +647,69 @@
|
|
|
535
647
|
"id": "invite",
|
|
536
648
|
"label": "Invite"
|
|
537
649
|
},
|
|
650
|
+
{
|
|
651
|
+
"id": "reaction",
|
|
652
|
+
"label": "Reaction"
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
"id": "pinMessage",
|
|
656
|
+
"label": "Pin Message"
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
"id": "unpinMessage",
|
|
660
|
+
"label": "Unpin Message"
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
"id": "connector",
|
|
664
|
+
"label": "Connector"
|
|
665
|
+
},
|
|
538
666
|
{
|
|
539
667
|
"id": "output",
|
|
540
668
|
"label": "Output mapping"
|
|
541
669
|
},
|
|
542
670
|
{
|
|
543
|
-
"id": "
|
|
671
|
+
"id": "error",
|
|
544
672
|
"label": "Error handling"
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
"id": "retries",
|
|
676
|
+
"label": "Retries"
|
|
545
677
|
}
|
|
546
678
|
],
|
|
547
679
|
"properties": [
|
|
548
680
|
{
|
|
549
|
-
"type": "Hidden",
|
|
550
681
|
"value": "io.camunda:slack:1",
|
|
551
682
|
"binding": {
|
|
552
|
-
"
|
|
553
|
-
"
|
|
554
|
-
}
|
|
683
|
+
"property": "type",
|
|
684
|
+
"type": "zeebe:taskDefinition"
|
|
685
|
+
},
|
|
686
|
+
"type": "Hidden"
|
|
555
687
|
},
|
|
556
688
|
{
|
|
689
|
+
"id": "token",
|
|
690
|
+
"label": "OAuth token",
|
|
691
|
+
"optional": false,
|
|
692
|
+
"constraints": {
|
|
693
|
+
"notEmpty": true
|
|
694
|
+
},
|
|
695
|
+
"feel": "optional",
|
|
696
|
+
"group": "authentication",
|
|
697
|
+
"binding": {
|
|
698
|
+
"name": "token",
|
|
699
|
+
"type": "zeebe:input"
|
|
700
|
+
},
|
|
701
|
+
"type": "String"
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
"id": "method",
|
|
557
705
|
"label": "Method",
|
|
706
|
+
"value": "chat.postMessage",
|
|
558
707
|
"group": "method",
|
|
559
|
-
"
|
|
708
|
+
"binding": {
|
|
709
|
+
"name": "method",
|
|
710
|
+
"type": "zeebe:input"
|
|
711
|
+
},
|
|
560
712
|
"type": "Dropdown",
|
|
561
|
-
"value": "chat.postMessage",
|
|
562
713
|
"choices": [
|
|
563
714
|
{
|
|
564
715
|
"name": "Post message",
|
|
@@ -571,56 +722,176 @@
|
|
|
571
722
|
{
|
|
572
723
|
"name": "Invite to channel",
|
|
573
724
|
"value": "conversations.invite"
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
"name": "Add reaction",
|
|
728
|
+
"value": "reactions.add"
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
"name": "Pin Message",
|
|
732
|
+
"value": "pins.add"
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
"name": "Unpin Message",
|
|
736
|
+
"value": "pins.remove"
|
|
574
737
|
}
|
|
575
|
-
]
|
|
576
|
-
"binding": {
|
|
577
|
-
"type": "zeebe:input",
|
|
578
|
-
"name": "method"
|
|
579
|
-
}
|
|
738
|
+
]
|
|
580
739
|
},
|
|
581
740
|
{
|
|
582
|
-
"
|
|
583
|
-
"
|
|
584
|
-
"
|
|
585
|
-
"
|
|
741
|
+
"id": "data.messageType",
|
|
742
|
+
"label": "Message type",
|
|
743
|
+
"optional": false,
|
|
744
|
+
"value": "plainText",
|
|
745
|
+
"group": "message",
|
|
586
746
|
"binding": {
|
|
587
|
-
"
|
|
588
|
-
"
|
|
747
|
+
"name": "data.messageType",
|
|
748
|
+
"type": "zeebe:input"
|
|
589
749
|
},
|
|
590
|
-
"
|
|
591
|
-
"
|
|
592
|
-
|
|
750
|
+
"condition": {
|
|
751
|
+
"allMatch": [
|
|
752
|
+
{
|
|
753
|
+
"property": "method",
|
|
754
|
+
"equals": "chat.postMessage",
|
|
755
|
+
"type": "simple"
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
"property": "method",
|
|
759
|
+
"equals": "chat.postMessage",
|
|
760
|
+
"type": "simple"
|
|
761
|
+
}
|
|
762
|
+
]
|
|
763
|
+
},
|
|
764
|
+
"type": "Dropdown",
|
|
765
|
+
"choices": [
|
|
766
|
+
{
|
|
767
|
+
"name": "Plain text",
|
|
768
|
+
"value": "plainText"
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
"name": "Message block",
|
|
772
|
+
"value": "messageBlock"
|
|
773
|
+
}
|
|
774
|
+
]
|
|
593
775
|
},
|
|
594
776
|
{
|
|
595
|
-
"
|
|
596
|
-
"
|
|
597
|
-
"
|
|
777
|
+
"id": "data.text",
|
|
778
|
+
"label": "Message",
|
|
779
|
+
"optional": false,
|
|
780
|
+
"constraints": {
|
|
781
|
+
"notEmpty": true
|
|
782
|
+
},
|
|
598
783
|
"feel": "optional",
|
|
784
|
+
"group": "message",
|
|
599
785
|
"binding": {
|
|
600
|
-
"
|
|
601
|
-
"
|
|
786
|
+
"name": "data.text",
|
|
787
|
+
"type": "zeebe:input"
|
|
602
788
|
},
|
|
789
|
+
"condition": {
|
|
790
|
+
"allMatch": [
|
|
791
|
+
{
|
|
792
|
+
"property": "data.messageType",
|
|
793
|
+
"equals": "plainText",
|
|
794
|
+
"type": "simple"
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
"property": "method",
|
|
798
|
+
"equals": "chat.postMessage",
|
|
799
|
+
"type": "simple"
|
|
800
|
+
}
|
|
801
|
+
]
|
|
802
|
+
},
|
|
803
|
+
"type": "Text"
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
"id": "data.blockContent",
|
|
807
|
+
"label": "Message block",
|
|
808
|
+
"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>",
|
|
809
|
+
"optional": false,
|
|
810
|
+
"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]",
|
|
603
811
|
"constraints": {
|
|
604
|
-
"notEmpty": true
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
812
|
+
"notEmpty": true
|
|
813
|
+
},
|
|
814
|
+
"feel": "required",
|
|
815
|
+
"group": "message",
|
|
816
|
+
"binding": {
|
|
817
|
+
"name": "data.blockContent",
|
|
818
|
+
"type": "zeebe:input"
|
|
819
|
+
},
|
|
820
|
+
"condition": {
|
|
821
|
+
"allMatch": [
|
|
822
|
+
{
|
|
823
|
+
"property": "data.messageType",
|
|
824
|
+
"equals": "messageBlock",
|
|
825
|
+
"type": "simple"
|
|
826
|
+
},
|
|
827
|
+
{
|
|
828
|
+
"property": "method",
|
|
829
|
+
"equals": "chat.postMessage",
|
|
830
|
+
"type": "simple"
|
|
831
|
+
}
|
|
832
|
+
]
|
|
833
|
+
},
|
|
834
|
+
"type": "String"
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
"id": "data.documents",
|
|
838
|
+
"label": "attachments",
|
|
839
|
+
"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",
|
|
840
|
+
"optional": true,
|
|
841
|
+
"feel": "required",
|
|
842
|
+
"group": "message",
|
|
843
|
+
"binding": {
|
|
844
|
+
"name": "data.documents",
|
|
845
|
+
"type": "zeebe:input"
|
|
609
846
|
},
|
|
610
847
|
"condition": {
|
|
611
848
|
"property": "method",
|
|
612
|
-
"equals": "chat.postMessage"
|
|
613
|
-
|
|
849
|
+
"equals": "chat.postMessage",
|
|
850
|
+
"type": "simple"
|
|
851
|
+
},
|
|
852
|
+
"type": "String"
|
|
614
853
|
},
|
|
615
854
|
{
|
|
616
|
-
"
|
|
855
|
+
"id": "data.channel",
|
|
856
|
+
"label": "Channel/user name/email",
|
|
857
|
+
"optional": false,
|
|
858
|
+
"constraints": {
|
|
859
|
+
"notEmpty": true
|
|
860
|
+
},
|
|
861
|
+
"feel": "optional",
|
|
617
862
|
"group": "channel",
|
|
618
|
-
"
|
|
863
|
+
"binding": {
|
|
864
|
+
"name": "data.channel",
|
|
865
|
+
"type": "zeebe:input"
|
|
866
|
+
},
|
|
867
|
+
"condition": {
|
|
868
|
+
"property": "method",
|
|
869
|
+
"equals": "chat.postMessage",
|
|
870
|
+
"type": "simple"
|
|
871
|
+
},
|
|
872
|
+
"type": "String"
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
"id": "data.thread",
|
|
876
|
+
"label": "Thread",
|
|
877
|
+
"optional": true,
|
|
619
878
|
"feel": "optional",
|
|
879
|
+
"group": "channel",
|
|
620
880
|
"binding": {
|
|
621
|
-
"
|
|
622
|
-
"
|
|
881
|
+
"name": "data.thread",
|
|
882
|
+
"type": "zeebe:input"
|
|
623
883
|
},
|
|
884
|
+
"condition": {
|
|
885
|
+
"property": "method",
|
|
886
|
+
"equals": "chat.postMessage",
|
|
887
|
+
"type": "simple"
|
|
888
|
+
},
|
|
889
|
+
"type": "String"
|
|
890
|
+
},
|
|
891
|
+
{
|
|
892
|
+
"id": "data.newChannelName",
|
|
893
|
+
"label": "Channel name",
|
|
894
|
+
"optional": false,
|
|
624
895
|
"constraints": {
|
|
625
896
|
"notEmpty": true,
|
|
626
897
|
"pattern": {
|
|
@@ -628,391 +899,419 @@
|
|
|
628
899
|
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
629
900
|
}
|
|
630
901
|
},
|
|
902
|
+
"feel": "optional",
|
|
903
|
+
"group": "channel",
|
|
904
|
+
"binding": {
|
|
905
|
+
"name": "data.newChannelName",
|
|
906
|
+
"type": "zeebe:input"
|
|
907
|
+
},
|
|
631
908
|
"condition": {
|
|
632
909
|
"property": "method",
|
|
633
|
-
"equals": "conversations.create"
|
|
634
|
-
|
|
910
|
+
"equals": "conversations.create",
|
|
911
|
+
"type": "simple"
|
|
912
|
+
},
|
|
913
|
+
"type": "String"
|
|
635
914
|
},
|
|
636
915
|
{
|
|
916
|
+
"id": "data.visibility",
|
|
637
917
|
"label": "Visibility",
|
|
918
|
+
"optional": false,
|
|
919
|
+
"value": "PUBLIC",
|
|
920
|
+
"constraints": {
|
|
921
|
+
"notEmpty": true
|
|
922
|
+
},
|
|
638
923
|
"group": "channel",
|
|
924
|
+
"binding": {
|
|
925
|
+
"name": "data.visibility",
|
|
926
|
+
"type": "zeebe:input"
|
|
927
|
+
},
|
|
928
|
+
"condition": {
|
|
929
|
+
"property": "method",
|
|
930
|
+
"equals": "conversations.create",
|
|
931
|
+
"type": "simple"
|
|
932
|
+
},
|
|
639
933
|
"type": "Dropdown",
|
|
640
|
-
"value": "PUBLIC",
|
|
641
|
-
"optional": false,
|
|
642
934
|
"choices": [
|
|
643
|
-
{
|
|
644
|
-
"name": "Private",
|
|
645
|
-
"value": "PRIVATE"
|
|
646
|
-
},
|
|
647
935
|
{
|
|
648
936
|
"name": "Public",
|
|
649
937
|
"value": "PUBLIC"
|
|
938
|
+
},
|
|
939
|
+
{
|
|
940
|
+
"name": "Private",
|
|
941
|
+
"value": "PRIVATE"
|
|
650
942
|
}
|
|
651
|
-
]
|
|
652
|
-
"binding": {
|
|
653
|
-
"type": "zeebe:input",
|
|
654
|
-
"name": "data.visibility"
|
|
655
|
-
},
|
|
656
|
-
"condition": {
|
|
657
|
-
"property": "method",
|
|
658
|
-
"equals": "conversations.create"
|
|
659
|
-
}
|
|
943
|
+
]
|
|
660
944
|
},
|
|
661
945
|
{
|
|
662
|
-
"
|
|
663
|
-
"
|
|
664
|
-
"
|
|
665
|
-
"
|
|
946
|
+
"id": "data.channelType",
|
|
947
|
+
"label": "Invite By",
|
|
948
|
+
"optional": false,
|
|
949
|
+
"value": "channelId",
|
|
950
|
+
"group": "invite",
|
|
666
951
|
"binding": {
|
|
667
|
-
"
|
|
668
|
-
"
|
|
669
|
-
},
|
|
670
|
-
"constraints": {
|
|
671
|
-
"notEmpty": true
|
|
952
|
+
"name": "data.channelType",
|
|
953
|
+
"type": "zeebe:input"
|
|
672
954
|
},
|
|
673
955
|
"condition": {
|
|
674
|
-
"
|
|
675
|
-
|
|
676
|
-
|
|
956
|
+
"allMatch": [
|
|
957
|
+
{
|
|
958
|
+
"property": "method",
|
|
959
|
+
"equals": "conversations.invite",
|
|
960
|
+
"type": "simple"
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
"property": "method",
|
|
964
|
+
"equals": "conversations.invite",
|
|
965
|
+
"type": "simple"
|
|
966
|
+
}
|
|
967
|
+
]
|
|
968
|
+
},
|
|
969
|
+
"type": "Dropdown",
|
|
970
|
+
"choices": [
|
|
971
|
+
{
|
|
972
|
+
"name": "Channel ID",
|
|
973
|
+
"value": "channelId"
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
"name": "Channel name",
|
|
977
|
+
"value": "channelName"
|
|
978
|
+
}
|
|
979
|
+
]
|
|
677
980
|
},
|
|
678
981
|
{
|
|
982
|
+
"id": "data.channelName",
|
|
679
983
|
"label": "Channel name",
|
|
680
|
-
"
|
|
681
|
-
"type": "String",
|
|
682
|
-
"feel": "optional",
|
|
683
|
-
"binding": {
|
|
684
|
-
"type": "zeebe:input",
|
|
685
|
-
"name": "data.channelName"
|
|
686
|
-
},
|
|
984
|
+
"optional": false,
|
|
687
985
|
"constraints": {
|
|
688
986
|
"notEmpty": true,
|
|
689
987
|
"pattern": {
|
|
690
|
-
"value": "^(=|[-_a-z0-9]{1,80}$)",
|
|
988
|
+
"value": "^(=|([-_a-z0-9]{1,80}$))",
|
|
691
989
|
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
692
990
|
}
|
|
693
991
|
},
|
|
992
|
+
"feel": "optional",
|
|
993
|
+
"group": "invite",
|
|
994
|
+
"binding": {
|
|
995
|
+
"name": "data.channelName",
|
|
996
|
+
"type": "zeebe:input"
|
|
997
|
+
},
|
|
694
998
|
"condition": {
|
|
695
|
-
"
|
|
696
|
-
|
|
697
|
-
|
|
999
|
+
"allMatch": [
|
|
1000
|
+
{
|
|
1001
|
+
"property": "data.channelType",
|
|
1002
|
+
"equals": "channelName",
|
|
1003
|
+
"type": "simple"
|
|
1004
|
+
},
|
|
1005
|
+
{
|
|
1006
|
+
"property": "method",
|
|
1007
|
+
"equals": "conversations.invite",
|
|
1008
|
+
"type": "simple"
|
|
1009
|
+
}
|
|
1010
|
+
]
|
|
1011
|
+
},
|
|
1012
|
+
"type": "String"
|
|
698
1013
|
},
|
|
699
1014
|
{
|
|
700
|
-
"
|
|
701
|
-
"
|
|
702
|
-
"
|
|
703
|
-
"
|
|
1015
|
+
"id": "data.channelId",
|
|
1016
|
+
"label": "Channel ID",
|
|
1017
|
+
"optional": false,
|
|
1018
|
+
"constraints": {
|
|
1019
|
+
"notEmpty": true,
|
|
1020
|
+
"pattern": {
|
|
1021
|
+
"value": "^(=|([-_a-z0-9]{1,80}$))",
|
|
1022
|
+
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
1023
|
+
}
|
|
1024
|
+
},
|
|
704
1025
|
"feel": "optional",
|
|
1026
|
+
"group": "invite",
|
|
705
1027
|
"binding": {
|
|
706
|
-
"
|
|
707
|
-
"
|
|
708
|
-
},
|
|
709
|
-
"constraints": {
|
|
710
|
-
"notEmpty": true
|
|
1028
|
+
"name": "data.channelId",
|
|
1029
|
+
"type": "zeebe:input"
|
|
711
1030
|
},
|
|
712
1031
|
"condition": {
|
|
713
|
-
"
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
}
|
|
726
|
-
|
|
727
|
-
{
|
|
728
|
-
"label": "Result expression",
|
|
729
|
-
"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>",
|
|
730
|
-
"group": "output",
|
|
731
|
-
"type": "Text",
|
|
732
|
-
"feel": "required",
|
|
733
|
-
"binding": {
|
|
734
|
-
"type": "zeebe:taskHeader",
|
|
735
|
-
"key": "resultExpression"
|
|
736
|
-
}
|
|
737
|
-
},
|
|
738
|
-
{
|
|
739
|
-
"label": "Error expression",
|
|
740
|
-
"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>",
|
|
741
|
-
"group": "errors",
|
|
742
|
-
"type": "Text",
|
|
743
|
-
"feel": "required",
|
|
744
|
-
"binding": {
|
|
745
|
-
"type": "zeebe:taskHeader",
|
|
746
|
-
"key": "errorExpression"
|
|
747
|
-
}
|
|
748
|
-
}
|
|
749
|
-
],
|
|
750
|
-
"engines": {
|
|
751
|
-
"camunda": "^8.2"
|
|
752
|
-
}
|
|
753
|
-
},
|
|
754
|
-
{
|
|
755
|
-
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
756
|
-
"name": "Slack connector",
|
|
757
|
-
"id": "io.camunda.connectors.Slack.v1",
|
|
758
|
-
"deprecated": {
|
|
759
|
-
"message": "Replace with 'Slack connector' template.",
|
|
760
|
-
"documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
|
|
761
|
-
},
|
|
762
|
-
"description": "Create a channel or send a message to a channel or user",
|
|
763
|
-
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/",
|
|
764
|
-
"icon": {
|
|
765
|
-
"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"
|
|
766
|
-
},
|
|
767
|
-
"category": {
|
|
768
|
-
"id": "connectors",
|
|
769
|
-
"name": "Connectors"
|
|
770
|
-
},
|
|
771
|
-
"appliesTo": ["bpmn:Task"],
|
|
772
|
-
"elementType": {
|
|
773
|
-
"value": "bpmn:ServiceTask"
|
|
774
|
-
},
|
|
775
|
-
"groups": [
|
|
776
|
-
{
|
|
777
|
-
"id": "method",
|
|
778
|
-
"label": "Method"
|
|
779
|
-
},
|
|
780
|
-
{
|
|
781
|
-
"id": "authentication",
|
|
782
|
-
"label": "Authentication"
|
|
783
|
-
},
|
|
784
|
-
{
|
|
785
|
-
"id": "message",
|
|
786
|
-
"label": "Message"
|
|
787
|
-
},
|
|
788
|
-
{
|
|
789
|
-
"id": "channel",
|
|
790
|
-
"label": "Channel"
|
|
791
|
-
},
|
|
792
|
-
{
|
|
793
|
-
"id": "invite",
|
|
794
|
-
"label": "Invite"
|
|
795
|
-
},
|
|
796
|
-
{
|
|
797
|
-
"id": "output",
|
|
798
|
-
"label": "Output mapping"
|
|
799
|
-
},
|
|
800
|
-
{
|
|
801
|
-
"id": "errors",
|
|
802
|
-
"label": "Error handling"
|
|
803
|
-
}
|
|
804
|
-
],
|
|
805
|
-
"properties": [
|
|
806
|
-
{
|
|
807
|
-
"type": "Hidden",
|
|
808
|
-
"value": "io.camunda:slack:1",
|
|
809
|
-
"binding": {
|
|
810
|
-
"type": "zeebe:taskDefinition",
|
|
811
|
-
"property": "type"
|
|
812
|
-
}
|
|
1032
|
+
"allMatch": [
|
|
1033
|
+
{
|
|
1034
|
+
"property": "data.channelType",
|
|
1035
|
+
"equals": "channelId",
|
|
1036
|
+
"type": "simple"
|
|
1037
|
+
},
|
|
1038
|
+
{
|
|
1039
|
+
"property": "method",
|
|
1040
|
+
"equals": "conversations.invite",
|
|
1041
|
+
"type": "simple"
|
|
1042
|
+
}
|
|
1043
|
+
]
|
|
1044
|
+
},
|
|
1045
|
+
"type": "String"
|
|
813
1046
|
},
|
|
814
1047
|
{
|
|
815
|
-
"
|
|
816
|
-
"
|
|
817
|
-
"
|
|
818
|
-
"
|
|
819
|
-
"
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
},
|
|
825
|
-
{
|
|
826
|
-
"name": "Create channel",
|
|
827
|
-
"value": "conversations.create"
|
|
828
|
-
},
|
|
829
|
-
{
|
|
830
|
-
"name": "Invite to channel",
|
|
831
|
-
"value": "conversations.invite"
|
|
832
|
-
}
|
|
833
|
-
],
|
|
1048
|
+
"id": "data.users",
|
|
1049
|
+
"label": "Users",
|
|
1050
|
+
"description": "Comma-separated list of users, e.g., '@user1,@user2' or '=[ \"@user1\", \"user2@company.com\"]'",
|
|
1051
|
+
"optional": false,
|
|
1052
|
+
"constraints": {
|
|
1053
|
+
"notEmpty": true
|
|
1054
|
+
},
|
|
1055
|
+
"feel": "optional",
|
|
1056
|
+
"group": "invite",
|
|
834
1057
|
"binding": {
|
|
835
|
-
"
|
|
836
|
-
"
|
|
837
|
-
}
|
|
1058
|
+
"name": "data.users",
|
|
1059
|
+
"type": "zeebe:input"
|
|
1060
|
+
},
|
|
1061
|
+
"condition": {
|
|
1062
|
+
"property": "method",
|
|
1063
|
+
"equals": "conversations.invite",
|
|
1064
|
+
"type": "simple"
|
|
1065
|
+
},
|
|
1066
|
+
"type": "String"
|
|
838
1067
|
},
|
|
839
1068
|
{
|
|
840
|
-
"
|
|
841
|
-
"
|
|
842
|
-
"
|
|
1069
|
+
"id": "reaction.channel",
|
|
1070
|
+
"label": "Channel",
|
|
1071
|
+
"description": "Channel ID of the message to react to",
|
|
1072
|
+
"optional": false,
|
|
1073
|
+
"constraints": {
|
|
1074
|
+
"notEmpty": true
|
|
1075
|
+
},
|
|
843
1076
|
"feel": "optional",
|
|
1077
|
+
"group": "reaction",
|
|
844
1078
|
"binding": {
|
|
845
|
-
"
|
|
846
|
-
"
|
|
1079
|
+
"name": "data.channel",
|
|
1080
|
+
"type": "zeebe:input"
|
|
847
1081
|
},
|
|
848
|
-
"
|
|
849
|
-
"
|
|
850
|
-
|
|
1082
|
+
"condition": {
|
|
1083
|
+
"property": "method",
|
|
1084
|
+
"equals": "reactions.add",
|
|
1085
|
+
"type": "simple"
|
|
1086
|
+
},
|
|
1087
|
+
"type": "String"
|
|
851
1088
|
},
|
|
852
1089
|
{
|
|
853
|
-
"
|
|
854
|
-
"
|
|
855
|
-
"
|
|
1090
|
+
"id": "data.emoji",
|
|
1091
|
+
"label": "Emoji name",
|
|
1092
|
+
"description": "Emoji name (e.g. eyes)",
|
|
1093
|
+
"optional": false,
|
|
1094
|
+
"constraints": {
|
|
1095
|
+
"notEmpty": true
|
|
1096
|
+
},
|
|
856
1097
|
"feel": "optional",
|
|
1098
|
+
"group": "reaction",
|
|
857
1099
|
"binding": {
|
|
858
|
-
"
|
|
859
|
-
"
|
|
1100
|
+
"name": "data.emoji",
|
|
1101
|
+
"type": "zeebe:input"
|
|
1102
|
+
},
|
|
1103
|
+
"condition": {
|
|
1104
|
+
"property": "method",
|
|
1105
|
+
"equals": "reactions.add",
|
|
1106
|
+
"type": "simple"
|
|
860
1107
|
},
|
|
1108
|
+
"type": "String"
|
|
1109
|
+
},
|
|
1110
|
+
{
|
|
1111
|
+
"id": "data.timestamp",
|
|
1112
|
+
"label": "Message timestamp",
|
|
1113
|
+
"description": "Timestamp of the Slack message to react to",
|
|
1114
|
+
"optional": false,
|
|
861
1115
|
"constraints": {
|
|
862
|
-
"notEmpty": true
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
1116
|
+
"notEmpty": true
|
|
1117
|
+
},
|
|
1118
|
+
"feel": "required",
|
|
1119
|
+
"group": "reaction",
|
|
1120
|
+
"binding": {
|
|
1121
|
+
"name": "data.timestamp",
|
|
1122
|
+
"type": "zeebe:input"
|
|
867
1123
|
},
|
|
868
1124
|
"condition": {
|
|
869
1125
|
"property": "method",
|
|
870
|
-
"equals": "
|
|
871
|
-
|
|
1126
|
+
"equals": "reactions.add",
|
|
1127
|
+
"type": "simple"
|
|
1128
|
+
},
|
|
1129
|
+
"type": "String"
|
|
872
1130
|
},
|
|
873
1131
|
{
|
|
874
|
-
"
|
|
875
|
-
"
|
|
876
|
-
"
|
|
1132
|
+
"id": "pinMessage.channel",
|
|
1133
|
+
"label": "Channel",
|
|
1134
|
+
"description": "Channel ID of the message to pin",
|
|
1135
|
+
"optional": false,
|
|
1136
|
+
"constraints": {
|
|
1137
|
+
"notEmpty": true
|
|
1138
|
+
},
|
|
877
1139
|
"feel": "optional",
|
|
1140
|
+
"group": "pinMessage",
|
|
878
1141
|
"binding": {
|
|
879
|
-
"
|
|
880
|
-
"
|
|
881
|
-
},
|
|
882
|
-
"constraints": {
|
|
883
|
-
"notEmpty": true,
|
|
884
|
-
"pattern": {
|
|
885
|
-
"value": "^(=|([-_a-z0-9]{1,80}$))",
|
|
886
|
-
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
887
|
-
}
|
|
1142
|
+
"name": "data.channel",
|
|
1143
|
+
"type": "zeebe:input"
|
|
888
1144
|
},
|
|
889
1145
|
"condition": {
|
|
890
1146
|
"property": "method",
|
|
891
|
-
"equals": "
|
|
892
|
-
|
|
1147
|
+
"equals": "pins.add",
|
|
1148
|
+
"type": "simple"
|
|
1149
|
+
},
|
|
1150
|
+
"type": "String"
|
|
893
1151
|
},
|
|
894
1152
|
{
|
|
895
|
-
"
|
|
896
|
-
"
|
|
897
|
-
"
|
|
898
|
-
"value": "PUBLIC",
|
|
1153
|
+
"id": "pinMessage.timestamp",
|
|
1154
|
+
"label": "Message timestamp",
|
|
1155
|
+
"description": "Timestamp of the Slack message to pin",
|
|
899
1156
|
"optional": false,
|
|
900
|
-
"
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
{
|
|
906
|
-
"name": "Public",
|
|
907
|
-
"value": "PUBLIC"
|
|
908
|
-
}
|
|
909
|
-
],
|
|
1157
|
+
"constraints": {
|
|
1158
|
+
"notEmpty": true
|
|
1159
|
+
},
|
|
1160
|
+
"feel": "required",
|
|
1161
|
+
"group": "pinMessage",
|
|
910
1162
|
"binding": {
|
|
911
|
-
"
|
|
912
|
-
"
|
|
1163
|
+
"name": "data.timestamp",
|
|
1164
|
+
"type": "zeebe:input"
|
|
913
1165
|
},
|
|
914
1166
|
"condition": {
|
|
915
1167
|
"property": "method",
|
|
916
|
-
"equals": "
|
|
917
|
-
|
|
1168
|
+
"equals": "pins.add",
|
|
1169
|
+
"type": "simple"
|
|
1170
|
+
},
|
|
1171
|
+
"type": "String"
|
|
918
1172
|
},
|
|
919
1173
|
{
|
|
920
|
-
"
|
|
921
|
-
"
|
|
922
|
-
"
|
|
923
|
-
"
|
|
924
|
-
"binding": {
|
|
925
|
-
"type": "zeebe:input",
|
|
926
|
-
"name": "data.text"
|
|
927
|
-
},
|
|
1174
|
+
"id": "unpinMessage.channel",
|
|
1175
|
+
"label": "Channel",
|
|
1176
|
+
"description": "Channel ID of the message to unpin",
|
|
1177
|
+
"optional": false,
|
|
928
1178
|
"constraints": {
|
|
929
1179
|
"notEmpty": true
|
|
930
1180
|
},
|
|
1181
|
+
"feel": "optional",
|
|
1182
|
+
"group": "unpinMessage",
|
|
1183
|
+
"binding": {
|
|
1184
|
+
"name": "data.channel",
|
|
1185
|
+
"type": "zeebe:input"
|
|
1186
|
+
},
|
|
931
1187
|
"condition": {
|
|
932
1188
|
"property": "method",
|
|
933
|
-
"equals": "
|
|
934
|
-
|
|
1189
|
+
"equals": "pins.remove",
|
|
1190
|
+
"type": "simple"
|
|
1191
|
+
},
|
|
1192
|
+
"type": "String"
|
|
935
1193
|
},
|
|
936
1194
|
{
|
|
937
|
-
"
|
|
938
|
-
"
|
|
939
|
-
"
|
|
940
|
-
"
|
|
941
|
-
"binding": {
|
|
942
|
-
"type": "zeebe:input",
|
|
943
|
-
"name": "data.channelName"
|
|
944
|
-
},
|
|
1195
|
+
"id": "unpinMessage.timestamp",
|
|
1196
|
+
"label": "Message timestamp",
|
|
1197
|
+
"description": "Timestamp of the Slack message to unpin",
|
|
1198
|
+
"optional": false,
|
|
945
1199
|
"constraints": {
|
|
946
|
-
"notEmpty": true
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
1200
|
+
"notEmpty": true
|
|
1201
|
+
},
|
|
1202
|
+
"feel": "required",
|
|
1203
|
+
"group": "unpinMessage",
|
|
1204
|
+
"binding": {
|
|
1205
|
+
"name": "data.timestamp",
|
|
1206
|
+
"type": "zeebe:input"
|
|
951
1207
|
},
|
|
952
1208
|
"condition": {
|
|
953
1209
|
"property": "method",
|
|
954
|
-
"equals": "
|
|
955
|
-
|
|
1210
|
+
"equals": "pins.remove",
|
|
1211
|
+
"type": "simple"
|
|
1212
|
+
},
|
|
1213
|
+
"type": "String"
|
|
956
1214
|
},
|
|
957
1215
|
{
|
|
958
|
-
"
|
|
959
|
-
"
|
|
960
|
-
"
|
|
961
|
-
"
|
|
962
|
-
"
|
|
1216
|
+
"id": "version",
|
|
1217
|
+
"label": "Version",
|
|
1218
|
+
"description": "Version of the element template",
|
|
1219
|
+
"value": "9",
|
|
1220
|
+
"group": "connector",
|
|
963
1221
|
"binding": {
|
|
964
|
-
"
|
|
965
|
-
"
|
|
1222
|
+
"key": "elementTemplateVersion",
|
|
1223
|
+
"type": "zeebe:taskHeader"
|
|
966
1224
|
},
|
|
967
|
-
"
|
|
968
|
-
|
|
1225
|
+
"type": "Hidden"
|
|
1226
|
+
},
|
|
1227
|
+
{
|
|
1228
|
+
"id": "id",
|
|
1229
|
+
"label": "ID",
|
|
1230
|
+
"description": "ID of the element template",
|
|
1231
|
+
"value": "io.camunda.connectors.Slack.v1",
|
|
1232
|
+
"group": "connector",
|
|
1233
|
+
"binding": {
|
|
1234
|
+
"key": "elementTemplateId",
|
|
1235
|
+
"type": "zeebe:taskHeader"
|
|
969
1236
|
},
|
|
970
|
-
"
|
|
971
|
-
"property": "method",
|
|
972
|
-
"equals": "conversations.invite"
|
|
973
|
-
}
|
|
1237
|
+
"type": "Hidden"
|
|
974
1238
|
},
|
|
975
1239
|
{
|
|
1240
|
+
"id": "resultVariable",
|
|
976
1241
|
"label": "Result variable",
|
|
977
|
-
"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
|
|
1242
|
+
"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>.",
|
|
978
1243
|
"group": "output",
|
|
979
|
-
"type": "String",
|
|
980
1244
|
"binding": {
|
|
981
|
-
"
|
|
982
|
-
"
|
|
983
|
-
}
|
|
1245
|
+
"key": "resultVariable",
|
|
1246
|
+
"type": "zeebe:taskHeader"
|
|
1247
|
+
},
|
|
1248
|
+
"type": "String"
|
|
984
1249
|
},
|
|
985
1250
|
{
|
|
1251
|
+
"id": "resultExpression",
|
|
986
1252
|
"label": "Result expression",
|
|
987
|
-
"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
|
|
988
|
-
"
|
|
989
|
-
"type": "Text",
|
|
1253
|
+
"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>.",
|
|
1254
|
+
"value": "{\n myResponse: response\n // Use FEEL to extract values depending on message\n // type, e.g.,: myMessage: response.message.text\n}",
|
|
990
1255
|
"feel": "required",
|
|
1256
|
+
"group": "output",
|
|
991
1257
|
"binding": {
|
|
992
|
-
"
|
|
993
|
-
"
|
|
994
|
-
}
|
|
1258
|
+
"key": "resultExpression",
|
|
1259
|
+
"type": "zeebe:taskHeader"
|
|
1260
|
+
},
|
|
1261
|
+
"type": "Text"
|
|
995
1262
|
},
|
|
996
1263
|
{
|
|
1264
|
+
"id": "errorExpression",
|
|
997
1265
|
"label": "Error expression",
|
|
998
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
999
|
-
"group": "errors",
|
|
1000
|
-
"type": "Text",
|
|
1266
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
|
|
1001
1267
|
"feel": "required",
|
|
1268
|
+
"group": "error",
|
|
1002
1269
|
"binding": {
|
|
1003
|
-
"
|
|
1004
|
-
"
|
|
1005
|
-
}
|
|
1270
|
+
"key": "errorExpression",
|
|
1271
|
+
"type": "zeebe:taskHeader"
|
|
1272
|
+
},
|
|
1273
|
+
"type": "Text"
|
|
1274
|
+
},
|
|
1275
|
+
{
|
|
1276
|
+
"id": "retryCount",
|
|
1277
|
+
"label": "Retries",
|
|
1278
|
+
"description": "Number of retries",
|
|
1279
|
+
"value": "3",
|
|
1280
|
+
"feel": "optional",
|
|
1281
|
+
"group": "retries",
|
|
1282
|
+
"binding": {
|
|
1283
|
+
"property": "retries",
|
|
1284
|
+
"type": "zeebe:taskDefinition"
|
|
1285
|
+
},
|
|
1286
|
+
"type": "String"
|
|
1287
|
+
},
|
|
1288
|
+
{
|
|
1289
|
+
"id": "retryBackoff",
|
|
1290
|
+
"label": "Retry backoff",
|
|
1291
|
+
"description": "ISO-8601 duration to wait between retries",
|
|
1292
|
+
"value": "PT0S",
|
|
1293
|
+
"group": "retries",
|
|
1294
|
+
"binding": {
|
|
1295
|
+
"key": "retryBackoff",
|
|
1296
|
+
"type": "zeebe:taskHeader"
|
|
1297
|
+
},
|
|
1298
|
+
"type": "String"
|
|
1006
1299
|
}
|
|
1007
|
-
]
|
|
1300
|
+
],
|
|
1301
|
+
"icon": {
|
|
1302
|
+
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
|
|
1303
|
+
}
|
|
1008
1304
|
},
|
|
1009
1305
|
{
|
|
1010
1306
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
1011
|
-
"name": "Slack
|
|
1307
|
+
"name": "Slack connector",
|
|
1012
1308
|
"id": "io.camunda.connectors.Slack.v1",
|
|
1309
|
+
"version": 1,
|
|
1013
1310
|
"description": "Create a channel or send a message to a channel or user",
|
|
1014
|
-
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack
|
|
1015
|
-
"
|
|
1311
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/",
|
|
1312
|
+
"icon": {
|
|
1313
|
+
"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"
|
|
1314
|
+
},
|
|
1016
1315
|
"category": {
|
|
1017
1316
|
"id": "connectors",
|
|
1018
1317
|
"name": "Connectors"
|
|
@@ -1022,14 +1321,14 @@
|
|
|
1022
1321
|
"value": "bpmn:ServiceTask"
|
|
1023
1322
|
},
|
|
1024
1323
|
"groups": [
|
|
1025
|
-
{
|
|
1026
|
-
"id": "authentication",
|
|
1027
|
-
"label": "Authentication"
|
|
1028
|
-
},
|
|
1029
1324
|
{
|
|
1030
1325
|
"id": "method",
|
|
1031
1326
|
"label": "Method"
|
|
1032
1327
|
},
|
|
1328
|
+
{
|
|
1329
|
+
"id": "authentication",
|
|
1330
|
+
"label": "Authentication"
|
|
1331
|
+
},
|
|
1033
1332
|
{
|
|
1034
1333
|
"id": "message",
|
|
1035
1334
|
"label": "Message"
|
|
@@ -1047,48 +1346,25 @@
|
|
|
1047
1346
|
"label": "Output mapping"
|
|
1048
1347
|
},
|
|
1049
1348
|
{
|
|
1050
|
-
"id": "
|
|
1349
|
+
"id": "errors",
|
|
1051
1350
|
"label": "Error handling"
|
|
1052
|
-
},
|
|
1053
|
-
{
|
|
1054
|
-
"id": "retries",
|
|
1055
|
-
"label": "Retries"
|
|
1056
1351
|
}
|
|
1057
1352
|
],
|
|
1058
1353
|
"properties": [
|
|
1059
1354
|
{
|
|
1355
|
+
"type": "Hidden",
|
|
1060
1356
|
"value": "io.camunda:slack:1",
|
|
1061
1357
|
"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"
|
|
1358
|
+
"type": "zeebe:taskDefinition",
|
|
1359
|
+
"property": "type"
|
|
1360
|
+
}
|
|
1081
1361
|
},
|
|
1082
1362
|
{
|
|
1083
|
-
"id": "method",
|
|
1084
1363
|
"label": "Method",
|
|
1085
|
-
"value": "chat.postMessage",
|
|
1086
1364
|
"group": "method",
|
|
1087
|
-
"
|
|
1088
|
-
"name": "method",
|
|
1089
|
-
"type": "zeebe:input"
|
|
1090
|
-
},
|
|
1365
|
+
"id": "method",
|
|
1091
1366
|
"type": "Dropdown",
|
|
1367
|
+
"value": "chat.postMessage",
|
|
1092
1368
|
"choices": [
|
|
1093
1369
|
{
|
|
1094
1370
|
"name": "Post message",
|
|
@@ -1096,151 +1372,61 @@
|
|
|
1096
1372
|
},
|
|
1097
1373
|
{
|
|
1098
1374
|
"name": "Create channel",
|
|
1099
|
-
"value": "conversations.create"
|
|
1100
|
-
},
|
|
1101
|
-
{
|
|
1102
|
-
"name": "Invite to channel",
|
|
1103
|
-
"value": "conversations.invite"
|
|
1104
|
-
}
|
|
1105
|
-
]
|
|
1106
|
-
},
|
|
1107
|
-
{
|
|
1108
|
-
"id": "data.messageType",
|
|
1109
|
-
"label": "Message type",
|
|
1110
|
-
"optional": false,
|
|
1111
|
-
"value": "plainText",
|
|
1112
|
-
"group": "message",
|
|
1113
|
-
"binding": {
|
|
1114
|
-
"name": "data.messageType",
|
|
1115
|
-
"type": "zeebe:input"
|
|
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"
|
|
1375
|
+
"value": "conversations.create"
|
|
1136
1376
|
},
|
|
1137
1377
|
{
|
|
1138
|
-
"name": "
|
|
1139
|
-
"value": "
|
|
1378
|
+
"name": "Invite to channel",
|
|
1379
|
+
"value": "conversations.invite"
|
|
1140
1380
|
}
|
|
1141
|
-
]
|
|
1381
|
+
],
|
|
1382
|
+
"binding": {
|
|
1383
|
+
"type": "zeebe:input",
|
|
1384
|
+
"name": "method"
|
|
1385
|
+
}
|
|
1142
1386
|
},
|
|
1143
1387
|
{
|
|
1144
|
-
"
|
|
1145
|
-
"
|
|
1146
|
-
"
|
|
1147
|
-
"constraints": {
|
|
1148
|
-
"notEmpty": true
|
|
1149
|
-
},
|
|
1388
|
+
"label": "OAuth token",
|
|
1389
|
+
"group": "authentication",
|
|
1390
|
+
"type": "String",
|
|
1150
1391
|
"feel": "optional",
|
|
1151
|
-
"group": "message",
|
|
1152
1392
|
"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
|
-
]
|
|
1393
|
+
"type": "zeebe:input",
|
|
1394
|
+
"name": "token"
|
|
1169
1395
|
},
|
|
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
1396
|
"constraints": {
|
|
1179
1397
|
"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"
|
|
1398
|
+
}
|
|
1202
1399
|
},
|
|
1203
1400
|
{
|
|
1204
|
-
"id": "data.channel",
|
|
1205
1401
|
"label": "Channel/user name/email",
|
|
1206
|
-
"optional": false,
|
|
1207
|
-
"constraints": {
|
|
1208
|
-
"notEmpty": true
|
|
1209
|
-
},
|
|
1210
|
-
"feel": "optional",
|
|
1211
1402
|
"group": "channel",
|
|
1403
|
+
"type": "String",
|
|
1404
|
+
"feel": "optional",
|
|
1212
1405
|
"binding": {
|
|
1213
|
-
"
|
|
1214
|
-
"
|
|
1406
|
+
"type": "zeebe:input",
|
|
1407
|
+
"name": "data.channel"
|
|
1408
|
+
},
|
|
1409
|
+
"constraints": {
|
|
1410
|
+
"notEmpty": true,
|
|
1411
|
+
"pattern": {
|
|
1412
|
+
"value": "(^(#|@|=).*)|(^.+[@].+[.].{2,4}$)",
|
|
1413
|
+
"message": "Must be a #channel, @user, email or FEEL expression."
|
|
1414
|
+
}
|
|
1215
1415
|
},
|
|
1216
1416
|
"condition": {
|
|
1217
1417
|
"property": "method",
|
|
1218
|
-
"equals": "chat.postMessage"
|
|
1219
|
-
|
|
1220
|
-
},
|
|
1221
|
-
"type": "String"
|
|
1418
|
+
"equals": "chat.postMessage"
|
|
1419
|
+
}
|
|
1222
1420
|
},
|
|
1223
1421
|
{
|
|
1224
|
-
"
|
|
1225
|
-
"label": "Thread",
|
|
1226
|
-
"optional": true,
|
|
1227
|
-
"feel": "optional",
|
|
1422
|
+
"label": "New channel name",
|
|
1228
1423
|
"group": "channel",
|
|
1424
|
+
"type": "String",
|
|
1425
|
+
"feel": "optional",
|
|
1229
1426
|
"binding": {
|
|
1230
|
-
"
|
|
1231
|
-
"
|
|
1232
|
-
},
|
|
1233
|
-
"condition": {
|
|
1234
|
-
"property": "method",
|
|
1235
|
-
"equals": "chat.postMessage",
|
|
1236
|
-
"type": "simple"
|
|
1427
|
+
"type": "zeebe:input",
|
|
1428
|
+
"name": "data.newChannelName"
|
|
1237
1429
|
},
|
|
1238
|
-
"type": "String"
|
|
1239
|
-
},
|
|
1240
|
-
{
|
|
1241
|
-
"id": "data.newChannelName",
|
|
1242
|
-
"label": "Channel name",
|
|
1243
|
-
"optional": false,
|
|
1244
1430
|
"constraints": {
|
|
1245
1431
|
"notEmpty": true,
|
|
1246
1432
|
"pattern": {
|
|
@@ -1248,53 +1434,62 @@
|
|
|
1248
1434
|
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
1249
1435
|
}
|
|
1250
1436
|
},
|
|
1251
|
-
"feel": "optional",
|
|
1252
|
-
"group": "channel",
|
|
1253
|
-
"binding": {
|
|
1254
|
-
"name": "data.newChannelName",
|
|
1255
|
-
"type": "zeebe:input"
|
|
1256
|
-
},
|
|
1257
1437
|
"condition": {
|
|
1258
1438
|
"property": "method",
|
|
1259
|
-
"equals": "conversations.create"
|
|
1260
|
-
|
|
1261
|
-
},
|
|
1262
|
-
"type": "String"
|
|
1439
|
+
"equals": "conversations.create"
|
|
1440
|
+
}
|
|
1263
1441
|
},
|
|
1264
1442
|
{
|
|
1265
|
-
"id": "data.visibility",
|
|
1266
1443
|
"label": "Visibility",
|
|
1267
|
-
"optional": false,
|
|
1268
|
-
"value": "PUBLIC",
|
|
1269
|
-
"constraints": {
|
|
1270
|
-
"notEmpty": true
|
|
1271
|
-
},
|
|
1272
1444
|
"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
1445
|
"type": "Dropdown",
|
|
1446
|
+
"value": "PUBLIC",
|
|
1447
|
+
"optional": false,
|
|
1283
1448
|
"choices": [
|
|
1284
|
-
{
|
|
1285
|
-
"name": "Public",
|
|
1286
|
-
"value": "PUBLIC"
|
|
1287
|
-
},
|
|
1288
1449
|
{
|
|
1289
1450
|
"name": "Private",
|
|
1290
1451
|
"value": "PRIVATE"
|
|
1452
|
+
},
|
|
1453
|
+
{
|
|
1454
|
+
"name": "Public",
|
|
1455
|
+
"value": "PUBLIC"
|
|
1291
1456
|
}
|
|
1292
|
-
]
|
|
1457
|
+
],
|
|
1458
|
+
"binding": {
|
|
1459
|
+
"type": "zeebe:input",
|
|
1460
|
+
"name": "data.visibility"
|
|
1461
|
+
},
|
|
1462
|
+
"condition": {
|
|
1463
|
+
"property": "method",
|
|
1464
|
+
"equals": "conversations.create"
|
|
1465
|
+
}
|
|
1466
|
+
},
|
|
1467
|
+
{
|
|
1468
|
+
"label": "Message",
|
|
1469
|
+
"group": "message",
|
|
1470
|
+
"type": "Text",
|
|
1471
|
+
"feel": "optional",
|
|
1472
|
+
"binding": {
|
|
1473
|
+
"type": "zeebe:input",
|
|
1474
|
+
"name": "data.text"
|
|
1475
|
+
},
|
|
1476
|
+
"constraints": {
|
|
1477
|
+
"notEmpty": true
|
|
1478
|
+
},
|
|
1479
|
+
"condition": {
|
|
1480
|
+
"property": "method",
|
|
1481
|
+
"equals": "chat.postMessage"
|
|
1482
|
+
}
|
|
1293
1483
|
},
|
|
1294
1484
|
{
|
|
1295
|
-
"id": "data.channelName",
|
|
1296
1485
|
"label": "Channel name",
|
|
1297
|
-
"
|
|
1486
|
+
"group": "invite",
|
|
1487
|
+
"type": "String",
|
|
1488
|
+
"feel": "optional",
|
|
1489
|
+
"binding": {
|
|
1490
|
+
"type": "zeebe:input",
|
|
1491
|
+
"name": "data.channelName"
|
|
1492
|
+
},
|
|
1298
1493
|
"constraints": {
|
|
1299
1494
|
"notEmpty": true,
|
|
1300
1495
|
"pattern": {
|
|
@@ -1302,116 +1497,79 @@
|
|
|
1302
1497
|
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
1303
1498
|
}
|
|
1304
1499
|
},
|
|
1305
|
-
"feel": "optional",
|
|
1306
|
-
"group": "invite",
|
|
1307
|
-
"binding": {
|
|
1308
|
-
"name": "data.channelName",
|
|
1309
|
-
"type": "zeebe:input"
|
|
1310
|
-
},
|
|
1311
1500
|
"condition": {
|
|
1312
1501
|
"property": "method",
|
|
1313
|
-
"equals": "conversations.invite"
|
|
1314
|
-
|
|
1315
|
-
},
|
|
1316
|
-
"type": "String"
|
|
1502
|
+
"equals": "conversations.invite"
|
|
1503
|
+
}
|
|
1317
1504
|
},
|
|
1318
1505
|
{
|
|
1319
|
-
"id": "data.users",
|
|
1320
1506
|
"label": "Users",
|
|
1321
1507
|
"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
1508
|
"group": "invite",
|
|
1509
|
+
"type": "String",
|
|
1510
|
+
"feel": "optional",
|
|
1328
1511
|
"binding": {
|
|
1329
|
-
"
|
|
1330
|
-
"
|
|
1512
|
+
"type": "zeebe:input",
|
|
1513
|
+
"name": "data.users"
|
|
1514
|
+
},
|
|
1515
|
+
"constraints": {
|
|
1516
|
+
"notEmpty": true
|
|
1331
1517
|
},
|
|
1332
1518
|
"condition": {
|
|
1333
1519
|
"property": "method",
|
|
1334
|
-
"equals": "conversations.invite"
|
|
1335
|
-
|
|
1336
|
-
},
|
|
1337
|
-
"type": "String"
|
|
1520
|
+
"equals": "conversations.invite"
|
|
1521
|
+
}
|
|
1338
1522
|
},
|
|
1339
1523
|
{
|
|
1340
|
-
"id": "resultVariable",
|
|
1341
1524
|
"label": "Result variable",
|
|
1342
|
-
"description": "Name of variable to store the response in",
|
|
1343
|
-
"group": "output",
|
|
1344
|
-
"binding": {
|
|
1345
|
-
"key": "resultVariable",
|
|
1346
|
-
"type": "zeebe:taskHeader"
|
|
1347
|
-
},
|
|
1348
|
-
"type": "String"
|
|
1349
|
-
},
|
|
1350
|
-
{
|
|
1351
|
-
"id": "resultExpression",
|
|
1352
|
-
"label": "Result expression",
|
|
1353
|
-
"description": "Expression to map the response into process variables",
|
|
1354
|
-
"feel": "required",
|
|
1525
|
+
"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>",
|
|
1355
1526
|
"group": "output",
|
|
1527
|
+
"type": "String",
|
|
1356
1528
|
"binding": {
|
|
1357
|
-
"
|
|
1358
|
-
"
|
|
1359
|
-
}
|
|
1360
|
-
"type": "Text"
|
|
1361
|
-
},
|
|
1362
|
-
{
|
|
1363
|
-
"id": "errorExpression",
|
|
1364
|
-
"label": "Error expression",
|
|
1365
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
|
|
1366
|
-
"feel": "required",
|
|
1367
|
-
"group": "error",
|
|
1368
|
-
"binding": {
|
|
1369
|
-
"key": "errorExpression",
|
|
1370
|
-
"type": "zeebe:taskHeader"
|
|
1371
|
-
},
|
|
1372
|
-
"type": "Text"
|
|
1529
|
+
"type": "zeebe:taskHeader",
|
|
1530
|
+
"key": "resultVariable"
|
|
1531
|
+
}
|
|
1373
1532
|
},
|
|
1374
1533
|
{
|
|
1375
|
-
"
|
|
1376
|
-
"
|
|
1377
|
-
"
|
|
1378
|
-
"
|
|
1379
|
-
"feel": "
|
|
1380
|
-
"group": "retries",
|
|
1534
|
+
"label": "Result expression",
|
|
1535
|
+
"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>",
|
|
1536
|
+
"group": "output",
|
|
1537
|
+
"type": "Text",
|
|
1538
|
+
"feel": "required",
|
|
1381
1539
|
"binding": {
|
|
1382
|
-
"
|
|
1383
|
-
"
|
|
1384
|
-
}
|
|
1385
|
-
"type": "String"
|
|
1540
|
+
"type": "zeebe:taskHeader",
|
|
1541
|
+
"key": "resultExpression"
|
|
1542
|
+
}
|
|
1386
1543
|
},
|
|
1387
1544
|
{
|
|
1388
|
-
"
|
|
1389
|
-
"
|
|
1390
|
-
"
|
|
1391
|
-
"
|
|
1392
|
-
"feel": "
|
|
1393
|
-
"group": "retries",
|
|
1545
|
+
"label": "Error expression",
|
|
1546
|
+
"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>",
|
|
1547
|
+
"group": "errors",
|
|
1548
|
+
"type": "Text",
|
|
1549
|
+
"feel": "required",
|
|
1394
1550
|
"binding": {
|
|
1395
|
-
"
|
|
1396
|
-
"
|
|
1397
|
-
}
|
|
1398
|
-
"type": "String"
|
|
1551
|
+
"type": "zeebe:taskHeader",
|
|
1552
|
+
"key": "errorExpression"
|
|
1553
|
+
}
|
|
1399
1554
|
}
|
|
1400
1555
|
],
|
|
1401
|
-
"icon": {
|
|
1402
|
-
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
|
|
1403
|
-
},
|
|
1404
1556
|
"engines": {
|
|
1405
|
-
"camunda": "^8.
|
|
1557
|
+
"camunda": "^8.2"
|
|
1406
1558
|
}
|
|
1407
1559
|
},
|
|
1408
1560
|
{
|
|
1409
1561
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
1410
|
-
"name": "Slack
|
|
1562
|
+
"name": "Slack connector",
|
|
1411
1563
|
"id": "io.camunda.connectors.Slack.v1",
|
|
1564
|
+
"deprecated": {
|
|
1565
|
+
"message": "Replace with 'Slack connector' template.",
|
|
1566
|
+
"documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
|
|
1567
|
+
},
|
|
1412
1568
|
"description": "Create a channel or send a message to a channel or user",
|
|
1413
|
-
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack
|
|
1414
|
-
"
|
|
1569
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/",
|
|
1570
|
+
"icon": {
|
|
1571
|
+
"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"
|
|
1572
|
+
},
|
|
1415
1573
|
"category": {
|
|
1416
1574
|
"id": "connectors",
|
|
1417
1575
|
"name": "Connectors"
|
|
@@ -1421,14 +1579,14 @@
|
|
|
1421
1579
|
"value": "bpmn:ServiceTask"
|
|
1422
1580
|
},
|
|
1423
1581
|
"groups": [
|
|
1424
|
-
{
|
|
1425
|
-
"id": "authentication",
|
|
1426
|
-
"label": "Authentication"
|
|
1427
|
-
},
|
|
1428
1582
|
{
|
|
1429
1583
|
"id": "method",
|
|
1430
1584
|
"label": "Method"
|
|
1431
1585
|
},
|
|
1586
|
+
{
|
|
1587
|
+
"id": "authentication",
|
|
1588
|
+
"label": "Authentication"
|
|
1589
|
+
},
|
|
1432
1590
|
{
|
|
1433
1591
|
"id": "message",
|
|
1434
1592
|
"label": "Message"
|
|
@@ -1446,48 +1604,25 @@
|
|
|
1446
1604
|
"label": "Output mapping"
|
|
1447
1605
|
},
|
|
1448
1606
|
{
|
|
1449
|
-
"id": "
|
|
1607
|
+
"id": "errors",
|
|
1450
1608
|
"label": "Error handling"
|
|
1451
|
-
},
|
|
1452
|
-
{
|
|
1453
|
-
"id": "retries",
|
|
1454
|
-
"label": "Retries"
|
|
1455
1609
|
}
|
|
1456
1610
|
],
|
|
1457
1611
|
"properties": [
|
|
1458
1612
|
{
|
|
1613
|
+
"type": "Hidden",
|
|
1459
1614
|
"value": "io.camunda:slack:1",
|
|
1460
1615
|
"binding": {
|
|
1461
|
-
"
|
|
1462
|
-
"
|
|
1463
|
-
}
|
|
1464
|
-
"type": "Hidden"
|
|
1465
|
-
},
|
|
1466
|
-
{
|
|
1467
|
-
"id": "token",
|
|
1468
|
-
"label": "OAuth token",
|
|
1469
|
-
"optional": false,
|
|
1470
|
-
"constraints": {
|
|
1471
|
-
"notEmpty": true
|
|
1472
|
-
},
|
|
1473
|
-
"feel": "optional",
|
|
1474
|
-
"group": "authentication",
|
|
1475
|
-
"binding": {
|
|
1476
|
-
"name": "token",
|
|
1477
|
-
"type": "zeebe:input"
|
|
1478
|
-
},
|
|
1479
|
-
"type": "String"
|
|
1616
|
+
"type": "zeebe:taskDefinition",
|
|
1617
|
+
"property": "type"
|
|
1618
|
+
}
|
|
1480
1619
|
},
|
|
1481
1620
|
{
|
|
1482
|
-
"id": "method",
|
|
1483
1621
|
"label": "Method",
|
|
1484
|
-
"value": "chat.postMessage",
|
|
1485
1622
|
"group": "method",
|
|
1486
|
-
"
|
|
1487
|
-
"name": "method",
|
|
1488
|
-
"type": "zeebe:input"
|
|
1489
|
-
},
|
|
1623
|
+
"id": "method",
|
|
1490
1624
|
"type": "Dropdown",
|
|
1625
|
+
"value": "chat.postMessage",
|
|
1491
1626
|
"choices": [
|
|
1492
1627
|
{
|
|
1493
1628
|
"name": "Post message",
|
|
@@ -1501,291 +1636,181 @@
|
|
|
1501
1636
|
"name": "Invite to channel",
|
|
1502
1637
|
"value": "conversations.invite"
|
|
1503
1638
|
}
|
|
1504
|
-
]
|
|
1505
|
-
},
|
|
1506
|
-
{
|
|
1507
|
-
"id": "data.messageType",
|
|
1508
|
-
"label": "Message type",
|
|
1509
|
-
"optional": false,
|
|
1510
|
-
"value": "plainText",
|
|
1511
|
-
"group": "message",
|
|
1639
|
+
],
|
|
1512
1640
|
"binding": {
|
|
1513
|
-
"
|
|
1514
|
-
"
|
|
1515
|
-
}
|
|
1516
|
-
"condition": {
|
|
1517
|
-
"allMatch": [
|
|
1518
|
-
{
|
|
1519
|
-
"property": "method",
|
|
1520
|
-
"equals": "chat.postMessage",
|
|
1521
|
-
"type": "simple"
|
|
1522
|
-
},
|
|
1523
|
-
{
|
|
1524
|
-
"property": "method",
|
|
1525
|
-
"equals": "chat.postMessage",
|
|
1526
|
-
"type": "simple"
|
|
1527
|
-
}
|
|
1528
|
-
]
|
|
1529
|
-
},
|
|
1530
|
-
"type": "Dropdown",
|
|
1531
|
-
"choices": [
|
|
1532
|
-
{
|
|
1533
|
-
"name": "Plain text",
|
|
1534
|
-
"value": "plainText"
|
|
1535
|
-
},
|
|
1536
|
-
{
|
|
1537
|
-
"name": "Message block",
|
|
1538
|
-
"value": "messageBlock"
|
|
1539
|
-
}
|
|
1540
|
-
]
|
|
1641
|
+
"type": "zeebe:input",
|
|
1642
|
+
"name": "method"
|
|
1643
|
+
}
|
|
1541
1644
|
},
|
|
1542
1645
|
{
|
|
1543
|
-
"
|
|
1544
|
-
"
|
|
1545
|
-
"
|
|
1546
|
-
"constraints": {
|
|
1547
|
-
"notEmpty": true
|
|
1548
|
-
},
|
|
1646
|
+
"label": "OAuth token",
|
|
1647
|
+
"group": "authentication",
|
|
1648
|
+
"type": "String",
|
|
1549
1649
|
"feel": "optional",
|
|
1550
|
-
"group": "message",
|
|
1551
1650
|
"binding": {
|
|
1552
|
-
"
|
|
1553
|
-
"
|
|
1554
|
-
},
|
|
1555
|
-
"condition": {
|
|
1556
|
-
"allMatch": [
|
|
1557
|
-
{
|
|
1558
|
-
"property": "data.messageType",
|
|
1559
|
-
"equals": "plainText",
|
|
1560
|
-
"type": "simple"
|
|
1561
|
-
},
|
|
1562
|
-
{
|
|
1563
|
-
"property": "method",
|
|
1564
|
-
"equals": "chat.postMessage",
|
|
1565
|
-
"type": "simple"
|
|
1566
|
-
}
|
|
1567
|
-
]
|
|
1651
|
+
"type": "zeebe:input",
|
|
1652
|
+
"name": "token"
|
|
1568
1653
|
},
|
|
1569
|
-
"type": "Text"
|
|
1570
|
-
},
|
|
1571
|
-
{
|
|
1572
|
-
"id": "data.blockContent",
|
|
1573
|
-
"label": "Message block",
|
|
1574
|
-
"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>",
|
|
1575
|
-
"optional": false,
|
|
1576
|
-
"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]",
|
|
1577
1654
|
"constraints": {
|
|
1578
1655
|
"notEmpty": true
|
|
1579
|
-
}
|
|
1580
|
-
"feel": "required",
|
|
1581
|
-
"group": "message",
|
|
1582
|
-
"binding": {
|
|
1583
|
-
"name": "data.blockContent",
|
|
1584
|
-
"type": "zeebe:input"
|
|
1585
|
-
},
|
|
1586
|
-
"condition": {
|
|
1587
|
-
"allMatch": [
|
|
1588
|
-
{
|
|
1589
|
-
"property": "data.messageType",
|
|
1590
|
-
"equals": "messageBlock",
|
|
1591
|
-
"type": "simple"
|
|
1592
|
-
},
|
|
1593
|
-
{
|
|
1594
|
-
"property": "method",
|
|
1595
|
-
"equals": "chat.postMessage",
|
|
1596
|
-
"type": "simple"
|
|
1597
|
-
}
|
|
1598
|
-
]
|
|
1599
|
-
},
|
|
1600
|
-
"type": "String"
|
|
1656
|
+
}
|
|
1601
1657
|
},
|
|
1602
1658
|
{
|
|
1603
|
-
"id": "data.channel",
|
|
1604
1659
|
"label": "Channel/user name/email",
|
|
1605
|
-
"optional": false,
|
|
1606
|
-
"constraints": {
|
|
1607
|
-
"notEmpty": true
|
|
1608
|
-
},
|
|
1609
|
-
"feel": "optional",
|
|
1610
1660
|
"group": "channel",
|
|
1661
|
+
"type": "String",
|
|
1662
|
+
"feel": "optional",
|
|
1611
1663
|
"binding": {
|
|
1612
|
-
"
|
|
1613
|
-
"
|
|
1664
|
+
"type": "zeebe:input",
|
|
1665
|
+
"name": "data.channel"
|
|
1666
|
+
},
|
|
1667
|
+
"constraints": {
|
|
1668
|
+
"notEmpty": true,
|
|
1669
|
+
"pattern": {
|
|
1670
|
+
"value": "(^(#|@|=).*)|(^.+[@].+[.].{2,4}$)",
|
|
1671
|
+
"message": "Must be a #channel, @user, email or FEEL expression."
|
|
1672
|
+
}
|
|
1614
1673
|
},
|
|
1615
1674
|
"condition": {
|
|
1616
1675
|
"property": "method",
|
|
1617
|
-
"equals": "chat.postMessage"
|
|
1618
|
-
|
|
1619
|
-
},
|
|
1620
|
-
"type": "String"
|
|
1676
|
+
"equals": "chat.postMessage"
|
|
1677
|
+
}
|
|
1621
1678
|
},
|
|
1622
1679
|
{
|
|
1623
|
-
"
|
|
1624
|
-
"
|
|
1625
|
-
"
|
|
1680
|
+
"label": "New channel name",
|
|
1681
|
+
"group": "channel",
|
|
1682
|
+
"type": "String",
|
|
1683
|
+
"feel": "optional",
|
|
1684
|
+
"binding": {
|
|
1685
|
+
"type": "zeebe:input",
|
|
1686
|
+
"name": "data.newChannelName"
|
|
1687
|
+
},
|
|
1626
1688
|
"constraints": {
|
|
1627
1689
|
"notEmpty": true,
|
|
1628
1690
|
"pattern": {
|
|
1629
|
-
"value": "^(=|[-_a-z0-9]{1,80}$)",
|
|
1691
|
+
"value": "^(=|([-_a-z0-9]{1,80}$))",
|
|
1630
1692
|
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
1631
1693
|
}
|
|
1632
1694
|
},
|
|
1633
|
-
"
|
|
1695
|
+
"condition": {
|
|
1696
|
+
"property": "method",
|
|
1697
|
+
"equals": "conversations.create"
|
|
1698
|
+
}
|
|
1699
|
+
},
|
|
1700
|
+
{
|
|
1701
|
+
"label": "Visibility",
|
|
1634
1702
|
"group": "channel",
|
|
1703
|
+
"type": "Dropdown",
|
|
1704
|
+
"value": "PUBLIC",
|
|
1705
|
+
"optional": false,
|
|
1706
|
+
"choices": [
|
|
1707
|
+
{
|
|
1708
|
+
"name": "Private",
|
|
1709
|
+
"value": "PRIVATE"
|
|
1710
|
+
},
|
|
1711
|
+
{
|
|
1712
|
+
"name": "Public",
|
|
1713
|
+
"value": "PUBLIC"
|
|
1714
|
+
}
|
|
1715
|
+
],
|
|
1635
1716
|
"binding": {
|
|
1636
|
-
"
|
|
1637
|
-
"
|
|
1717
|
+
"type": "zeebe:input",
|
|
1718
|
+
"name": "data.visibility"
|
|
1638
1719
|
},
|
|
1639
1720
|
"condition": {
|
|
1640
1721
|
"property": "method",
|
|
1641
|
-
"equals": "conversations.create"
|
|
1642
|
-
|
|
1643
|
-
},
|
|
1644
|
-
"type": "String"
|
|
1722
|
+
"equals": "conversations.create"
|
|
1723
|
+
}
|
|
1645
1724
|
},
|
|
1646
1725
|
{
|
|
1647
|
-
"
|
|
1648
|
-
"
|
|
1649
|
-
"
|
|
1650
|
-
"
|
|
1726
|
+
"label": "Message",
|
|
1727
|
+
"group": "message",
|
|
1728
|
+
"type": "Text",
|
|
1729
|
+
"feel": "optional",
|
|
1730
|
+
"binding": {
|
|
1731
|
+
"type": "zeebe:input",
|
|
1732
|
+
"name": "data.text"
|
|
1733
|
+
},
|
|
1651
1734
|
"constraints": {
|
|
1652
1735
|
"notEmpty": true
|
|
1653
1736
|
},
|
|
1654
|
-
"group": "channel",
|
|
1655
|
-
"binding": {
|
|
1656
|
-
"name": "data.visibility",
|
|
1657
|
-
"type": "zeebe:input"
|
|
1658
|
-
},
|
|
1659
1737
|
"condition": {
|
|
1660
1738
|
"property": "method",
|
|
1661
|
-
"equals": "
|
|
1662
|
-
|
|
1663
|
-
},
|
|
1664
|
-
"type": "Dropdown",
|
|
1665
|
-
"choices": [
|
|
1666
|
-
{
|
|
1667
|
-
"name": "Public",
|
|
1668
|
-
"value": "PUBLIC"
|
|
1669
|
-
},
|
|
1670
|
-
{
|
|
1671
|
-
"name": "Private",
|
|
1672
|
-
"value": "PRIVATE"
|
|
1673
|
-
}
|
|
1674
|
-
]
|
|
1739
|
+
"equals": "chat.postMessage"
|
|
1740
|
+
}
|
|
1675
1741
|
},
|
|
1676
1742
|
{
|
|
1677
|
-
"id": "data.channelName",
|
|
1678
1743
|
"label": "Channel name",
|
|
1679
|
-
"
|
|
1744
|
+
"group": "invite",
|
|
1745
|
+
"type": "String",
|
|
1746
|
+
"feel": "optional",
|
|
1747
|
+
"binding": {
|
|
1748
|
+
"type": "zeebe:input",
|
|
1749
|
+
"name": "data.channelName"
|
|
1750
|
+
},
|
|
1680
1751
|
"constraints": {
|
|
1681
1752
|
"notEmpty": true,
|
|
1682
1753
|
"pattern": {
|
|
1683
|
-
"value": "^(=|[-_a-z0-9]{1,80}$)",
|
|
1754
|
+
"value": "^(=|([-_a-z0-9]{1,80}$))",
|
|
1684
1755
|
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
1685
1756
|
}
|
|
1686
1757
|
},
|
|
1687
|
-
"feel": "optional",
|
|
1688
|
-
"group": "invite",
|
|
1689
|
-
"binding": {
|
|
1690
|
-
"name": "data.channelName",
|
|
1691
|
-
"type": "zeebe:input"
|
|
1692
|
-
},
|
|
1693
1758
|
"condition": {
|
|
1694
1759
|
"property": "method",
|
|
1695
|
-
"equals": "conversations.invite"
|
|
1696
|
-
|
|
1697
|
-
},
|
|
1698
|
-
"type": "String"
|
|
1760
|
+
"equals": "conversations.invite"
|
|
1761
|
+
}
|
|
1699
1762
|
},
|
|
1700
1763
|
{
|
|
1701
|
-
"id": "data.users",
|
|
1702
1764
|
"label": "Users",
|
|
1703
1765
|
"description": "Comma-separated list of users, e.g., '@user1,@user2' or '=[ \"@user1\", \"user2@company.com\"]'",
|
|
1704
|
-
"optional": false,
|
|
1705
|
-
"constraints": {
|
|
1706
|
-
"notEmpty": true
|
|
1707
|
-
},
|
|
1708
|
-
"feel": "optional",
|
|
1709
1766
|
"group": "invite",
|
|
1767
|
+
"type": "String",
|
|
1768
|
+
"feel": "optional",
|
|
1710
1769
|
"binding": {
|
|
1711
|
-
"
|
|
1712
|
-
"
|
|
1770
|
+
"type": "zeebe:input",
|
|
1771
|
+
"name": "data.users"
|
|
1772
|
+
},
|
|
1773
|
+
"constraints": {
|
|
1774
|
+
"notEmpty": true
|
|
1713
1775
|
},
|
|
1714
1776
|
"condition": {
|
|
1715
1777
|
"property": "method",
|
|
1716
|
-
"equals": "conversations.invite"
|
|
1717
|
-
|
|
1718
|
-
},
|
|
1719
|
-
"type": "String"
|
|
1778
|
+
"equals": "conversations.invite"
|
|
1779
|
+
}
|
|
1720
1780
|
},
|
|
1721
1781
|
{
|
|
1722
|
-
"id": "resultVariable",
|
|
1723
1782
|
"label": "Result variable",
|
|
1724
|
-
"description": "Name of variable to store the response in",
|
|
1783
|
+
"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>",
|
|
1725
1784
|
"group": "output",
|
|
1785
|
+
"type": "String",
|
|
1726
1786
|
"binding": {
|
|
1727
|
-
"
|
|
1728
|
-
"
|
|
1729
|
-
}
|
|
1730
|
-
"type": "String"
|
|
1787
|
+
"type": "zeebe:taskHeader",
|
|
1788
|
+
"key": "resultVariable"
|
|
1789
|
+
}
|
|
1731
1790
|
},
|
|
1732
1791
|
{
|
|
1733
|
-
"id": "resultExpression",
|
|
1734
1792
|
"label": "Result expression",
|
|
1735
|
-
"description": "Expression to map the response into process variables",
|
|
1736
|
-
"feel": "required",
|
|
1793
|
+
"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>",
|
|
1737
1794
|
"group": "output",
|
|
1795
|
+
"type": "Text",
|
|
1796
|
+
"feel": "required",
|
|
1738
1797
|
"binding": {
|
|
1739
|
-
"
|
|
1740
|
-
"
|
|
1741
|
-
}
|
|
1742
|
-
"type": "Text"
|
|
1798
|
+
"type": "zeebe:taskHeader",
|
|
1799
|
+
"key": "resultExpression"
|
|
1800
|
+
}
|
|
1743
1801
|
},
|
|
1744
1802
|
{
|
|
1745
|
-
"id": "errorExpression",
|
|
1746
1803
|
"label": "Error expression",
|
|
1747
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
1804
|
+
"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>",
|
|
1805
|
+
"group": "errors",
|
|
1806
|
+
"type": "Text",
|
|
1748
1807
|
"feel": "required",
|
|
1749
|
-
"group": "error",
|
|
1750
|
-
"binding": {
|
|
1751
|
-
"key": "errorExpression",
|
|
1752
|
-
"type": "zeebe:taskHeader"
|
|
1753
|
-
},
|
|
1754
|
-
"type": "Text"
|
|
1755
|
-
},
|
|
1756
|
-
{
|
|
1757
|
-
"id": "retryCount",
|
|
1758
|
-
"label": "Retries",
|
|
1759
|
-
"description": "Number of retries",
|
|
1760
|
-
"value": "3",
|
|
1761
|
-
"feel": "optional",
|
|
1762
|
-
"group": "retries",
|
|
1763
|
-
"binding": {
|
|
1764
|
-
"property": "retries",
|
|
1765
|
-
"type": "zeebe:taskDefinition"
|
|
1766
|
-
},
|
|
1767
|
-
"type": "String"
|
|
1768
|
-
},
|
|
1769
|
-
{
|
|
1770
|
-
"id": "retryBackoff",
|
|
1771
|
-
"label": "Retry backoff",
|
|
1772
|
-
"description": "ISO-8601 duration to wait between retries",
|
|
1773
|
-
"value": "PT0S",
|
|
1774
|
-
"feel": "optional",
|
|
1775
|
-
"group": "retries",
|
|
1776
1808
|
"binding": {
|
|
1777
|
-
"
|
|
1778
|
-
"
|
|
1779
|
-
}
|
|
1780
|
-
"type": "String"
|
|
1809
|
+
"type": "zeebe:taskHeader",
|
|
1810
|
+
"key": "errorExpression"
|
|
1811
|
+
}
|
|
1781
1812
|
}
|
|
1782
|
-
]
|
|
1783
|
-
"icon": {
|
|
1784
|
-
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
|
|
1785
|
-
},
|
|
1786
|
-
"engines": {
|
|
1787
|
-
"camunda": "^8.5"
|
|
1788
|
-
}
|
|
1813
|
+
]
|
|
1789
1814
|
},
|
|
1790
1815
|
{
|
|
1791
1816
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
@@ -1796,7 +1821,7 @@
|
|
|
1796
1821
|
"keywords": []
|
|
1797
1822
|
},
|
|
1798
1823
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
|
|
1799
|
-
"version":
|
|
1824
|
+
"version": 6,
|
|
1800
1825
|
"category": {
|
|
1801
1826
|
"id": "connectors",
|
|
1802
1827
|
"name": "Connectors"
|
|
@@ -1829,14 +1854,6 @@
|
|
|
1829
1854
|
"id": "invite",
|
|
1830
1855
|
"label": "Invite"
|
|
1831
1856
|
},
|
|
1832
|
-
{
|
|
1833
|
-
"id": "reaction",
|
|
1834
|
-
"label": "Reaction"
|
|
1835
|
-
},
|
|
1836
|
-
{
|
|
1837
|
-
"id": "connector",
|
|
1838
|
-
"label": "Connector"
|
|
1839
|
-
},
|
|
1840
1857
|
{
|
|
1841
1858
|
"id": "output",
|
|
1842
1859
|
"label": "Output mapping"
|
|
@@ -1896,10 +1913,6 @@
|
|
|
1896
1913
|
{
|
|
1897
1914
|
"name": "Invite to channel",
|
|
1898
1915
|
"value": "conversations.invite"
|
|
1899
|
-
},
|
|
1900
|
-
{
|
|
1901
|
-
"name": "Add reaction",
|
|
1902
|
-
"value": "reactions.add"
|
|
1903
1916
|
}
|
|
1904
1917
|
]
|
|
1905
1918
|
},
|
|
@@ -2167,157 +2180,70 @@
|
|
|
2167
2180
|
"property": "data.channelType",
|
|
2168
2181
|
"equals": "channelName",
|
|
2169
2182
|
"type": "simple"
|
|
2170
|
-
},
|
|
2171
|
-
{
|
|
2172
|
-
"property": "method",
|
|
2173
|
-
"equals": "conversations.invite",
|
|
2174
|
-
"type": "simple"
|
|
2175
|
-
}
|
|
2176
|
-
]
|
|
2177
|
-
},
|
|
2178
|
-
"type": "String"
|
|
2179
|
-
},
|
|
2180
|
-
{
|
|
2181
|
-
"id": "data.channelId",
|
|
2182
|
-
"label": "Channel ID",
|
|
2183
|
-
"optional": false,
|
|
2184
|
-
"constraints": {
|
|
2185
|
-
"notEmpty": true,
|
|
2186
|
-
"pattern": {
|
|
2187
|
-
"value": "^(=|([-_a-z0-9]{1,80}$))",
|
|
2188
|
-
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
2189
|
-
}
|
|
2190
|
-
},
|
|
2191
|
-
"feel": "optional",
|
|
2192
|
-
"group": "invite",
|
|
2193
|
-
"binding": {
|
|
2194
|
-
"name": "data.channelId",
|
|
2195
|
-
"type": "zeebe:input"
|
|
2196
|
-
},
|
|
2197
|
-
"condition": {
|
|
2198
|
-
"allMatch": [
|
|
2199
|
-
{
|
|
2200
|
-
"property": "data.channelType",
|
|
2201
|
-
"equals": "channelId",
|
|
2202
|
-
"type": "simple"
|
|
2203
|
-
},
|
|
2204
|
-
{
|
|
2205
|
-
"property": "method",
|
|
2206
|
-
"equals": "conversations.invite",
|
|
2207
|
-
"type": "simple"
|
|
2208
|
-
}
|
|
2209
|
-
]
|
|
2210
|
-
},
|
|
2211
|
-
"type": "String"
|
|
2212
|
-
},
|
|
2213
|
-
{
|
|
2214
|
-
"id": "data.users",
|
|
2215
|
-
"label": "Users",
|
|
2216
|
-
"description": "Comma-separated list of users, e.g., '@user1,@user2' or '=[ \"@user1\", \"user2@company.com\"]'",
|
|
2217
|
-
"optional": false,
|
|
2218
|
-
"constraints": {
|
|
2219
|
-
"notEmpty": true
|
|
2220
|
-
},
|
|
2221
|
-
"feel": "optional",
|
|
2222
|
-
"group": "invite",
|
|
2223
|
-
"binding": {
|
|
2224
|
-
"name": "data.users",
|
|
2225
|
-
"type": "zeebe:input"
|
|
2226
|
-
},
|
|
2227
|
-
"condition": {
|
|
2228
|
-
"property": "method",
|
|
2229
|
-
"equals": "conversations.invite",
|
|
2230
|
-
"type": "simple"
|
|
2231
|
-
},
|
|
2232
|
-
"type": "String"
|
|
2233
|
-
},
|
|
2234
|
-
{
|
|
2235
|
-
"id": "reaction.channel",
|
|
2236
|
-
"label": "Channel",
|
|
2237
|
-
"description": "Channel ID of the message to react to",
|
|
2238
|
-
"optional": false,
|
|
2239
|
-
"constraints": {
|
|
2240
|
-
"notEmpty": true
|
|
2241
|
-
},
|
|
2242
|
-
"feel": "optional",
|
|
2243
|
-
"group": "reaction",
|
|
2244
|
-
"binding": {
|
|
2245
|
-
"name": "data.channel",
|
|
2246
|
-
"type": "zeebe:input"
|
|
2247
|
-
},
|
|
2248
|
-
"condition": {
|
|
2249
|
-
"property": "method",
|
|
2250
|
-
"equals": "reactions.add",
|
|
2251
|
-
"type": "simple"
|
|
2183
|
+
},
|
|
2184
|
+
{
|
|
2185
|
+
"property": "method",
|
|
2186
|
+
"equals": "conversations.invite",
|
|
2187
|
+
"type": "simple"
|
|
2188
|
+
}
|
|
2189
|
+
]
|
|
2252
2190
|
},
|
|
2253
2191
|
"type": "String"
|
|
2254
2192
|
},
|
|
2255
2193
|
{
|
|
2256
|
-
"id": "data.
|
|
2257
|
-
"label": "
|
|
2258
|
-
"description": "Emoji name (e.g. eyes)",
|
|
2194
|
+
"id": "data.channelId",
|
|
2195
|
+
"label": "Channel ID",
|
|
2259
2196
|
"optional": false,
|
|
2260
2197
|
"constraints": {
|
|
2261
|
-
"notEmpty": true
|
|
2198
|
+
"notEmpty": true,
|
|
2199
|
+
"pattern": {
|
|
2200
|
+
"value": "^(=|([-_a-z0-9]{1,80}$))",
|
|
2201
|
+
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
2202
|
+
}
|
|
2262
2203
|
},
|
|
2263
2204
|
"feel": "optional",
|
|
2264
|
-
"group": "
|
|
2205
|
+
"group": "invite",
|
|
2265
2206
|
"binding": {
|
|
2266
|
-
"name": "data.
|
|
2207
|
+
"name": "data.channelId",
|
|
2267
2208
|
"type": "zeebe:input"
|
|
2268
2209
|
},
|
|
2269
2210
|
"condition": {
|
|
2270
|
-
"
|
|
2271
|
-
|
|
2272
|
-
|
|
2211
|
+
"allMatch": [
|
|
2212
|
+
{
|
|
2213
|
+
"property": "data.channelType",
|
|
2214
|
+
"equals": "channelId",
|
|
2215
|
+
"type": "simple"
|
|
2216
|
+
},
|
|
2217
|
+
{
|
|
2218
|
+
"property": "method",
|
|
2219
|
+
"equals": "conversations.invite",
|
|
2220
|
+
"type": "simple"
|
|
2221
|
+
}
|
|
2222
|
+
]
|
|
2273
2223
|
},
|
|
2274
2224
|
"type": "String"
|
|
2275
2225
|
},
|
|
2276
2226
|
{
|
|
2277
|
-
"id": "data.
|
|
2278
|
-
"label": "
|
|
2279
|
-
"description": "
|
|
2227
|
+
"id": "data.users",
|
|
2228
|
+
"label": "Users",
|
|
2229
|
+
"description": "Comma-separated list of users, e.g., '@user1,@user2' or '=[ \"@user1\", \"user2@company.com\"]'",
|
|
2280
2230
|
"optional": false,
|
|
2281
2231
|
"constraints": {
|
|
2282
2232
|
"notEmpty": true
|
|
2283
2233
|
},
|
|
2284
|
-
"feel": "
|
|
2285
|
-
"group": "
|
|
2234
|
+
"feel": "optional",
|
|
2235
|
+
"group": "invite",
|
|
2286
2236
|
"binding": {
|
|
2287
|
-
"name": "data.
|
|
2237
|
+
"name": "data.users",
|
|
2288
2238
|
"type": "zeebe:input"
|
|
2289
2239
|
},
|
|
2290
2240
|
"condition": {
|
|
2291
2241
|
"property": "method",
|
|
2292
|
-
"equals": "
|
|
2242
|
+
"equals": "conversations.invite",
|
|
2293
2243
|
"type": "simple"
|
|
2294
2244
|
},
|
|
2295
2245
|
"type": "String"
|
|
2296
2246
|
},
|
|
2297
|
-
{
|
|
2298
|
-
"id": "version",
|
|
2299
|
-
"label": "Version",
|
|
2300
|
-
"description": "Version of the element template",
|
|
2301
|
-
"value": "7",
|
|
2302
|
-
"group": "connector",
|
|
2303
|
-
"binding": {
|
|
2304
|
-
"key": "elementTemplateVersion",
|
|
2305
|
-
"type": "zeebe:taskHeader"
|
|
2306
|
-
},
|
|
2307
|
-
"type": "Hidden"
|
|
2308
|
-
},
|
|
2309
|
-
{
|
|
2310
|
-
"id": "id",
|
|
2311
|
-
"label": "ID",
|
|
2312
|
-
"description": "ID of the element template",
|
|
2313
|
-
"value": "io.camunda.connectors.Slack.v1",
|
|
2314
|
-
"group": "connector",
|
|
2315
|
-
"binding": {
|
|
2316
|
-
"key": "elementTemplateId",
|
|
2317
|
-
"type": "zeebe:taskHeader"
|
|
2318
|
-
},
|
|
2319
|
-
"type": "Hidden"
|
|
2320
|
-
},
|
|
2321
2247
|
{
|
|
2322
2248
|
"id": "resultVariable",
|
|
2323
2249
|
"label": "Result variable",
|
|
@@ -3081,14 +3007,11 @@
|
|
|
3081
3007
|
},
|
|
3082
3008
|
{
|
|
3083
3009
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
3084
|
-
"name": "Slack
|
|
3010
|
+
"name": "Slack Outbound Connector",
|
|
3085
3011
|
"id": "io.camunda.connectors.Slack.v1",
|
|
3086
|
-
"version": 1,
|
|
3087
3012
|
"description": "Create a channel or send a message to a channel or user",
|
|
3088
|
-
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack
|
|
3089
|
-
"
|
|
3090
|
-
"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"
|
|
3091
|
-
},
|
|
3013
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
|
|
3014
|
+
"version": 3,
|
|
3092
3015
|
"category": {
|
|
3093
3016
|
"id": "connectors",
|
|
3094
3017
|
"name": "Connectors"
|
|
@@ -3098,14 +3021,14 @@
|
|
|
3098
3021
|
"value": "bpmn:ServiceTask"
|
|
3099
3022
|
},
|
|
3100
3023
|
"groups": [
|
|
3101
|
-
{
|
|
3102
|
-
"id": "method",
|
|
3103
|
-
"label": "Method"
|
|
3104
|
-
},
|
|
3105
3024
|
{
|
|
3106
3025
|
"id": "authentication",
|
|
3107
3026
|
"label": "Authentication"
|
|
3108
3027
|
},
|
|
3028
|
+
{
|
|
3029
|
+
"id": "method",
|
|
3030
|
+
"label": "Method"
|
|
3031
|
+
},
|
|
3109
3032
|
{
|
|
3110
3033
|
"id": "message",
|
|
3111
3034
|
"label": "Message"
|
|
@@ -3123,25 +3046,48 @@
|
|
|
3123
3046
|
"label": "Output mapping"
|
|
3124
3047
|
},
|
|
3125
3048
|
{
|
|
3126
|
-
"id": "
|
|
3049
|
+
"id": "error",
|
|
3127
3050
|
"label": "Error handling"
|
|
3051
|
+
},
|
|
3052
|
+
{
|
|
3053
|
+
"id": "retries",
|
|
3054
|
+
"label": "Retries"
|
|
3128
3055
|
}
|
|
3129
3056
|
],
|
|
3130
3057
|
"properties": [
|
|
3131
3058
|
{
|
|
3132
|
-
"type": "Hidden",
|
|
3133
3059
|
"value": "io.camunda:slack:1",
|
|
3134
3060
|
"binding": {
|
|
3135
|
-
"
|
|
3136
|
-
"
|
|
3137
|
-
}
|
|
3061
|
+
"property": "type",
|
|
3062
|
+
"type": "zeebe:taskDefinition"
|
|
3063
|
+
},
|
|
3064
|
+
"type": "Hidden"
|
|
3065
|
+
},
|
|
3066
|
+
{
|
|
3067
|
+
"id": "token",
|
|
3068
|
+
"label": "OAuth token",
|
|
3069
|
+
"optional": false,
|
|
3070
|
+
"constraints": {
|
|
3071
|
+
"notEmpty": true
|
|
3072
|
+
},
|
|
3073
|
+
"feel": "optional",
|
|
3074
|
+
"group": "authentication",
|
|
3075
|
+
"binding": {
|
|
3076
|
+
"name": "token",
|
|
3077
|
+
"type": "zeebe:input"
|
|
3078
|
+
},
|
|
3079
|
+
"type": "String"
|
|
3138
3080
|
},
|
|
3139
3081
|
{
|
|
3082
|
+
"id": "method",
|
|
3140
3083
|
"label": "Method",
|
|
3084
|
+
"value": "chat.postMessage",
|
|
3141
3085
|
"group": "method",
|
|
3142
|
-
"
|
|
3086
|
+
"binding": {
|
|
3087
|
+
"name": "method",
|
|
3088
|
+
"type": "zeebe:input"
|
|
3089
|
+
},
|
|
3143
3090
|
"type": "Dropdown",
|
|
3144
|
-
"value": "chat.postMessage",
|
|
3145
3091
|
"choices": [
|
|
3146
3092
|
{
|
|
3147
3093
|
"name": "Post message",
|
|
@@ -3155,183 +3101,290 @@
|
|
|
3155
3101
|
"name": "Invite to channel",
|
|
3156
3102
|
"value": "conversations.invite"
|
|
3157
3103
|
}
|
|
3158
|
-
]
|
|
3159
|
-
"binding": {
|
|
3160
|
-
"type": "zeebe:input",
|
|
3161
|
-
"name": "method"
|
|
3162
|
-
}
|
|
3104
|
+
]
|
|
3163
3105
|
},
|
|
3164
3106
|
{
|
|
3165
|
-
"
|
|
3166
|
-
"
|
|
3167
|
-
"
|
|
3168
|
-
"
|
|
3107
|
+
"id": "data.messageType",
|
|
3108
|
+
"label": "Message type",
|
|
3109
|
+
"optional": false,
|
|
3110
|
+
"value": "plainText",
|
|
3111
|
+
"group": "message",
|
|
3169
3112
|
"binding": {
|
|
3170
|
-
"
|
|
3171
|
-
"
|
|
3113
|
+
"name": "data.messageType",
|
|
3114
|
+
"type": "zeebe:input"
|
|
3172
3115
|
},
|
|
3173
|
-
"
|
|
3174
|
-
"
|
|
3175
|
-
|
|
3116
|
+
"condition": {
|
|
3117
|
+
"allMatch": [
|
|
3118
|
+
{
|
|
3119
|
+
"property": "method",
|
|
3120
|
+
"equals": "chat.postMessage",
|
|
3121
|
+
"type": "simple"
|
|
3122
|
+
},
|
|
3123
|
+
{
|
|
3124
|
+
"property": "method",
|
|
3125
|
+
"equals": "chat.postMessage",
|
|
3126
|
+
"type": "simple"
|
|
3127
|
+
}
|
|
3128
|
+
]
|
|
3129
|
+
},
|
|
3130
|
+
"type": "Dropdown",
|
|
3131
|
+
"choices": [
|
|
3132
|
+
{
|
|
3133
|
+
"name": "Plain text",
|
|
3134
|
+
"value": "plainText"
|
|
3135
|
+
},
|
|
3136
|
+
{
|
|
3137
|
+
"name": "Message block",
|
|
3138
|
+
"value": "messageBlock"
|
|
3139
|
+
}
|
|
3140
|
+
]
|
|
3176
3141
|
},
|
|
3177
3142
|
{
|
|
3178
|
-
"
|
|
3179
|
-
"
|
|
3180
|
-
"
|
|
3143
|
+
"id": "data.text",
|
|
3144
|
+
"label": "Message",
|
|
3145
|
+
"optional": false,
|
|
3146
|
+
"constraints": {
|
|
3147
|
+
"notEmpty": true
|
|
3148
|
+
},
|
|
3181
3149
|
"feel": "optional",
|
|
3150
|
+
"group": "message",
|
|
3182
3151
|
"binding": {
|
|
3183
|
-
"
|
|
3184
|
-
"
|
|
3152
|
+
"name": "data.text",
|
|
3153
|
+
"type": "zeebe:input"
|
|
3154
|
+
},
|
|
3155
|
+
"condition": {
|
|
3156
|
+
"allMatch": [
|
|
3157
|
+
{
|
|
3158
|
+
"property": "data.messageType",
|
|
3159
|
+
"equals": "plainText",
|
|
3160
|
+
"type": "simple"
|
|
3161
|
+
},
|
|
3162
|
+
{
|
|
3163
|
+
"property": "method",
|
|
3164
|
+
"equals": "chat.postMessage",
|
|
3165
|
+
"type": "simple"
|
|
3166
|
+
}
|
|
3167
|
+
]
|
|
3185
3168
|
},
|
|
3169
|
+
"type": "Text"
|
|
3170
|
+
},
|
|
3171
|
+
{
|
|
3172
|
+
"id": "data.blockContent",
|
|
3173
|
+
"label": "Message block",
|
|
3174
|
+
"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>",
|
|
3175
|
+
"optional": false,
|
|
3176
|
+
"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]",
|
|
3186
3177
|
"constraints": {
|
|
3187
|
-
"notEmpty": true
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3178
|
+
"notEmpty": true
|
|
3179
|
+
},
|
|
3180
|
+
"feel": "required",
|
|
3181
|
+
"group": "message",
|
|
3182
|
+
"binding": {
|
|
3183
|
+
"name": "data.blockContent",
|
|
3184
|
+
"type": "zeebe:input"
|
|
3192
3185
|
},
|
|
3193
3186
|
"condition": {
|
|
3194
|
-
"
|
|
3195
|
-
|
|
3196
|
-
|
|
3187
|
+
"allMatch": [
|
|
3188
|
+
{
|
|
3189
|
+
"property": "data.messageType",
|
|
3190
|
+
"equals": "messageBlock",
|
|
3191
|
+
"type": "simple"
|
|
3192
|
+
},
|
|
3193
|
+
{
|
|
3194
|
+
"property": "method",
|
|
3195
|
+
"equals": "chat.postMessage",
|
|
3196
|
+
"type": "simple"
|
|
3197
|
+
}
|
|
3198
|
+
]
|
|
3199
|
+
},
|
|
3200
|
+
"type": "String"
|
|
3197
3201
|
},
|
|
3198
3202
|
{
|
|
3199
|
-
"
|
|
3200
|
-
"
|
|
3201
|
-
"
|
|
3203
|
+
"id": "data.channel",
|
|
3204
|
+
"label": "Channel/user name/email",
|
|
3205
|
+
"optional": false,
|
|
3206
|
+
"constraints": {
|
|
3207
|
+
"notEmpty": true
|
|
3208
|
+
},
|
|
3202
3209
|
"feel": "optional",
|
|
3210
|
+
"group": "channel",
|
|
3203
3211
|
"binding": {
|
|
3204
|
-
"
|
|
3205
|
-
"
|
|
3212
|
+
"name": "data.channel",
|
|
3213
|
+
"type": "zeebe:input"
|
|
3214
|
+
},
|
|
3215
|
+
"condition": {
|
|
3216
|
+
"property": "method",
|
|
3217
|
+
"equals": "chat.postMessage",
|
|
3218
|
+
"type": "simple"
|
|
3206
3219
|
},
|
|
3220
|
+
"type": "String"
|
|
3221
|
+
},
|
|
3222
|
+
{
|
|
3223
|
+
"id": "data.newChannelName",
|
|
3224
|
+
"label": "Channel name",
|
|
3225
|
+
"optional": false,
|
|
3207
3226
|
"constraints": {
|
|
3208
3227
|
"notEmpty": true,
|
|
3209
3228
|
"pattern": {
|
|
3210
|
-
"value": "^(=|
|
|
3229
|
+
"value": "^(=|[-_a-z0-9]{1,80}$)",
|
|
3211
3230
|
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
3212
3231
|
}
|
|
3213
3232
|
},
|
|
3214
|
-
"
|
|
3215
|
-
"property": "method",
|
|
3216
|
-
"equals": "conversations.create"
|
|
3217
|
-
}
|
|
3218
|
-
},
|
|
3219
|
-
{
|
|
3220
|
-
"label": "Visibility",
|
|
3233
|
+
"feel": "optional",
|
|
3221
3234
|
"group": "channel",
|
|
3222
|
-
"type": "Dropdown",
|
|
3223
|
-
"value": "PUBLIC",
|
|
3224
|
-
"optional": false,
|
|
3225
|
-
"choices": [
|
|
3226
|
-
{
|
|
3227
|
-
"name": "Private",
|
|
3228
|
-
"value": "PRIVATE"
|
|
3229
|
-
},
|
|
3230
|
-
{
|
|
3231
|
-
"name": "Public",
|
|
3232
|
-
"value": "PUBLIC"
|
|
3233
|
-
}
|
|
3234
|
-
],
|
|
3235
3235
|
"binding": {
|
|
3236
|
-
"
|
|
3237
|
-
"
|
|
3236
|
+
"name": "data.newChannelName",
|
|
3237
|
+
"type": "zeebe:input"
|
|
3238
3238
|
},
|
|
3239
3239
|
"condition": {
|
|
3240
3240
|
"property": "method",
|
|
3241
|
-
"equals": "conversations.create"
|
|
3242
|
-
|
|
3241
|
+
"equals": "conversations.create",
|
|
3242
|
+
"type": "simple"
|
|
3243
|
+
},
|
|
3244
|
+
"type": "String"
|
|
3243
3245
|
},
|
|
3244
3246
|
{
|
|
3245
|
-
"
|
|
3246
|
-
"
|
|
3247
|
-
"
|
|
3248
|
-
"
|
|
3249
|
-
"binding": {
|
|
3250
|
-
"type": "zeebe:input",
|
|
3251
|
-
"name": "data.text"
|
|
3252
|
-
},
|
|
3247
|
+
"id": "data.visibility",
|
|
3248
|
+
"label": "Visibility",
|
|
3249
|
+
"optional": false,
|
|
3250
|
+
"value": "PUBLIC",
|
|
3253
3251
|
"constraints": {
|
|
3254
3252
|
"notEmpty": true
|
|
3255
3253
|
},
|
|
3254
|
+
"group": "channel",
|
|
3255
|
+
"binding": {
|
|
3256
|
+
"name": "data.visibility",
|
|
3257
|
+
"type": "zeebe:input"
|
|
3258
|
+
},
|
|
3256
3259
|
"condition": {
|
|
3257
3260
|
"property": "method",
|
|
3258
|
-
"equals": "
|
|
3259
|
-
|
|
3261
|
+
"equals": "conversations.create",
|
|
3262
|
+
"type": "simple"
|
|
3263
|
+
},
|
|
3264
|
+
"type": "Dropdown",
|
|
3265
|
+
"choices": [
|
|
3266
|
+
{
|
|
3267
|
+
"name": "Public",
|
|
3268
|
+
"value": "PUBLIC"
|
|
3269
|
+
},
|
|
3270
|
+
{
|
|
3271
|
+
"name": "Private",
|
|
3272
|
+
"value": "PRIVATE"
|
|
3273
|
+
}
|
|
3274
|
+
]
|
|
3260
3275
|
},
|
|
3261
3276
|
{
|
|
3277
|
+
"id": "data.channelName",
|
|
3262
3278
|
"label": "Channel name",
|
|
3263
|
-
"
|
|
3264
|
-
"type": "String",
|
|
3265
|
-
"feel": "optional",
|
|
3266
|
-
"binding": {
|
|
3267
|
-
"type": "zeebe:input",
|
|
3268
|
-
"name": "data.channelName"
|
|
3269
|
-
},
|
|
3279
|
+
"optional": false,
|
|
3270
3280
|
"constraints": {
|
|
3271
3281
|
"notEmpty": true,
|
|
3272
3282
|
"pattern": {
|
|
3273
|
-
"value": "^(=|
|
|
3283
|
+
"value": "^(=|[-_a-z0-9]{1,80}$)",
|
|
3274
3284
|
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
3275
3285
|
}
|
|
3276
3286
|
},
|
|
3287
|
+
"feel": "optional",
|
|
3288
|
+
"group": "invite",
|
|
3289
|
+
"binding": {
|
|
3290
|
+
"name": "data.channelName",
|
|
3291
|
+
"type": "zeebe:input"
|
|
3292
|
+
},
|
|
3277
3293
|
"condition": {
|
|
3278
3294
|
"property": "method",
|
|
3279
|
-
"equals": "conversations.invite"
|
|
3280
|
-
|
|
3295
|
+
"equals": "conversations.invite",
|
|
3296
|
+
"type": "simple"
|
|
3297
|
+
},
|
|
3298
|
+
"type": "String"
|
|
3281
3299
|
},
|
|
3282
3300
|
{
|
|
3301
|
+
"id": "data.users",
|
|
3283
3302
|
"label": "Users",
|
|
3284
3303
|
"description": "Comma-separated list of users, e.g., '@user1,@user2' or '=[ \"@user1\", \"user2@company.com\"]'",
|
|
3285
|
-
"
|
|
3286
|
-
"type": "String",
|
|
3287
|
-
"feel": "optional",
|
|
3288
|
-
"binding": {
|
|
3289
|
-
"type": "zeebe:input",
|
|
3290
|
-
"name": "data.users"
|
|
3291
|
-
},
|
|
3304
|
+
"optional": false,
|
|
3292
3305
|
"constraints": {
|
|
3293
3306
|
"notEmpty": true
|
|
3294
3307
|
},
|
|
3308
|
+
"feel": "optional",
|
|
3309
|
+
"group": "invite",
|
|
3310
|
+
"binding": {
|
|
3311
|
+
"name": "data.users",
|
|
3312
|
+
"type": "zeebe:input"
|
|
3313
|
+
},
|
|
3295
3314
|
"condition": {
|
|
3296
3315
|
"property": "method",
|
|
3297
|
-
"equals": "conversations.invite"
|
|
3298
|
-
|
|
3316
|
+
"equals": "conversations.invite",
|
|
3317
|
+
"type": "simple"
|
|
3318
|
+
},
|
|
3319
|
+
"type": "String"
|
|
3299
3320
|
},
|
|
3300
3321
|
{
|
|
3322
|
+
"id": "resultVariable",
|
|
3301
3323
|
"label": "Result variable",
|
|
3302
|
-
"description": "Name of variable to store the response in
|
|
3324
|
+
"description": "Name of variable to store the response in",
|
|
3303
3325
|
"group": "output",
|
|
3304
|
-
"type": "String",
|
|
3305
3326
|
"binding": {
|
|
3306
|
-
"
|
|
3307
|
-
"
|
|
3308
|
-
}
|
|
3327
|
+
"key": "resultVariable",
|
|
3328
|
+
"type": "zeebe:taskHeader"
|
|
3329
|
+
},
|
|
3330
|
+
"type": "String"
|
|
3309
3331
|
},
|
|
3310
3332
|
{
|
|
3333
|
+
"id": "resultExpression",
|
|
3311
3334
|
"label": "Result expression",
|
|
3312
|
-
"description": "Expression to map the response into process variables
|
|
3313
|
-
"group": "output",
|
|
3314
|
-
"type": "Text",
|
|
3335
|
+
"description": "Expression to map the response into process variables",
|
|
3315
3336
|
"feel": "required",
|
|
3337
|
+
"group": "output",
|
|
3316
3338
|
"binding": {
|
|
3317
|
-
"
|
|
3318
|
-
"
|
|
3319
|
-
}
|
|
3339
|
+
"key": "resultExpression",
|
|
3340
|
+
"type": "zeebe:taskHeader"
|
|
3341
|
+
},
|
|
3342
|
+
"type": "Text"
|
|
3320
3343
|
},
|
|
3321
3344
|
{
|
|
3345
|
+
"id": "errorExpression",
|
|
3322
3346
|
"label": "Error expression",
|
|
3323
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
3324
|
-
"group": "errors",
|
|
3325
|
-
"type": "Text",
|
|
3347
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
|
|
3326
3348
|
"feel": "required",
|
|
3349
|
+
"group": "error",
|
|
3327
3350
|
"binding": {
|
|
3328
|
-
"
|
|
3329
|
-
"
|
|
3330
|
-
}
|
|
3351
|
+
"key": "errorExpression",
|
|
3352
|
+
"type": "zeebe:taskHeader"
|
|
3353
|
+
},
|
|
3354
|
+
"type": "Text"
|
|
3355
|
+
},
|
|
3356
|
+
{
|
|
3357
|
+
"id": "retryCount",
|
|
3358
|
+
"label": "Retries",
|
|
3359
|
+
"description": "Number of retries",
|
|
3360
|
+
"value": "3",
|
|
3361
|
+
"feel": "optional",
|
|
3362
|
+
"group": "retries",
|
|
3363
|
+
"binding": {
|
|
3364
|
+
"property": "retries",
|
|
3365
|
+
"type": "zeebe:taskDefinition"
|
|
3366
|
+
},
|
|
3367
|
+
"type": "String"
|
|
3368
|
+
},
|
|
3369
|
+
{
|
|
3370
|
+
"id": "retryBackoff",
|
|
3371
|
+
"label": "Retry backoff",
|
|
3372
|
+
"description": "ISO-8601 duration to wait between retries",
|
|
3373
|
+
"value": "PT0S",
|
|
3374
|
+
"feel": "optional",
|
|
3375
|
+
"group": "retries",
|
|
3376
|
+
"binding": {
|
|
3377
|
+
"key": "retryBackoff",
|
|
3378
|
+
"type": "zeebe:taskHeader"
|
|
3379
|
+
},
|
|
3380
|
+
"type": "String"
|
|
3331
3381
|
}
|
|
3332
3382
|
],
|
|
3383
|
+
"icon": {
|
|
3384
|
+
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
|
|
3385
|
+
},
|
|
3333
3386
|
"engines": {
|
|
3334
|
-
"camunda": "^8.
|
|
3387
|
+
"camunda": "^8.5"
|
|
3335
3388
|
}
|
|
3336
3389
|
},
|
|
3337
3390
|
{
|
|
@@ -3339,21 +3392,8 @@
|
|
|
3339
3392
|
"name": "Slack Outbound Connector",
|
|
3340
3393
|
"id": "io.camunda.connectors.Slack.v1",
|
|
3341
3394
|
"description": "Create a channel or send a message to a channel or user",
|
|
3342
|
-
"keywords": [
|
|
3343
|
-
"post message",
|
|
3344
|
-
"create channel",
|
|
3345
|
-
"invite to channel",
|
|
3346
|
-
"add reaction",
|
|
3347
|
-
"pin message",
|
|
3348
|
-
"unpin message",
|
|
3349
|
-
"send message",
|
|
3350
|
-
"channel",
|
|
3351
|
-
"messaging",
|
|
3352
|
-
"chat",
|
|
3353
|
-
"notification"
|
|
3354
|
-
],
|
|
3355
3395
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
|
|
3356
|
-
"version":
|
|
3396
|
+
"version": 4,
|
|
3357
3397
|
"category": {
|
|
3358
3398
|
"id": "connectors",
|
|
3359
3399
|
"name": "Connectors"
|
|
@@ -3362,9 +3402,6 @@
|
|
|
3362
3402
|
"elementType": {
|
|
3363
3403
|
"value": "bpmn:ServiceTask"
|
|
3364
3404
|
},
|
|
3365
|
-
"engines": {
|
|
3366
|
-
"camunda": "^8.3"
|
|
3367
|
-
},
|
|
3368
3405
|
"groups": [
|
|
3369
3406
|
{
|
|
3370
3407
|
"id": "authentication",
|
|
@@ -3386,22 +3423,6 @@
|
|
|
3386
3423
|
"id": "invite",
|
|
3387
3424
|
"label": "Invite"
|
|
3388
3425
|
},
|
|
3389
|
-
{
|
|
3390
|
-
"id": "reaction",
|
|
3391
|
-
"label": "Reaction"
|
|
3392
|
-
},
|
|
3393
|
-
{
|
|
3394
|
-
"id": "pinMessage",
|
|
3395
|
-
"label": "Pin Message"
|
|
3396
|
-
},
|
|
3397
|
-
{
|
|
3398
|
-
"id": "unpinMessage",
|
|
3399
|
-
"label": "Unpin Message"
|
|
3400
|
-
},
|
|
3401
|
-
{
|
|
3402
|
-
"id": "connector",
|
|
3403
|
-
"label": "Connector"
|
|
3404
|
-
},
|
|
3405
3426
|
{
|
|
3406
3427
|
"id": "output",
|
|
3407
3428
|
"label": "Output mapping"
|
|
@@ -3461,18 +3482,6 @@
|
|
|
3461
3482
|
{
|
|
3462
3483
|
"name": "Invite to channel",
|
|
3463
3484
|
"value": "conversations.invite"
|
|
3464
|
-
},
|
|
3465
|
-
{
|
|
3466
|
-
"name": "Add reaction",
|
|
3467
|
-
"value": "reactions.add"
|
|
3468
|
-
},
|
|
3469
|
-
{
|
|
3470
|
-
"name": "Pin Message",
|
|
3471
|
-
"value": "pins.add"
|
|
3472
|
-
},
|
|
3473
|
-
{
|
|
3474
|
-
"name": "Unpin Message",
|
|
3475
|
-
"value": "pins.remove"
|
|
3476
3485
|
}
|
|
3477
3486
|
]
|
|
3478
3487
|
},
|
|
@@ -3565,28 +3574,10 @@
|
|
|
3565
3574
|
},
|
|
3566
3575
|
{
|
|
3567
3576
|
"property": "method",
|
|
3568
|
-
"equals": "chat.postMessage",
|
|
3569
|
-
"type": "simple"
|
|
3570
|
-
}
|
|
3571
|
-
]
|
|
3572
|
-
},
|
|
3573
|
-
"type": "String"
|
|
3574
|
-
},
|
|
3575
|
-
{
|
|
3576
|
-
"id": "data.documents",
|
|
3577
|
-
"label": "attachments",
|
|
3578
|
-
"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",
|
|
3579
|
-
"optional": true,
|
|
3580
|
-
"feel": "required",
|
|
3581
|
-
"group": "message",
|
|
3582
|
-
"binding": {
|
|
3583
|
-
"name": "data.documents",
|
|
3584
|
-
"type": "zeebe:input"
|
|
3585
|
-
},
|
|
3586
|
-
"condition": {
|
|
3587
|
-
"property": "method",
|
|
3588
|
-
"equals": "chat.postMessage",
|
|
3589
|
-
"type": "simple"
|
|
3577
|
+
"equals": "chat.postMessage",
|
|
3578
|
+
"type": "simple"
|
|
3579
|
+
}
|
|
3580
|
+
]
|
|
3590
3581
|
},
|
|
3591
3582
|
"type": "String"
|
|
3592
3583
|
},
|
|
@@ -3681,42 +3672,6 @@
|
|
|
3681
3672
|
}
|
|
3682
3673
|
]
|
|
3683
3674
|
},
|
|
3684
|
-
{
|
|
3685
|
-
"id": "data.channelType",
|
|
3686
|
-
"label": "Invite By",
|
|
3687
|
-
"optional": false,
|
|
3688
|
-
"value": "channelId",
|
|
3689
|
-
"group": "invite",
|
|
3690
|
-
"binding": {
|
|
3691
|
-
"name": "data.channelType",
|
|
3692
|
-
"type": "zeebe:input"
|
|
3693
|
-
},
|
|
3694
|
-
"condition": {
|
|
3695
|
-
"allMatch": [
|
|
3696
|
-
{
|
|
3697
|
-
"property": "method",
|
|
3698
|
-
"equals": "conversations.invite",
|
|
3699
|
-
"type": "simple"
|
|
3700
|
-
},
|
|
3701
|
-
{
|
|
3702
|
-
"property": "method",
|
|
3703
|
-
"equals": "conversations.invite",
|
|
3704
|
-
"type": "simple"
|
|
3705
|
-
}
|
|
3706
|
-
]
|
|
3707
|
-
},
|
|
3708
|
-
"type": "Dropdown",
|
|
3709
|
-
"choices": [
|
|
3710
|
-
{
|
|
3711
|
-
"name": "Channel ID",
|
|
3712
|
-
"value": "channelId"
|
|
3713
|
-
},
|
|
3714
|
-
{
|
|
3715
|
-
"name": "Channel name",
|
|
3716
|
-
"value": "channelName"
|
|
3717
|
-
}
|
|
3718
|
-
]
|
|
3719
|
-
},
|
|
3720
3675
|
{
|
|
3721
3676
|
"id": "data.channelName",
|
|
3722
3677
|
"label": "Channel name",
|
|
@@ -3735,51 +3690,9 @@
|
|
|
3735
3690
|
"type": "zeebe:input"
|
|
3736
3691
|
},
|
|
3737
3692
|
"condition": {
|
|
3738
|
-
"
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
"equals": "channelName",
|
|
3742
|
-
"type": "simple"
|
|
3743
|
-
},
|
|
3744
|
-
{
|
|
3745
|
-
"property": "method",
|
|
3746
|
-
"equals": "conversations.invite",
|
|
3747
|
-
"type": "simple"
|
|
3748
|
-
}
|
|
3749
|
-
]
|
|
3750
|
-
},
|
|
3751
|
-
"type": "String"
|
|
3752
|
-
},
|
|
3753
|
-
{
|
|
3754
|
-
"id": "data.channelId",
|
|
3755
|
-
"label": "Channel ID",
|
|
3756
|
-
"optional": false,
|
|
3757
|
-
"constraints": {
|
|
3758
|
-
"notEmpty": true,
|
|
3759
|
-
"pattern": {
|
|
3760
|
-
"value": "^(=|([-_a-z0-9]{1,80}$))",
|
|
3761
|
-
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
3762
|
-
}
|
|
3763
|
-
},
|
|
3764
|
-
"feel": "optional",
|
|
3765
|
-
"group": "invite",
|
|
3766
|
-
"binding": {
|
|
3767
|
-
"name": "data.channelId",
|
|
3768
|
-
"type": "zeebe:input"
|
|
3769
|
-
},
|
|
3770
|
-
"condition": {
|
|
3771
|
-
"allMatch": [
|
|
3772
|
-
{
|
|
3773
|
-
"property": "data.channelType",
|
|
3774
|
-
"equals": "channelId",
|
|
3775
|
-
"type": "simple"
|
|
3776
|
-
},
|
|
3777
|
-
{
|
|
3778
|
-
"property": "method",
|
|
3779
|
-
"equals": "conversations.invite",
|
|
3780
|
-
"type": "simple"
|
|
3781
|
-
}
|
|
3782
|
-
]
|
|
3693
|
+
"property": "method",
|
|
3694
|
+
"equals": "conversations.invite",
|
|
3695
|
+
"type": "simple"
|
|
3783
3696
|
},
|
|
3784
3697
|
"type": "String"
|
|
3785
3698
|
},
|
|
@@ -3805,240 +3718,327 @@
|
|
|
3805
3718
|
"type": "String"
|
|
3806
3719
|
},
|
|
3807
3720
|
{
|
|
3808
|
-
"id": "
|
|
3809
|
-
"label": "
|
|
3810
|
-
"description": "
|
|
3811
|
-
"
|
|
3812
|
-
"
|
|
3813
|
-
"
|
|
3721
|
+
"id": "resultVariable",
|
|
3722
|
+
"label": "Result variable",
|
|
3723
|
+
"description": "Name of variable to store the response in",
|
|
3724
|
+
"group": "output",
|
|
3725
|
+
"binding": {
|
|
3726
|
+
"key": "resultVariable",
|
|
3727
|
+
"type": "zeebe:taskHeader"
|
|
3728
|
+
},
|
|
3729
|
+
"type": "String"
|
|
3730
|
+
},
|
|
3731
|
+
{
|
|
3732
|
+
"id": "resultExpression",
|
|
3733
|
+
"label": "Result expression",
|
|
3734
|
+
"description": "Expression to map the response into process variables",
|
|
3735
|
+
"feel": "required",
|
|
3736
|
+
"group": "output",
|
|
3737
|
+
"binding": {
|
|
3738
|
+
"key": "resultExpression",
|
|
3739
|
+
"type": "zeebe:taskHeader"
|
|
3740
|
+
},
|
|
3741
|
+
"type": "Text"
|
|
3742
|
+
},
|
|
3743
|
+
{
|
|
3744
|
+
"id": "errorExpression",
|
|
3745
|
+
"label": "Error expression",
|
|
3746
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
|
|
3747
|
+
"feel": "required",
|
|
3748
|
+
"group": "error",
|
|
3749
|
+
"binding": {
|
|
3750
|
+
"key": "errorExpression",
|
|
3751
|
+
"type": "zeebe:taskHeader"
|
|
3814
3752
|
},
|
|
3753
|
+
"type": "Text"
|
|
3754
|
+
},
|
|
3755
|
+
{
|
|
3756
|
+
"id": "retryCount",
|
|
3757
|
+
"label": "Retries",
|
|
3758
|
+
"description": "Number of retries",
|
|
3759
|
+
"value": "3",
|
|
3815
3760
|
"feel": "optional",
|
|
3816
|
-
"group": "
|
|
3761
|
+
"group": "retries",
|
|
3817
3762
|
"binding": {
|
|
3818
|
-
"
|
|
3819
|
-
"type": "zeebe:
|
|
3763
|
+
"property": "retries",
|
|
3764
|
+
"type": "zeebe:taskDefinition"
|
|
3820
3765
|
},
|
|
3821
|
-
"
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3766
|
+
"type": "String"
|
|
3767
|
+
},
|
|
3768
|
+
{
|
|
3769
|
+
"id": "retryBackoff",
|
|
3770
|
+
"label": "Retry backoff",
|
|
3771
|
+
"description": "ISO-8601 duration to wait between retries",
|
|
3772
|
+
"value": "PT0S",
|
|
3773
|
+
"feel": "optional",
|
|
3774
|
+
"group": "retries",
|
|
3775
|
+
"binding": {
|
|
3776
|
+
"key": "retryBackoff",
|
|
3777
|
+
"type": "zeebe:taskHeader"
|
|
3825
3778
|
},
|
|
3826
3779
|
"type": "String"
|
|
3780
|
+
}
|
|
3781
|
+
],
|
|
3782
|
+
"icon": {
|
|
3783
|
+
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
|
|
3784
|
+
},
|
|
3785
|
+
"engines": {
|
|
3786
|
+
"camunda": "^8.6"
|
|
3787
|
+
}
|
|
3788
|
+
},
|
|
3789
|
+
{
|
|
3790
|
+
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
3791
|
+
"name": "Slack Outbound Connector",
|
|
3792
|
+
"id": "io.camunda.connectors.Slack.v1",
|
|
3793
|
+
"version": 2,
|
|
3794
|
+
"description": "Create a channel or send a message to a channel or user",
|
|
3795
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
|
|
3796
|
+
"icon": {
|
|
3797
|
+
"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"
|
|
3798
|
+
},
|
|
3799
|
+
"category": {
|
|
3800
|
+
"id": "connectors",
|
|
3801
|
+
"name": "Connectors"
|
|
3802
|
+
},
|
|
3803
|
+
"appliesTo": ["bpmn:Task"],
|
|
3804
|
+
"elementType": {
|
|
3805
|
+
"value": "bpmn:ServiceTask"
|
|
3806
|
+
},
|
|
3807
|
+
"groups": [
|
|
3808
|
+
{
|
|
3809
|
+
"id": "method",
|
|
3810
|
+
"label": "Method"
|
|
3827
3811
|
},
|
|
3828
3812
|
{
|
|
3829
|
-
"id": "
|
|
3830
|
-
"label": "
|
|
3831
|
-
|
|
3832
|
-
|
|
3813
|
+
"id": "authentication",
|
|
3814
|
+
"label": "Authentication"
|
|
3815
|
+
},
|
|
3816
|
+
{
|
|
3817
|
+
"id": "message",
|
|
3818
|
+
"label": "Message"
|
|
3819
|
+
},
|
|
3820
|
+
{
|
|
3821
|
+
"id": "channel",
|
|
3822
|
+
"label": "Channel"
|
|
3823
|
+
},
|
|
3824
|
+
{
|
|
3825
|
+
"id": "invite",
|
|
3826
|
+
"label": "Invite"
|
|
3827
|
+
},
|
|
3828
|
+
{
|
|
3829
|
+
"id": "output",
|
|
3830
|
+
"label": "Output mapping"
|
|
3831
|
+
},
|
|
3832
|
+
{
|
|
3833
|
+
"id": "errors",
|
|
3834
|
+
"label": "Error handling"
|
|
3835
|
+
}
|
|
3836
|
+
],
|
|
3837
|
+
"properties": [
|
|
3838
|
+
{
|
|
3839
|
+
"type": "Hidden",
|
|
3840
|
+
"value": "io.camunda:slack:1",
|
|
3841
|
+
"binding": {
|
|
3842
|
+
"type": "zeebe:taskDefinition",
|
|
3843
|
+
"property": "type"
|
|
3844
|
+
}
|
|
3845
|
+
},
|
|
3846
|
+
{
|
|
3847
|
+
"label": "Method",
|
|
3848
|
+
"group": "method",
|
|
3849
|
+
"id": "method",
|
|
3850
|
+
"type": "Dropdown",
|
|
3851
|
+
"value": "chat.postMessage",
|
|
3852
|
+
"choices": [
|
|
3853
|
+
{
|
|
3854
|
+
"name": "Post message",
|
|
3855
|
+
"value": "chat.postMessage"
|
|
3856
|
+
},
|
|
3857
|
+
{
|
|
3858
|
+
"name": "Create channel",
|
|
3859
|
+
"value": "conversations.create"
|
|
3860
|
+
},
|
|
3861
|
+
{
|
|
3862
|
+
"name": "Invite to channel",
|
|
3863
|
+
"value": "conversations.invite"
|
|
3864
|
+
}
|
|
3865
|
+
],
|
|
3866
|
+
"binding": {
|
|
3867
|
+
"type": "zeebe:input",
|
|
3868
|
+
"name": "method"
|
|
3869
|
+
}
|
|
3870
|
+
},
|
|
3871
|
+
{
|
|
3872
|
+
"label": "OAuth token",
|
|
3873
|
+
"group": "authentication",
|
|
3874
|
+
"type": "String",
|
|
3875
|
+
"feel": "optional",
|
|
3876
|
+
"binding": {
|
|
3877
|
+
"type": "zeebe:input",
|
|
3878
|
+
"name": "token"
|
|
3879
|
+
},
|
|
3833
3880
|
"constraints": {
|
|
3834
3881
|
"notEmpty": true
|
|
3835
|
-
}
|
|
3882
|
+
}
|
|
3883
|
+
},
|
|
3884
|
+
{
|
|
3885
|
+
"label": "Channel/user name/email",
|
|
3886
|
+
"group": "channel",
|
|
3887
|
+
"type": "String",
|
|
3836
3888
|
"feel": "optional",
|
|
3837
|
-
"group": "reaction",
|
|
3838
3889
|
"binding": {
|
|
3839
|
-
"
|
|
3840
|
-
"
|
|
3841
|
-
},
|
|
3842
|
-
"condition": {
|
|
3843
|
-
"property": "method",
|
|
3844
|
-
"equals": "reactions.add",
|
|
3845
|
-
"type": "simple"
|
|
3890
|
+
"type": "zeebe:input",
|
|
3891
|
+
"name": "data.channel"
|
|
3846
3892
|
},
|
|
3847
|
-
"type": "String"
|
|
3848
|
-
},
|
|
3849
|
-
{
|
|
3850
|
-
"id": "data.timestamp",
|
|
3851
|
-
"label": "Message timestamp",
|
|
3852
|
-
"description": "Timestamp of the Slack message to react to",
|
|
3853
|
-
"optional": false,
|
|
3854
3893
|
"constraints": {
|
|
3855
|
-
"notEmpty": true
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
"name": "data.timestamp",
|
|
3861
|
-
"type": "zeebe:input"
|
|
3894
|
+
"notEmpty": true,
|
|
3895
|
+
"pattern": {
|
|
3896
|
+
"value": "(^(#|@|=).*)|(^.+[@].+[.].{2,4}$)",
|
|
3897
|
+
"message": "Must be a #channel, @user, email or FEEL expression."
|
|
3898
|
+
}
|
|
3862
3899
|
},
|
|
3863
3900
|
"condition": {
|
|
3864
3901
|
"property": "method",
|
|
3865
|
-
"equals": "
|
|
3866
|
-
|
|
3867
|
-
},
|
|
3868
|
-
"type": "String"
|
|
3902
|
+
"equals": "chat.postMessage"
|
|
3903
|
+
}
|
|
3869
3904
|
},
|
|
3870
3905
|
{
|
|
3871
|
-
"
|
|
3872
|
-
"
|
|
3873
|
-
"
|
|
3874
|
-
"optional": false,
|
|
3875
|
-
"constraints": {
|
|
3876
|
-
"notEmpty": true
|
|
3877
|
-
},
|
|
3906
|
+
"label": "New channel name",
|
|
3907
|
+
"group": "channel",
|
|
3908
|
+
"type": "String",
|
|
3878
3909
|
"feel": "optional",
|
|
3879
|
-
"group": "pinMessage",
|
|
3880
3910
|
"binding": {
|
|
3881
|
-
"
|
|
3882
|
-
"
|
|
3911
|
+
"type": "zeebe:input",
|
|
3912
|
+
"name": "data.newChannelName"
|
|
3913
|
+
},
|
|
3914
|
+
"constraints": {
|
|
3915
|
+
"notEmpty": true,
|
|
3916
|
+
"pattern": {
|
|
3917
|
+
"value": "^(=|([-_a-z0-9]{1,80}$))",
|
|
3918
|
+
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
3919
|
+
}
|
|
3883
3920
|
},
|
|
3884
3921
|
"condition": {
|
|
3885
3922
|
"property": "method",
|
|
3886
|
-
"equals": "
|
|
3887
|
-
|
|
3888
|
-
},
|
|
3889
|
-
"type": "String"
|
|
3923
|
+
"equals": "conversations.create"
|
|
3924
|
+
}
|
|
3890
3925
|
},
|
|
3891
3926
|
{
|
|
3892
|
-
"
|
|
3893
|
-
"
|
|
3894
|
-
"
|
|
3927
|
+
"label": "Visibility",
|
|
3928
|
+
"group": "channel",
|
|
3929
|
+
"type": "Dropdown",
|
|
3930
|
+
"value": "PUBLIC",
|
|
3895
3931
|
"optional": false,
|
|
3896
|
-
"
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3932
|
+
"choices": [
|
|
3933
|
+
{
|
|
3934
|
+
"name": "Private",
|
|
3935
|
+
"value": "PRIVATE"
|
|
3936
|
+
},
|
|
3937
|
+
{
|
|
3938
|
+
"name": "Public",
|
|
3939
|
+
"value": "PUBLIC"
|
|
3940
|
+
}
|
|
3941
|
+
],
|
|
3901
3942
|
"binding": {
|
|
3902
|
-
"
|
|
3903
|
-
"
|
|
3943
|
+
"type": "zeebe:input",
|
|
3944
|
+
"name": "data.visibility"
|
|
3904
3945
|
},
|
|
3905
3946
|
"condition": {
|
|
3906
3947
|
"property": "method",
|
|
3907
|
-
"equals": "
|
|
3908
|
-
|
|
3909
|
-
},
|
|
3910
|
-
"type": "String"
|
|
3948
|
+
"equals": "conversations.create"
|
|
3949
|
+
}
|
|
3911
3950
|
},
|
|
3912
3951
|
{
|
|
3913
|
-
"
|
|
3914
|
-
"
|
|
3915
|
-
"
|
|
3916
|
-
"optional": false,
|
|
3917
|
-
"constraints": {
|
|
3918
|
-
"notEmpty": true
|
|
3919
|
-
},
|
|
3952
|
+
"label": "Message",
|
|
3953
|
+
"group": "message",
|
|
3954
|
+
"type": "Text",
|
|
3920
3955
|
"feel": "optional",
|
|
3921
|
-
"group": "unpinMessage",
|
|
3922
3956
|
"binding": {
|
|
3923
|
-
"
|
|
3924
|
-
"
|
|
3925
|
-
},
|
|
3926
|
-
"condition": {
|
|
3927
|
-
"property": "method",
|
|
3928
|
-
"equals": "pins.remove",
|
|
3929
|
-
"type": "simple"
|
|
3957
|
+
"type": "zeebe:input",
|
|
3958
|
+
"name": "data.text"
|
|
3930
3959
|
},
|
|
3931
|
-
"type": "String"
|
|
3932
|
-
},
|
|
3933
|
-
{
|
|
3934
|
-
"id": "unpinMessage.timestamp",
|
|
3935
|
-
"label": "Message timestamp",
|
|
3936
|
-
"description": "Timestamp of the Slack message to unpin",
|
|
3937
|
-
"optional": false,
|
|
3938
3960
|
"constraints": {
|
|
3939
3961
|
"notEmpty": true
|
|
3940
3962
|
},
|
|
3941
|
-
"feel": "required",
|
|
3942
|
-
"group": "unpinMessage",
|
|
3943
|
-
"binding": {
|
|
3944
|
-
"name": "data.timestamp",
|
|
3945
|
-
"type": "zeebe:input"
|
|
3946
|
-
},
|
|
3947
3963
|
"condition": {
|
|
3948
3964
|
"property": "method",
|
|
3949
|
-
"equals": "
|
|
3950
|
-
|
|
3951
|
-
},
|
|
3952
|
-
"type": "String"
|
|
3965
|
+
"equals": "chat.postMessage"
|
|
3966
|
+
}
|
|
3953
3967
|
},
|
|
3954
3968
|
{
|
|
3955
|
-
"
|
|
3956
|
-
"
|
|
3957
|
-
"
|
|
3958
|
-
"
|
|
3959
|
-
"group": "connector",
|
|
3969
|
+
"label": "Channel name",
|
|
3970
|
+
"group": "invite",
|
|
3971
|
+
"type": "String",
|
|
3972
|
+
"feel": "optional",
|
|
3960
3973
|
"binding": {
|
|
3961
|
-
"
|
|
3962
|
-
"
|
|
3974
|
+
"type": "zeebe:input",
|
|
3975
|
+
"name": "data.channelName"
|
|
3963
3976
|
},
|
|
3964
|
-
"
|
|
3977
|
+
"constraints": {
|
|
3978
|
+
"notEmpty": true,
|
|
3979
|
+
"pattern": {
|
|
3980
|
+
"value": "^(=|[-_a-z0-9]{1,80}$)",
|
|
3981
|
+
"message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
|
|
3982
|
+
}
|
|
3983
|
+
},
|
|
3984
|
+
"condition": {
|
|
3985
|
+
"property": "method",
|
|
3986
|
+
"equals": "conversations.invite"
|
|
3987
|
+
}
|
|
3965
3988
|
},
|
|
3966
3989
|
{
|
|
3967
|
-
"
|
|
3968
|
-
"
|
|
3969
|
-
"
|
|
3970
|
-
"
|
|
3971
|
-
"
|
|
3990
|
+
"label": "Users",
|
|
3991
|
+
"description": "Comma-separated list of users, e.g., '@user1,@user2' or '=[ \"@user1\", \"user2@company.com\"]'",
|
|
3992
|
+
"group": "invite",
|
|
3993
|
+
"type": "String",
|
|
3994
|
+
"feel": "optional",
|
|
3972
3995
|
"binding": {
|
|
3973
|
-
"
|
|
3974
|
-
"
|
|
3996
|
+
"type": "zeebe:input",
|
|
3997
|
+
"name": "data.users"
|
|
3975
3998
|
},
|
|
3976
|
-
"
|
|
3999
|
+
"constraints": {
|
|
4000
|
+
"notEmpty": true
|
|
4001
|
+
},
|
|
4002
|
+
"condition": {
|
|
4003
|
+
"property": "method",
|
|
4004
|
+
"equals": "conversations.invite"
|
|
4005
|
+
}
|
|
3977
4006
|
},
|
|
3978
4007
|
{
|
|
3979
|
-
"id": "resultVariable",
|
|
3980
4008
|
"label": "Result variable",
|
|
3981
|
-
"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
|
|
4009
|
+
"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>",
|
|
3982
4010
|
"group": "output",
|
|
4011
|
+
"type": "String",
|
|
3983
4012
|
"binding": {
|
|
3984
|
-
"
|
|
3985
|
-
"
|
|
3986
|
-
}
|
|
3987
|
-
"type": "String"
|
|
4013
|
+
"type": "zeebe:taskHeader",
|
|
4014
|
+
"key": "resultVariable"
|
|
4015
|
+
}
|
|
3988
4016
|
},
|
|
3989
4017
|
{
|
|
3990
|
-
"id": "resultExpression",
|
|
3991
4018
|
"label": "Result expression",
|
|
3992
|
-
"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
|
|
3993
|
-
"value": "{\n myResponse: response\n // Use FEEL to extract values depending on message\n // type, e.g.,: myMessage: response.message.text\n}",
|
|
3994
|
-
"feel": "required",
|
|
4019
|
+
"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>",
|
|
3995
4020
|
"group": "output",
|
|
4021
|
+
"type": "Text",
|
|
4022
|
+
"feel": "required",
|
|
3996
4023
|
"binding": {
|
|
3997
|
-
"
|
|
3998
|
-
"
|
|
3999
|
-
}
|
|
4000
|
-
"type": "Text"
|
|
4024
|
+
"type": "zeebe:taskHeader",
|
|
4025
|
+
"key": "resultExpression"
|
|
4026
|
+
}
|
|
4001
4027
|
},
|
|
4002
4028
|
{
|
|
4003
|
-
"id": "errorExpression",
|
|
4004
4029
|
"label": "Error expression",
|
|
4005
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
4030
|
+
"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>",
|
|
4031
|
+
"group": "errors",
|
|
4032
|
+
"type": "Text",
|
|
4006
4033
|
"feel": "required",
|
|
4007
|
-
"group": "error",
|
|
4008
|
-
"binding": {
|
|
4009
|
-
"key": "errorExpression",
|
|
4010
|
-
"type": "zeebe:taskHeader"
|
|
4011
|
-
},
|
|
4012
|
-
"type": "Text"
|
|
4013
|
-
},
|
|
4014
|
-
{
|
|
4015
|
-
"id": "retryCount",
|
|
4016
|
-
"label": "Retries",
|
|
4017
|
-
"description": "Number of retries",
|
|
4018
|
-
"value": "3",
|
|
4019
|
-
"feel": "optional",
|
|
4020
|
-
"group": "retries",
|
|
4021
|
-
"binding": {
|
|
4022
|
-
"property": "retries",
|
|
4023
|
-
"type": "zeebe:taskDefinition"
|
|
4024
|
-
},
|
|
4025
|
-
"type": "String"
|
|
4026
|
-
},
|
|
4027
|
-
{
|
|
4028
|
-
"id": "retryBackoff",
|
|
4029
|
-
"label": "Retry backoff",
|
|
4030
|
-
"description": "ISO-8601 duration to wait between retries",
|
|
4031
|
-
"value": "PT0S",
|
|
4032
|
-
"group": "retries",
|
|
4033
4034
|
"binding": {
|
|
4034
|
-
"
|
|
4035
|
-
"
|
|
4036
|
-
}
|
|
4037
|
-
"type": "String"
|
|
4035
|
+
"type": "zeebe:taskHeader",
|
|
4036
|
+
"key": "errorExpression"
|
|
4037
|
+
}
|
|
4038
4038
|
}
|
|
4039
4039
|
],
|
|
4040
|
-
"
|
|
4041
|
-
"
|
|
4040
|
+
"engines": {
|
|
4041
|
+
"camunda": "^8.2"
|
|
4042
4042
|
}
|
|
4043
4043
|
},
|
|
4044
4044
|
{
|
|
@@ -5496,7 +5496,7 @@
|
|
|
5496
5496
|
"id": "retryBackoff",
|
|
5497
5497
|
"label": "Retry backoff",
|
|
5498
5498
|
"description": "ISO-8601 duration to wait between retries",
|
|
5499
|
-
"value": "
|
|
5499
|
+
"value": "PT30S",
|
|
5500
5500
|
"group": "retries",
|
|
5501
5501
|
"binding": {
|
|
5502
5502
|
"key": "retryBackoff",
|