@camunda/connectors-element-templates 1.0.16 → 1.0.18
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.js +12 -0
- package/src/element-templates/agenticai-a2a-client-outbound-connector.json +3 -5
- package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-intermediate.json +9 -8
- package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-receive.json +9 -8
- package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-intermediate.json +9 -8
- package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-receive.json +9 -8
- package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +36 -39
- package/src/element-templates/agenticai-aiagent-job-worker.json +3769 -28
- package/src/element-templates/agenticai-aiagent-outbound-connector.json +6979 -3299
- package/src/element-templates/agenticai-mcp-client-outbound-connector.json +469 -471
- package/src/element-templates/agenticai-mcp-message-start-event.json +122 -0
- package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +484 -486
- package/src/element-templates/asana-connector.json +718 -7
- package/src/element-templates/automation-anywhere-outbound-connector.json +1756 -1752
- package/src/element-templates/aws-bedrock-agentcore-long-term-memory-outbound-connector.json +431 -0
- package/src/element-templates/aws-bedrock-agentcore-runtime-outbound-connector.json +285 -0
- package/src/element-templates/aws-bedrock-codeinterpreter-outbound-connector.json +341 -0
- package/src/element-templates/aws-bedrock-knowledgebase-outbound-connector.json +316 -0
- package/src/element-templates/aws-bedrock-outbound-connector.json +788 -51
- package/src/element-templates/aws-comprehend-outbound-connector.json +10 -5
- package/src/element-templates/aws-dynamodb-outbound-connector.json +1412 -1412
- package/src/element-templates/aws-eventbridge-connector-boundary.json +376 -11
- package/src/element-templates/aws-eventbridge-connector-intermediate.json +400 -35
- package/src/element-templates/aws-eventbridge-connector-message-start.json +408 -9
- package/src/element-templates/aws-eventbridge-connector-receive.json +364 -0
- package/src/element-templates/aws-eventbridge-connector-start-event.json +322 -5
- package/src/element-templates/aws-eventbridge-outbound-connector.json +316 -311
- package/src/element-templates/aws-lambda-outbound-connector.json +305 -301
- package/src/element-templates/aws-s3-outbound-connector.json +656 -15
- package/src/element-templates/aws-sagemaker-outbound-connector.json +56 -52
- package/src/element-templates/aws-sns-inbound-boundary.json +422 -415
- package/src/element-templates/aws-sns-inbound-intermediate.json +330 -323
- package/src/element-templates/aws-sns-inbound-message-start.json +348 -341
- package/src/element-templates/aws-sns-inbound-receive.json +13 -6
- package/src/element-templates/aws-sns-inbound-start-event.json +139 -132
- package/src/element-templates/aws-sns-outbound-connector.json +593 -589
- package/src/element-templates/aws-sqs-boundary-connector.json +642 -638
- package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +588 -584
- package/src/element-templates/aws-sqs-outbound-connector.json +748 -746
- package/src/element-templates/aws-sqs-receive-connector.json +15 -11
- package/src/element-templates/aws-sqs-start-event-connector.json +408 -400
- package/src/element-templates/aws-sqs-start-message.json +465 -461
- package/src/element-templates/aws-textract-outbound-connector.json +298 -294
- package/src/element-templates/azure-blobstorage-outbound-connector.json +668 -11
- package/src/element-templates/azure-open-ai-connector.json +1329 -4
- package/src/element-templates/blue-prism-connector.json +598 -53
- package/src/element-templates/box-outbound-connector.json +924 -12
- package/src/element-templates/csv-outbound-connector.json +39 -31
- package/src/element-templates/easy-post-connector.json +1017 -49
- package/src/element-templates/email-inbound-connector-boundary.json +32 -24
- package/src/element-templates/email-inbound-connector-intermediate.json +32 -24
- package/src/element-templates/email-inbound-connector-receive.json +564 -0
- package/src/element-templates/email-message-start-event-connector.json +45 -37
- package/src/element-templates/email-outbound-connector.json +2129 -256
- package/src/element-templates/embeddings-vector-database-outbound-connector.json +513 -516
- package/src/element-templates/github-connector.json +12447 -5385
- package/src/element-templates/github-webhook-connector-boundary.json +11 -13
- package/src/element-templates/github-webhook-connector-intermediate.json +55 -57
- package/src/element-templates/github-webhook-connector-message-start.json +19 -21
- package/src/element-templates/github-webhook-connector-receive.json +13 -15
- package/src/element-templates/github-webhook-connector-start-event.json +62 -64
- package/src/element-templates/gitlab-connector.json +2974 -1342
- package/src/element-templates/google-cloud-storage-outbound-connector.json +561 -12
- package/src/element-templates/google-drive-outbound-connector.json +882 -262
- package/src/element-templates/google-gemini-outbound-connector.json +117 -109
- package/src/element-templates/google-maps-platform-connector.json +1048 -19
- package/src/element-templates/google-sheets-outbound-connector.json +2961 -1967
- package/src/element-templates/graphql-outbound-connector.json +1780 -1193
- package/src/element-templates/http-json-connector.json +2832 -2168
- package/src/element-templates/http-polling-boundary-catch-event-connector.json +953 -277
- package/src/element-templates/http-polling-connector.json +1642 -966
- package/src/element-templates/hubspot-outbound-connector.json +2376 -30
- package/src/element-templates/hugging-face-connector.json +432 -5
- package/src/element-templates/jdbc-outbound-connector.json +62 -48
- package/src/element-templates/kafka-inbound-connector-boundary.json +21 -12
- package/src/element-templates/kafka-inbound-connector-intermediate.json +581 -572
- package/src/element-templates/kafka-inbound-connector-receive.json +15 -6
- package/src/element-templates/kafka-inbound-connector-start-message.json +150 -141
- package/src/element-templates/kafka-inbound-connector.json +240 -240
- package/src/element-templates/kafka-outbound-connector.json +436 -430
- package/src/element-templates/microsoft-o365-email-boundary-event-connector.json +165 -13
- package/src/element-templates/microsoft-o365-email-intermediate-catch-event-connector.json +165 -13
- package/src/element-templates/microsoft-o365-email-message-start-event-connector.json +178 -26
- package/src/element-templates/microsoft-office365-mail-connector.json +883 -0
- package/src/element-templates/microsoft-teams-outbound-connector.json +5616 -1607
- package/src/element-templates/openai-connector.json +608 -145
- package/src/element-templates/operate-connector.json +1218 -66
- package/src/element-templates/power-automate-connector.json +602 -10
- package/src/element-templates/rabbitmq-inbound-connector-boundary.json +799 -790
- package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +914 -905
- package/src/element-templates/rabbitmq-inbound-connector-message-start.json +477 -468
- package/src/element-templates/rabbitmq-inbound-connector-receive.json +15 -6
- package/src/element-templates/rabbitmq-inbound-connector-start-event.json +754 -745
- package/src/element-templates/rabbitmq-outbound-connector.json +875 -869
- package/src/element-templates/rpa-connector.json +346 -0
- package/src/element-templates/salesforce-connector.json +583 -39
- package/src/element-templates/send-message-connector-intermediate-throw-event.json +10 -5
- package/src/element-templates/send-message-connector-message-end-event.json +10 -5
- package/src/element-templates/send-message-connector-send-task.json +10 -5
- package/src/element-templates/sendgrid-outbound-connector.json +1406 -798
- package/src/element-templates/servicenow-connector.json +971 -3
- package/src/element-templates/servicenow-flow-starter-connector.json +8 -3
- package/src/element-templates/servicenow-incident-connector.json +980 -3
- package/src/element-templates/slack-inbound-boundary.json +639 -341
- package/src/element-templates/slack-inbound-intermediate.json +393 -95
- package/src/element-templates/slack-inbound-message-start.json +678 -348
- package/src/element-templates/slack-inbound-receive.json +297 -0
- package/src/element-templates/slack-inbound-start-event.json +332 -327
- package/src/element-templates/slack-outbound-connector.json +3313 -919
- package/src/element-templates/soap-outbound-connector.json +812 -2
- package/src/element-templates/twilio-connector.json +1521 -41
- package/src/element-templates/twilio-webhook-boundary-connector.json +35 -26
- package/src/element-templates/twilio-webhook-connector.json +238 -8
- package/src/element-templates/twilio-webhook-intermediate-connector.json +38 -29
- package/src/element-templates/twilio-webhook-message-start-connector.json +312 -0
- package/src/element-templates/twilio-webhook-receive-connector.json +11 -2
- package/src/element-templates/uipath-connector.json +607 -15
- package/src/element-templates/webhook-connector-boundary.json +1986 -1331
- package/src/element-templates/webhook-connector-intermediate.json +2193 -1538
- package/src/element-templates/webhook-connector-receive.json +654 -0
- package/src/element-templates/webhook-connector-start-event.json +1261 -700
- package/src/element-templates/webhook-connector-start-message.json +1754 -1067
- package/src/element-templates/whatsapp-connector.json +339 -5
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
3
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
4
|
-
"name": "Google Drive
|
|
4
|
+
"name": "Google Drive Outbound Connector",
|
|
5
5
|
"id": "io.camunda.connectors.GoogleDrive.v1",
|
|
6
|
-
"
|
|
6
|
+
"description": "Manage Google Drive files and folders",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"create file",
|
|
9
|
+
"create file from template",
|
|
10
|
+
"create folder",
|
|
11
|
+
"upload file",
|
|
12
|
+
"download file",
|
|
13
|
+
"file storage",
|
|
14
|
+
"document management"
|
|
15
|
+
],
|
|
7
16
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/googledrive/",
|
|
8
|
-
"
|
|
17
|
+
"version": 6,
|
|
9
18
|
"category": {
|
|
10
19
|
"id": "connectors",
|
|
11
20
|
"name": "Connectors"
|
|
@@ -14,6 +23,9 @@
|
|
|
14
23
|
"elementType": {
|
|
15
24
|
"value": "bpmn:ServiceTask"
|
|
16
25
|
},
|
|
26
|
+
"engines": {
|
|
27
|
+
"camunda": "^8.10"
|
|
28
|
+
},
|
|
17
29
|
"groups": [
|
|
18
30
|
{
|
|
19
31
|
"id": "authentication",
|
|
@@ -27,30 +39,46 @@
|
|
|
27
39
|
"id": "operationDetails",
|
|
28
40
|
"label": "Operation details"
|
|
29
41
|
},
|
|
42
|
+
{
|
|
43
|
+
"id": "connector",
|
|
44
|
+
"label": "Connector"
|
|
45
|
+
},
|
|
30
46
|
{
|
|
31
47
|
"id": "output",
|
|
32
48
|
"label": "Output mapping"
|
|
33
49
|
},
|
|
34
50
|
{
|
|
35
|
-
"id": "
|
|
51
|
+
"id": "error",
|
|
36
52
|
"label": "Error handling"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"id": "retries",
|
|
56
|
+
"label": "Retries"
|
|
37
57
|
}
|
|
38
58
|
],
|
|
39
59
|
"properties": [
|
|
40
60
|
{
|
|
41
|
-
"type": "Hidden",
|
|
42
61
|
"value": "io.camunda:google-drive:1",
|
|
43
62
|
"binding": {
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
}
|
|
63
|
+
"property": "type",
|
|
64
|
+
"type": "zeebe:taskDefinition"
|
|
65
|
+
},
|
|
66
|
+
"type": "Hidden"
|
|
47
67
|
},
|
|
48
68
|
{
|
|
49
|
-
"id": "
|
|
69
|
+
"id": "authentication.authType",
|
|
50
70
|
"label": "Type",
|
|
71
|
+
"optional": false,
|
|
72
|
+
"value": "refresh",
|
|
73
|
+
"constraints": {
|
|
74
|
+
"notEmpty": true
|
|
75
|
+
},
|
|
51
76
|
"group": "authentication",
|
|
77
|
+
"binding": {
|
|
78
|
+
"name": "authentication.authType",
|
|
79
|
+
"type": "zeebe:input"
|
|
80
|
+
},
|
|
52
81
|
"type": "Dropdown",
|
|
53
|
-
"value": "bearer",
|
|
54
82
|
"choices": [
|
|
55
83
|
{
|
|
56
84
|
"name": "Bearer token",
|
|
@@ -60,86 +88,106 @@
|
|
|
60
88
|
"name": "Refresh token",
|
|
61
89
|
"value": "refresh"
|
|
62
90
|
}
|
|
63
|
-
]
|
|
64
|
-
"binding": {
|
|
65
|
-
"type": "zeebe:input",
|
|
66
|
-
"name": "authentication.authType",
|
|
67
|
-
"key": "authentication.authType"
|
|
68
|
-
}
|
|
91
|
+
]
|
|
69
92
|
},
|
|
70
93
|
{
|
|
94
|
+
"id": "authentication.bearerToken",
|
|
71
95
|
"label": "Bearer token",
|
|
72
|
-
"description": "Enter Google API Bearer token
|
|
73
|
-
"
|
|
74
|
-
"type": "String",
|
|
75
|
-
"binding": {
|
|
76
|
-
"type": "zeebe:input",
|
|
77
|
-
"name": "authentication.bearerToken"
|
|
78
|
-
},
|
|
96
|
+
"description": "Enter a valid Google API Bearer token",
|
|
97
|
+
"optional": false,
|
|
79
98
|
"constraints": {
|
|
80
99
|
"notEmpty": true
|
|
81
100
|
},
|
|
101
|
+
"feel": "optional",
|
|
102
|
+
"group": "authentication",
|
|
103
|
+
"binding": {
|
|
104
|
+
"name": "authentication.bearerToken",
|
|
105
|
+
"type": "zeebe:input"
|
|
106
|
+
},
|
|
82
107
|
"condition": {
|
|
83
|
-
"property": "
|
|
84
|
-
"equals": "bearer"
|
|
85
|
-
|
|
108
|
+
"property": "authentication.authType",
|
|
109
|
+
"equals": "bearer",
|
|
110
|
+
"type": "simple"
|
|
111
|
+
},
|
|
112
|
+
"type": "String"
|
|
86
113
|
},
|
|
87
114
|
{
|
|
115
|
+
"id": "authentication.oauthClientId",
|
|
88
116
|
"label": "Client ID",
|
|
89
117
|
"description": "Enter Google API Client ID",
|
|
90
|
-
"
|
|
91
|
-
"type": "String",
|
|
92
|
-
"binding": {
|
|
93
|
-
"type": "zeebe:input",
|
|
94
|
-
"name": "authentication.oauthClientId"
|
|
95
|
-
},
|
|
118
|
+
"optional": false,
|
|
96
119
|
"constraints": {
|
|
97
120
|
"notEmpty": true
|
|
98
121
|
},
|
|
122
|
+
"feel": "optional",
|
|
123
|
+
"group": "authentication",
|
|
124
|
+
"binding": {
|
|
125
|
+
"name": "authentication.oauthClientId",
|
|
126
|
+
"type": "zeebe:input"
|
|
127
|
+
},
|
|
99
128
|
"condition": {
|
|
100
|
-
"property": "
|
|
101
|
-
"equals": "refresh"
|
|
102
|
-
|
|
129
|
+
"property": "authentication.authType",
|
|
130
|
+
"equals": "refresh",
|
|
131
|
+
"type": "simple"
|
|
132
|
+
},
|
|
133
|
+
"type": "String"
|
|
103
134
|
},
|
|
104
135
|
{
|
|
136
|
+
"id": "authentication.oauthClientSecret",
|
|
105
137
|
"label": "Client secret",
|
|
106
138
|
"description": "Enter Google API client Secret",
|
|
107
|
-
"
|
|
108
|
-
"type": "String",
|
|
109
|
-
"binding": {
|
|
110
|
-
"type": "zeebe:input",
|
|
111
|
-
"name": "authentication.oauthClientSecret"
|
|
112
|
-
},
|
|
139
|
+
"optional": false,
|
|
113
140
|
"constraints": {
|
|
114
141
|
"notEmpty": true
|
|
115
142
|
},
|
|
143
|
+
"feel": "optional",
|
|
144
|
+
"group": "authentication",
|
|
145
|
+
"binding": {
|
|
146
|
+
"name": "authentication.oauthClientSecret",
|
|
147
|
+
"type": "zeebe:input"
|
|
148
|
+
},
|
|
116
149
|
"condition": {
|
|
117
|
-
"property": "
|
|
118
|
-
"equals": "refresh"
|
|
119
|
-
|
|
150
|
+
"property": "authentication.authType",
|
|
151
|
+
"equals": "refresh",
|
|
152
|
+
"type": "simple"
|
|
153
|
+
},
|
|
154
|
+
"type": "String"
|
|
120
155
|
},
|
|
121
156
|
{
|
|
157
|
+
"id": "authentication.oauthRefreshToken",
|
|
122
158
|
"label": "Refresh token",
|
|
123
|
-
"description": "Enter Google API refresh token
|
|
124
|
-
"
|
|
125
|
-
"type": "String",
|
|
126
|
-
"binding": {
|
|
127
|
-
"type": "zeebe:input",
|
|
128
|
-
"name": "authentication.oauthRefreshToken"
|
|
129
|
-
},
|
|
159
|
+
"description": "Enter a valid Google API refresh token",
|
|
160
|
+
"optional": false,
|
|
130
161
|
"constraints": {
|
|
131
162
|
"notEmpty": true
|
|
132
163
|
},
|
|
164
|
+
"feel": "optional",
|
|
165
|
+
"group": "authentication",
|
|
166
|
+
"binding": {
|
|
167
|
+
"name": "authentication.oauthRefreshToken",
|
|
168
|
+
"type": "zeebe:input"
|
|
169
|
+
},
|
|
133
170
|
"condition": {
|
|
134
|
-
"property": "
|
|
135
|
-
"equals": "refresh"
|
|
136
|
-
|
|
171
|
+
"property": "authentication.authType",
|
|
172
|
+
"equals": "refresh",
|
|
173
|
+
"type": "simple"
|
|
174
|
+
},
|
|
175
|
+
"type": "String"
|
|
137
176
|
},
|
|
138
177
|
{
|
|
139
|
-
"id": "
|
|
178
|
+
"id": "resource.type",
|
|
179
|
+
"label": "Operation",
|
|
180
|
+
"optional": false,
|
|
181
|
+
"value": "folder",
|
|
182
|
+
"constraints": {
|
|
183
|
+
"notEmpty": true
|
|
184
|
+
},
|
|
140
185
|
"group": "operation",
|
|
186
|
+
"binding": {
|
|
187
|
+
"name": "resource.type",
|
|
188
|
+
"type": "zeebe:input"
|
|
189
|
+
},
|
|
141
190
|
"type": "Dropdown",
|
|
142
|
-
"value": "folder",
|
|
143
191
|
"choices": [
|
|
144
192
|
{
|
|
145
193
|
"name": "Create folder",
|
|
@@ -148,168 +196,421 @@
|
|
|
148
196
|
{
|
|
149
197
|
"name": "Create file from template",
|
|
150
198
|
"value": "file"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"name": "Upload file",
|
|
202
|
+
"value": "upload"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"name": "Download file",
|
|
206
|
+
"value": "download"
|
|
151
207
|
}
|
|
152
|
-
]
|
|
153
|
-
"binding": {
|
|
154
|
-
"type": "zeebe:input",
|
|
155
|
-
"name": "resource.type",
|
|
156
|
-
"key": "resource.type"
|
|
157
|
-
}
|
|
208
|
+
]
|
|
158
209
|
},
|
|
159
210
|
{
|
|
160
|
-
"
|
|
161
|
-
"
|
|
162
|
-
"
|
|
163
|
-
"
|
|
211
|
+
"id": "resource.name",
|
|
212
|
+
"label": "New resource name",
|
|
213
|
+
"optional": false,
|
|
214
|
+
"constraints": {
|
|
215
|
+
"notEmpty": true
|
|
216
|
+
},
|
|
164
217
|
"feel": "optional",
|
|
218
|
+
"group": "operationDetails",
|
|
165
219
|
"binding": {
|
|
166
|
-
"
|
|
167
|
-
"
|
|
168
|
-
},
|
|
169
|
-
"constraints": {
|
|
170
|
-
"notEmpty": true,
|
|
171
|
-
"maxLength": 255
|
|
220
|
+
"name": "resource.name",
|
|
221
|
+
"type": "zeebe:input"
|
|
172
222
|
},
|
|
173
223
|
"condition": {
|
|
174
|
-
"property": "
|
|
175
|
-
"
|
|
176
|
-
|
|
224
|
+
"property": "resource.type",
|
|
225
|
+
"oneOf": ["folder", "file"],
|
|
226
|
+
"type": "simple"
|
|
227
|
+
},
|
|
228
|
+
"type": "String"
|
|
177
229
|
},
|
|
178
230
|
{
|
|
179
|
-
"
|
|
180
|
-
"
|
|
181
|
-
"
|
|
182
|
-
"
|
|
231
|
+
"id": "resource.parent",
|
|
232
|
+
"label": "Parent folder ID",
|
|
233
|
+
"description": "Your resources will be created here. If left empty, a new resource will appear in the root folder",
|
|
234
|
+
"optional": true,
|
|
183
235
|
"feel": "optional",
|
|
236
|
+
"group": "operationDetails",
|
|
184
237
|
"binding": {
|
|
185
|
-
"
|
|
186
|
-
"
|
|
187
|
-
},
|
|
188
|
-
"constraints": {
|
|
189
|
-
"notEmpty": true,
|
|
190
|
-
"maxLength": 255
|
|
238
|
+
"name": "resource.parent",
|
|
239
|
+
"type": "zeebe:input"
|
|
191
240
|
},
|
|
192
241
|
"condition": {
|
|
193
|
-
"property": "
|
|
194
|
-
"
|
|
195
|
-
|
|
242
|
+
"property": "resource.type",
|
|
243
|
+
"oneOf": ["folder", "file", "upload"],
|
|
244
|
+
"type": "simple"
|
|
245
|
+
},
|
|
246
|
+
"type": "String"
|
|
196
247
|
},
|
|
197
248
|
{
|
|
198
|
-
"
|
|
199
|
-
"
|
|
249
|
+
"id": "resource.additionalGoogleDriveProperties",
|
|
250
|
+
"label": "Additional properties or metadata",
|
|
251
|
+
"optional": true,
|
|
252
|
+
"feel": "required",
|
|
200
253
|
"group": "operationDetails",
|
|
201
|
-
"type": "String",
|
|
202
|
-
"feel": "optional",
|
|
203
254
|
"binding": {
|
|
204
|
-
"
|
|
205
|
-
"
|
|
206
|
-
},
|
|
207
|
-
"constraints": {
|
|
208
|
-
"notEmpty": true
|
|
255
|
+
"name": "resource.additionalGoogleDriveProperties",
|
|
256
|
+
"type": "zeebe:input"
|
|
209
257
|
},
|
|
210
258
|
"condition": {
|
|
211
|
-
"property": "
|
|
212
|
-
"equals": "
|
|
213
|
-
|
|
259
|
+
"property": "resource.type",
|
|
260
|
+
"equals": "folder",
|
|
261
|
+
"type": "simple"
|
|
262
|
+
},
|
|
263
|
+
"type": "String"
|
|
214
264
|
},
|
|
215
265
|
{
|
|
216
|
-
"
|
|
217
|
-
"
|
|
218
|
-
"
|
|
219
|
-
"
|
|
266
|
+
"id": "resource.template.id",
|
|
267
|
+
"label": "Template ID",
|
|
268
|
+
"optional": false,
|
|
269
|
+
"constraints": {
|
|
270
|
+
"notEmpty": true
|
|
271
|
+
},
|
|
220
272
|
"feel": "optional",
|
|
221
|
-
"
|
|
273
|
+
"group": "operationDetails",
|
|
222
274
|
"binding": {
|
|
223
|
-
"
|
|
224
|
-
"
|
|
275
|
+
"name": "resource.template.id",
|
|
276
|
+
"type": "zeebe:input"
|
|
225
277
|
},
|
|
226
278
|
"condition": {
|
|
227
|
-
"property": "
|
|
228
|
-
"equals": "
|
|
229
|
-
|
|
279
|
+
"property": "resource.type",
|
|
280
|
+
"equals": "file",
|
|
281
|
+
"type": "simple"
|
|
282
|
+
},
|
|
283
|
+
"type": "String"
|
|
230
284
|
},
|
|
231
285
|
{
|
|
232
|
-
"
|
|
233
|
-
"
|
|
286
|
+
"id": "resource.template.variables",
|
|
287
|
+
"label": "Template variables",
|
|
288
|
+
"optional": false,
|
|
289
|
+
"feel": "required",
|
|
234
290
|
"group": "operationDetails",
|
|
235
|
-
"
|
|
291
|
+
"binding": {
|
|
292
|
+
"name": "resource.template.variables",
|
|
293
|
+
"type": "zeebe:input"
|
|
294
|
+
},
|
|
295
|
+
"condition": {
|
|
296
|
+
"property": "resource.type",
|
|
297
|
+
"equals": "file",
|
|
298
|
+
"type": "simple"
|
|
299
|
+
},
|
|
300
|
+
"type": "String"
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"id": "resource.downloadData.fileId",
|
|
304
|
+
"label": "File ID",
|
|
305
|
+
"optional": false,
|
|
306
|
+
"constraints": {
|
|
307
|
+
"notEmpty": true
|
|
308
|
+
},
|
|
236
309
|
"feel": "optional",
|
|
237
|
-
"
|
|
310
|
+
"group": "operationDetails",
|
|
238
311
|
"binding": {
|
|
239
|
-
"
|
|
240
|
-
"
|
|
312
|
+
"name": "resource.downloadData.fileId",
|
|
313
|
+
"type": "zeebe:input"
|
|
241
314
|
},
|
|
242
315
|
"condition": {
|
|
243
|
-
"property": "
|
|
244
|
-
"equals": "
|
|
245
|
-
|
|
316
|
+
"property": "resource.type",
|
|
317
|
+
"equals": "download",
|
|
318
|
+
"type": "simple"
|
|
319
|
+
},
|
|
320
|
+
"type": "String"
|
|
246
321
|
},
|
|
247
322
|
{
|
|
248
|
-
"
|
|
249
|
-
"
|
|
323
|
+
"id": "resource.uploadData.document_documentSource",
|
|
324
|
+
"label": "Document source",
|
|
325
|
+
"description": "Upload camunda document, <a href=\"https://docs.camunda.io/docs/apis-tools/camunda-api-rest/specifications/upload-document-alpha/\">see documentation</a>",
|
|
326
|
+
"value": "camunda",
|
|
250
327
|
"group": "operationDetails",
|
|
251
|
-
"
|
|
328
|
+
"binding": {
|
|
329
|
+
"name": "resource.uploadData.document_documentSource",
|
|
330
|
+
"type": "zeebe:input"
|
|
331
|
+
},
|
|
332
|
+
"condition": {
|
|
333
|
+
"property": "resource.type",
|
|
334
|
+
"equals": "upload",
|
|
335
|
+
"type": "simple"
|
|
336
|
+
},
|
|
337
|
+
"type": "Dropdown",
|
|
338
|
+
"choices": [
|
|
339
|
+
{
|
|
340
|
+
"name": "Camunda Document",
|
|
341
|
+
"value": "camunda"
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"name": "Inline Content",
|
|
345
|
+
"value": "inline"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"name": "From URL",
|
|
349
|
+
"value": "external"
|
|
350
|
+
}
|
|
351
|
+
]
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"id": "resource.uploadData.document_camundaReference",
|
|
355
|
+
"label": "Camunda document",
|
|
356
|
+
"constraints": {
|
|
357
|
+
"notEmpty": true
|
|
358
|
+
},
|
|
252
359
|
"feel": "required",
|
|
360
|
+
"group": "operationDetails",
|
|
253
361
|
"binding": {
|
|
254
|
-
"
|
|
255
|
-
"
|
|
362
|
+
"name": "resource.uploadData.document_camundaReference",
|
|
363
|
+
"type": "zeebe:input"
|
|
256
364
|
},
|
|
257
365
|
"condition": {
|
|
258
|
-
"
|
|
259
|
-
|
|
260
|
-
|
|
366
|
+
"allMatch": [
|
|
367
|
+
{
|
|
368
|
+
"property": "resource.type",
|
|
369
|
+
"equals": "upload",
|
|
370
|
+
"type": "simple"
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"property": "resource.uploadData.document_documentSource",
|
|
374
|
+
"equals": "camunda",
|
|
375
|
+
"type": "simple"
|
|
376
|
+
}
|
|
377
|
+
]
|
|
378
|
+
},
|
|
379
|
+
"type": "String"
|
|
261
380
|
},
|
|
262
381
|
{
|
|
263
|
-
"
|
|
264
|
-
"
|
|
382
|
+
"id": "resource.uploadData.document_inline_content",
|
|
383
|
+
"label": "Content",
|
|
384
|
+
"constraints": {
|
|
385
|
+
"notEmpty": true
|
|
386
|
+
},
|
|
387
|
+
"feel": "optional",
|
|
265
388
|
"group": "operationDetails",
|
|
266
|
-
"type": "Text",
|
|
267
|
-
"optional": true,
|
|
268
|
-
"feel": "required",
|
|
269
389
|
"binding": {
|
|
270
|
-
"
|
|
271
|
-
"
|
|
272
|
-
|
|
273
|
-
|
|
390
|
+
"name": "resource.uploadData.document_inline_content",
|
|
391
|
+
"type": "zeebe:input"
|
|
392
|
+
},
|
|
393
|
+
"condition": {
|
|
394
|
+
"allMatch": [
|
|
395
|
+
{
|
|
396
|
+
"property": "resource.type",
|
|
397
|
+
"equals": "upload",
|
|
398
|
+
"type": "simple"
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"property": "resource.uploadData.document_documentSource",
|
|
402
|
+
"equals": "inline",
|
|
403
|
+
"type": "simple"
|
|
404
|
+
}
|
|
405
|
+
]
|
|
406
|
+
},
|
|
407
|
+
"type": "String"
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"id": "resource.uploadData.document_inline_fileName",
|
|
411
|
+
"label": "File name",
|
|
412
|
+
"feel": "optional",
|
|
413
|
+
"group": "operationDetails",
|
|
414
|
+
"binding": {
|
|
415
|
+
"name": "resource.uploadData.document_inline_fileName",
|
|
416
|
+
"type": "zeebe:input"
|
|
417
|
+
},
|
|
418
|
+
"condition": {
|
|
419
|
+
"allMatch": [
|
|
420
|
+
{
|
|
421
|
+
"property": "resource.type",
|
|
422
|
+
"equals": "upload",
|
|
423
|
+
"type": "simple"
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"property": "resource.uploadData.document_documentSource",
|
|
427
|
+
"equals": "inline",
|
|
428
|
+
"type": "simple"
|
|
429
|
+
}
|
|
430
|
+
]
|
|
431
|
+
},
|
|
432
|
+
"type": "String"
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"id": "resource.uploadData.document_inline_contentType",
|
|
436
|
+
"label": "Content type",
|
|
437
|
+
"feel": "optional",
|
|
438
|
+
"group": "operationDetails",
|
|
439
|
+
"binding": {
|
|
440
|
+
"name": "resource.uploadData.document_inline_contentType",
|
|
441
|
+
"type": "zeebe:input"
|
|
442
|
+
},
|
|
443
|
+
"condition": {
|
|
444
|
+
"allMatch": [
|
|
445
|
+
{
|
|
446
|
+
"property": "resource.type",
|
|
447
|
+
"equals": "upload",
|
|
448
|
+
"type": "simple"
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"property": "resource.uploadData.document_documentSource",
|
|
452
|
+
"equals": "inline",
|
|
453
|
+
"type": "simple"
|
|
454
|
+
}
|
|
455
|
+
]
|
|
456
|
+
},
|
|
457
|
+
"type": "String"
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
"id": "resource.uploadData.document_external_url",
|
|
461
|
+
"label": "URL",
|
|
462
|
+
"constraints": {
|
|
463
|
+
"notEmpty": true
|
|
464
|
+
},
|
|
465
|
+
"feel": "optional",
|
|
466
|
+
"group": "operationDetails",
|
|
467
|
+
"binding": {
|
|
468
|
+
"name": "resource.uploadData.document_external_url",
|
|
469
|
+
"type": "zeebe:input"
|
|
470
|
+
},
|
|
471
|
+
"condition": {
|
|
472
|
+
"allMatch": [
|
|
473
|
+
{
|
|
474
|
+
"property": "resource.type",
|
|
475
|
+
"equals": "upload",
|
|
476
|
+
"type": "simple"
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
"property": "resource.uploadData.document_documentSource",
|
|
480
|
+
"equals": "external",
|
|
481
|
+
"type": "simple"
|
|
482
|
+
}
|
|
483
|
+
]
|
|
484
|
+
},
|
|
485
|
+
"type": "String"
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
"id": "resource.uploadData.document_external_fileName",
|
|
489
|
+
"label": "File name",
|
|
490
|
+
"feel": "optional",
|
|
491
|
+
"group": "operationDetails",
|
|
492
|
+
"binding": {
|
|
493
|
+
"name": "resource.uploadData.document_external_fileName",
|
|
494
|
+
"type": "zeebe:input"
|
|
495
|
+
},
|
|
496
|
+
"condition": {
|
|
497
|
+
"allMatch": [
|
|
498
|
+
{
|
|
499
|
+
"property": "resource.type",
|
|
500
|
+
"equals": "upload",
|
|
501
|
+
"type": "simple"
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
"property": "resource.uploadData.document_documentSource",
|
|
505
|
+
"equals": "external",
|
|
506
|
+
"type": "simple"
|
|
507
|
+
}
|
|
508
|
+
]
|
|
509
|
+
},
|
|
510
|
+
"type": "String"
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"id": "resource.uploadData.document__composer",
|
|
514
|
+
"value": "=if document_documentSource = \"camunda\" then document_camundaReference else if document_documentSource = \"inline\" then { \"camunda.document.type\": \"inline\", content: document_inline_content, name: document_inline_fileName, contentType: document_inline_contentType } else if document_documentSource = \"external\" then { \"camunda.document.type\": \"external\", url: document_external_url, name: document_external_fileName } else null",
|
|
515
|
+
"group": "operationDetails",
|
|
516
|
+
"binding": {
|
|
517
|
+
"name": "resource.uploadData.document",
|
|
518
|
+
"type": "zeebe:input"
|
|
519
|
+
},
|
|
520
|
+
"condition": {
|
|
521
|
+
"property": "resource.type",
|
|
522
|
+
"equals": "upload",
|
|
523
|
+
"type": "simple"
|
|
524
|
+
},
|
|
525
|
+
"type": "Hidden"
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
"id": "version",
|
|
529
|
+
"label": "Version",
|
|
530
|
+
"description": "Version of the element template",
|
|
531
|
+
"value": "6",
|
|
532
|
+
"group": "connector",
|
|
533
|
+
"binding": {
|
|
534
|
+
"key": "elementTemplateVersion",
|
|
535
|
+
"type": "zeebe:taskHeader"
|
|
536
|
+
},
|
|
537
|
+
"type": "Hidden"
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
"id": "id",
|
|
541
|
+
"label": "ID",
|
|
542
|
+
"description": "ID of the element template",
|
|
543
|
+
"value": "io.camunda.connectors.GoogleDrive.v1",
|
|
544
|
+
"group": "connector",
|
|
545
|
+
"binding": {
|
|
546
|
+
"key": "elementTemplateId",
|
|
547
|
+
"type": "zeebe:taskHeader"
|
|
548
|
+
},
|
|
549
|
+
"type": "Hidden"
|
|
274
550
|
},
|
|
275
551
|
{
|
|
552
|
+
"id": "resultVariable",
|
|
276
553
|
"label": "Result variable",
|
|
277
|
-
"description": "
|
|
554
|
+
"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>.",
|
|
278
555
|
"group": "output",
|
|
279
|
-
"type": "String",
|
|
280
556
|
"binding": {
|
|
281
|
-
"
|
|
282
|
-
"
|
|
283
|
-
}
|
|
557
|
+
"key": "resultVariable",
|
|
558
|
+
"type": "zeebe:taskHeader"
|
|
559
|
+
},
|
|
560
|
+
"type": "String"
|
|
284
561
|
},
|
|
285
562
|
{
|
|
563
|
+
"id": "resultExpression",
|
|
286
564
|
"label": "Result expression",
|
|
287
|
-
"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
|
|
288
|
-
"group": "output",
|
|
289
|
-
"type": "Text",
|
|
565
|
+
"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>.",
|
|
290
566
|
"feel": "required",
|
|
567
|
+
"group": "output",
|
|
291
568
|
"binding": {
|
|
292
|
-
"
|
|
293
|
-
"
|
|
294
|
-
}
|
|
569
|
+
"key": "resultExpression",
|
|
570
|
+
"type": "zeebe:taskHeader"
|
|
571
|
+
},
|
|
572
|
+
"type": "Text"
|
|
295
573
|
},
|
|
296
574
|
{
|
|
575
|
+
"id": "errorExpression",
|
|
297
576
|
"label": "Error expression",
|
|
298
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
299
|
-
"group": "errors",
|
|
300
|
-
"type": "Text",
|
|
577
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
|
|
301
578
|
"feel": "required",
|
|
579
|
+
"group": "error",
|
|
302
580
|
"binding": {
|
|
303
|
-
"
|
|
304
|
-
"
|
|
305
|
-
}
|
|
581
|
+
"key": "errorExpression",
|
|
582
|
+
"type": "zeebe:taskHeader"
|
|
583
|
+
},
|
|
584
|
+
"type": "Text"
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
"id": "retryCount",
|
|
588
|
+
"label": "Retries",
|
|
589
|
+
"description": "Number of retries",
|
|
590
|
+
"value": "3",
|
|
591
|
+
"feel": "optional",
|
|
592
|
+
"group": "retries",
|
|
593
|
+
"binding": {
|
|
594
|
+
"property": "retries",
|
|
595
|
+
"type": "zeebe:taskDefinition"
|
|
596
|
+
},
|
|
597
|
+
"type": "String"
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
"id": "retryBackoff",
|
|
601
|
+
"label": "Retry backoff",
|
|
602
|
+
"description": "ISO-8601 duration to wait between retries",
|
|
603
|
+
"value": "PT0S",
|
|
604
|
+
"group": "retries",
|
|
605
|
+
"binding": {
|
|
606
|
+
"key": "retryBackoff",
|
|
607
|
+
"type": "zeebe:taskHeader"
|
|
608
|
+
},
|
|
609
|
+
"type": "String"
|
|
306
610
|
}
|
|
307
611
|
],
|
|
308
612
|
"icon": {
|
|
309
|
-
"contents": "data:image/svg+xml;
|
|
310
|
-
},
|
|
311
|
-
"engines": {
|
|
312
|
-
"camunda": "^8.2"
|
|
613
|
+
"contents": "data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgODcuMyA3OCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KCTxwYXRoIGQ9Im02LjYgNjYuODUgMy44NSA2LjY1Yy44IDEuNCAxLjk1IDIuNSAzLjMgMy4zbDEzLjc1LTIzLjhoLTI3LjVjMCAxLjU1LjQgMy4xIDEuMiA0LjV6IiBmaWxsPSIjMDA2NmRhIi8+Cgk8cGF0aCBkPSJtNDMuNjUgMjUtMTMuNzUtMjMuOGMtMS4zNS44LTIuNSAxLjktMy4zIDMuM2wtMjUuNCA0NGE5LjA2IDkuMDYgMCAwIDAgLTEuMiA0LjVoMjcuNXoiIGZpbGw9IiMwMGFjNDciLz4KCTxwYXRoIGQ9Im03My41NSA3Ni44YzEuMzUtLjggMi41LTEuOSAzLjMtMy4zbDEuNi0yLjc1IDcuNjUtMTMuMjVjLjgtMS40IDEuMi0yLjk1IDEuMi00LjVoLTI3LjUwMmw1Ljg1MiAxMS41eiIgZmlsbD0iI2VhNDMzNSIvPgoJPHBhdGggZD0ibTQzLjY1IDI1IDEzLjc1LTIzLjhjLTEuMzUtLjgtMi45LTEuMi00LjUtMS4yaC0xOC41Yy0xLjYgMC0zLjE1LjQ1LTQuNSAxLjJ6IiBmaWxsPSIjMDA4MzJkIi8+Cgk8cGF0aCBkPSJtNTkuOCA1M2gtMzIuM2wtMTMuNzUgMjMuOGMxLjM1LjggMi45IDEuMiA0LjUgMS4yaDUwLjhjMS42IDAgMy4xNS0uNDUgNC41LTEuMnoiIGZpbGw9IiMyNjg0ZmMiLz4KCTxwYXRoIGQ9Im03My40IDI2LjUtMTIuNy0yMmMtLjgtMS40LTEuOTUtMi41LTMuMy0zLjNsLTEzLjc1IDIzLjggMTYuMTUgMjhoMjcuNDVjMC0xLjU1LS40LTMuMS0xLjItNC41eiIgZmlsbD0iI2ZmYmEwMCIvPgo8L3N2Zz4="
|
|
313
614
|
}
|
|
314
615
|
},
|
|
315
616
|
{
|
|
@@ -942,9 +1243,18 @@
|
|
|
942
1243
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
943
1244
|
"name": "Google Drive Outbound Connector",
|
|
944
1245
|
"id": "io.camunda.connectors.GoogleDrive.v1",
|
|
945
|
-
"description": "
|
|
1246
|
+
"description": "Manage Google Drive files and folders",
|
|
1247
|
+
"keywords": [
|
|
1248
|
+
"create file",
|
|
1249
|
+
"create file from template",
|
|
1250
|
+
"create folder",
|
|
1251
|
+
"upload file",
|
|
1252
|
+
"download file",
|
|
1253
|
+
"file storage",
|
|
1254
|
+
"document management"
|
|
1255
|
+
],
|
|
946
1256
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/googledrive/",
|
|
947
|
-
"version":
|
|
1257
|
+
"version": 5,
|
|
948
1258
|
"category": {
|
|
949
1259
|
"id": "connectors",
|
|
950
1260
|
"name": "Connectors"
|
|
@@ -953,6 +1263,9 @@
|
|
|
953
1263
|
"elementType": {
|
|
954
1264
|
"value": "bpmn:ServiceTask"
|
|
955
1265
|
},
|
|
1266
|
+
"engines": {
|
|
1267
|
+
"camunda": "^8.3"
|
|
1268
|
+
},
|
|
956
1269
|
"groups": [
|
|
957
1270
|
{
|
|
958
1271
|
"id": "authentication",
|
|
@@ -967,8 +1280,12 @@
|
|
|
967
1280
|
"label": "Operation details"
|
|
968
1281
|
},
|
|
969
1282
|
{
|
|
970
|
-
"id": "
|
|
971
|
-
"label": "
|
|
1283
|
+
"id": "connector",
|
|
1284
|
+
"label": "Connector"
|
|
1285
|
+
},
|
|
1286
|
+
{
|
|
1287
|
+
"id": "output",
|
|
1288
|
+
"label": "Output mapping"
|
|
972
1289
|
},
|
|
973
1290
|
{
|
|
974
1291
|
"id": "error",
|
|
@@ -1119,6 +1436,14 @@
|
|
|
1119
1436
|
{
|
|
1120
1437
|
"name": "Create file from template",
|
|
1121
1438
|
"value": "file"
|
|
1439
|
+
},
|
|
1440
|
+
{
|
|
1441
|
+
"name": "Upload file",
|
|
1442
|
+
"value": "upload"
|
|
1443
|
+
},
|
|
1444
|
+
{
|
|
1445
|
+
"name": "Download file",
|
|
1446
|
+
"value": "download"
|
|
1122
1447
|
}
|
|
1123
1448
|
]
|
|
1124
1449
|
},
|
|
@@ -1135,6 +1460,11 @@
|
|
|
1135
1460
|
"name": "resource.name",
|
|
1136
1461
|
"type": "zeebe:input"
|
|
1137
1462
|
},
|
|
1463
|
+
"condition": {
|
|
1464
|
+
"property": "resource.type",
|
|
1465
|
+
"oneOf": ["folder", "file"],
|
|
1466
|
+
"type": "simple"
|
|
1467
|
+
},
|
|
1138
1468
|
"type": "String"
|
|
1139
1469
|
},
|
|
1140
1470
|
{
|
|
@@ -1148,6 +1478,11 @@
|
|
|
1148
1478
|
"name": "resource.parent",
|
|
1149
1479
|
"type": "zeebe:input"
|
|
1150
1480
|
},
|
|
1481
|
+
"condition": {
|
|
1482
|
+
"property": "resource.type",
|
|
1483
|
+
"oneOf": ["folder", "file", "upload"],
|
|
1484
|
+
"type": "simple"
|
|
1485
|
+
},
|
|
1151
1486
|
"type": "String"
|
|
1152
1487
|
},
|
|
1153
1488
|
{
|
|
@@ -1204,10 +1539,75 @@
|
|
|
1204
1539
|
},
|
|
1205
1540
|
"type": "String"
|
|
1206
1541
|
},
|
|
1542
|
+
{
|
|
1543
|
+
"id": "resource.downloadData.fileId",
|
|
1544
|
+
"label": "File ID",
|
|
1545
|
+
"optional": false,
|
|
1546
|
+
"constraints": {
|
|
1547
|
+
"notEmpty": true
|
|
1548
|
+
},
|
|
1549
|
+
"feel": "optional",
|
|
1550
|
+
"group": "operationDetails",
|
|
1551
|
+
"binding": {
|
|
1552
|
+
"name": "resource.downloadData.fileId",
|
|
1553
|
+
"type": "zeebe:input"
|
|
1554
|
+
},
|
|
1555
|
+
"condition": {
|
|
1556
|
+
"property": "resource.type",
|
|
1557
|
+
"equals": "download",
|
|
1558
|
+
"type": "simple"
|
|
1559
|
+
},
|
|
1560
|
+
"type": "String"
|
|
1561
|
+
},
|
|
1562
|
+
{
|
|
1563
|
+
"id": "resource.uploadData.document",
|
|
1564
|
+
"label": "Document",
|
|
1565
|
+
"description": "Upload camunda document, <a href=\"https://docs.camunda.io/docs/apis-tools/camunda-api-rest/specifications/upload-document-alpha/\">see documentation</a>",
|
|
1566
|
+
"optional": false,
|
|
1567
|
+
"constraints": {
|
|
1568
|
+
"notEmpty": true
|
|
1569
|
+
},
|
|
1570
|
+
"feel": "required",
|
|
1571
|
+
"group": "operationDetails",
|
|
1572
|
+
"binding": {
|
|
1573
|
+
"name": "resource.uploadData.document",
|
|
1574
|
+
"type": "zeebe:input"
|
|
1575
|
+
},
|
|
1576
|
+
"condition": {
|
|
1577
|
+
"property": "resource.type",
|
|
1578
|
+
"equals": "upload",
|
|
1579
|
+
"type": "simple"
|
|
1580
|
+
},
|
|
1581
|
+
"type": "String"
|
|
1582
|
+
},
|
|
1583
|
+
{
|
|
1584
|
+
"id": "version",
|
|
1585
|
+
"label": "Version",
|
|
1586
|
+
"description": "Version of the element template",
|
|
1587
|
+
"value": "5",
|
|
1588
|
+
"group": "connector",
|
|
1589
|
+
"binding": {
|
|
1590
|
+
"key": "elementTemplateVersion",
|
|
1591
|
+
"type": "zeebe:taskHeader"
|
|
1592
|
+
},
|
|
1593
|
+
"type": "Hidden"
|
|
1594
|
+
},
|
|
1595
|
+
{
|
|
1596
|
+
"id": "id",
|
|
1597
|
+
"label": "ID",
|
|
1598
|
+
"description": "ID of the element template",
|
|
1599
|
+
"value": "io.camunda.connectors.GoogleDrive.v1",
|
|
1600
|
+
"group": "connector",
|
|
1601
|
+
"binding": {
|
|
1602
|
+
"key": "elementTemplateId",
|
|
1603
|
+
"type": "zeebe:taskHeader"
|
|
1604
|
+
},
|
|
1605
|
+
"type": "Hidden"
|
|
1606
|
+
},
|
|
1207
1607
|
{
|
|
1208
1608
|
"id": "resultVariable",
|
|
1209
1609
|
"label": "Result variable",
|
|
1210
|
-
"description": "Name of variable to store the response in",
|
|
1610
|
+
"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>.",
|
|
1211
1611
|
"group": "output",
|
|
1212
1612
|
"binding": {
|
|
1213
1613
|
"key": "resultVariable",
|
|
@@ -1218,7 +1618,7 @@
|
|
|
1218
1618
|
{
|
|
1219
1619
|
"id": "resultExpression",
|
|
1220
1620
|
"label": "Result expression",
|
|
1221
|
-
"description": "Expression to map the response into process variables",
|
|
1621
|
+
"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>.",
|
|
1222
1622
|
"feel": "required",
|
|
1223
1623
|
"group": "output",
|
|
1224
1624
|
"binding": {
|
|
@@ -1257,7 +1657,6 @@
|
|
|
1257
1657
|
"label": "Retry backoff",
|
|
1258
1658
|
"description": "ISO-8601 duration to wait between retries",
|
|
1259
1659
|
"value": "PT0S",
|
|
1260
|
-
"feel": "optional",
|
|
1261
1660
|
"group": "retries",
|
|
1262
1661
|
"binding": {
|
|
1263
1662
|
"key": "retryBackoff",
|
|
@@ -1268,9 +1667,6 @@
|
|
|
1268
1667
|
],
|
|
1269
1668
|
"icon": {
|
|
1270
1669
|
"contents": "data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgODcuMyA3OCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KCTxwYXRoIGQ9Im02LjYgNjYuODUgMy44NSA2LjY1Yy44IDEuNCAxLjk1IDIuNSAzLjMgMy4zbDEzLjc1LTIzLjhoLTI3LjVjMCAxLjU1LjQgMy4xIDEuMiA0LjV6IiBmaWxsPSIjMDA2NmRhIi8+Cgk8cGF0aCBkPSJtNDMuNjUgMjUtMTMuNzUtMjMuOGMtMS4zNS44LTIuNSAxLjktMy4zIDMuM2wtMjUuNCA0NGE5LjA2IDkuMDYgMCAwIDAgLTEuMiA0LjVoMjcuNXoiIGZpbGw9IiMwMGFjNDciLz4KCTxwYXRoIGQ9Im03My41NSA3Ni44YzEuMzUtLjggMi41LTEuOSAzLjMtMy4zbDEuNi0yLjc1IDcuNjUtMTMuMjVjLjgtMS40IDEuMi0yLjk1IDEuMi00LjVoLTI3LjUwMmw1Ljg1MiAxMS41eiIgZmlsbD0iI2VhNDMzNSIvPgoJPHBhdGggZD0ibTQzLjY1IDI1IDEzLjc1LTIzLjhjLTEuMzUtLjgtMi45LTEuMi00LjUtMS4yaC0xOC41Yy0xLjYgMC0zLjE1LjQ1LTQuNSAxLjJ6IiBmaWxsPSIjMDA4MzJkIi8+Cgk8cGF0aCBkPSJtNTkuOCA1M2gtMzIuM2wtMTMuNzUgMjMuOGMxLjM1LjggMi45IDEuMiA0LjUgMS4yaDUwLjhjMS42IDAgMy4xNS0uNDUgNC41LTEuMnoiIGZpbGw9IiMyNjg0ZmMiLz4KCTxwYXRoIGQ9Im03My40IDI2LjUtMTIuNy0yMmMtLjgtMS40LTEuOTUtMi41LTMuMy0zLjNsLTEzLjc1IDIzLjggMTYuMTUgMjhoMjcuNDVjMC0xLjU1LS40LTMuMS0xLjItNC41eiIgZmlsbD0iI2ZmYmEwMCIvPgo8L3N2Zz4="
|
|
1271
|
-
},
|
|
1272
|
-
"engines": {
|
|
1273
|
-
"camunda": "^8.5"
|
|
1274
1670
|
}
|
|
1275
1671
|
},
|
|
1276
1672
|
{
|
|
@@ -1673,12 +2069,9 @@
|
|
|
1673
2069
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
1674
2070
|
"name": "Google Drive Outbound Connector",
|
|
1675
2071
|
"id": "io.camunda.connectors.GoogleDrive.v1",
|
|
1676
|
-
"description": "
|
|
1677
|
-
"metadata": {
|
|
1678
|
-
"keywords": ["create file", "create file from template", "create folder"]
|
|
1679
|
-
},
|
|
2072
|
+
"description": "Create folder or a file from template",
|
|
1680
2073
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/googledrive/",
|
|
1681
|
-
"version":
|
|
2074
|
+
"version": 3,
|
|
1682
2075
|
"category": {
|
|
1683
2076
|
"id": "connectors",
|
|
1684
2077
|
"name": "Connectors"
|
|
@@ -1687,9 +2080,6 @@
|
|
|
1687
2080
|
"elementType": {
|
|
1688
2081
|
"value": "bpmn:ServiceTask"
|
|
1689
2082
|
},
|
|
1690
|
-
"engines": {
|
|
1691
|
-
"camunda": "^8.3"
|
|
1692
|
-
},
|
|
1693
2083
|
"groups": [
|
|
1694
2084
|
{
|
|
1695
2085
|
"id": "authentication",
|
|
@@ -1703,10 +2093,6 @@
|
|
|
1703
2093
|
"id": "operationDetails",
|
|
1704
2094
|
"label": "Operation details"
|
|
1705
2095
|
},
|
|
1706
|
-
{
|
|
1707
|
-
"id": "connector",
|
|
1708
|
-
"label": "Connector"
|
|
1709
|
-
},
|
|
1710
2096
|
{
|
|
1711
2097
|
"id": "output",
|
|
1712
2098
|
"label": "Output mapping"
|
|
@@ -1860,14 +2246,6 @@
|
|
|
1860
2246
|
{
|
|
1861
2247
|
"name": "Create file from template",
|
|
1862
2248
|
"value": "file"
|
|
1863
|
-
},
|
|
1864
|
-
{
|
|
1865
|
-
"name": "Upload file",
|
|
1866
|
-
"value": "upload"
|
|
1867
|
-
},
|
|
1868
|
-
{
|
|
1869
|
-
"name": "Download file",
|
|
1870
|
-
"value": "download"
|
|
1871
2249
|
}
|
|
1872
2250
|
]
|
|
1873
2251
|
},
|
|
@@ -1884,11 +2262,6 @@
|
|
|
1884
2262
|
"name": "resource.name",
|
|
1885
2263
|
"type": "zeebe:input"
|
|
1886
2264
|
},
|
|
1887
|
-
"condition": {
|
|
1888
|
-
"property": "resource.type",
|
|
1889
|
-
"oneOf": ["folder", "file"],
|
|
1890
|
-
"type": "simple"
|
|
1891
|
-
},
|
|
1892
2265
|
"type": "String"
|
|
1893
2266
|
},
|
|
1894
2267
|
{
|
|
@@ -1902,11 +2275,6 @@
|
|
|
1902
2275
|
"name": "resource.parent",
|
|
1903
2276
|
"type": "zeebe:input"
|
|
1904
2277
|
},
|
|
1905
|
-
"condition": {
|
|
1906
|
-
"property": "resource.type",
|
|
1907
|
-
"oneOf": ["folder", "file", "upload"],
|
|
1908
|
-
"type": "simple"
|
|
1909
|
-
},
|
|
1910
2278
|
"type": "String"
|
|
1911
2279
|
},
|
|
1912
2280
|
{
|
|
@@ -1963,71 +2331,6 @@
|
|
|
1963
2331
|
},
|
|
1964
2332
|
"type": "String"
|
|
1965
2333
|
},
|
|
1966
|
-
{
|
|
1967
|
-
"id": "resource.downloadData.fileId",
|
|
1968
|
-
"label": "File ID",
|
|
1969
|
-
"optional": false,
|
|
1970
|
-
"constraints": {
|
|
1971
|
-
"notEmpty": true
|
|
1972
|
-
},
|
|
1973
|
-
"feel": "optional",
|
|
1974
|
-
"group": "operationDetails",
|
|
1975
|
-
"binding": {
|
|
1976
|
-
"name": "resource.downloadData.fileId",
|
|
1977
|
-
"type": "zeebe:input"
|
|
1978
|
-
},
|
|
1979
|
-
"condition": {
|
|
1980
|
-
"property": "resource.type",
|
|
1981
|
-
"equals": "download",
|
|
1982
|
-
"type": "simple"
|
|
1983
|
-
},
|
|
1984
|
-
"type": "String"
|
|
1985
|
-
},
|
|
1986
|
-
{
|
|
1987
|
-
"id": "resource.uploadData.document",
|
|
1988
|
-
"label": "Document",
|
|
1989
|
-
"description": "Upload camunda document, <a href=\"https://docs.camunda.io/docs/apis-tools/camunda-api-rest/specifications/upload-document-alpha/\">see documentation</a>",
|
|
1990
|
-
"optional": false,
|
|
1991
|
-
"constraints": {
|
|
1992
|
-
"notEmpty": true
|
|
1993
|
-
},
|
|
1994
|
-
"feel": "required",
|
|
1995
|
-
"group": "operationDetails",
|
|
1996
|
-
"binding": {
|
|
1997
|
-
"name": "resource.uploadData.document",
|
|
1998
|
-
"type": "zeebe:input"
|
|
1999
|
-
},
|
|
2000
|
-
"condition": {
|
|
2001
|
-
"property": "resource.type",
|
|
2002
|
-
"equals": "upload",
|
|
2003
|
-
"type": "simple"
|
|
2004
|
-
},
|
|
2005
|
-
"type": "String"
|
|
2006
|
-
},
|
|
2007
|
-
{
|
|
2008
|
-
"id": "version",
|
|
2009
|
-
"label": "Version",
|
|
2010
|
-
"description": "Version of the element template",
|
|
2011
|
-
"value": "5",
|
|
2012
|
-
"group": "connector",
|
|
2013
|
-
"binding": {
|
|
2014
|
-
"key": "elementTemplateVersion",
|
|
2015
|
-
"type": "zeebe:taskHeader"
|
|
2016
|
-
},
|
|
2017
|
-
"type": "Hidden"
|
|
2018
|
-
},
|
|
2019
|
-
{
|
|
2020
|
-
"id": "id",
|
|
2021
|
-
"label": "ID",
|
|
2022
|
-
"description": "ID of the element template",
|
|
2023
|
-
"value": "io.camunda.connectors.GoogleDrive.v1",
|
|
2024
|
-
"group": "connector",
|
|
2025
|
-
"binding": {
|
|
2026
|
-
"key": "elementTemplateId",
|
|
2027
|
-
"type": "zeebe:taskHeader"
|
|
2028
|
-
},
|
|
2029
|
-
"type": "Hidden"
|
|
2030
|
-
},
|
|
2031
2334
|
{
|
|
2032
2335
|
"id": "resultVariable",
|
|
2033
2336
|
"label": "Result variable",
|
|
@@ -2081,6 +2384,7 @@
|
|
|
2081
2384
|
"label": "Retry backoff",
|
|
2082
2385
|
"description": "ISO-8601 duration to wait between retries",
|
|
2083
2386
|
"value": "PT0S",
|
|
2387
|
+
"feel": "optional",
|
|
2084
2388
|
"group": "retries",
|
|
2085
2389
|
"binding": {
|
|
2086
2390
|
"key": "retryBackoff",
|
|
@@ -2091,6 +2395,322 @@
|
|
|
2091
2395
|
],
|
|
2092
2396
|
"icon": {
|
|
2093
2397
|
"contents": "data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgODcuMyA3OCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KCTxwYXRoIGQ9Im02LjYgNjYuODUgMy44NSA2LjY1Yy44IDEuNCAxLjk1IDIuNSAzLjMgMy4zbDEzLjc1LTIzLjhoLTI3LjVjMCAxLjU1LjQgMy4xIDEuMiA0LjV6IiBmaWxsPSIjMDA2NmRhIi8+Cgk8cGF0aCBkPSJtNDMuNjUgMjUtMTMuNzUtMjMuOGMtMS4zNS44LTIuNSAxLjktMy4zIDMuM2wtMjUuNCA0NGE5LjA2IDkuMDYgMCAwIDAgLTEuMiA0LjVoMjcuNXoiIGZpbGw9IiMwMGFjNDciLz4KCTxwYXRoIGQ9Im03My41NSA3Ni44YzEuMzUtLjggMi41LTEuOSAzLjMtMy4zbDEuNi0yLjc1IDcuNjUtMTMuMjVjLjgtMS40IDEuMi0yLjk1IDEuMi00LjVoLTI3LjUwMmw1Ljg1MiAxMS41eiIgZmlsbD0iI2VhNDMzNSIvPgoJPHBhdGggZD0ibTQzLjY1IDI1IDEzLjc1LTIzLjhjLTEuMzUtLjgtMi45LTEuMi00LjUtMS4yaC0xOC41Yy0xLjYgMC0zLjE1LjQ1LTQuNSAxLjJ6IiBmaWxsPSIjMDA4MzJkIi8+Cgk8cGF0aCBkPSJtNTkuOCA1M2gtMzIuM2wtMTMuNzUgMjMuOGMxLjM1LjggMi45IDEuMiA0LjUgMS4yaDUwLjhjMS42IDAgMy4xNS0uNDUgNC41LTEuMnoiIGZpbGw9IiMyNjg0ZmMiLz4KCTxwYXRoIGQ9Im03My40IDI2LjUtMTIuNy0yMmMtLjgtMS40LTEuOTUtMi41LTMuMy0zLjNsLTEzLjc1IDIzLjggMTYuMTUgMjhoMjcuNDVjMC0xLjU1LS40LTMuMS0xLjItNC41eiIgZmlsbD0iI2ZmYmEwMCIvPgo8L3N2Zz4="
|
|
2398
|
+
},
|
|
2399
|
+
"engines": {
|
|
2400
|
+
"camunda": "^8.5"
|
|
2401
|
+
}
|
|
2402
|
+
},
|
|
2403
|
+
{
|
|
2404
|
+
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
2405
|
+
"name": "Google Drive connector",
|
|
2406
|
+
"id": "io.camunda.connectors.GoogleDrive.v1",
|
|
2407
|
+
"version": 1,
|
|
2408
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/googledrive/",
|
|
2409
|
+
"description": "Create folder or a file from template",
|
|
2410
|
+
"category": {
|
|
2411
|
+
"id": "connectors",
|
|
2412
|
+
"name": "Connectors"
|
|
2413
|
+
},
|
|
2414
|
+
"appliesTo": ["bpmn:Task"],
|
|
2415
|
+
"elementType": {
|
|
2416
|
+
"value": "bpmn:ServiceTask"
|
|
2417
|
+
},
|
|
2418
|
+
"groups": [
|
|
2419
|
+
{
|
|
2420
|
+
"id": "authentication",
|
|
2421
|
+
"label": "Authentication"
|
|
2422
|
+
},
|
|
2423
|
+
{
|
|
2424
|
+
"id": "operation",
|
|
2425
|
+
"label": "Select operation"
|
|
2426
|
+
},
|
|
2427
|
+
{
|
|
2428
|
+
"id": "operationDetails",
|
|
2429
|
+
"label": "Operation details"
|
|
2430
|
+
},
|
|
2431
|
+
{
|
|
2432
|
+
"id": "output",
|
|
2433
|
+
"label": "Output mapping"
|
|
2434
|
+
},
|
|
2435
|
+
{
|
|
2436
|
+
"id": "errors",
|
|
2437
|
+
"label": "Error handling"
|
|
2438
|
+
}
|
|
2439
|
+
],
|
|
2440
|
+
"properties": [
|
|
2441
|
+
{
|
|
2442
|
+
"type": "Hidden",
|
|
2443
|
+
"value": "io.camunda:google-drive:1",
|
|
2444
|
+
"binding": {
|
|
2445
|
+
"type": "zeebe:taskDefinition",
|
|
2446
|
+
"property": "type"
|
|
2447
|
+
}
|
|
2448
|
+
},
|
|
2449
|
+
{
|
|
2450
|
+
"id": "authenticationType",
|
|
2451
|
+
"label": "Type",
|
|
2452
|
+
"group": "authentication",
|
|
2453
|
+
"type": "Dropdown",
|
|
2454
|
+
"value": "bearer",
|
|
2455
|
+
"choices": [
|
|
2456
|
+
{
|
|
2457
|
+
"name": "Bearer token",
|
|
2458
|
+
"value": "bearer"
|
|
2459
|
+
},
|
|
2460
|
+
{
|
|
2461
|
+
"name": "Refresh token",
|
|
2462
|
+
"value": "refresh"
|
|
2463
|
+
}
|
|
2464
|
+
],
|
|
2465
|
+
"binding": {
|
|
2466
|
+
"type": "zeebe:input",
|
|
2467
|
+
"name": "authentication.authType",
|
|
2468
|
+
"key": "authentication.authType"
|
|
2469
|
+
}
|
|
2470
|
+
},
|
|
2471
|
+
{
|
|
2472
|
+
"label": "Bearer token",
|
|
2473
|
+
"description": "Enter Google API Bearer token that is authorized to interact with desired Drive",
|
|
2474
|
+
"group": "authentication",
|
|
2475
|
+
"type": "String",
|
|
2476
|
+
"binding": {
|
|
2477
|
+
"type": "zeebe:input",
|
|
2478
|
+
"name": "authentication.bearerToken"
|
|
2479
|
+
},
|
|
2480
|
+
"constraints": {
|
|
2481
|
+
"notEmpty": true
|
|
2482
|
+
},
|
|
2483
|
+
"condition": {
|
|
2484
|
+
"property": "authenticationType",
|
|
2485
|
+
"equals": "bearer"
|
|
2486
|
+
}
|
|
2487
|
+
},
|
|
2488
|
+
{
|
|
2489
|
+
"label": "Client ID",
|
|
2490
|
+
"description": "Enter Google API Client ID",
|
|
2491
|
+
"group": "authentication",
|
|
2492
|
+
"type": "String",
|
|
2493
|
+
"binding": {
|
|
2494
|
+
"type": "zeebe:input",
|
|
2495
|
+
"name": "authentication.oauthClientId"
|
|
2496
|
+
},
|
|
2497
|
+
"constraints": {
|
|
2498
|
+
"notEmpty": true
|
|
2499
|
+
},
|
|
2500
|
+
"condition": {
|
|
2501
|
+
"property": "authenticationType",
|
|
2502
|
+
"equals": "refresh"
|
|
2503
|
+
}
|
|
2504
|
+
},
|
|
2505
|
+
{
|
|
2506
|
+
"label": "Client secret",
|
|
2507
|
+
"description": "Enter Google API client Secret",
|
|
2508
|
+
"group": "authentication",
|
|
2509
|
+
"type": "String",
|
|
2510
|
+
"binding": {
|
|
2511
|
+
"type": "zeebe:input",
|
|
2512
|
+
"name": "authentication.oauthClientSecret"
|
|
2513
|
+
},
|
|
2514
|
+
"constraints": {
|
|
2515
|
+
"notEmpty": true
|
|
2516
|
+
},
|
|
2517
|
+
"condition": {
|
|
2518
|
+
"property": "authenticationType",
|
|
2519
|
+
"equals": "refresh"
|
|
2520
|
+
}
|
|
2521
|
+
},
|
|
2522
|
+
{
|
|
2523
|
+
"label": "Refresh token",
|
|
2524
|
+
"description": "Enter Google API refresh token that is authorized to interact with desired Drive",
|
|
2525
|
+
"group": "authentication",
|
|
2526
|
+
"type": "String",
|
|
2527
|
+
"binding": {
|
|
2528
|
+
"type": "zeebe:input",
|
|
2529
|
+
"name": "authentication.oauthRefreshToken"
|
|
2530
|
+
},
|
|
2531
|
+
"constraints": {
|
|
2532
|
+
"notEmpty": true
|
|
2533
|
+
},
|
|
2534
|
+
"condition": {
|
|
2535
|
+
"property": "authenticationType",
|
|
2536
|
+
"equals": "refresh"
|
|
2537
|
+
}
|
|
2538
|
+
},
|
|
2539
|
+
{
|
|
2540
|
+
"id": "resourceType",
|
|
2541
|
+
"group": "operation",
|
|
2542
|
+
"type": "Dropdown",
|
|
2543
|
+
"value": "folder",
|
|
2544
|
+
"choices": [
|
|
2545
|
+
{
|
|
2546
|
+
"name": "Create folder",
|
|
2547
|
+
"value": "folder"
|
|
2548
|
+
},
|
|
2549
|
+
{
|
|
2550
|
+
"name": "Create file from template",
|
|
2551
|
+
"value": "file"
|
|
2552
|
+
}
|
|
2553
|
+
],
|
|
2554
|
+
"binding": {
|
|
2555
|
+
"type": "zeebe:input",
|
|
2556
|
+
"name": "resource.type",
|
|
2557
|
+
"key": "resource.type"
|
|
2558
|
+
}
|
|
2559
|
+
},
|
|
2560
|
+
{
|
|
2561
|
+
"label": "File name",
|
|
2562
|
+
"description": "Enter name for your file",
|
|
2563
|
+
"group": "operationDetails",
|
|
2564
|
+
"type": "String",
|
|
2565
|
+
"feel": "optional",
|
|
2566
|
+
"binding": {
|
|
2567
|
+
"type": "zeebe:input",
|
|
2568
|
+
"name": "resource.name"
|
|
2569
|
+
},
|
|
2570
|
+
"constraints": {
|
|
2571
|
+
"notEmpty": true,
|
|
2572
|
+
"maxLength": 255
|
|
2573
|
+
},
|
|
2574
|
+
"condition": {
|
|
2575
|
+
"property": "resourceType",
|
|
2576
|
+
"equals": "file"
|
|
2577
|
+
}
|
|
2578
|
+
},
|
|
2579
|
+
{
|
|
2580
|
+
"label": "Folder name",
|
|
2581
|
+
"description": "Enter name for your folder",
|
|
2582
|
+
"group": "operationDetails",
|
|
2583
|
+
"type": "String",
|
|
2584
|
+
"feel": "optional",
|
|
2585
|
+
"binding": {
|
|
2586
|
+
"type": "zeebe:input",
|
|
2587
|
+
"name": "resource.name"
|
|
2588
|
+
},
|
|
2589
|
+
"constraints": {
|
|
2590
|
+
"notEmpty": true,
|
|
2591
|
+
"maxLength": 255
|
|
2592
|
+
},
|
|
2593
|
+
"condition": {
|
|
2594
|
+
"property": "resourceType",
|
|
2595
|
+
"equals": "folder"
|
|
2596
|
+
}
|
|
2597
|
+
},
|
|
2598
|
+
{
|
|
2599
|
+
"label": "Template ID",
|
|
2600
|
+
"description": "Enter ID of the template you are creating a file from",
|
|
2601
|
+
"group": "operationDetails",
|
|
2602
|
+
"type": "String",
|
|
2603
|
+
"feel": "optional",
|
|
2604
|
+
"binding": {
|
|
2605
|
+
"type": "zeebe:input",
|
|
2606
|
+
"name": "resource.template.id"
|
|
2607
|
+
},
|
|
2608
|
+
"constraints": {
|
|
2609
|
+
"notEmpty": true
|
|
2610
|
+
},
|
|
2611
|
+
"condition": {
|
|
2612
|
+
"property": "resourceType",
|
|
2613
|
+
"equals": "file"
|
|
2614
|
+
}
|
|
2615
|
+
},
|
|
2616
|
+
{
|
|
2617
|
+
"label": "Parent folder ID",
|
|
2618
|
+
"description": "Enter ID of the parent folder where new folder will be created",
|
|
2619
|
+
"group": "operationDetails",
|
|
2620
|
+
"type": "String",
|
|
2621
|
+
"feel": "optional",
|
|
2622
|
+
"optional": true,
|
|
2623
|
+
"binding": {
|
|
2624
|
+
"type": "zeebe:input",
|
|
2625
|
+
"name": "resource.parent"
|
|
2626
|
+
},
|
|
2627
|
+
"condition": {
|
|
2628
|
+
"property": "resourceType",
|
|
2629
|
+
"equals": "folder"
|
|
2630
|
+
}
|
|
2631
|
+
},
|
|
2632
|
+
{
|
|
2633
|
+
"label": "Parent folder ID",
|
|
2634
|
+
"description": "Enter ID of the parent folder where new file will be created",
|
|
2635
|
+
"group": "operationDetails",
|
|
2636
|
+
"type": "String",
|
|
2637
|
+
"feel": "optional",
|
|
2638
|
+
"optional": true,
|
|
2639
|
+
"binding": {
|
|
2640
|
+
"type": "zeebe:input",
|
|
2641
|
+
"name": "resource.parent"
|
|
2642
|
+
},
|
|
2643
|
+
"condition": {
|
|
2644
|
+
"property": "resourceType",
|
|
2645
|
+
"equals": "file"
|
|
2646
|
+
}
|
|
2647
|
+
},
|
|
2648
|
+
{
|
|
2649
|
+
"label": "Template variables",
|
|
2650
|
+
"description": "Use this field to pass and update variables in your template as JSON",
|
|
2651
|
+
"group": "operationDetails",
|
|
2652
|
+
"type": "Text",
|
|
2653
|
+
"feel": "required",
|
|
2654
|
+
"binding": {
|
|
2655
|
+
"type": "zeebe:input",
|
|
2656
|
+
"name": "resource.template.variables"
|
|
2657
|
+
},
|
|
2658
|
+
"condition": {
|
|
2659
|
+
"property": "resourceType",
|
|
2660
|
+
"equals": "file"
|
|
2661
|
+
}
|
|
2662
|
+
},
|
|
2663
|
+
{
|
|
2664
|
+
"label": "Additional properties or metadata",
|
|
2665
|
+
"description": "Use this field to pass additional Google Drive parameters as JSON.",
|
|
2666
|
+
"group": "operationDetails",
|
|
2667
|
+
"type": "Text",
|
|
2668
|
+
"optional": true,
|
|
2669
|
+
"feel": "required",
|
|
2670
|
+
"binding": {
|
|
2671
|
+
"type": "zeebe:input",
|
|
2672
|
+
"name": "resource.additionalGoogleDriveProperties",
|
|
2673
|
+
"key": "resource.additionalGoogleDriveProperties"
|
|
2674
|
+
}
|
|
2675
|
+
},
|
|
2676
|
+
{
|
|
2677
|
+
"label": "Result variable",
|
|
2678
|
+
"description": "Enter 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>",
|
|
2679
|
+
"group": "output",
|
|
2680
|
+
"type": "String",
|
|
2681
|
+
"binding": {
|
|
2682
|
+
"type": "zeebe:taskHeader",
|
|
2683
|
+
"key": "resultVariable"
|
|
2684
|
+
}
|
|
2685
|
+
},
|
|
2686
|
+
{
|
|
2687
|
+
"label": "Result expression",
|
|
2688
|
+
"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>",
|
|
2689
|
+
"group": "output",
|
|
2690
|
+
"type": "Text",
|
|
2691
|
+
"feel": "required",
|
|
2692
|
+
"binding": {
|
|
2693
|
+
"type": "zeebe:taskHeader",
|
|
2694
|
+
"key": "resultExpression"
|
|
2695
|
+
}
|
|
2696
|
+
},
|
|
2697
|
+
{
|
|
2698
|
+
"label": "Error expression",
|
|
2699
|
+
"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>",
|
|
2700
|
+
"group": "errors",
|
|
2701
|
+
"type": "Text",
|
|
2702
|
+
"feel": "required",
|
|
2703
|
+
"binding": {
|
|
2704
|
+
"type": "zeebe:taskHeader",
|
|
2705
|
+
"key": "errorExpression"
|
|
2706
|
+
}
|
|
2707
|
+
}
|
|
2708
|
+
],
|
|
2709
|
+
"icon": {
|
|
2710
|
+
"contents": "data:image/svg+xml;utf8,%3Csvg width='18' height='18' viewBox='0 0 87.3 78' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6.6 66.85 3.85 6.65c.8 1.4 1.95 2.5 3.3 3.3l13.75-23.8h-27.5c0 1.55.4 3.1 1.2 4.5z' fill='%230066da'/%3E%3Cpath d='m43.65 25-13.75-23.8c-1.35.8-2.5 1.9-3.3 3.3l-25.4 44a9.06 9.06 0 0 0 -1.2 4.5h27.5z' fill='%2300ac47'/%3E%3Cpath d='m73.55 76.8c1.35-.8 2.5-1.9 3.3-3.3l1.6-2.75 7.65-13.25c.8-1.4 1.2-2.95 1.2-4.5h-27.502l5.852 11.5z' fill='%23ea4335'/%3E%3Cpath d='m43.65 25 13.75-23.8c-1.35-.8-2.9-1.2-4.5-1.2h-18.5c-1.6 0-3.15.45-4.5 1.2z' fill='%2300832d'/%3E%3Cpath d='m59.8 53h-32.3l-13.75 23.8c1.35.8 2.9 1.2 4.5 1.2h50.8c1.6 0 3.15-.45 4.5-1.2z' fill='%232684fc'/%3E%3Cpath d='m73.4 26.5-12.7-22c-.8-1.4-1.95-2.5-3.3-3.3l-13.75 23.8 16.15 28h27.45c0-1.55-.4-3.1-1.2-4.5z' fill='%23ffba00'/%3E%3C/svg%3E"
|
|
2711
|
+
},
|
|
2712
|
+
"engines": {
|
|
2713
|
+
"camunda": "^8.2"
|
|
2094
2714
|
}
|
|
2095
2715
|
}
|
|
2096
2716
|
]
|