@camunda/connectors-element-templates 1.0.3 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/connectors.js +8 -2
- package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +30 -30
- package/src/element-templates/agenticai-aiagent-outbound-connector.json +323 -9
- package/src/element-templates/asana-connector.json +101 -101
- package/src/element-templates/automation-anywhere-outbound-connector.json +1777 -961
- package/src/element-templates/aws-bedrock-outbound-connector.json +74 -74
- package/src/element-templates/aws-comprehend-outbound-connector.json +36 -36
- package/src/element-templates/aws-dynamodb-outbound-connector.json +1373 -1373
- package/src/element-templates/aws-eventbridge-connector-boundary.json +28 -28
- package/src/element-templates/aws-eventbridge-connector-message-start.json +10 -10
- package/src/element-templates/aws-eventbridge-connector-start-event.json +23 -23
- package/src/element-templates/aws-eventbridge-outbound-connector.json +326 -326
- package/src/element-templates/aws-lambda-outbound-connector.json +231 -231
- package/src/element-templates/aws-sagemaker-outbound-connector.json +50 -50
- package/src/element-templates/aws-sns-inbound-boundary.json +285 -285
- package/src/element-templates/aws-sns-inbound-intermediate.json +33 -33
- package/src/element-templates/aws-sns-inbound-message-start.json +227 -227
- package/src/element-templates/aws-sns-inbound-start-event.json +132 -132
- package/src/element-templates/aws-sns-outbound-connector.json +370 -370
- package/src/element-templates/aws-sqs-boundary-connector.json +232 -232
- package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +532 -532
- package/src/element-templates/aws-sqs-outbound-connector.json +396 -396
- package/src/element-templates/aws-sqs-start-event-connector.json +389 -389
- package/src/element-templates/aws-textract-outbound-connector.json +123 -123
- package/src/element-templates/azure-blobstorage-outbound-connector.json +349 -0
- package/src/element-templates/blue-prism-connector.json +13 -13
- package/src/element-templates/box-outbound-connector.json +30 -30
- package/src/element-templates/easy-post-connector.json +121 -121
- package/src/element-templates/email-outbound-connector.json +233 -233
- package/src/element-templates/github-connector.json +1259 -1259
- package/src/element-templates/github-webhook-connector-boundary.json +35 -35
- package/src/element-templates/github-webhook-connector-intermediate.json +31 -31
- package/src/element-templates/github-webhook-connector-start-event.json +34 -34
- package/src/element-templates/gitlab-connector.json +3333 -3333
- package/src/element-templates/google-cloud-storage-outbound-connector.json +357 -0
- package/src/element-templates/google-drive-outbound-connector.json +414 -101
- package/src/element-templates/google-gemini-outbound-connector.json +32 -32
- package/src/element-templates/google-maps-platform-connector.json +489 -0
- package/src/element-templates/google-sheets-outbound-connector.json +2468 -2468
- package/src/element-templates/graphql-outbound-connector.json +1113 -1113
- package/src/element-templates/http-json-connector.json +2202 -1290
- package/src/element-templates/http-polling-boundary-catch-event-connector.json +6 -6
- package/src/element-templates/http-polling-connector.json +6 -6
- package/src/element-templates/hugging-face-connector.json +34 -34
- package/src/element-templates/idp-extraction-outbound-connector.json +115 -0
- package/src/element-templates/jdbc-outbound-connector.json +36 -36
- package/src/element-templates/kafka-inbound-connector-boundary.json +540 -540
- package/src/element-templates/kafka-inbound-connector-intermediate.json +585 -585
- package/src/element-templates/kafka-inbound-connector.json +603 -0
- package/src/element-templates/kafka-outbound-connector.json +261 -261
- package/src/element-templates/microsoft-office365-mail-connector.json +32 -32
- package/src/element-templates/microsoft-teams-outbound-connector.json +98 -98
- package/src/element-templates/openai-connector.json +517 -159
- package/src/element-templates/operate-connector.json +569 -53
- package/src/element-templates/power-automate-connector.json +1724 -0
- package/src/element-templates/rabbitmq-inbound-connector-boundary.json +132 -132
- package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +941 -941
- package/src/element-templates/rabbitmq-inbound-connector-message-start.json +459 -459
- package/src/element-templates/rabbitmq-inbound-connector-start-event.json +269 -269
- package/src/element-templates/rabbitmq-outbound-connector.json +631 -631
- package/src/element-templates/salesforce-connector.json +44 -44
- package/src/element-templates/sendgrid-outbound-connector.json +787 -255
- package/src/element-templates/slack-inbound-boundary.json +215 -215
- package/src/element-templates/slack-inbound-intermediate.json +178 -178
- package/src/element-templates/slack-inbound-message-start.json +323 -323
- package/src/element-templates/slack-inbound-start-event.json +212 -212
- package/src/element-templates/slack-outbound-connector.json +777 -522
- package/src/element-templates/twilio-connector.json +29 -29
- package/src/element-templates/twilio-webhook-boundary-connector.json +28 -28
- package/src/element-templates/twilio-webhook-intermediate-connector.json +31 -31
- package/src/element-templates/uipath-connector.json +8 -8
- package/src/element-templates/webhook-connector-boundary.json +1133 -1133
- package/src/element-templates/webhook-connector-intermediate.json +1380 -1380
- package/src/element-templates/webhook-connector-start-event.json +1370 -1370
- package/src/element-templates/webhook-connector-start-message.json +1171 -1171
- package/src/element-templates/agenticai-aiagent-outbound-connector-8.8.0-alpha4.json +0 -843
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"keywords": []
|
|
9
9
|
},
|
|
10
10
|
"documentationRef": "https://docs.camunda.io/docs/8.7/components/connectors/out-of-the-box-connectors/google-gemini/",
|
|
11
|
-
"version":
|
|
11
|
+
"version": 1,
|
|
12
12
|
"category": {
|
|
13
13
|
"id": "connectors",
|
|
14
14
|
"name": "Connectors"
|
|
@@ -29,10 +29,6 @@
|
|
|
29
29
|
"id": "input",
|
|
30
30
|
"label": "Configure input"
|
|
31
31
|
},
|
|
32
|
-
{
|
|
33
|
-
"id": "connector",
|
|
34
|
-
"label": "Connector"
|
|
35
|
-
},
|
|
36
32
|
{
|
|
37
33
|
"id": "output",
|
|
38
34
|
"label": "Output mapping"
|
|
@@ -547,7 +543,7 @@
|
|
|
547
543
|
"name": "input.seed",
|
|
548
544
|
"type": "zeebe:input"
|
|
549
545
|
},
|
|
550
|
-
"tooltip": "Setting a seed value is useful when you make repeated requests and want the same model response.\nDeterministic outcome isn
|
|
546
|
+
"tooltip": "Setting a seed value is useful when you make repeated requests and want the same model response.\nDeterministic outcome isn\u2019t guaranteed. Changing the model or other settings can cause variations in the response even when you use the same seed value.",
|
|
551
547
|
"type": "Number"
|
|
552
548
|
},
|
|
553
549
|
{
|
|
@@ -608,30 +604,6 @@
|
|
|
608
604
|
},
|
|
609
605
|
"type": "String"
|
|
610
606
|
},
|
|
611
|
-
{
|
|
612
|
-
"id": "version",
|
|
613
|
-
"label": "Version",
|
|
614
|
-
"description": "Version of the element template",
|
|
615
|
-
"value": "2",
|
|
616
|
-
"group": "connector",
|
|
617
|
-
"binding": {
|
|
618
|
-
"key": "elementTemplateVersion",
|
|
619
|
-
"type": "zeebe:taskHeader"
|
|
620
|
-
},
|
|
621
|
-
"type": "Hidden"
|
|
622
|
-
},
|
|
623
|
-
{
|
|
624
|
-
"id": "id",
|
|
625
|
-
"label": "ID",
|
|
626
|
-
"description": "ID of the element template",
|
|
627
|
-
"value": "io.camunda.connectors.GoogleGemini.v1",
|
|
628
|
-
"group": "connector",
|
|
629
|
-
"binding": {
|
|
630
|
-
"key": "elementTemplateId",
|
|
631
|
-
"type": "zeebe:taskHeader"
|
|
632
|
-
},
|
|
633
|
-
"type": "Hidden"
|
|
634
|
-
},
|
|
635
607
|
{
|
|
636
608
|
"id": "resultVariable",
|
|
637
609
|
"label": "Result variable",
|
|
@@ -706,7 +678,7 @@
|
|
|
706
678
|
"keywords": []
|
|
707
679
|
},
|
|
708
680
|
"documentationRef": "https://docs.camunda.io/docs/8.7/components/connectors/out-of-the-box-connectors/google-gemini/",
|
|
709
|
-
"version":
|
|
681
|
+
"version": 2,
|
|
710
682
|
"category": {
|
|
711
683
|
"id": "connectors",
|
|
712
684
|
"name": "Connectors"
|
|
@@ -727,6 +699,10 @@
|
|
|
727
699
|
"id": "input",
|
|
728
700
|
"label": "Configure input"
|
|
729
701
|
},
|
|
702
|
+
{
|
|
703
|
+
"id": "connector",
|
|
704
|
+
"label": "Connector"
|
|
705
|
+
},
|
|
730
706
|
{
|
|
731
707
|
"id": "output",
|
|
732
708
|
"label": "Output mapping"
|
|
@@ -1241,7 +1217,7 @@
|
|
|
1241
1217
|
"name": "input.seed",
|
|
1242
1218
|
"type": "zeebe:input"
|
|
1243
1219
|
},
|
|
1244
|
-
"tooltip": "Setting a seed value is useful when you make repeated requests and want the same model response.\nDeterministic outcome isn
|
|
1220
|
+
"tooltip": "Setting a seed value is useful when you make repeated requests and want the same model response.\nDeterministic outcome isn’t guaranteed. Changing the model or other settings can cause variations in the response even when you use the same seed value.",
|
|
1245
1221
|
"type": "Number"
|
|
1246
1222
|
},
|
|
1247
1223
|
{
|
|
@@ -1302,6 +1278,30 @@
|
|
|
1302
1278
|
},
|
|
1303
1279
|
"type": "String"
|
|
1304
1280
|
},
|
|
1281
|
+
{
|
|
1282
|
+
"id": "version",
|
|
1283
|
+
"label": "Version",
|
|
1284
|
+
"description": "Version of the element template",
|
|
1285
|
+
"value": "2",
|
|
1286
|
+
"group": "connector",
|
|
1287
|
+
"binding": {
|
|
1288
|
+
"key": "elementTemplateVersion",
|
|
1289
|
+
"type": "zeebe:taskHeader"
|
|
1290
|
+
},
|
|
1291
|
+
"type": "Hidden"
|
|
1292
|
+
},
|
|
1293
|
+
{
|
|
1294
|
+
"id": "id",
|
|
1295
|
+
"label": "ID",
|
|
1296
|
+
"description": "ID of the element template",
|
|
1297
|
+
"value": "io.camunda.connectors.GoogleGemini.v1",
|
|
1298
|
+
"group": "connector",
|
|
1299
|
+
"binding": {
|
|
1300
|
+
"key": "elementTemplateId",
|
|
1301
|
+
"type": "zeebe:taskHeader"
|
|
1302
|
+
},
|
|
1303
|
+
"type": "Hidden"
|
|
1304
|
+
},
|
|
1305
1305
|
{
|
|
1306
1306
|
"id": "resultVariable",
|
|
1307
1307
|
"label": "Result variable",
|
|
@@ -1466,6 +1466,495 @@
|
|
|
1466
1466
|
"camunda": "^8.2"
|
|
1467
1467
|
}
|
|
1468
1468
|
},
|
|
1469
|
+
{
|
|
1470
|
+
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
1471
|
+
"name": "Google Maps Platform connector",
|
|
1472
|
+
"id": "io.camunda.connectors.GoogleMapsPlatform.v1",
|
|
1473
|
+
"deprecated": {
|
|
1474
|
+
"message": "Replace with 'Google Maps Platform connector' template.",
|
|
1475
|
+
"documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
|
|
1476
|
+
},
|
|
1477
|
+
"description": "The Google Maps connector validates addresses, retrieves postal addresses and calculates distances",
|
|
1478
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/",
|
|
1479
|
+
"category": {
|
|
1480
|
+
"id": "connectors",
|
|
1481
|
+
"name": "Connectors"
|
|
1482
|
+
},
|
|
1483
|
+
"appliesTo": ["bpmn:Task"],
|
|
1484
|
+
"elementType": {
|
|
1485
|
+
"value": "bpmn:ServiceTask"
|
|
1486
|
+
},
|
|
1487
|
+
"groups": [
|
|
1488
|
+
{
|
|
1489
|
+
"id": "operation",
|
|
1490
|
+
"label": "Operation"
|
|
1491
|
+
},
|
|
1492
|
+
{
|
|
1493
|
+
"id": "authentication",
|
|
1494
|
+
"label": "Authentication"
|
|
1495
|
+
},
|
|
1496
|
+
{
|
|
1497
|
+
"id": "configuration",
|
|
1498
|
+
"label": "Configuration"
|
|
1499
|
+
},
|
|
1500
|
+
{
|
|
1501
|
+
"id": "input",
|
|
1502
|
+
"label": "Input"
|
|
1503
|
+
},
|
|
1504
|
+
{
|
|
1505
|
+
"id": "output",
|
|
1506
|
+
"label": "Output"
|
|
1507
|
+
},
|
|
1508
|
+
{
|
|
1509
|
+
"id": "errors",
|
|
1510
|
+
"label": "Error handling"
|
|
1511
|
+
}
|
|
1512
|
+
],
|
|
1513
|
+
"properties": [
|
|
1514
|
+
{
|
|
1515
|
+
"type": "Hidden",
|
|
1516
|
+
"value": "io.camunda:http-json:1",
|
|
1517
|
+
"binding": {
|
|
1518
|
+
"type": "zeebe:taskDefinition",
|
|
1519
|
+
"property": "type"
|
|
1520
|
+
}
|
|
1521
|
+
},
|
|
1522
|
+
{
|
|
1523
|
+
"label": "Operation type",
|
|
1524
|
+
"id": "operationType",
|
|
1525
|
+
"group": "operation",
|
|
1526
|
+
"type": "Dropdown",
|
|
1527
|
+
"choices": [
|
|
1528
|
+
{
|
|
1529
|
+
"name": "Validate address",
|
|
1530
|
+
"value": "validateAddress"
|
|
1531
|
+
},
|
|
1532
|
+
{
|
|
1533
|
+
"name": "Get place ID",
|
|
1534
|
+
"value": "getPlaceID"
|
|
1535
|
+
},
|
|
1536
|
+
{
|
|
1537
|
+
"name": "Calculate distance",
|
|
1538
|
+
"value": "calculateDistance"
|
|
1539
|
+
}
|
|
1540
|
+
],
|
|
1541
|
+
"binding": {
|
|
1542
|
+
"type": "zeebe:input",
|
|
1543
|
+
"name": "operationType"
|
|
1544
|
+
}
|
|
1545
|
+
},
|
|
1546
|
+
{
|
|
1547
|
+
"type": "Hidden",
|
|
1548
|
+
"optional": false,
|
|
1549
|
+
"value": "post",
|
|
1550
|
+
"binding": {
|
|
1551
|
+
"type": "zeebe:input",
|
|
1552
|
+
"name": "method"
|
|
1553
|
+
},
|
|
1554
|
+
"constraints": {
|
|
1555
|
+
"notEmpty": true
|
|
1556
|
+
},
|
|
1557
|
+
"condition": {
|
|
1558
|
+
"property": "operationType",
|
|
1559
|
+
"oneOf": ["validateAddress"]
|
|
1560
|
+
}
|
|
1561
|
+
},
|
|
1562
|
+
{
|
|
1563
|
+
"type": "Hidden",
|
|
1564
|
+
"optional": false,
|
|
1565
|
+
"value": "get",
|
|
1566
|
+
"binding": {
|
|
1567
|
+
"type": "zeebe:input",
|
|
1568
|
+
"name": "method"
|
|
1569
|
+
},
|
|
1570
|
+
"constraints": {
|
|
1571
|
+
"notEmpty": true
|
|
1572
|
+
},
|
|
1573
|
+
"condition": {
|
|
1574
|
+
"property": "operationType",
|
|
1575
|
+
"oneOf": ["getPlaceID", "calculateDistance"]
|
|
1576
|
+
}
|
|
1577
|
+
},
|
|
1578
|
+
{
|
|
1579
|
+
"label": "API key",
|
|
1580
|
+
"description": "Google Maps Platform API key. Details in the <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/' target='_blank'>connector documentation</a>",
|
|
1581
|
+
"group": "authentication",
|
|
1582
|
+
"type": "String",
|
|
1583
|
+
"feel": "optional",
|
|
1584
|
+
"optional": false,
|
|
1585
|
+
"binding": {
|
|
1586
|
+
"type": "zeebe:input",
|
|
1587
|
+
"name": "apiKeyValue"
|
|
1588
|
+
},
|
|
1589
|
+
"constraints": {
|
|
1590
|
+
"notEmpty": true
|
|
1591
|
+
}
|
|
1592
|
+
},
|
|
1593
|
+
{
|
|
1594
|
+
"label": "Region code",
|
|
1595
|
+
"description": "You can find supported regions here <a href='https://developers.google.com/maps/documentation/address-validation/coverage' target='_blank'>supported regions</a>",
|
|
1596
|
+
"group": "input",
|
|
1597
|
+
"type": "String",
|
|
1598
|
+
"feel": "optional",
|
|
1599
|
+
"optional": true,
|
|
1600
|
+
"binding": {
|
|
1601
|
+
"type": "zeebe:input",
|
|
1602
|
+
"name": "body.address.regionCode"
|
|
1603
|
+
},
|
|
1604
|
+
"constraints": {
|
|
1605
|
+
"notEmpty": false
|
|
1606
|
+
},
|
|
1607
|
+
"condition": {
|
|
1608
|
+
"property": "operationType",
|
|
1609
|
+
"oneOf": ["validateAddress"]
|
|
1610
|
+
}
|
|
1611
|
+
},
|
|
1612
|
+
{
|
|
1613
|
+
"label": "Locality",
|
|
1614
|
+
"description": "An incorporated city or town political entity",
|
|
1615
|
+
"group": "input",
|
|
1616
|
+
"type": "String",
|
|
1617
|
+
"feel": "optional",
|
|
1618
|
+
"optional": true,
|
|
1619
|
+
"binding": {
|
|
1620
|
+
"type": "zeebe:input",
|
|
1621
|
+
"name": "body.address.locality"
|
|
1622
|
+
},
|
|
1623
|
+
"constraints": {
|
|
1624
|
+
"notEmpty": false
|
|
1625
|
+
},
|
|
1626
|
+
"condition": {
|
|
1627
|
+
"property": "operationType",
|
|
1628
|
+
"oneOf": ["validateAddress"]
|
|
1629
|
+
}
|
|
1630
|
+
},
|
|
1631
|
+
{
|
|
1632
|
+
"label": "Address",
|
|
1633
|
+
"description": "Unstructured address. Details in a <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/' target='_blank'> connector documentation</a>",
|
|
1634
|
+
"group": "input",
|
|
1635
|
+
"type": "String",
|
|
1636
|
+
"feel": "optional",
|
|
1637
|
+
"optional": false,
|
|
1638
|
+
"binding": {
|
|
1639
|
+
"type": "zeebe:input",
|
|
1640
|
+
"name": "addressValue"
|
|
1641
|
+
},
|
|
1642
|
+
"constraints": {
|
|
1643
|
+
"notEmpty": true
|
|
1644
|
+
},
|
|
1645
|
+
"condition": {
|
|
1646
|
+
"property": "operationType",
|
|
1647
|
+
"oneOf": ["validateAddress"]
|
|
1648
|
+
}
|
|
1649
|
+
},
|
|
1650
|
+
{
|
|
1651
|
+
"label": "Address",
|
|
1652
|
+
"description": "Complete address. Details in a <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/' target='_blank'> connector documentation</a>",
|
|
1653
|
+
"group": "input",
|
|
1654
|
+
"type": "String",
|
|
1655
|
+
"feel": "optional",
|
|
1656
|
+
"optional": false,
|
|
1657
|
+
"binding": {
|
|
1658
|
+
"type": "zeebe:input",
|
|
1659
|
+
"name": "addressValue"
|
|
1660
|
+
},
|
|
1661
|
+
"constraints": {
|
|
1662
|
+
"notEmpty": true
|
|
1663
|
+
},
|
|
1664
|
+
"condition": {
|
|
1665
|
+
"property": "operationType",
|
|
1666
|
+
"oneOf": ["getPlaceID"]
|
|
1667
|
+
}
|
|
1668
|
+
},
|
|
1669
|
+
{
|
|
1670
|
+
"label": "Destination",
|
|
1671
|
+
"description": "The place ID value that you want to use as the destination for calculating distance",
|
|
1672
|
+
"group": "input",
|
|
1673
|
+
"type": "String",
|
|
1674
|
+
"feel": "optional",
|
|
1675
|
+
"optional": false,
|
|
1676
|
+
"binding": {
|
|
1677
|
+
"type": "zeebe:input",
|
|
1678
|
+
"name": "destinationValue"
|
|
1679
|
+
},
|
|
1680
|
+
"constraints": {
|
|
1681
|
+
"notEmpty": true
|
|
1682
|
+
},
|
|
1683
|
+
"condition": {
|
|
1684
|
+
"property": "operationType",
|
|
1685
|
+
"oneOf": ["calculateDistance"]
|
|
1686
|
+
}
|
|
1687
|
+
},
|
|
1688
|
+
{
|
|
1689
|
+
"label": "Origin",
|
|
1690
|
+
"description": "The place ID value that you want to use as the starting point for calculating distance",
|
|
1691
|
+
"group": "input",
|
|
1692
|
+
"type": "String",
|
|
1693
|
+
"feel": "optional",
|
|
1694
|
+
"optional": false,
|
|
1695
|
+
"binding": {
|
|
1696
|
+
"type": "zeebe:input",
|
|
1697
|
+
"name": "originValue"
|
|
1698
|
+
},
|
|
1699
|
+
"constraints": {
|
|
1700
|
+
"notEmpty": true
|
|
1701
|
+
},
|
|
1702
|
+
"condition": {
|
|
1703
|
+
"property": "operationType",
|
|
1704
|
+
"oneOf": ["calculateDistance"]
|
|
1705
|
+
}
|
|
1706
|
+
},
|
|
1707
|
+
{
|
|
1708
|
+
"label": "Units",
|
|
1709
|
+
"description": "Specifies the unit system to use when displaying results",
|
|
1710
|
+
"group": "input",
|
|
1711
|
+
"value": "metric",
|
|
1712
|
+
"type": "Dropdown",
|
|
1713
|
+
"choices": [
|
|
1714
|
+
{
|
|
1715
|
+
"name": "Metric",
|
|
1716
|
+
"value": "metric"
|
|
1717
|
+
},
|
|
1718
|
+
{
|
|
1719
|
+
"name": "Imperial",
|
|
1720
|
+
"value": "imperial"
|
|
1721
|
+
}
|
|
1722
|
+
],
|
|
1723
|
+
"binding": {
|
|
1724
|
+
"type": "zeebe:input",
|
|
1725
|
+
"name": "unitsValue"
|
|
1726
|
+
},
|
|
1727
|
+
"condition": {
|
|
1728
|
+
"property": "operationType",
|
|
1729
|
+
"oneOf": ["calculateDistance"]
|
|
1730
|
+
}
|
|
1731
|
+
},
|
|
1732
|
+
{
|
|
1733
|
+
"label": "Mode",
|
|
1734
|
+
"description": "You can specify the transportation mode to use when calculating distances and directions",
|
|
1735
|
+
"group": "input",
|
|
1736
|
+
"value": "driving",
|
|
1737
|
+
"type": "Dropdown",
|
|
1738
|
+
"choices": [
|
|
1739
|
+
{
|
|
1740
|
+
"name": "Driving",
|
|
1741
|
+
"value": "driving"
|
|
1742
|
+
},
|
|
1743
|
+
{
|
|
1744
|
+
"name": "Walking",
|
|
1745
|
+
"value": "walking"
|
|
1746
|
+
},
|
|
1747
|
+
{
|
|
1748
|
+
"name": "Bicycling",
|
|
1749
|
+
"value": "bicycling"
|
|
1750
|
+
},
|
|
1751
|
+
{
|
|
1752
|
+
"name": "Transit",
|
|
1753
|
+
"value": "transit"
|
|
1754
|
+
}
|
|
1755
|
+
],
|
|
1756
|
+
"binding": {
|
|
1757
|
+
"type": "zeebe:input",
|
|
1758
|
+
"name": "modeValue"
|
|
1759
|
+
},
|
|
1760
|
+
"condition": {
|
|
1761
|
+
"property": "operationType",
|
|
1762
|
+
"oneOf": ["calculateDistance"]
|
|
1763
|
+
}
|
|
1764
|
+
},
|
|
1765
|
+
{
|
|
1766
|
+
"type": "Hidden",
|
|
1767
|
+
"optional": false,
|
|
1768
|
+
"value": "={\"input\":addressValue, \"inputtype\":\"textquery\", \"language\":\"en\", \"key\": apiKeyValue}",
|
|
1769
|
+
"binding": {
|
|
1770
|
+
"type": "zeebe:input",
|
|
1771
|
+
"name": "queryParameters"
|
|
1772
|
+
},
|
|
1773
|
+
"constraints": {
|
|
1774
|
+
"notEmpty": true
|
|
1775
|
+
},
|
|
1776
|
+
"condition": {
|
|
1777
|
+
"property": "operationType",
|
|
1778
|
+
"oneOf": ["getPlaceID"]
|
|
1779
|
+
}
|
|
1780
|
+
},
|
|
1781
|
+
{
|
|
1782
|
+
"type": "Hidden",
|
|
1783
|
+
"optional": false,
|
|
1784
|
+
"value": "={\"destination\":\"place_id:\"+destinationValue, \"origin\":\"place_id:\"+originValue, \"units\": unitsValue, \"language\":\"en\", \"mode\": modeValue, \"key\": apiKeyValue}",
|
|
1785
|
+
"binding": {
|
|
1786
|
+
"type": "zeebe:input",
|
|
1787
|
+
"name": "queryParameters"
|
|
1788
|
+
},
|
|
1789
|
+
"constraints": {
|
|
1790
|
+
"notEmpty": true
|
|
1791
|
+
},
|
|
1792
|
+
"condition": {
|
|
1793
|
+
"property": "operationType",
|
|
1794
|
+
"oneOf": ["calculateDistance"]
|
|
1795
|
+
}
|
|
1796
|
+
},
|
|
1797
|
+
{
|
|
1798
|
+
"group": "input",
|
|
1799
|
+
"type": "Hidden",
|
|
1800
|
+
"optional": false,
|
|
1801
|
+
"value": "=\"[\"+addressValue+\"]\"",
|
|
1802
|
+
"binding": {
|
|
1803
|
+
"type": "zeebe:input",
|
|
1804
|
+
"name": "body.address.addressLines"
|
|
1805
|
+
},
|
|
1806
|
+
"constraints": {
|
|
1807
|
+
"notEmpty": true
|
|
1808
|
+
},
|
|
1809
|
+
"condition": {
|
|
1810
|
+
"property": "operationType",
|
|
1811
|
+
"oneOf": ["validateAddress"]
|
|
1812
|
+
}
|
|
1813
|
+
},
|
|
1814
|
+
{
|
|
1815
|
+
"type": "Hidden",
|
|
1816
|
+
"optional": false,
|
|
1817
|
+
"value": "=\"https://addressvalidation.googleapis.com/v1:validateAddress?key=\"+apiKeyValue",
|
|
1818
|
+
"binding": {
|
|
1819
|
+
"type": "zeebe:input",
|
|
1820
|
+
"name": "url"
|
|
1821
|
+
},
|
|
1822
|
+
"constraints": {
|
|
1823
|
+
"notEmpty": true
|
|
1824
|
+
},
|
|
1825
|
+
"condition": {
|
|
1826
|
+
"property": "operationType",
|
|
1827
|
+
"oneOf": ["validateAddress"]
|
|
1828
|
+
}
|
|
1829
|
+
},
|
|
1830
|
+
{
|
|
1831
|
+
"type": "Hidden",
|
|
1832
|
+
"optional": false,
|
|
1833
|
+
"value": "https://maps.googleapis.com/maps/api/place/findplacefromtext/json",
|
|
1834
|
+
"binding": {
|
|
1835
|
+
"type": "zeebe:input",
|
|
1836
|
+
"name": "url"
|
|
1837
|
+
},
|
|
1838
|
+
"constraints": {
|
|
1839
|
+
"notEmpty": true
|
|
1840
|
+
},
|
|
1841
|
+
"condition": {
|
|
1842
|
+
"property": "operationType",
|
|
1843
|
+
"oneOf": ["getPlaceID"]
|
|
1844
|
+
}
|
|
1845
|
+
},
|
|
1846
|
+
{
|
|
1847
|
+
"type": "Hidden",
|
|
1848
|
+
"optional": false,
|
|
1849
|
+
"value": "https://maps.googleapis.com/maps/api/directions/json",
|
|
1850
|
+
"binding": {
|
|
1851
|
+
"type": "zeebe:input",
|
|
1852
|
+
"name": "url"
|
|
1853
|
+
},
|
|
1854
|
+
"constraints": {
|
|
1855
|
+
"notEmpty": true
|
|
1856
|
+
},
|
|
1857
|
+
"condition": {
|
|
1858
|
+
"property": "operationType",
|
|
1859
|
+
"oneOf": ["calculateDistance"]
|
|
1860
|
+
}
|
|
1861
|
+
},
|
|
1862
|
+
{
|
|
1863
|
+
"label": "Connection timeout",
|
|
1864
|
+
"description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
|
|
1865
|
+
"group": "errors",
|
|
1866
|
+
"type": "String",
|
|
1867
|
+
"value": "20",
|
|
1868
|
+
"binding": {
|
|
1869
|
+
"type": "zeebe:input",
|
|
1870
|
+
"name": "connectionTimeoutInSeconds"
|
|
1871
|
+
},
|
|
1872
|
+
"optional": true,
|
|
1873
|
+
"constraints": {
|
|
1874
|
+
"notEmpty": false,
|
|
1875
|
+
"pattern": {
|
|
1876
|
+
"value": "^([0-9]*$)|(secrets.*$)",
|
|
1877
|
+
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
1878
|
+
}
|
|
1879
|
+
}
|
|
1880
|
+
},
|
|
1881
|
+
{
|
|
1882
|
+
"label": "Result variable",
|
|
1883
|
+
"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>",
|
|
1884
|
+
"group": "output",
|
|
1885
|
+
"type": "String",
|
|
1886
|
+
"binding": {
|
|
1887
|
+
"type": "zeebe:taskHeader",
|
|
1888
|
+
"key": "resultVariable"
|
|
1889
|
+
}
|
|
1890
|
+
},
|
|
1891
|
+
{
|
|
1892
|
+
"label": "Result expression",
|
|
1893
|
+
"id": "resultExpressionGetAddressComplete",
|
|
1894
|
+
"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>",
|
|
1895
|
+
"group": "output",
|
|
1896
|
+
"type": "String",
|
|
1897
|
+
"feel": "required",
|
|
1898
|
+
"value": "={\n addressComplete: if response.body.result.verdict.addressComplete = null then false else response.body.result.verdict.addressComplete, \n hasUnconfirmedComponents: if response.body.result.verdict.hasUnconfirmedComponents = null then false else true, \n formattedAddress: response.body.result.address.formattedAddress, \n postalAddress: response.body.result.address.postalAddress\n}",
|
|
1899
|
+
"binding": {
|
|
1900
|
+
"type": "zeebe:taskHeader",
|
|
1901
|
+
"key": "resultExpression"
|
|
1902
|
+
},
|
|
1903
|
+
"condition": {
|
|
1904
|
+
"property": "operationType",
|
|
1905
|
+
"oneOf": ["validateAddress"]
|
|
1906
|
+
}
|
|
1907
|
+
},
|
|
1908
|
+
{
|
|
1909
|
+
"label": "Result expression",
|
|
1910
|
+
"id": "resultExpressionGetPlaceId",
|
|
1911
|
+
"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>",
|
|
1912
|
+
"group": "output",
|
|
1913
|
+
"type": "String",
|
|
1914
|
+
"feel": "required",
|
|
1915
|
+
"value": "={placeId: response.body.candidates[1].place_id}",
|
|
1916
|
+
"binding": {
|
|
1917
|
+
"type": "zeebe:taskHeader",
|
|
1918
|
+
"key": "resultExpression"
|
|
1919
|
+
},
|
|
1920
|
+
"condition": {
|
|
1921
|
+
"property": "operationType",
|
|
1922
|
+
"oneOf": ["getPlaceID"]
|
|
1923
|
+
}
|
|
1924
|
+
},
|
|
1925
|
+
{
|
|
1926
|
+
"label": "Result expression",
|
|
1927
|
+
"id": "resultExpressionGetDuration",
|
|
1928
|
+
"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>",
|
|
1929
|
+
"group": "output",
|
|
1930
|
+
"type": "String",
|
|
1931
|
+
"feel": "required",
|
|
1932
|
+
"value": "={\n duration: response.body.routes[1].legs[1].duration.text,\n distance: response.body.routes[1].legs[1].distance.text \n}",
|
|
1933
|
+
"binding": {
|
|
1934
|
+
"type": "zeebe:taskHeader",
|
|
1935
|
+
"key": "resultExpression"
|
|
1936
|
+
},
|
|
1937
|
+
"condition": {
|
|
1938
|
+
"property": "operationType",
|
|
1939
|
+
"oneOf": ["calculateDistance"]
|
|
1940
|
+
}
|
|
1941
|
+
},
|
|
1942
|
+
{
|
|
1943
|
+
"label": "Error expression",
|
|
1944
|
+
"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>",
|
|
1945
|
+
"group": "errors",
|
|
1946
|
+
"type": "Text",
|
|
1947
|
+
"feel": "required",
|
|
1948
|
+
"binding": {
|
|
1949
|
+
"type": "zeebe:taskHeader",
|
|
1950
|
+
"key": "errorExpression"
|
|
1951
|
+
}
|
|
1952
|
+
}
|
|
1953
|
+
],
|
|
1954
|
+
"icon": {
|
|
1955
|
+
"contents": "data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' width='18' height='18' viewBox='0 0 1000 1000' xml:space='preserve'%3E%3Cdesc%3ECreated with Fabric.js 3.5.0%3C/desc%3E%3Cdefs%3E%3C/defs%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='rgba(255,255,255,0)'/%3E%3Cg transform='matrix(7.8865 0 0 7.4288 492.2894 500.0022)' id='954022'%3E%3Cg style='' vector-effect='non-scaling-stroke'%3E%3Cg transform='matrix(1 0 0 1 -10.65 -48.75)'%3E%3Cpath style='stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; is-custom-font: none; font-file-url: none; fill: rgb(26,115,232); fill-rule: nonzero; opacity: 1;' transform=' translate(-35.5, -17.4)' d='M 60.2 2.2 C 55.8 0.8 51 0 46.1 0 C 32 0 19.3 6.4 10.8 16.5 l 21.8 18.3 L 60.2 2.2 z' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='matrix(1 0 0 1 -29.85 -23.85)'%3E%3Cpath style='stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; is-custom-font: none; font-file-url: none; fill: rgb(234,67,53); fill-rule: nonzero; opacity: 1;' transform=' translate(-16.3, -42.3)' d='M 10.8 16.5 C 4.1 24.5 0 34.9 0 46.1 c 0 8.7 1.7 15.7 4.6 22 l 28 -33.3 l -21.8 -18.3 z' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='matrix(1 0 0 1 13.75 -36.25)'%3E%3Cpath style='stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; is-custom-font: none; font-file-url: none; fill: rgb(66,133,244); fill-rule: nonzero; opacity: 1;' transform=' translate(-59.9, -29.9)' d='M 46.2 28.5 c 9.8 0 17.7 7.9 17.7 17.7 c 0 4.3 -1.6 8.3 -4.2 11.4 c 0 0 13.9 -16.6 27.5 -32.7 c -5.6 -10.8 -15.3 -19 -27 -22.7 L 32.6 34.8 c 3.3 -3.8 8.1 -6.3 13.6 -6.3' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='matrix(1 0 0 1 -14 0.25)'%3E%3Cpath style='stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; is-custom-font: none; font-file-url: none; fill: rgb(251,188,4); fill-rule: nonzero; opacity: 1;' transform=' translate(-32.15, -66.4)' d='M 46.2 63.8 c -9.8 0 -17.7 -7.9 -17.7 -17.7 c 0 -4.3 1.5 -8.3 4.1 -11.3 l -28 33.3 c 4.8 10.6 12.8 19.2 21 29.9 l 34.1 -40.5 c -3.3 3.9 -8.1 6.3 -13.5 6.3' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='matrix(1 0 0 1 12.85 12.5)'%3E%3Cpath style='stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; is-custom-font: none; font-file-url: none; fill: rgb(52,168,83); fill-rule: nonzero; opacity: 1;' transform=' translate(-59, -78.65)' d='M 59.1 109.2 c 15.4 -24.1 33.3 -35 33.3 -63 c 0 -7.7 -1.9 -14.9 -5.2 -21.3 L 25.6 98 c 2.6 3.4 5.3 7.3 7.9 11.3 c 9.4 14.5 6.8 23.1 12.8 23.1 s 3.4 -8.7 12.8 -23.2' stroke-linecap='round'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E"
|
|
1956
|
+
}
|
|
1957
|
+
},
|
|
1469
1958
|
{
|
|
1470
1959
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
1471
1960
|
"name": "Google Maps Platform Outbound Connector",
|