@camunda/connectors-element-templates 1.0.19 → 1.0.21
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/connectors-template.js +1 -3
- package/src/connectors.js +4 -0
- package/src/element-templates/agenticai-a2a-client-outbound-connector.json +1 -1
- package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +43 -43
- package/src/element-templates/agenticai-aiagent-job-worker.json +2230 -222
- package/src/element-templates/agenticai-aiagent-outbound-connector.json +6281 -4356
- package/src/element-templates/agenticai-mcp-client-outbound-connector.json +718 -36
- package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +2394 -949
- package/src/element-templates/app-integrations-connector.json +1047 -0
- package/src/element-templates/asana-connector.json +943 -109
- package/src/element-templates/automation-anywhere-outbound-connector.json +2240 -1747
- package/src/element-templates/aws-bedrock-agentcore-long-term-memory-outbound-connector.json +1068 -30
- package/src/element-templates/aws-bedrock-agentcore-runtime-outbound-connector.json +386 -5
- package/src/element-templates/aws-bedrock-codeinterpreter-outbound-connector.json +442 -5
- package/src/element-templates/aws-bedrock-knowledgebase-outbound-connector.json +417 -5
- package/src/element-templates/aws-bedrock-outbound-connector.json +2273 -623
- package/src/element-templates/aws-comprehend-outbound-connector.json +1573 -1
- package/src/element-templates/aws-dynamodb-outbound-connector.json +2950 -162
- package/src/element-templates/aws-eventbridge-connector-boundary.json +40 -40
- package/src/element-templates/aws-eventbridge-connector-intermediate.json +62 -62
- package/src/element-templates/aws-eventbridge-connector-start-event.json +33 -33
- package/src/element-templates/aws-eventbridge-outbound-connector.json +838 -424
- package/src/element-templates/aws-lambda-outbound-connector.json +495 -96
- package/src/element-templates/aws-s3-outbound-connector.json +2238 -44
- package/src/element-templates/aws-sagemaker-outbound-connector.json +681 -52
- package/src/element-templates/aws-sns-inbound-boundary.json +4 -3
- package/src/element-templates/aws-sns-inbound-intermediate.json +341 -340
- package/src/element-templates/aws-sns-inbound-message-start.json +241 -240
- package/src/element-templates/aws-sns-inbound-receive.json +4 -3
- package/src/element-templates/aws-sns-inbound-start-event.json +133 -133
- package/src/element-templates/aws-sns-outbound-connector.json +581 -124
- package/src/element-templates/aws-sqs-boundary-connector.json +939 -420
- package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +851 -332
- package/src/element-templates/aws-sqs-outbound-connector.json +589 -136
- package/src/element-templates/aws-sqs-receive-connector.json +525 -7
- package/src/element-templates/aws-sqs-start-event-connector.json +380 -380
- package/src/element-templates/aws-sqs-start-message.json +736 -185
- package/src/element-templates/aws-textract-outbound-connector.json +866 -131
- package/src/element-templates/azure-blobstorage-outbound-connector.json +1648 -225
- package/src/element-templates/azure-open-ai-connector.json +1371 -8
- package/src/element-templates/blue-prism-connector.json +609 -30
- package/src/element-templates/box-outbound-connector.json +2356 -272
- package/src/element-templates/csv-outbound-connector.json +449 -0
- package/src/element-templates/easy-post-connector.json +1251 -170
- package/src/element-templates/email-outbound-connector.json +3087 -1013
- package/src/element-templates/embeddings-vector-database-outbound-connector.json +2161 -1
- package/src/element-templates/github-connector.json +18554 -14368
- package/src/element-templates/github-webhook-connector-boundary.json +24 -24
- package/src/element-templates/github-webhook-connector-intermediate.json +8 -8
- package/src/element-templates/github-webhook-connector-message-start.json +8 -8
- package/src/element-templates/github-webhook-connector-receive.json +8 -8
- package/src/element-templates/github-webhook-connector-start-event.json +58 -58
- package/src/element-templates/gitlab-connector.json +3022 -1120
- package/src/element-templates/google-cloud-storage-outbound-connector.json +1447 -240
- package/src/element-templates/google-drive-outbound-connector.json +2980 -1428
- package/src/element-templates/google-gemini-outbound-connector.json +41 -55
- package/src/element-templates/google-maps-platform-connector.json +688 -137
- package/src/element-templates/google-sheets-outbound-connector.json +3186 -2030
- package/src/element-templates/graphql-outbound-connector.json +4149 -1485
- package/src/element-templates/http-json-connector.json +6143 -2053
- package/src/element-templates/http-polling-boundary-catch-event-connector.json +2426 -364
- package/src/element-templates/http-polling-connector.json +3312 -1250
- package/src/element-templates/hubspot-outbound-connector.json +2817 -67
- package/src/element-templates/hugging-face-connector.json +83 -82
- package/src/element-templates/jdbc-outbound-connector.json +506 -9
- package/src/element-templates/kafka-inbound-connector-boundary.json +968 -971
- package/src/element-templates/kafka-inbound-connector-intermediate.json +53 -56
- package/src/element-templates/kafka-inbound-connector-receive.json +9 -12
- package/src/element-templates/kafka-inbound-connector-start-message.json +545 -548
- package/src/element-templates/kafka-inbound-connector.json +240 -240
- package/src/element-templates/kafka-outbound-connector.json +304 -308
- package/src/element-templates/microsoft-o365-email-boundary-event-connector.json +7 -10
- package/src/element-templates/microsoft-o365-email-intermediate-catch-event-connector.json +7 -10
- package/src/element-templates/microsoft-o365-email-message-start-event-connector.json +7 -10
- package/src/element-templates/microsoft-office365-mail-connector.json +2077 -35
- package/src/element-templates/microsoft-teams-outbound-connector.json +2897 -456
- package/src/element-templates/openai-connector.json +701 -207
- package/src/element-templates/operate-connector.json +83 -86
- package/src/element-templates/orchestration-connector.json +1843 -0
- package/src/element-templates/power-automate-connector.json +62 -62
- package/src/element-templates/rabbitmq-inbound-connector-boundary.json +772 -774
- package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +456 -458
- package/src/element-templates/rabbitmq-inbound-connector-message-start.json +573 -575
- package/src/element-templates/rabbitmq-inbound-connector-receive.json +5 -7
- package/src/element-templates/rabbitmq-inbound-connector-start-event.json +347 -347
- package/src/element-templates/rabbitmq-outbound-connector.json +631 -631
- package/src/element-templates/rpa-connector.json +6 -6
- package/src/element-templates/salesforce-connector.json +653 -19
- package/src/element-templates/send-message-connector-intermediate-throw-event.json +301 -1
- package/src/element-templates/send-message-connector-message-end-event.json +301 -1
- package/src/element-templates/send-message-connector-send-task.json +300 -1
- package/src/element-templates/sendgrid-outbound-connector.json +790 -790
- package/src/element-templates/servicenow-connector.json +1364 -7
- package/src/element-templates/servicenow-flow-starter-connector.json +16 -16
- package/src/element-templates/servicenow-incident-connector.json +1075 -29
- package/src/element-templates/slack-inbound-boundary.json +493 -493
- package/src/element-templates/slack-inbound-intermediate.json +448 -448
- package/src/element-templates/slack-inbound-message-start.json +369 -369
- package/src/element-templates/slack-inbound-receive.json +2 -2
- package/src/element-templates/slack-inbound-start-event.json +328 -328
- package/src/element-templates/slack-outbound-connector.json +2365 -1262
- package/src/element-templates/soap-outbound-connector.json +113 -117
- package/src/element-templates/twilio-connector.json +1186 -373
- package/src/element-templates/twilio-webhook-boundary-connector.json +9 -10
- package/src/element-templates/twilio-webhook-connector.json +60 -61
- package/src/element-templates/twilio-webhook-intermediate-connector.json +31 -32
- package/src/element-templates/twilio-webhook-message-start-connector.json +10 -11
- package/src/element-templates/twilio-webhook-receive-connector.json +9 -10
- package/src/element-templates/uipath-connector.json +668 -50
- package/src/element-templates/webhook-connector-boundary.json +1040 -385
- package/src/element-templates/webhook-connector-intermediate.json +2100 -1445
- package/src/element-templates/webhook-connector-receive.json +659 -5
- package/src/element-templates/webhook-connector-start-event.json +1860 -1299
- package/src/element-templates/webhook-connector-start-message.json +1535 -848
- package/src/element-templates/whatsapp-connector.json +393 -23
|
@@ -3,14 +3,21 @@
|
|
|
3
3
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
4
4
|
"name": "Google Maps Platform Outbound Connector",
|
|
5
5
|
"id": "io.camunda.connectors.GoogleMapsPlatform.v1",
|
|
6
|
-
"version":
|
|
6
|
+
"version": 7,
|
|
7
7
|
"engines": {
|
|
8
8
|
"camunda": "^8.3"
|
|
9
9
|
},
|
|
10
10
|
"description": "Validate addresses, retrieve postal addresses and calculate distances with Googe Maps",
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
|
|
11
|
+
"keywords": [
|
|
12
|
+
"validate address",
|
|
13
|
+
"get place ID",
|
|
14
|
+
"calculate distance",
|
|
15
|
+
"geocoding",
|
|
16
|
+
"geolocation",
|
|
17
|
+
"address validation",
|
|
18
|
+
"routing",
|
|
19
|
+
"maps"
|
|
20
|
+
],
|
|
14
21
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/",
|
|
15
22
|
"category": {
|
|
16
23
|
"id": "connectors",
|
|
@@ -29,14 +36,14 @@
|
|
|
29
36
|
"id": "authentication",
|
|
30
37
|
"label": "Authentication"
|
|
31
38
|
},
|
|
32
|
-
{
|
|
33
|
-
"id": "configuration",
|
|
34
|
-
"label": "Configuration"
|
|
35
|
-
},
|
|
36
39
|
{
|
|
37
40
|
"id": "input",
|
|
38
41
|
"label": "Input"
|
|
39
42
|
},
|
|
43
|
+
{
|
|
44
|
+
"id": "connector",
|
|
45
|
+
"label": "Connector"
|
|
46
|
+
},
|
|
40
47
|
{
|
|
41
48
|
"id": "output",
|
|
42
49
|
"label": "Output"
|
|
@@ -113,7 +120,7 @@
|
|
|
113
120
|
},
|
|
114
121
|
{
|
|
115
122
|
"label": "API key",
|
|
116
|
-
"
|
|
123
|
+
"tooltip": "Google Maps Platform API key. <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/' target='_blank'>Google Maps Platform connector documentation</a>",
|
|
117
124
|
"group": "authentication",
|
|
118
125
|
"type": "String",
|
|
119
126
|
"feel": "optional",
|
|
@@ -128,7 +135,7 @@
|
|
|
128
135
|
},
|
|
129
136
|
{
|
|
130
137
|
"label": "Region code",
|
|
131
|
-
"
|
|
138
|
+
"tooltip": "Find supported region codes in the <a href='https://developers.google.com/maps/documentation/address-validation/coverage' target='_blank'>Address Validation coverage documentation</a>.",
|
|
132
139
|
"group": "input",
|
|
133
140
|
"type": "String",
|
|
134
141
|
"feel": "optional",
|
|
@@ -147,7 +154,7 @@
|
|
|
147
154
|
},
|
|
148
155
|
{
|
|
149
156
|
"label": "Locality",
|
|
150
|
-
"
|
|
157
|
+
"tooltip": "An incorporated city or town political entity",
|
|
151
158
|
"group": "input",
|
|
152
159
|
"type": "String",
|
|
153
160
|
"feel": "optional",
|
|
@@ -166,14 +173,14 @@
|
|
|
166
173
|
},
|
|
167
174
|
{
|
|
168
175
|
"label": "Address",
|
|
169
|
-
"
|
|
176
|
+
"tooltip": "Unstructured address. <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/' target='_blank'>Google Maps Platform connector documentation</a>",
|
|
170
177
|
"group": "input",
|
|
171
178
|
"type": "String",
|
|
172
179
|
"feel": "optional",
|
|
173
180
|
"optional": false,
|
|
174
181
|
"binding": {
|
|
175
182
|
"type": "zeebe:input",
|
|
176
|
-
"name": "
|
|
183
|
+
"name": "body.address.addressLines"
|
|
177
184
|
},
|
|
178
185
|
"constraints": {
|
|
179
186
|
"notEmpty": true
|
|
@@ -185,7 +192,7 @@
|
|
|
185
192
|
},
|
|
186
193
|
{
|
|
187
194
|
"label": "Address",
|
|
188
|
-
"
|
|
195
|
+
"tooltip": "Complete address. <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/' target='_blank'>Google Maps Platform connector documentation</a>",
|
|
189
196
|
"group": "input",
|
|
190
197
|
"type": "String",
|
|
191
198
|
"feel": "optional",
|
|
@@ -204,7 +211,7 @@
|
|
|
204
211
|
},
|
|
205
212
|
{
|
|
206
213
|
"label": "Destination",
|
|
207
|
-
"
|
|
214
|
+
"tooltip": "The place ID value that you want to use as the destination for calculating distance",
|
|
208
215
|
"group": "input",
|
|
209
216
|
"type": "String",
|
|
210
217
|
"feel": "optional",
|
|
@@ -223,7 +230,7 @@
|
|
|
223
230
|
},
|
|
224
231
|
{
|
|
225
232
|
"label": "Origin",
|
|
226
|
-
"
|
|
233
|
+
"tooltip": "The place ID value that you want to use as the starting point for calculating distance",
|
|
227
234
|
"group": "input",
|
|
228
235
|
"type": "String",
|
|
229
236
|
"feel": "optional",
|
|
@@ -242,7 +249,7 @@
|
|
|
242
249
|
},
|
|
243
250
|
{
|
|
244
251
|
"label": "Units",
|
|
245
|
-
"
|
|
252
|
+
"tooltip": "Unit system for the returned distances: Metric (kilometers/meters) or Imperial (miles/feet).",
|
|
246
253
|
"group": "input",
|
|
247
254
|
"value": "metric",
|
|
248
255
|
"type": "Dropdown",
|
|
@@ -267,7 +274,6 @@
|
|
|
267
274
|
},
|
|
268
275
|
{
|
|
269
276
|
"label": "Mode",
|
|
270
|
-
"description": "You can specify the transportation mode to use when calculating distances and directions",
|
|
271
277
|
"group": "input",
|
|
272
278
|
"value": "driving",
|
|
273
279
|
"type": "Dropdown",
|
|
@@ -330,23 +336,6 @@
|
|
|
330
336
|
"oneOf": ["calculateDistance"]
|
|
331
337
|
}
|
|
332
338
|
},
|
|
333
|
-
{
|
|
334
|
-
"group": "input",
|
|
335
|
-
"type": "Hidden",
|
|
336
|
-
"optional": false,
|
|
337
|
-
"value": "=\"[\"+addressValue+\"]\"",
|
|
338
|
-
"binding": {
|
|
339
|
-
"type": "zeebe:input",
|
|
340
|
-
"name": "body.address.addressLines"
|
|
341
|
-
},
|
|
342
|
-
"constraints": {
|
|
343
|
-
"notEmpty": true
|
|
344
|
-
},
|
|
345
|
-
"condition": {
|
|
346
|
-
"property": "operationType",
|
|
347
|
-
"oneOf": ["validateAddress"]
|
|
348
|
-
}
|
|
349
|
-
},
|
|
350
339
|
{
|
|
351
340
|
"type": "Hidden",
|
|
352
341
|
"optional": false,
|
|
@@ -416,7 +405,7 @@
|
|
|
416
405
|
},
|
|
417
406
|
{
|
|
418
407
|
"label": "Result variable",
|
|
419
|
-
"
|
|
408
|
+
"tooltip": "Name of variable to store the response in. <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-variable\" target=\"_blank\">result variable documentation</a>",
|
|
420
409
|
"group": "output",
|
|
421
410
|
"type": "String",
|
|
422
411
|
"binding": {
|
|
@@ -427,7 +416,7 @@
|
|
|
427
416
|
{
|
|
428
417
|
"label": "Result expression",
|
|
429
418
|
"id": "resultExpressionGet",
|
|
430
|
-
"
|
|
419
|
+
"tooltip": "Expression to map the response into process variables. <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">result expression documentation</a>",
|
|
431
420
|
"group": "output",
|
|
432
421
|
"type": "String",
|
|
433
422
|
"feel": "required",
|
|
@@ -444,7 +433,7 @@
|
|
|
444
433
|
{
|
|
445
434
|
"label": "Result expression",
|
|
446
435
|
"id": "resultExpressionGet",
|
|
447
|
-
"
|
|
436
|
+
"tooltip": "Expression to map the response into process variables. <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">result expression documentation</a>",
|
|
448
437
|
"group": "output",
|
|
449
438
|
"type": "String",
|
|
450
439
|
"feel": "required",
|
|
@@ -461,7 +450,7 @@
|
|
|
461
450
|
{
|
|
462
451
|
"label": "Result expression",
|
|
463
452
|
"id": "resultExpressionGet",
|
|
464
|
-
"
|
|
453
|
+
"tooltip": "Expression to map the response into process variables. <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">result expression documentation</a>",
|
|
465
454
|
"group": "output",
|
|
466
455
|
"type": "String",
|
|
467
456
|
"feel": "required",
|
|
@@ -477,7 +466,7 @@
|
|
|
477
466
|
},
|
|
478
467
|
{
|
|
479
468
|
"label": "Error expression",
|
|
480
|
-
"
|
|
469
|
+
"tooltip": "Expression to handle errors. <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">BPMN error handling documentation</a>",
|
|
481
470
|
"group": "errors",
|
|
482
471
|
"type": "Text",
|
|
483
472
|
"feel": "required",
|
|
@@ -490,7 +479,7 @@
|
|
|
490
479
|
"id": "version",
|
|
491
480
|
"label": "Version",
|
|
492
481
|
"description": "Version of the element template",
|
|
493
|
-
"value": "
|
|
482
|
+
"value": "7",
|
|
494
483
|
"group": "connector",
|
|
495
484
|
"binding": {
|
|
496
485
|
"key": "elementTemplateVersion",
|
|
@@ -511,15 +500,61 @@
|
|
|
511
500
|
"type": "Hidden"
|
|
512
501
|
}
|
|
513
502
|
],
|
|
503
|
+
"steps": [
|
|
504
|
+
{
|
|
505
|
+
"name": "Validate address",
|
|
506
|
+
"description": "Validate and standardize a postal address with Google Maps Platform.",
|
|
507
|
+
"keywords": ["address", "validate", "verify", "standardize", "postal"],
|
|
508
|
+
"presetId": "operationType_validateAddress"
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"name": "Get place ID",
|
|
512
|
+
"description": "Look up the place ID for a given address or location using Google Maps Platform.",
|
|
513
|
+
"keywords": ["place", "place id", "lookup", "geocode", "location"],
|
|
514
|
+
"presetId": "operationType_getPlaceID"
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"name": "Calculate distance",
|
|
518
|
+
"description": "Calculate the distance and travel time between origin and destination points with Google Maps Platform.",
|
|
519
|
+
"keywords": [
|
|
520
|
+
"distance",
|
|
521
|
+
"route",
|
|
522
|
+
"travel time",
|
|
523
|
+
"directions",
|
|
524
|
+
"matrix"
|
|
525
|
+
],
|
|
526
|
+
"presetId": "operationType_calculateDistance"
|
|
527
|
+
}
|
|
528
|
+
],
|
|
529
|
+
"presets": [
|
|
530
|
+
{
|
|
531
|
+
"id": "operationType_validateAddress",
|
|
532
|
+
"properties": {
|
|
533
|
+
"operationType": "validateAddress"
|
|
534
|
+
}
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"id": "operationType_getPlaceID",
|
|
538
|
+
"properties": {
|
|
539
|
+
"operationType": "getPlaceID"
|
|
540
|
+
}
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
"id": "operationType_calculateDistance",
|
|
544
|
+
"properties": {
|
|
545
|
+
"operationType": "calculateDistance"
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
],
|
|
514
549
|
"icon": {
|
|
515
550
|
"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"
|
|
516
551
|
}
|
|
517
552
|
},
|
|
518
553
|
{
|
|
519
554
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
520
|
-
"name": "Google Maps Platform
|
|
555
|
+
"name": "Google Maps Platform Outbound Connector",
|
|
521
556
|
"id": "io.camunda.connectors.GoogleMapsPlatform.v1",
|
|
522
|
-
"version":
|
|
557
|
+
"version": 3,
|
|
523
558
|
"description": "The Google Maps connector validates addresses, retrieves postal addresses and calculates distances",
|
|
524
559
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/",
|
|
525
560
|
"category": {
|
|
@@ -919,7 +954,7 @@
|
|
|
919
954
|
"constraints": {
|
|
920
955
|
"notEmpty": false,
|
|
921
956
|
"pattern": {
|
|
922
|
-
"value": "^([0-9]
|
|
957
|
+
"value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
|
|
923
958
|
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
924
959
|
}
|
|
925
960
|
}
|
|
@@ -987,7 +1022,7 @@
|
|
|
987
1022
|
},
|
|
988
1023
|
{
|
|
989
1024
|
"label": "Error expression",
|
|
990
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
1025
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>",
|
|
991
1026
|
"group": "errors",
|
|
992
1027
|
"type": "Text",
|
|
993
1028
|
"feel": "required",
|
|
@@ -1006,13 +1041,23 @@
|
|
|
1006
1041
|
},
|
|
1007
1042
|
{
|
|
1008
1043
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
1009
|
-
"name": "Google Maps Platform
|
|
1044
|
+
"name": "Google Maps Platform Outbound Connector",
|
|
1010
1045
|
"id": "io.camunda.connectors.GoogleMapsPlatform.v1",
|
|
1011
|
-
"
|
|
1012
|
-
|
|
1013
|
-
"
|
|
1046
|
+
"version": 5,
|
|
1047
|
+
"engines": {
|
|
1048
|
+
"camunda": "^8.3"
|
|
1014
1049
|
},
|
|
1015
|
-
"description": "
|
|
1050
|
+
"description": "Validate addresses, retrieve postal addresses and calculate distances with Googe Maps",
|
|
1051
|
+
"keywords": [
|
|
1052
|
+
"validate address",
|
|
1053
|
+
"get place ID",
|
|
1054
|
+
"calculate distance",
|
|
1055
|
+
"geocoding",
|
|
1056
|
+
"geolocation",
|
|
1057
|
+
"address validation",
|
|
1058
|
+
"routing",
|
|
1059
|
+
"maps"
|
|
1060
|
+
],
|
|
1016
1061
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/",
|
|
1017
1062
|
"category": {
|
|
1018
1063
|
"id": "connectors",
|
|
@@ -1175,7 +1220,7 @@
|
|
|
1175
1220
|
"optional": false,
|
|
1176
1221
|
"binding": {
|
|
1177
1222
|
"type": "zeebe:input",
|
|
1178
|
-
"name": "
|
|
1223
|
+
"name": "body.address.addressLines"
|
|
1179
1224
|
},
|
|
1180
1225
|
"constraints": {
|
|
1181
1226
|
"notEmpty": true
|
|
@@ -1332,23 +1377,6 @@
|
|
|
1332
1377
|
"oneOf": ["calculateDistance"]
|
|
1333
1378
|
}
|
|
1334
1379
|
},
|
|
1335
|
-
{
|
|
1336
|
-
"group": "input",
|
|
1337
|
-
"type": "Hidden",
|
|
1338
|
-
"optional": false,
|
|
1339
|
-
"value": "=\"[\"+addressValue+\"]\"",
|
|
1340
|
-
"binding": {
|
|
1341
|
-
"type": "zeebe:input",
|
|
1342
|
-
"name": "body.address.addressLines"
|
|
1343
|
-
},
|
|
1344
|
-
"constraints": {
|
|
1345
|
-
"notEmpty": true
|
|
1346
|
-
},
|
|
1347
|
-
"condition": {
|
|
1348
|
-
"property": "operationType",
|
|
1349
|
-
"oneOf": ["validateAddress"]
|
|
1350
|
-
}
|
|
1351
|
-
},
|
|
1352
1380
|
{
|
|
1353
1381
|
"type": "Hidden",
|
|
1354
1382
|
"optional": false,
|
|
@@ -1411,7 +1439,7 @@
|
|
|
1411
1439
|
"constraints": {
|
|
1412
1440
|
"notEmpty": false,
|
|
1413
1441
|
"pattern": {
|
|
1414
|
-
"value": "^([0-9]
|
|
1442
|
+
"value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
|
|
1415
1443
|
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
1416
1444
|
}
|
|
1417
1445
|
}
|
|
@@ -1428,7 +1456,7 @@
|
|
|
1428
1456
|
},
|
|
1429
1457
|
{
|
|
1430
1458
|
"label": "Result expression",
|
|
1431
|
-
"id": "
|
|
1459
|
+
"id": "resultExpressionGet",
|
|
1432
1460
|
"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>",
|
|
1433
1461
|
"group": "output",
|
|
1434
1462
|
"type": "String",
|
|
@@ -1445,7 +1473,7 @@
|
|
|
1445
1473
|
},
|
|
1446
1474
|
{
|
|
1447
1475
|
"label": "Result expression",
|
|
1448
|
-
"id": "
|
|
1476
|
+
"id": "resultExpressionGet",
|
|
1449
1477
|
"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>",
|
|
1450
1478
|
"group": "output",
|
|
1451
1479
|
"type": "String",
|
|
@@ -1462,7 +1490,7 @@
|
|
|
1462
1490
|
},
|
|
1463
1491
|
{
|
|
1464
1492
|
"label": "Result expression",
|
|
1465
|
-
"id": "
|
|
1493
|
+
"id": "resultExpressionGet",
|
|
1466
1494
|
"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>",
|
|
1467
1495
|
"group": "output",
|
|
1468
1496
|
"type": "String",
|
|
@@ -1487,6 +1515,30 @@
|
|
|
1487
1515
|
"type": "zeebe:taskHeader",
|
|
1488
1516
|
"key": "errorExpression"
|
|
1489
1517
|
}
|
|
1518
|
+
},
|
|
1519
|
+
{
|
|
1520
|
+
"id": "version",
|
|
1521
|
+
"label": "Version",
|
|
1522
|
+
"description": "Version of the element template",
|
|
1523
|
+
"value": "5",
|
|
1524
|
+
"group": "connector",
|
|
1525
|
+
"binding": {
|
|
1526
|
+
"key": "elementTemplateVersion",
|
|
1527
|
+
"type": "zeebe:taskHeader"
|
|
1528
|
+
},
|
|
1529
|
+
"type": "Hidden"
|
|
1530
|
+
},
|
|
1531
|
+
{
|
|
1532
|
+
"id": "id",
|
|
1533
|
+
"label": "ID",
|
|
1534
|
+
"description": "ID of the element template",
|
|
1535
|
+
"value": "io.camunda.connectors.GoogleMapsPlatform.v1",
|
|
1536
|
+
"group": "connector",
|
|
1537
|
+
"binding": {
|
|
1538
|
+
"key": "elementTemplateId",
|
|
1539
|
+
"type": "zeebe:taskHeader"
|
|
1540
|
+
},
|
|
1541
|
+
"type": "Hidden"
|
|
1490
1542
|
}
|
|
1491
1543
|
],
|
|
1492
1544
|
"icon": {
|
|
@@ -1495,10 +1547,16 @@
|
|
|
1495
1547
|
},
|
|
1496
1548
|
{
|
|
1497
1549
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
1498
|
-
"name": "Google Maps Platform
|
|
1550
|
+
"name": "Google Maps Platform Outbound Connector",
|
|
1499
1551
|
"id": "io.camunda.connectors.GoogleMapsPlatform.v1",
|
|
1500
|
-
"version":
|
|
1501
|
-
"
|
|
1552
|
+
"version": 4,
|
|
1553
|
+
"engines": {
|
|
1554
|
+
"camunda": "^8.3"
|
|
1555
|
+
},
|
|
1556
|
+
"description": "Validate addresses, retrieve postal addresses and calculate distances with Googe Maps",
|
|
1557
|
+
"metadata": {
|
|
1558
|
+
"keywords": ["find address", "check address", "get distance"]
|
|
1559
|
+
},
|
|
1502
1560
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/",
|
|
1503
1561
|
"category": {
|
|
1504
1562
|
"id": "connectors",
|
|
@@ -1897,7 +1955,7 @@
|
|
|
1897
1955
|
"constraints": {
|
|
1898
1956
|
"notEmpty": false,
|
|
1899
1957
|
"pattern": {
|
|
1900
|
-
"value": "^(=|([0-9]
|
|
1958
|
+
"value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
|
|
1901
1959
|
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
1902
1960
|
}
|
|
1903
1961
|
}
|
|
@@ -1914,7 +1972,7 @@
|
|
|
1914
1972
|
},
|
|
1915
1973
|
{
|
|
1916
1974
|
"label": "Result expression",
|
|
1917
|
-
"id": "
|
|
1975
|
+
"id": "resultExpressionGet",
|
|
1918
1976
|
"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>",
|
|
1919
1977
|
"group": "output",
|
|
1920
1978
|
"type": "String",
|
|
@@ -1931,7 +1989,7 @@
|
|
|
1931
1989
|
},
|
|
1932
1990
|
{
|
|
1933
1991
|
"label": "Result expression",
|
|
1934
|
-
"id": "
|
|
1992
|
+
"id": "resultExpressionGet",
|
|
1935
1993
|
"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>",
|
|
1936
1994
|
"group": "output",
|
|
1937
1995
|
"type": "String",
|
|
@@ -1948,7 +2006,7 @@
|
|
|
1948
2006
|
},
|
|
1949
2007
|
{
|
|
1950
2008
|
"label": "Result expression",
|
|
1951
|
-
"id": "
|
|
2009
|
+
"id": "resultExpressionGet",
|
|
1952
2010
|
"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>",
|
|
1953
2011
|
"group": "output",
|
|
1954
2012
|
"type": "String",
|
|
@@ -1973,20 +2031,41 @@
|
|
|
1973
2031
|
"type": "zeebe:taskHeader",
|
|
1974
2032
|
"key": "errorExpression"
|
|
1975
2033
|
}
|
|
2034
|
+
},
|
|
2035
|
+
{
|
|
2036
|
+
"id": "version",
|
|
2037
|
+
"label": "Version",
|
|
2038
|
+
"description": "Version of the element template",
|
|
2039
|
+
"value": "4",
|
|
2040
|
+
"group": "connector",
|
|
2041
|
+
"binding": {
|
|
2042
|
+
"key": "elementTemplateVersion",
|
|
2043
|
+
"type": "zeebe:taskHeader"
|
|
2044
|
+
},
|
|
2045
|
+
"type": "Hidden"
|
|
2046
|
+
},
|
|
2047
|
+
{
|
|
2048
|
+
"id": "id",
|
|
2049
|
+
"label": "ID",
|
|
2050
|
+
"description": "ID of the element template",
|
|
2051
|
+
"value": "io.camunda.connectors.GoogleMapsPlatform.v1",
|
|
2052
|
+
"group": "connector",
|
|
2053
|
+
"binding": {
|
|
2054
|
+
"key": "elementTemplateId",
|
|
2055
|
+
"type": "zeebe:taskHeader"
|
|
2056
|
+
},
|
|
2057
|
+
"type": "Hidden"
|
|
1976
2058
|
}
|
|
1977
2059
|
],
|
|
1978
2060
|
"icon": {
|
|
1979
2061
|
"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"
|
|
1980
|
-
},
|
|
1981
|
-
"engines": {
|
|
1982
|
-
"camunda": "^8.2"
|
|
1983
2062
|
}
|
|
1984
2063
|
},
|
|
1985
2064
|
{
|
|
1986
2065
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
1987
|
-
"name": "Google Maps Platform
|
|
2066
|
+
"name": "Google Maps Platform connector",
|
|
1988
2067
|
"id": "io.camunda.connectors.GoogleMapsPlatform.v1",
|
|
1989
|
-
"version":
|
|
2068
|
+
"version": 1,
|
|
1990
2069
|
"description": "The Google Maps connector validates addresses, retrieves postal addresses and calculates distances",
|
|
1991
2070
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/",
|
|
1992
2071
|
"category": {
|
|
@@ -2386,7 +2465,7 @@
|
|
|
2386
2465
|
"constraints": {
|
|
2387
2466
|
"notEmpty": false,
|
|
2388
2467
|
"pattern": {
|
|
2389
|
-
"value": "^(
|
|
2468
|
+
"value": "^([0-9]*$)|(secrets.*$)",
|
|
2390
2469
|
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
2391
2470
|
}
|
|
2392
2471
|
}
|
|
@@ -2454,7 +2533,7 @@
|
|
|
2454
2533
|
},
|
|
2455
2534
|
{
|
|
2456
2535
|
"label": "Error expression",
|
|
2457
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
2536
|
+
"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>",
|
|
2458
2537
|
"group": "errors",
|
|
2459
2538
|
"type": "Text",
|
|
2460
2539
|
"feel": "required",
|
|
@@ -2475,7 +2554,7 @@
|
|
|
2475
2554
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
2476
2555
|
"name": "Google Maps Platform Outbound Connector",
|
|
2477
2556
|
"id": "io.camunda.connectors.GoogleMapsPlatform.v1",
|
|
2478
|
-
"version":
|
|
2557
|
+
"version": 6,
|
|
2479
2558
|
"engines": {
|
|
2480
2559
|
"camunda": "^8.3"
|
|
2481
2560
|
},
|
|
@@ -2508,14 +2587,14 @@
|
|
|
2508
2587
|
"id": "authentication",
|
|
2509
2588
|
"label": "Authentication"
|
|
2510
2589
|
},
|
|
2511
|
-
{
|
|
2512
|
-
"id": "configuration",
|
|
2513
|
-
"label": "Configuration"
|
|
2514
|
-
},
|
|
2515
2590
|
{
|
|
2516
2591
|
"id": "input",
|
|
2517
2592
|
"label": "Input"
|
|
2518
2593
|
},
|
|
2594
|
+
{
|
|
2595
|
+
"id": "connector",
|
|
2596
|
+
"label": "Connector"
|
|
2597
|
+
},
|
|
2519
2598
|
{
|
|
2520
2599
|
"id": "output",
|
|
2521
2600
|
"label": "Output"
|
|
@@ -2952,7 +3031,7 @@
|
|
|
2952
3031
|
"id": "version",
|
|
2953
3032
|
"label": "Version",
|
|
2954
3033
|
"description": "Version of the element template",
|
|
2955
|
-
"value": "
|
|
3034
|
+
"value": "6",
|
|
2956
3035
|
"group": "connector",
|
|
2957
3036
|
"binding": {
|
|
2958
3037
|
"key": "elementTemplateVersion",
|
|
@@ -2979,23 +3058,10 @@
|
|
|
2979
3058
|
},
|
|
2980
3059
|
{
|
|
2981
3060
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
2982
|
-
"name": "Google Maps Platform
|
|
3061
|
+
"name": "Google Maps Platform connector",
|
|
2983
3062
|
"id": "io.camunda.connectors.GoogleMapsPlatform.v1",
|
|
2984
|
-
"version":
|
|
2985
|
-
"
|
|
2986
|
-
"camunda": "^8.3"
|
|
2987
|
-
},
|
|
2988
|
-
"description": "Validate addresses, retrieve postal addresses and calculate distances with Googe Maps",
|
|
2989
|
-
"keywords": [
|
|
2990
|
-
"validate address",
|
|
2991
|
-
"get place ID",
|
|
2992
|
-
"calculate distance",
|
|
2993
|
-
"geocoding",
|
|
2994
|
-
"geolocation",
|
|
2995
|
-
"address validation",
|
|
2996
|
-
"routing",
|
|
2997
|
-
"maps"
|
|
2998
|
-
],
|
|
3063
|
+
"version": 2,
|
|
3064
|
+
"description": "The Google Maps connector validates addresses, retrieves postal addresses and calculates distances",
|
|
2999
3065
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/",
|
|
3000
3066
|
"category": {
|
|
3001
3067
|
"id": "connectors",
|
|
@@ -3015,12 +3081,12 @@
|
|
|
3015
3081
|
"label": "Authentication"
|
|
3016
3082
|
},
|
|
3017
3083
|
{
|
|
3018
|
-
"id": "
|
|
3019
|
-
"label": "
|
|
3084
|
+
"id": "configuration",
|
|
3085
|
+
"label": "Configuration"
|
|
3020
3086
|
},
|
|
3021
3087
|
{
|
|
3022
|
-
"id": "
|
|
3023
|
-
"label": "
|
|
3088
|
+
"id": "input",
|
|
3089
|
+
"label": "Input"
|
|
3024
3090
|
},
|
|
3025
3091
|
{
|
|
3026
3092
|
"id": "output",
|
|
@@ -3158,7 +3224,7 @@
|
|
|
3158
3224
|
"optional": false,
|
|
3159
3225
|
"binding": {
|
|
3160
3226
|
"type": "zeebe:input",
|
|
3161
|
-
"name": "
|
|
3227
|
+
"name": "addressValue"
|
|
3162
3228
|
},
|
|
3163
3229
|
"constraints": {
|
|
3164
3230
|
"notEmpty": true
|
|
@@ -3316,12 +3382,13 @@
|
|
|
3316
3382
|
}
|
|
3317
3383
|
},
|
|
3318
3384
|
{
|
|
3385
|
+
"group": "input",
|
|
3319
3386
|
"type": "Hidden",
|
|
3320
3387
|
"optional": false,
|
|
3321
|
-
"value": "=\"
|
|
3388
|
+
"value": "=\"[\"+addressValue+\"]\"",
|
|
3322
3389
|
"binding": {
|
|
3323
3390
|
"type": "zeebe:input",
|
|
3324
|
-
"name": "
|
|
3391
|
+
"name": "body.address.addressLines"
|
|
3325
3392
|
},
|
|
3326
3393
|
"constraints": {
|
|
3327
3394
|
"notEmpty": true
|
|
@@ -3334,7 +3401,7 @@
|
|
|
3334
3401
|
{
|
|
3335
3402
|
"type": "Hidden",
|
|
3336
3403
|
"optional": false,
|
|
3337
|
-
"value": "https://
|
|
3404
|
+
"value": "=\"https://addressvalidation.googleapis.com/v1:validateAddress?key=\"+apiKeyValue",
|
|
3338
3405
|
"binding": {
|
|
3339
3406
|
"type": "zeebe:input",
|
|
3340
3407
|
"name": "url"
|
|
@@ -3344,7 +3411,23 @@
|
|
|
3344
3411
|
},
|
|
3345
3412
|
"condition": {
|
|
3346
3413
|
"property": "operationType",
|
|
3347
|
-
"oneOf": ["
|
|
3414
|
+
"oneOf": ["validateAddress"]
|
|
3415
|
+
}
|
|
3416
|
+
},
|
|
3417
|
+
{
|
|
3418
|
+
"type": "Hidden",
|
|
3419
|
+
"optional": false,
|
|
3420
|
+
"value": "https://maps.googleapis.com/maps/api/place/findplacefromtext/json",
|
|
3421
|
+
"binding": {
|
|
3422
|
+
"type": "zeebe:input",
|
|
3423
|
+
"name": "url"
|
|
3424
|
+
},
|
|
3425
|
+
"constraints": {
|
|
3426
|
+
"notEmpty": true
|
|
3427
|
+
},
|
|
3428
|
+
"condition": {
|
|
3429
|
+
"property": "operationType",
|
|
3430
|
+
"oneOf": ["getPlaceID"]
|
|
3348
3431
|
}
|
|
3349
3432
|
},
|
|
3350
3433
|
{
|
|
@@ -3377,7 +3460,7 @@
|
|
|
3377
3460
|
"constraints": {
|
|
3378
3461
|
"notEmpty": false,
|
|
3379
3462
|
"pattern": {
|
|
3380
|
-
"value": "^(=|([0-9]
|
|
3463
|
+
"value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
|
|
3381
3464
|
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
3382
3465
|
}
|
|
3383
3466
|
}
|
|
@@ -3394,7 +3477,7 @@
|
|
|
3394
3477
|
},
|
|
3395
3478
|
{
|
|
3396
3479
|
"label": "Result expression",
|
|
3397
|
-
"id": "
|
|
3480
|
+
"id": "resultExpressionGetAddressComplete",
|
|
3398
3481
|
"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>",
|
|
3399
3482
|
"group": "output",
|
|
3400
3483
|
"type": "String",
|
|
@@ -3411,7 +3494,7 @@
|
|
|
3411
3494
|
},
|
|
3412
3495
|
{
|
|
3413
3496
|
"label": "Result expression",
|
|
3414
|
-
"id": "
|
|
3497
|
+
"id": "resultExpressionGetPlaceId",
|
|
3415
3498
|
"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>",
|
|
3416
3499
|
"group": "output",
|
|
3417
3500
|
"type": "String",
|
|
@@ -3428,7 +3511,7 @@
|
|
|
3428
3511
|
},
|
|
3429
3512
|
{
|
|
3430
3513
|
"label": "Result expression",
|
|
3431
|
-
"id": "
|
|
3514
|
+
"id": "resultExpressionGetDuration",
|
|
3432
3515
|
"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>",
|
|
3433
3516
|
"group": "output",
|
|
3434
3517
|
"type": "String",
|
|
@@ -3453,30 +3536,498 @@
|
|
|
3453
3536
|
"type": "zeebe:taskHeader",
|
|
3454
3537
|
"key": "errorExpression"
|
|
3455
3538
|
}
|
|
3539
|
+
}
|
|
3540
|
+
],
|
|
3541
|
+
"icon": {
|
|
3542
|
+
"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"
|
|
3543
|
+
},
|
|
3544
|
+
"engines": {
|
|
3545
|
+
"camunda": "^8.2"
|
|
3546
|
+
}
|
|
3547
|
+
},
|
|
3548
|
+
{
|
|
3549
|
+
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
3550
|
+
"name": "Google Maps Platform connector",
|
|
3551
|
+
"id": "io.camunda.connectors.GoogleMapsPlatform.v1",
|
|
3552
|
+
"deprecated": {
|
|
3553
|
+
"message": "Replace with 'Google Maps Platform connector' template.",
|
|
3554
|
+
"documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
|
|
3555
|
+
},
|
|
3556
|
+
"description": "The Google Maps connector validates addresses, retrieves postal addresses and calculates distances",
|
|
3557
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/",
|
|
3558
|
+
"category": {
|
|
3559
|
+
"id": "connectors",
|
|
3560
|
+
"name": "Connectors"
|
|
3561
|
+
},
|
|
3562
|
+
"appliesTo": ["bpmn:Task"],
|
|
3563
|
+
"elementType": {
|
|
3564
|
+
"value": "bpmn:ServiceTask"
|
|
3565
|
+
},
|
|
3566
|
+
"groups": [
|
|
3567
|
+
{
|
|
3568
|
+
"id": "operation",
|
|
3569
|
+
"label": "Operation"
|
|
3456
3570
|
},
|
|
3457
3571
|
{
|
|
3458
|
-
"id": "
|
|
3459
|
-
"label": "
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
"
|
|
3572
|
+
"id": "authentication",
|
|
3573
|
+
"label": "Authentication"
|
|
3574
|
+
},
|
|
3575
|
+
{
|
|
3576
|
+
"id": "configuration",
|
|
3577
|
+
"label": "Configuration"
|
|
3578
|
+
},
|
|
3579
|
+
{
|
|
3580
|
+
"id": "input",
|
|
3581
|
+
"label": "Input"
|
|
3582
|
+
},
|
|
3583
|
+
{
|
|
3584
|
+
"id": "output",
|
|
3585
|
+
"label": "Output"
|
|
3586
|
+
},
|
|
3587
|
+
{
|
|
3588
|
+
"id": "errors",
|
|
3589
|
+
"label": "Error handling"
|
|
3590
|
+
}
|
|
3591
|
+
],
|
|
3592
|
+
"properties": [
|
|
3593
|
+
{
|
|
3594
|
+
"type": "Hidden",
|
|
3595
|
+
"value": "io.camunda:http-json:1",
|
|
3463
3596
|
"binding": {
|
|
3464
|
-
"
|
|
3465
|
-
"
|
|
3597
|
+
"type": "zeebe:taskDefinition",
|
|
3598
|
+
"property": "type"
|
|
3599
|
+
}
|
|
3600
|
+
},
|
|
3601
|
+
{
|
|
3602
|
+
"label": "Operation type",
|
|
3603
|
+
"id": "operationType",
|
|
3604
|
+
"group": "operation",
|
|
3605
|
+
"type": "Dropdown",
|
|
3606
|
+
"choices": [
|
|
3607
|
+
{
|
|
3608
|
+
"name": "Validate address",
|
|
3609
|
+
"value": "validateAddress"
|
|
3610
|
+
},
|
|
3611
|
+
{
|
|
3612
|
+
"name": "Get place ID",
|
|
3613
|
+
"value": "getPlaceID"
|
|
3614
|
+
},
|
|
3615
|
+
{
|
|
3616
|
+
"name": "Calculate distance",
|
|
3617
|
+
"value": "calculateDistance"
|
|
3618
|
+
}
|
|
3619
|
+
],
|
|
3620
|
+
"binding": {
|
|
3621
|
+
"type": "zeebe:input",
|
|
3622
|
+
"name": "operationType"
|
|
3623
|
+
}
|
|
3624
|
+
},
|
|
3625
|
+
{
|
|
3626
|
+
"type": "Hidden",
|
|
3627
|
+
"optional": false,
|
|
3628
|
+
"value": "post",
|
|
3629
|
+
"binding": {
|
|
3630
|
+
"type": "zeebe:input",
|
|
3631
|
+
"name": "method"
|
|
3466
3632
|
},
|
|
3467
|
-
"
|
|
3633
|
+
"constraints": {
|
|
3634
|
+
"notEmpty": true
|
|
3635
|
+
},
|
|
3636
|
+
"condition": {
|
|
3637
|
+
"property": "operationType",
|
|
3638
|
+
"oneOf": ["validateAddress"]
|
|
3639
|
+
}
|
|
3468
3640
|
},
|
|
3469
3641
|
{
|
|
3470
|
-
"
|
|
3471
|
-
"
|
|
3472
|
-
"
|
|
3473
|
-
"value": "io.camunda.connectors.GoogleMapsPlatform.v1",
|
|
3474
|
-
"group": "connector",
|
|
3642
|
+
"type": "Hidden",
|
|
3643
|
+
"optional": false,
|
|
3644
|
+
"value": "get",
|
|
3475
3645
|
"binding": {
|
|
3476
|
-
"
|
|
3477
|
-
"
|
|
3646
|
+
"type": "zeebe:input",
|
|
3647
|
+
"name": "method"
|
|
3478
3648
|
},
|
|
3479
|
-
"
|
|
3649
|
+
"constraints": {
|
|
3650
|
+
"notEmpty": true
|
|
3651
|
+
},
|
|
3652
|
+
"condition": {
|
|
3653
|
+
"property": "operationType",
|
|
3654
|
+
"oneOf": ["getPlaceID", "calculateDistance"]
|
|
3655
|
+
}
|
|
3656
|
+
},
|
|
3657
|
+
{
|
|
3658
|
+
"label": "API key",
|
|
3659
|
+
"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>",
|
|
3660
|
+
"group": "authentication",
|
|
3661
|
+
"type": "String",
|
|
3662
|
+
"feel": "optional",
|
|
3663
|
+
"optional": false,
|
|
3664
|
+
"binding": {
|
|
3665
|
+
"type": "zeebe:input",
|
|
3666
|
+
"name": "apiKeyValue"
|
|
3667
|
+
},
|
|
3668
|
+
"constraints": {
|
|
3669
|
+
"notEmpty": true
|
|
3670
|
+
}
|
|
3671
|
+
},
|
|
3672
|
+
{
|
|
3673
|
+
"label": "Region code",
|
|
3674
|
+
"description": "You can find supported regions here <a href='https://developers.google.com/maps/documentation/address-validation/coverage' target='_blank'>supported regions</a>",
|
|
3675
|
+
"group": "input",
|
|
3676
|
+
"type": "String",
|
|
3677
|
+
"feel": "optional",
|
|
3678
|
+
"optional": true,
|
|
3679
|
+
"binding": {
|
|
3680
|
+
"type": "zeebe:input",
|
|
3681
|
+
"name": "body.address.regionCode"
|
|
3682
|
+
},
|
|
3683
|
+
"constraints": {
|
|
3684
|
+
"notEmpty": false
|
|
3685
|
+
},
|
|
3686
|
+
"condition": {
|
|
3687
|
+
"property": "operationType",
|
|
3688
|
+
"oneOf": ["validateAddress"]
|
|
3689
|
+
}
|
|
3690
|
+
},
|
|
3691
|
+
{
|
|
3692
|
+
"label": "Locality",
|
|
3693
|
+
"description": "An incorporated city or town political entity",
|
|
3694
|
+
"group": "input",
|
|
3695
|
+
"type": "String",
|
|
3696
|
+
"feel": "optional",
|
|
3697
|
+
"optional": true,
|
|
3698
|
+
"binding": {
|
|
3699
|
+
"type": "zeebe:input",
|
|
3700
|
+
"name": "body.address.locality"
|
|
3701
|
+
},
|
|
3702
|
+
"constraints": {
|
|
3703
|
+
"notEmpty": false
|
|
3704
|
+
},
|
|
3705
|
+
"condition": {
|
|
3706
|
+
"property": "operationType",
|
|
3707
|
+
"oneOf": ["validateAddress"]
|
|
3708
|
+
}
|
|
3709
|
+
},
|
|
3710
|
+
{
|
|
3711
|
+
"label": "Address",
|
|
3712
|
+
"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>",
|
|
3713
|
+
"group": "input",
|
|
3714
|
+
"type": "String",
|
|
3715
|
+
"feel": "optional",
|
|
3716
|
+
"optional": false,
|
|
3717
|
+
"binding": {
|
|
3718
|
+
"type": "zeebe:input",
|
|
3719
|
+
"name": "addressValue"
|
|
3720
|
+
},
|
|
3721
|
+
"constraints": {
|
|
3722
|
+
"notEmpty": true
|
|
3723
|
+
},
|
|
3724
|
+
"condition": {
|
|
3725
|
+
"property": "operationType",
|
|
3726
|
+
"oneOf": ["validateAddress"]
|
|
3727
|
+
}
|
|
3728
|
+
},
|
|
3729
|
+
{
|
|
3730
|
+
"label": "Address",
|
|
3731
|
+
"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>",
|
|
3732
|
+
"group": "input",
|
|
3733
|
+
"type": "String",
|
|
3734
|
+
"feel": "optional",
|
|
3735
|
+
"optional": false,
|
|
3736
|
+
"binding": {
|
|
3737
|
+
"type": "zeebe:input",
|
|
3738
|
+
"name": "addressValue"
|
|
3739
|
+
},
|
|
3740
|
+
"constraints": {
|
|
3741
|
+
"notEmpty": true
|
|
3742
|
+
},
|
|
3743
|
+
"condition": {
|
|
3744
|
+
"property": "operationType",
|
|
3745
|
+
"oneOf": ["getPlaceID"]
|
|
3746
|
+
}
|
|
3747
|
+
},
|
|
3748
|
+
{
|
|
3749
|
+
"label": "Destination",
|
|
3750
|
+
"description": "The place ID value that you want to use as the destination for calculating distance",
|
|
3751
|
+
"group": "input",
|
|
3752
|
+
"type": "String",
|
|
3753
|
+
"feel": "optional",
|
|
3754
|
+
"optional": false,
|
|
3755
|
+
"binding": {
|
|
3756
|
+
"type": "zeebe:input",
|
|
3757
|
+
"name": "destinationValue"
|
|
3758
|
+
},
|
|
3759
|
+
"constraints": {
|
|
3760
|
+
"notEmpty": true
|
|
3761
|
+
},
|
|
3762
|
+
"condition": {
|
|
3763
|
+
"property": "operationType",
|
|
3764
|
+
"oneOf": ["calculateDistance"]
|
|
3765
|
+
}
|
|
3766
|
+
},
|
|
3767
|
+
{
|
|
3768
|
+
"label": "Origin",
|
|
3769
|
+
"description": "The place ID value that you want to use as the starting point for calculating distance",
|
|
3770
|
+
"group": "input",
|
|
3771
|
+
"type": "String",
|
|
3772
|
+
"feel": "optional",
|
|
3773
|
+
"optional": false,
|
|
3774
|
+
"binding": {
|
|
3775
|
+
"type": "zeebe:input",
|
|
3776
|
+
"name": "originValue"
|
|
3777
|
+
},
|
|
3778
|
+
"constraints": {
|
|
3779
|
+
"notEmpty": true
|
|
3780
|
+
},
|
|
3781
|
+
"condition": {
|
|
3782
|
+
"property": "operationType",
|
|
3783
|
+
"oneOf": ["calculateDistance"]
|
|
3784
|
+
}
|
|
3785
|
+
},
|
|
3786
|
+
{
|
|
3787
|
+
"label": "Units",
|
|
3788
|
+
"description": "Specifies the unit system to use when displaying results",
|
|
3789
|
+
"group": "input",
|
|
3790
|
+
"value": "metric",
|
|
3791
|
+
"type": "Dropdown",
|
|
3792
|
+
"choices": [
|
|
3793
|
+
{
|
|
3794
|
+
"name": "Metric",
|
|
3795
|
+
"value": "metric"
|
|
3796
|
+
},
|
|
3797
|
+
{
|
|
3798
|
+
"name": "Imperial",
|
|
3799
|
+
"value": "imperial"
|
|
3800
|
+
}
|
|
3801
|
+
],
|
|
3802
|
+
"binding": {
|
|
3803
|
+
"type": "zeebe:input",
|
|
3804
|
+
"name": "unitsValue"
|
|
3805
|
+
},
|
|
3806
|
+
"condition": {
|
|
3807
|
+
"property": "operationType",
|
|
3808
|
+
"oneOf": ["calculateDistance"]
|
|
3809
|
+
}
|
|
3810
|
+
},
|
|
3811
|
+
{
|
|
3812
|
+
"label": "Mode",
|
|
3813
|
+
"description": "You can specify the transportation mode to use when calculating distances and directions",
|
|
3814
|
+
"group": "input",
|
|
3815
|
+
"value": "driving",
|
|
3816
|
+
"type": "Dropdown",
|
|
3817
|
+
"choices": [
|
|
3818
|
+
{
|
|
3819
|
+
"name": "Driving",
|
|
3820
|
+
"value": "driving"
|
|
3821
|
+
},
|
|
3822
|
+
{
|
|
3823
|
+
"name": "Walking",
|
|
3824
|
+
"value": "walking"
|
|
3825
|
+
},
|
|
3826
|
+
{
|
|
3827
|
+
"name": "Bicycling",
|
|
3828
|
+
"value": "bicycling"
|
|
3829
|
+
},
|
|
3830
|
+
{
|
|
3831
|
+
"name": "Transit",
|
|
3832
|
+
"value": "transit"
|
|
3833
|
+
}
|
|
3834
|
+
],
|
|
3835
|
+
"binding": {
|
|
3836
|
+
"type": "zeebe:input",
|
|
3837
|
+
"name": "modeValue"
|
|
3838
|
+
},
|
|
3839
|
+
"condition": {
|
|
3840
|
+
"property": "operationType",
|
|
3841
|
+
"oneOf": ["calculateDistance"]
|
|
3842
|
+
}
|
|
3843
|
+
},
|
|
3844
|
+
{
|
|
3845
|
+
"type": "Hidden",
|
|
3846
|
+
"optional": false,
|
|
3847
|
+
"value": "={\"input\":addressValue, \"inputtype\":\"textquery\", \"language\":\"en\", \"key\": apiKeyValue}",
|
|
3848
|
+
"binding": {
|
|
3849
|
+
"type": "zeebe:input",
|
|
3850
|
+
"name": "queryParameters"
|
|
3851
|
+
},
|
|
3852
|
+
"constraints": {
|
|
3853
|
+
"notEmpty": true
|
|
3854
|
+
},
|
|
3855
|
+
"condition": {
|
|
3856
|
+
"property": "operationType",
|
|
3857
|
+
"oneOf": ["getPlaceID"]
|
|
3858
|
+
}
|
|
3859
|
+
},
|
|
3860
|
+
{
|
|
3861
|
+
"type": "Hidden",
|
|
3862
|
+
"optional": false,
|
|
3863
|
+
"value": "={\"destination\":\"place_id:\"+destinationValue, \"origin\":\"place_id:\"+originValue, \"units\": unitsValue, \"language\":\"en\", \"mode\": modeValue, \"key\": apiKeyValue}",
|
|
3864
|
+
"binding": {
|
|
3865
|
+
"type": "zeebe:input",
|
|
3866
|
+
"name": "queryParameters"
|
|
3867
|
+
},
|
|
3868
|
+
"constraints": {
|
|
3869
|
+
"notEmpty": true
|
|
3870
|
+
},
|
|
3871
|
+
"condition": {
|
|
3872
|
+
"property": "operationType",
|
|
3873
|
+
"oneOf": ["calculateDistance"]
|
|
3874
|
+
}
|
|
3875
|
+
},
|
|
3876
|
+
{
|
|
3877
|
+
"group": "input",
|
|
3878
|
+
"type": "Hidden",
|
|
3879
|
+
"optional": false,
|
|
3880
|
+
"value": "=\"[\"+addressValue+\"]\"",
|
|
3881
|
+
"binding": {
|
|
3882
|
+
"type": "zeebe:input",
|
|
3883
|
+
"name": "body.address.addressLines"
|
|
3884
|
+
},
|
|
3885
|
+
"constraints": {
|
|
3886
|
+
"notEmpty": true
|
|
3887
|
+
},
|
|
3888
|
+
"condition": {
|
|
3889
|
+
"property": "operationType",
|
|
3890
|
+
"oneOf": ["validateAddress"]
|
|
3891
|
+
}
|
|
3892
|
+
},
|
|
3893
|
+
{
|
|
3894
|
+
"type": "Hidden",
|
|
3895
|
+
"optional": false,
|
|
3896
|
+
"value": "=\"https://addressvalidation.googleapis.com/v1:validateAddress?key=\"+apiKeyValue",
|
|
3897
|
+
"binding": {
|
|
3898
|
+
"type": "zeebe:input",
|
|
3899
|
+
"name": "url"
|
|
3900
|
+
},
|
|
3901
|
+
"constraints": {
|
|
3902
|
+
"notEmpty": true
|
|
3903
|
+
},
|
|
3904
|
+
"condition": {
|
|
3905
|
+
"property": "operationType",
|
|
3906
|
+
"oneOf": ["validateAddress"]
|
|
3907
|
+
}
|
|
3908
|
+
},
|
|
3909
|
+
{
|
|
3910
|
+
"type": "Hidden",
|
|
3911
|
+
"optional": false,
|
|
3912
|
+
"value": "https://maps.googleapis.com/maps/api/place/findplacefromtext/json",
|
|
3913
|
+
"binding": {
|
|
3914
|
+
"type": "zeebe:input",
|
|
3915
|
+
"name": "url"
|
|
3916
|
+
},
|
|
3917
|
+
"constraints": {
|
|
3918
|
+
"notEmpty": true
|
|
3919
|
+
},
|
|
3920
|
+
"condition": {
|
|
3921
|
+
"property": "operationType",
|
|
3922
|
+
"oneOf": ["getPlaceID"]
|
|
3923
|
+
}
|
|
3924
|
+
},
|
|
3925
|
+
{
|
|
3926
|
+
"type": "Hidden",
|
|
3927
|
+
"optional": false,
|
|
3928
|
+
"value": "https://maps.googleapis.com/maps/api/directions/json",
|
|
3929
|
+
"binding": {
|
|
3930
|
+
"type": "zeebe:input",
|
|
3931
|
+
"name": "url"
|
|
3932
|
+
},
|
|
3933
|
+
"constraints": {
|
|
3934
|
+
"notEmpty": true
|
|
3935
|
+
},
|
|
3936
|
+
"condition": {
|
|
3937
|
+
"property": "operationType",
|
|
3938
|
+
"oneOf": ["calculateDistance"]
|
|
3939
|
+
}
|
|
3940
|
+
},
|
|
3941
|
+
{
|
|
3942
|
+
"label": "Connection timeout",
|
|
3943
|
+
"description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
|
|
3944
|
+
"group": "errors",
|
|
3945
|
+
"type": "String",
|
|
3946
|
+
"value": "20",
|
|
3947
|
+
"binding": {
|
|
3948
|
+
"type": "zeebe:input",
|
|
3949
|
+
"name": "connectionTimeoutInSeconds"
|
|
3950
|
+
},
|
|
3951
|
+
"optional": true,
|
|
3952
|
+
"constraints": {
|
|
3953
|
+
"notEmpty": false,
|
|
3954
|
+
"pattern": {
|
|
3955
|
+
"value": "^([0-9]*$)|(secrets.*$)",
|
|
3956
|
+
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
3957
|
+
}
|
|
3958
|
+
}
|
|
3959
|
+
},
|
|
3960
|
+
{
|
|
3961
|
+
"label": "Result variable",
|
|
3962
|
+
"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>",
|
|
3963
|
+
"group": "output",
|
|
3964
|
+
"type": "String",
|
|
3965
|
+
"binding": {
|
|
3966
|
+
"type": "zeebe:taskHeader",
|
|
3967
|
+
"key": "resultVariable"
|
|
3968
|
+
}
|
|
3969
|
+
},
|
|
3970
|
+
{
|
|
3971
|
+
"label": "Result expression",
|
|
3972
|
+
"id": "resultExpressionGetAddressComplete",
|
|
3973
|
+
"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>",
|
|
3974
|
+
"group": "output",
|
|
3975
|
+
"type": "String",
|
|
3976
|
+
"feel": "required",
|
|
3977
|
+
"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}",
|
|
3978
|
+
"binding": {
|
|
3979
|
+
"type": "zeebe:taskHeader",
|
|
3980
|
+
"key": "resultExpression"
|
|
3981
|
+
},
|
|
3982
|
+
"condition": {
|
|
3983
|
+
"property": "operationType",
|
|
3984
|
+
"oneOf": ["validateAddress"]
|
|
3985
|
+
}
|
|
3986
|
+
},
|
|
3987
|
+
{
|
|
3988
|
+
"label": "Result expression",
|
|
3989
|
+
"id": "resultExpressionGetPlaceId",
|
|
3990
|
+
"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>",
|
|
3991
|
+
"group": "output",
|
|
3992
|
+
"type": "String",
|
|
3993
|
+
"feel": "required",
|
|
3994
|
+
"value": "={placeId: response.body.candidates[1].place_id}",
|
|
3995
|
+
"binding": {
|
|
3996
|
+
"type": "zeebe:taskHeader",
|
|
3997
|
+
"key": "resultExpression"
|
|
3998
|
+
},
|
|
3999
|
+
"condition": {
|
|
4000
|
+
"property": "operationType",
|
|
4001
|
+
"oneOf": ["getPlaceID"]
|
|
4002
|
+
}
|
|
4003
|
+
},
|
|
4004
|
+
{
|
|
4005
|
+
"label": "Result expression",
|
|
4006
|
+
"id": "resultExpressionGetDuration",
|
|
4007
|
+
"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>",
|
|
4008
|
+
"group": "output",
|
|
4009
|
+
"type": "String",
|
|
4010
|
+
"feel": "required",
|
|
4011
|
+
"value": "={\n duration: response.body.routes[1].legs[1].duration.text,\n distance: response.body.routes[1].legs[1].distance.text \n}",
|
|
4012
|
+
"binding": {
|
|
4013
|
+
"type": "zeebe:taskHeader",
|
|
4014
|
+
"key": "resultExpression"
|
|
4015
|
+
},
|
|
4016
|
+
"condition": {
|
|
4017
|
+
"property": "operationType",
|
|
4018
|
+
"oneOf": ["calculateDistance"]
|
|
4019
|
+
}
|
|
4020
|
+
},
|
|
4021
|
+
{
|
|
4022
|
+
"label": "Error expression",
|
|
4023
|
+
"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>",
|
|
4024
|
+
"group": "errors",
|
|
4025
|
+
"type": "Text",
|
|
4026
|
+
"feel": "required",
|
|
4027
|
+
"binding": {
|
|
4028
|
+
"type": "zeebe:taskHeader",
|
|
4029
|
+
"key": "errorExpression"
|
|
4030
|
+
}
|
|
3480
4031
|
}
|
|
3481
4032
|
],
|
|
3482
4033
|
"icon": {
|