@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.
Files changed (124) hide show
  1. package/package.json +2 -2
  2. package/src/connectors.js +12 -0
  3. package/src/element-templates/agenticai-a2a-client-outbound-connector.json +3 -5
  4. package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-intermediate.json +9 -8
  5. package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-receive.json +9 -8
  6. package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-intermediate.json +9 -8
  7. package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-receive.json +9 -8
  8. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +36 -39
  9. package/src/element-templates/agenticai-aiagent-job-worker.json +3769 -28
  10. package/src/element-templates/agenticai-aiagent-outbound-connector.json +6979 -3299
  11. package/src/element-templates/agenticai-mcp-client-outbound-connector.json +469 -471
  12. package/src/element-templates/agenticai-mcp-message-start-event.json +122 -0
  13. package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +484 -486
  14. package/src/element-templates/asana-connector.json +718 -7
  15. package/src/element-templates/automation-anywhere-outbound-connector.json +1756 -1752
  16. package/src/element-templates/aws-bedrock-agentcore-long-term-memory-outbound-connector.json +431 -0
  17. package/src/element-templates/aws-bedrock-agentcore-runtime-outbound-connector.json +285 -0
  18. package/src/element-templates/aws-bedrock-codeinterpreter-outbound-connector.json +341 -0
  19. package/src/element-templates/aws-bedrock-knowledgebase-outbound-connector.json +316 -0
  20. package/src/element-templates/aws-bedrock-outbound-connector.json +788 -51
  21. package/src/element-templates/aws-comprehend-outbound-connector.json +10 -5
  22. package/src/element-templates/aws-dynamodb-outbound-connector.json +1412 -1412
  23. package/src/element-templates/aws-eventbridge-connector-boundary.json +376 -11
  24. package/src/element-templates/aws-eventbridge-connector-intermediate.json +400 -35
  25. package/src/element-templates/aws-eventbridge-connector-message-start.json +408 -9
  26. package/src/element-templates/aws-eventbridge-connector-receive.json +364 -0
  27. package/src/element-templates/aws-eventbridge-connector-start-event.json +322 -5
  28. package/src/element-templates/aws-eventbridge-outbound-connector.json +316 -311
  29. package/src/element-templates/aws-lambda-outbound-connector.json +305 -301
  30. package/src/element-templates/aws-s3-outbound-connector.json +656 -15
  31. package/src/element-templates/aws-sagemaker-outbound-connector.json +56 -52
  32. package/src/element-templates/aws-sns-inbound-boundary.json +422 -415
  33. package/src/element-templates/aws-sns-inbound-intermediate.json +330 -323
  34. package/src/element-templates/aws-sns-inbound-message-start.json +348 -341
  35. package/src/element-templates/aws-sns-inbound-receive.json +13 -6
  36. package/src/element-templates/aws-sns-inbound-start-event.json +139 -132
  37. package/src/element-templates/aws-sns-outbound-connector.json +593 -589
  38. package/src/element-templates/aws-sqs-boundary-connector.json +642 -638
  39. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +588 -584
  40. package/src/element-templates/aws-sqs-outbound-connector.json +748 -746
  41. package/src/element-templates/aws-sqs-receive-connector.json +15 -11
  42. package/src/element-templates/aws-sqs-start-event-connector.json +408 -400
  43. package/src/element-templates/aws-sqs-start-message.json +465 -461
  44. package/src/element-templates/aws-textract-outbound-connector.json +298 -294
  45. package/src/element-templates/azure-blobstorage-outbound-connector.json +668 -11
  46. package/src/element-templates/azure-open-ai-connector.json +1329 -4
  47. package/src/element-templates/blue-prism-connector.json +598 -53
  48. package/src/element-templates/box-outbound-connector.json +924 -12
  49. package/src/element-templates/csv-outbound-connector.json +39 -31
  50. package/src/element-templates/easy-post-connector.json +1017 -49
  51. package/src/element-templates/email-inbound-connector-boundary.json +32 -24
  52. package/src/element-templates/email-inbound-connector-intermediate.json +32 -24
  53. package/src/element-templates/email-inbound-connector-receive.json +564 -0
  54. package/src/element-templates/email-message-start-event-connector.json +45 -37
  55. package/src/element-templates/email-outbound-connector.json +2129 -256
  56. package/src/element-templates/embeddings-vector-database-outbound-connector.json +513 -516
  57. package/src/element-templates/github-connector.json +12447 -5385
  58. package/src/element-templates/github-webhook-connector-boundary.json +11 -13
  59. package/src/element-templates/github-webhook-connector-intermediate.json +55 -57
  60. package/src/element-templates/github-webhook-connector-message-start.json +19 -21
  61. package/src/element-templates/github-webhook-connector-receive.json +13 -15
  62. package/src/element-templates/github-webhook-connector-start-event.json +62 -64
  63. package/src/element-templates/gitlab-connector.json +2974 -1342
  64. package/src/element-templates/google-cloud-storage-outbound-connector.json +561 -12
  65. package/src/element-templates/google-drive-outbound-connector.json +882 -262
  66. package/src/element-templates/google-gemini-outbound-connector.json +117 -109
  67. package/src/element-templates/google-maps-platform-connector.json +1048 -19
  68. package/src/element-templates/google-sheets-outbound-connector.json +2961 -1967
  69. package/src/element-templates/graphql-outbound-connector.json +1780 -1193
  70. package/src/element-templates/http-json-connector.json +2832 -2168
  71. package/src/element-templates/http-polling-boundary-catch-event-connector.json +953 -277
  72. package/src/element-templates/http-polling-connector.json +1642 -966
  73. package/src/element-templates/hubspot-outbound-connector.json +2376 -30
  74. package/src/element-templates/hugging-face-connector.json +432 -5
  75. package/src/element-templates/jdbc-outbound-connector.json +62 -48
  76. package/src/element-templates/kafka-inbound-connector-boundary.json +21 -12
  77. package/src/element-templates/kafka-inbound-connector-intermediate.json +581 -572
  78. package/src/element-templates/kafka-inbound-connector-receive.json +15 -6
  79. package/src/element-templates/kafka-inbound-connector-start-message.json +150 -141
  80. package/src/element-templates/kafka-inbound-connector.json +240 -240
  81. package/src/element-templates/kafka-outbound-connector.json +436 -430
  82. package/src/element-templates/microsoft-o365-email-boundary-event-connector.json +165 -13
  83. package/src/element-templates/microsoft-o365-email-intermediate-catch-event-connector.json +165 -13
  84. package/src/element-templates/microsoft-o365-email-message-start-event-connector.json +178 -26
  85. package/src/element-templates/microsoft-office365-mail-connector.json +883 -0
  86. package/src/element-templates/microsoft-teams-outbound-connector.json +5616 -1607
  87. package/src/element-templates/openai-connector.json +608 -145
  88. package/src/element-templates/operate-connector.json +1218 -66
  89. package/src/element-templates/power-automate-connector.json +602 -10
  90. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +799 -790
  91. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +914 -905
  92. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +477 -468
  93. package/src/element-templates/rabbitmq-inbound-connector-receive.json +15 -6
  94. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +754 -745
  95. package/src/element-templates/rabbitmq-outbound-connector.json +875 -869
  96. package/src/element-templates/rpa-connector.json +346 -0
  97. package/src/element-templates/salesforce-connector.json +583 -39
  98. package/src/element-templates/send-message-connector-intermediate-throw-event.json +10 -5
  99. package/src/element-templates/send-message-connector-message-end-event.json +10 -5
  100. package/src/element-templates/send-message-connector-send-task.json +10 -5
  101. package/src/element-templates/sendgrid-outbound-connector.json +1406 -798
  102. package/src/element-templates/servicenow-connector.json +971 -3
  103. package/src/element-templates/servicenow-flow-starter-connector.json +8 -3
  104. package/src/element-templates/servicenow-incident-connector.json +980 -3
  105. package/src/element-templates/slack-inbound-boundary.json +639 -341
  106. package/src/element-templates/slack-inbound-intermediate.json +393 -95
  107. package/src/element-templates/slack-inbound-message-start.json +678 -348
  108. package/src/element-templates/slack-inbound-receive.json +297 -0
  109. package/src/element-templates/slack-inbound-start-event.json +332 -327
  110. package/src/element-templates/slack-outbound-connector.json +3313 -919
  111. package/src/element-templates/soap-outbound-connector.json +812 -2
  112. package/src/element-templates/twilio-connector.json +1521 -41
  113. package/src/element-templates/twilio-webhook-boundary-connector.json +35 -26
  114. package/src/element-templates/twilio-webhook-connector.json +238 -8
  115. package/src/element-templates/twilio-webhook-intermediate-connector.json +38 -29
  116. package/src/element-templates/twilio-webhook-message-start-connector.json +312 -0
  117. package/src/element-templates/twilio-webhook-receive-connector.json +11 -2
  118. package/src/element-templates/uipath-connector.json +607 -15
  119. package/src/element-templates/webhook-connector-boundary.json +1986 -1331
  120. package/src/element-templates/webhook-connector-intermediate.json +2193 -1538
  121. package/src/element-templates/webhook-connector-receive.json +654 -0
  122. package/src/element-templates/webhook-connector-start-event.json +1261 -700
  123. package/src/element-templates/webhook-connector-start-message.json +1754 -1067
  124. package/src/element-templates/whatsapp-connector.json +339 -5
@@ -1,13 +1,990 @@
1
1
  [
2
+ {
3
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
4
+ "name": "ServiceNow Incident Handler",
5
+ "id": "io.camunda.connectors.ServiceNowIncident.v1",
6
+ "version": 2,
7
+ "description": "Create and manage incidents in ServiceNow directly from a Camunda process",
8
+ "keywords": [
9
+ "create incident",
10
+ "read incident",
11
+ "update incident",
12
+ "delete incident",
13
+ "ITSM",
14
+ "IT service management",
15
+ "ticket",
16
+ "incident management"
17
+ ],
18
+ "documentationRef": "https://docs.camunda.io/docs/components/camunda-integrations/servicenow/connectors/incident-handler/",
19
+ "category": {
20
+ "id": "connectors",
21
+ "name": "Connectors"
22
+ },
23
+ "appliesTo": ["bpmn:Task"],
24
+ "elementType": {
25
+ "value": "bpmn:ServiceTask"
26
+ },
27
+ "groups": [
28
+ {
29
+ "id": "sn",
30
+ "label": "ServiceNow"
31
+ },
32
+ {
33
+ "id": "input",
34
+ "label": "Input"
35
+ },
36
+ {
37
+ "id": "authentication",
38
+ "label": "Authentication"
39
+ },
40
+ {
41
+ "id": "endpoint",
42
+ "label": "HTTP endpoint"
43
+ },
44
+ {
45
+ "id": "timeout",
46
+ "label": "Connection timeout"
47
+ },
48
+ {
49
+ "id": "output",
50
+ "label": "Output mapping"
51
+ },
52
+ {
53
+ "id": "error",
54
+ "label": "Error handling"
55
+ },
56
+ {
57
+ "id": "retries",
58
+ "label": "Retries"
59
+ }
60
+ ],
61
+ "properties": [
62
+ {
63
+ "value": "io.camunda:http-json:1",
64
+ "binding": {
65
+ "property": "type",
66
+ "type": "zeebe:taskDefinition"
67
+ },
68
+ "type": "Hidden"
69
+ },
70
+ {
71
+ "id": "snInstance",
72
+ "label": "Instance name",
73
+ "description": "Enter only the instance name from your ServiceNow URL",
74
+ "optional": false,
75
+ "feel": "optional",
76
+ "group": "sn",
77
+ "binding": {
78
+ "name": "snInstance",
79
+ "type": "zeebe:input"
80
+ },
81
+ "constraints": {
82
+ "notEmpty": true
83
+ },
84
+ "type": "String"
85
+ },
86
+ {
87
+ "id": "operationGroup",
88
+ "label": "Operation",
89
+ "group": "sn",
90
+ "description": "Choose operation type",
91
+ "type": "Dropdown",
92
+ "value": "create",
93
+ "choices": [
94
+ {
95
+ "name": "Create",
96
+ "value": "create"
97
+ },
98
+ {
99
+ "name": "Read",
100
+ "value": "read"
101
+ },
102
+ {
103
+ "name": "Update",
104
+ "value": "update"
105
+ },
106
+ {
107
+ "name": "Delete",
108
+ "value": "delete"
109
+ }
110
+ ],
111
+ "binding": {
112
+ "type": "zeebe:input",
113
+ "name": "operationGroup"
114
+ }
115
+ },
116
+ {
117
+ "id": "targetTable",
118
+ "label": "Target table",
119
+ "description": "Choose a table for the record operation",
120
+ "group": "sn",
121
+ "type": "Hidden",
122
+ "value": "incident",
123
+ "choices": [
124
+ {
125
+ "name": "Requested Item [sc_req_item]",
126
+ "value": "sc_req_item"
127
+ },
128
+ {
129
+ "name": "Change Request [change_request]",
130
+ "value": "change_request"
131
+ },
132
+ {
133
+ "name": "Change Task [change_task]",
134
+ "value": "change_task"
135
+ },
136
+ {
137
+ "name": "Service Catalog Request [sc_request]",
138
+ "value": "sc_request"
139
+ },
140
+ {
141
+ "name": "Service Catalog Task [sc_task]",
142
+ "value": "sc_task"
143
+ },
144
+ {
145
+ "name": "Incident [incident]",
146
+ "value": "incident"
147
+ },
148
+ {
149
+ "name": "Other - type a table name",
150
+ "value": "__custom"
151
+ }
152
+ ],
153
+ "binding": {
154
+ "type": "zeebe:input",
155
+ "name": "targetTable"
156
+ }
157
+ },
158
+ {
159
+ "//": "used for all operation types",
160
+ "id": "customRequestTarget",
161
+ "label": "Enter table name",
162
+ "description": "Type the exact ServiceNow table name (case-sensitive)",
163
+ "type": "String",
164
+ "group": "sn",
165
+ "binding": {
166
+ "name": "customRequestTarget",
167
+ "type": "zeebe:input"
168
+ },
169
+ "condition": {
170
+ "property": "targetTable",
171
+ "equals": "__custom"
172
+ }
173
+ },
174
+ {
175
+ "id": "sysparm_query",
176
+ "label": "Query parameters (sysparm_query)",
177
+ "description": "Separate multiple conditions with '^' (Ex: active=true^priority=1)",
178
+ "optional": true,
179
+ "feel": "optional",
180
+ "group": "input",
181
+ "binding": {
182
+ "name": "sysparm_query",
183
+ "type": "zeebe:input"
184
+ },
185
+ "type": "String",
186
+ "constraints": {
187
+ "notEmpty": false,
188
+ "pattern": {
189
+ "value": "^(?!.*&).*$",
190
+ "message": "invalid: use '^' instead of '&'"
191
+ }
192
+ },
193
+ "condition": {
194
+ "property": "operationGroup",
195
+ "oneOf": ["read"]
196
+ }
197
+ },
198
+ {
199
+ "id": "sysparm_fields",
200
+ "label": "Fields to return (sysparm_fields)",
201
+ "description": "Comma-separated field names (Ex: sys_id, number, short_description)",
202
+ "optional": true,
203
+ "feel": "optional",
204
+ "group": "input",
205
+ "binding": {
206
+ "name": "sysparm_fields",
207
+ "type": "zeebe:input"
208
+ },
209
+ "type": "String",
210
+ "condition": {
211
+ "property": "operationGroup",
212
+ "oneOf": ["read"]
213
+ }
214
+ },
215
+ {
216
+ "id": "sysparm_limit",
217
+ "label": "Result limit (sysparm_limit)",
218
+ "description": "The maximum number of records to return (Ex: 10)",
219
+ "optional": true,
220
+ "feel": "optional",
221
+ "group": "input",
222
+ "binding": {
223
+ "name": "sysparm_limit",
224
+ "type": "zeebe:input"
225
+ },
226
+ "type": "String",
227
+ "condition": {
228
+ "property": "operationGroup",
229
+ "oneOf": ["read"]
230
+ }
231
+ },
232
+ {
233
+ "id": "readTarget",
234
+ "label": "Sys ID of the record to read",
235
+ "description": "Enter the unique record identifier (sys_id). If left blank, all incidents are queried",
236
+ "type": "String",
237
+ "feel": "optional",
238
+ "group": "sn",
239
+ "binding": {
240
+ "name": "readTarget",
241
+ "type": "zeebe:input"
242
+ },
243
+ "condition": {
244
+ "property": "operationGroup",
245
+ "equals": "read"
246
+ }
247
+ },
248
+ {
249
+ "id": "updateTarget",
250
+ "label": "Sys ID of the record to update",
251
+ "description": "Enter the unique record identifier (sys_id) to update",
252
+ "type": "String",
253
+ "feel": "optional",
254
+ "group": "sn",
255
+ "binding": {
256
+ "name": "updateTarget",
257
+ "type": "zeebe:input"
258
+ },
259
+ "condition": {
260
+ "property": "operationGroup",
261
+ "equals": "update"
262
+ }
263
+ },
264
+ {
265
+ "id": "deleteTarget",
266
+ "label": "Sys ID of the record to delete",
267
+ "description": "Enter the unique record identifier (sys_id) to delete",
268
+ "type": "String",
269
+ "feel": "optional",
270
+ "group": "sn",
271
+ "binding": {
272
+ "name": "deleteTarget",
273
+ "type": "zeebe:input"
274
+ },
275
+ "condition": {
276
+ "property": "operationGroup",
277
+ "equals": "delete"
278
+ }
279
+ },
280
+ {
281
+ "//": "create or update sc_req_item",
282
+ "id": "payload_sc_req_item",
283
+ "group": "input",
284
+ "label": "Payload",
285
+ "type": "Text",
286
+ "feel": "required",
287
+ "value": "={ \n // Example payload fields\n // Replace or remove as needed\n \n \"short_description\": \"Process has encountered an error\",\n \"priority\": 2,\n \"assigned_to\": \"9000e0c3c611227c017f673\"\n}\n",
288
+ "binding": {
289
+ "type": "zeebe:input",
290
+ "name": "body_sc_req_item"
291
+ },
292
+ "condition": {
293
+ "allMatch": [
294
+ {
295
+ "property": "operationGroup",
296
+ "oneOf": ["create", "update"]
297
+ },
298
+ {
299
+ "property": "targetTable",
300
+ "equals": "sc_req_item"
301
+ }
302
+ ]
303
+ },
304
+ "optional": true
305
+ },
306
+ {
307
+ "//": "create or update change_request",
308
+ "id": "payload_change_request",
309
+ "group": "input",
310
+ "label": "Payload",
311
+ "type": "Text",
312
+ "feel": "required",
313
+ "value": "={ \n // Example payload fields\n // Replace or remove as needed\n \n \"short_description\": \"Process has encountered an error\",\n \"priority\": 2,\n \"assigned_to\": \"9000e0c3c611227c017f673\"\n}\n",
314
+ "binding": {
315
+ "type": "zeebe:input",
316
+ "name": "body_change_request"
317
+ },
318
+ "condition": {
319
+ "allMatch": [
320
+ {
321
+ "property": "operationGroup",
322
+ "oneOf": ["create", "update"]
323
+ },
324
+ {
325
+ "property": "targetTable",
326
+ "equals": "change_request"
327
+ }
328
+ ]
329
+ },
330
+ "optional": true
331
+ },
332
+ {
333
+ "//": "create or update change_task",
334
+ "id": "payload_change_task",
335
+ "group": "input",
336
+ "label": "Payload",
337
+ "type": "Text",
338
+ "feel": "required",
339
+ "value": "={ \n // Example payload fields\n // Replace or remove as needed\n \n \"short_description\": \"Process has encountered an error\",\n \"priority\": 2,\n \"assigned_to\": \"9000e0c3c611227c017f673\"\n}\n",
340
+ "binding": {
341
+ "type": "zeebe:input",
342
+ "name": "body_change_task"
343
+ },
344
+ "condition": {
345
+ "allMatch": [
346
+ {
347
+ "property": "operationGroup",
348
+ "oneOf": ["create", "update"]
349
+ },
350
+ {
351
+ "property": "targetTable",
352
+ "equals": "change_task"
353
+ }
354
+ ]
355
+ },
356
+ "optional": true
357
+ },
358
+ {
359
+ "//": "create or update sc_request",
360
+ "id": "payload_sc_request",
361
+ "group": "input",
362
+ "label": "Payload",
363
+ "type": "Text",
364
+ "feel": "required",
365
+ "value": "={ \n // Example payload fields\n // Replace or remove as needed\n \n \"short_description\": \"Process has encountered an error\",\n \"priority\": 2,\n \"assigned_to\": \"9000e0c3c611227c017f673\"\n}\n",
366
+ "binding": {
367
+ "type": "zeebe:input",
368
+ "name": "body_sc_request"
369
+ },
370
+ "condition": {
371
+ "allMatch": [
372
+ {
373
+ "property": "operationGroup",
374
+ "oneOf": ["create", "update"]
375
+ },
376
+ {
377
+ "property": "targetTable",
378
+ "equals": "sc_request"
379
+ }
380
+ ]
381
+ },
382
+ "optional": true
383
+ },
384
+ {
385
+ "//": "create or update sc_task",
386
+ "id": "payload_sc_task",
387
+ "group": "input",
388
+ "label": "Payload",
389
+ "type": "Text",
390
+ "feel": "required",
391
+ "value": "={ \n // Example payload fields\n // Replace or remove as needed\n \n \"short_description\": \"Process has encountered an error\",\n \"priority\": 2,\n \"assigned_to\": \"9000e0c3c611227c017f673\"\n}\n",
392
+ "binding": {
393
+ "type": "zeebe:input",
394
+ "name": "body_sc_task"
395
+ },
396
+ "condition": {
397
+ "allMatch": [
398
+ {
399
+ "property": "operationGroup",
400
+ "oneOf": ["create", "update"]
401
+ },
402
+ {
403
+ "property": "targetTable",
404
+ "equals": "sc_task"
405
+ }
406
+ ]
407
+ },
408
+ "optional": true
409
+ },
410
+ {
411
+ "//": "create or update incident",
412
+ "id": "payload_incident",
413
+ "group": "input",
414
+ "label": "Payload",
415
+ "type": "Text",
416
+ "feel": "required",
417
+ "value": "={ \n // Example payload fields\n // Replace or remove as needed\n \n \"short_description\": \"Process has encountered an error\",\n \"priority\": 2,\n \"assigned_to\": \"9000e0c3c611227c017f673\"\n}\n",
418
+ "binding": {
419
+ "type": "zeebe:input",
420
+ "name": "body_incident"
421
+ },
422
+ "condition": {
423
+ "allMatch": [
424
+ {
425
+ "property": "operationGroup",
426
+ "oneOf": ["create", "update"]
427
+ },
428
+ {
429
+ "property": "targetTable",
430
+ "equals": "incident"
431
+ }
432
+ ]
433
+ },
434
+ "optional": true
435
+ },
436
+ {
437
+ "//": "create or update __custom",
438
+ "id": "payload___custom",
439
+ "group": "input",
440
+ "label": "Payload",
441
+ "type": "Text",
442
+ "feel": "required",
443
+ "value": "={ }",
444
+ "binding": {
445
+ "type": "zeebe:input",
446
+ "name": "body__custom"
447
+ },
448
+ "condition": {
449
+ "allMatch": [
450
+ {
451
+ "property": "operationGroup",
452
+ "oneOf": ["create", "update"]
453
+ },
454
+ {
455
+ "property": "targetTable",
456
+ "equals": "__custom"
457
+ }
458
+ ]
459
+ },
460
+ "optional": true
461
+ },
462
+ {
463
+ "//": "this sets the actual request body for a write request to the ServiceNow API",
464
+ "group": "input",
465
+ "type": "Hidden",
466
+ "value": "={\n \"variables\": [body_sc_req_item, body_change_request, body_change_task, body_sc_request, body_sc_task, body_incident, body__custom],\n \"result\": variables[item != null][1]\n}.result",
467
+ "binding": {
468
+ "type": "zeebe:input",
469
+ "name": "body"
470
+ },
471
+ "condition": {
472
+ "property": "operationGroup",
473
+ "oneOf": ["create", "update"]
474
+ },
475
+ "optional": true
476
+ },
477
+ {
478
+ "id": "authentication.type",
479
+ "label": "Type",
480
+ "description": "Choose the authentication type. Select 'None' if no authentication is necessary",
481
+ "value": "basic",
482
+ "group": "authentication",
483
+ "binding": {
484
+ "name": "authentication.type",
485
+ "type": "zeebe:input"
486
+ },
487
+ "type": "Hidden",
488
+ "choices": [
489
+ {
490
+ "name": "API key",
491
+ "value": "apiKey"
492
+ },
493
+ {
494
+ "name": "Basic",
495
+ "value": "basic"
496
+ },
497
+ {
498
+ "name": "Bearer token",
499
+ "value": "bearer"
500
+ },
501
+ {
502
+ "name": "None",
503
+ "value": "noAuth"
504
+ },
505
+ {
506
+ "name": "OAuth 2.0",
507
+ "value": "oauth-client-credentials-flow"
508
+ }
509
+ ]
510
+ },
511
+ {
512
+ "id": "authentication.apiKeyLocation",
513
+ "label": "Api key location",
514
+ "description": "Choose type: Send API key in header or as query parameter.",
515
+ "optional": false,
516
+ "value": "headers",
517
+ "constraints": {
518
+ "notEmpty": true
519
+ },
520
+ "group": "authentication",
521
+ "binding": {
522
+ "name": "authentication.apiKeyLocation",
523
+ "type": "zeebe:input"
524
+ },
525
+ "condition": {
526
+ "property": "authentication.type",
527
+ "equals": "apiKey",
528
+ "type": "simple"
529
+ },
530
+ "type": "Dropdown",
531
+ "choices": [
532
+ {
533
+ "name": "Headers",
534
+ "value": "headers"
535
+ },
536
+ {
537
+ "name": "Query parameters",
538
+ "value": "query"
539
+ }
540
+ ]
541
+ },
542
+ {
543
+ "id": "authentication.name",
544
+ "label": "API key name",
545
+ "optional": false,
546
+ "constraints": {
547
+ "notEmpty": true
548
+ },
549
+ "feel": "optional",
550
+ "group": "authentication",
551
+ "binding": {
552
+ "name": "authentication.name",
553
+ "type": "zeebe:input"
554
+ },
555
+ "condition": {
556
+ "property": "authentication.type",
557
+ "equals": "apiKey",
558
+ "type": "simple"
559
+ },
560
+ "type": "String"
561
+ },
562
+ {
563
+ "id": "authentication.value",
564
+ "label": "API key value",
565
+ "optional": false,
566
+ "constraints": {
567
+ "notEmpty": true
568
+ },
569
+ "feel": "optional",
570
+ "group": "authentication",
571
+ "binding": {
572
+ "name": "authentication.value",
573
+ "type": "zeebe:input"
574
+ },
575
+ "condition": {
576
+ "property": "authentication.type",
577
+ "equals": "apiKey",
578
+ "type": "simple"
579
+ },
580
+ "type": "String"
581
+ },
582
+ {
583
+ "id": "authentication.username",
584
+ "label": "Username",
585
+ "optional": false,
586
+ "constraints": {
587
+ "notEmpty": true
588
+ },
589
+ "feel": "optional",
590
+ "group": "authentication",
591
+ "binding": {
592
+ "name": "authentication.username",
593
+ "type": "zeebe:input"
594
+ },
595
+ "condition": {
596
+ "property": "authentication.type",
597
+ "equals": "basic",
598
+ "type": "simple"
599
+ },
600
+ "type": "String"
601
+ },
602
+ {
603
+ "id": "authentication.password",
604
+ "label": "Password",
605
+ "optional": false,
606
+ "constraints": {
607
+ "notEmpty": true
608
+ },
609
+ "feel": "optional",
610
+ "group": "authentication",
611
+ "binding": {
612
+ "name": "authentication.password",
613
+ "type": "zeebe:input"
614
+ },
615
+ "condition": {
616
+ "property": "authentication.type",
617
+ "equals": "basic",
618
+ "type": "simple"
619
+ },
620
+ "type": "String"
621
+ },
622
+ {
623
+ "id": "authentication.token",
624
+ "label": "Bearer token",
625
+ "optional": false,
626
+ "constraints": {
627
+ "notEmpty": true
628
+ },
629
+ "feel": "optional",
630
+ "group": "authentication",
631
+ "binding": {
632
+ "name": "authentication.token",
633
+ "type": "zeebe:input"
634
+ },
635
+ "condition": {
636
+ "property": "authentication.type",
637
+ "equals": "bearer",
638
+ "type": "simple"
639
+ },
640
+ "type": "String"
641
+ },
642
+ {
643
+ "id": "authentication.oauthTokenEndpoint",
644
+ "label": "OAuth 2.0 token endpoint",
645
+ "description": "The OAuth token endpoint",
646
+ "optional": false,
647
+ "constraints": {
648
+ "notEmpty": true,
649
+ "pattern": {
650
+ "value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
651
+ "message": "Must be a http(s) URL"
652
+ }
653
+ },
654
+ "feel": "optional",
655
+ "group": "authentication",
656
+ "binding": {
657
+ "name": "authentication.oauthTokenEndpoint",
658
+ "type": "zeebe:input"
659
+ },
660
+ "condition": {
661
+ "property": "authentication.type",
662
+ "equals": "oauth-client-credentials-flow",
663
+ "type": "simple"
664
+ },
665
+ "type": "String"
666
+ },
667
+ {
668
+ "id": "authentication.clientId",
669
+ "label": "Client ID",
670
+ "description": "Your application's client ID from the OAuth client",
671
+ "optional": false,
672
+ "constraints": {
673
+ "notEmpty": true
674
+ },
675
+ "feel": "optional",
676
+ "group": "authentication",
677
+ "binding": {
678
+ "name": "authentication.clientId",
679
+ "type": "zeebe:input"
680
+ },
681
+ "condition": {
682
+ "property": "authentication.type",
683
+ "equals": "oauth-client-credentials-flow",
684
+ "type": "simple"
685
+ },
686
+ "type": "String"
687
+ },
688
+ {
689
+ "id": "authentication.clientSecret",
690
+ "label": "Client secret",
691
+ "description": "Your application's client secret from the OAuth client",
692
+ "optional": false,
693
+ "constraints": {
694
+ "notEmpty": true
695
+ },
696
+ "feel": "optional",
697
+ "group": "authentication",
698
+ "binding": {
699
+ "name": "authentication.clientSecret",
700
+ "type": "zeebe:input"
701
+ },
702
+ "condition": {
703
+ "property": "authentication.type",
704
+ "equals": "oauth-client-credentials-flow",
705
+ "type": "simple"
706
+ },
707
+ "type": "String"
708
+ },
709
+ {
710
+ "id": "authentication.audience",
711
+ "label": "Audience",
712
+ "description": "The unique identifier of the target API you want to access",
713
+ "optional": true,
714
+ "feel": "optional",
715
+ "group": "authentication",
716
+ "binding": {
717
+ "name": "authentication.audience",
718
+ "type": "zeebe:input"
719
+ },
720
+ "condition": {
721
+ "property": "authentication.type",
722
+ "equals": "oauth-client-credentials-flow",
723
+ "type": "simple"
724
+ },
725
+ "type": "String"
726
+ },
727
+ {
728
+ "id": "authentication.clientAuthentication",
729
+ "label": "Client authentication",
730
+ "description": "Send client ID and client secret as Basic Auth request in the header, or as client credentials in the request body",
731
+ "optional": false,
732
+ "constraints": {
733
+ "notEmpty": true
734
+ },
735
+ "group": "authentication",
736
+ "binding": {
737
+ "name": "authentication.clientAuthentication",
738
+ "type": "zeebe:input"
739
+ },
740
+ "condition": {
741
+ "property": "authentication.type",
742
+ "equals": "oauth-client-credentials-flow",
743
+ "type": "simple"
744
+ },
745
+ "type": "Dropdown",
746
+ "choices": [
747
+ {
748
+ "name": "Send client credentials in body",
749
+ "value": "credentialsBody"
750
+ },
751
+ {
752
+ "name": "Send as Basic Auth header",
753
+ "value": "basicAuthHeader"
754
+ }
755
+ ]
756
+ },
757
+ {
758
+ "id": "authentication.scopes",
759
+ "label": "Scopes",
760
+ "description": "The scopes which you want to request authorization for (e.g.read:contacts)",
761
+ "optional": true,
762
+ "feel": "optional",
763
+ "group": "authentication",
764
+ "binding": {
765
+ "name": "authentication.scopes",
766
+ "type": "zeebe:input"
767
+ },
768
+ "condition": {
769
+ "property": "authentication.type",
770
+ "equals": "oauth-client-credentials-flow",
771
+ "type": "simple"
772
+ },
773
+ "type": "String"
774
+ },
775
+ {
776
+ "id": "method",
777
+ "label": "Method",
778
+ "optional": false,
779
+ "value": "={\n \"operationMap\": [\n {\n \"value\":\"read\",\n \"mapsTo\": \"GET\"\n },\n {\n \"value\":\"update\",\n \"mapsTo\": \"PATCH\"\n },\n {\n \"value\":\"create\",\n \"mapsTo\": \"POST\"\n },\n {\n \"value\":\"delete\",\n \"mapsTo\": \"DELETE\"\n }\n ],\n \"result\": operationMap[value = operationGroup].mapsTo[1]\n}.result",
780
+ "constraints": {
781
+ "notEmpty": true
782
+ },
783
+ "group": "endpoint",
784
+ "binding": {
785
+ "name": "method",
786
+ "type": "zeebe:input"
787
+ },
788
+ "type": "Hidden"
789
+ },
790
+ {
791
+ "id": "url",
792
+ "label": "URL",
793
+ "optional": false,
794
+ "constraints": {
795
+ "notEmpty": true,
796
+ "pattern": {
797
+ "value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
798
+ "message": "Must be a http(s) URL"
799
+ }
800
+ },
801
+ "group": "endpoint",
802
+ "binding": {
803
+ "name": "url",
804
+ "type": "zeebe:input"
805
+ },
806
+ "type": "Hidden",
807
+ "value": "={\n \"baseUrl\": \"https://\" + snInstance + \".service-now.com/api/now/table/\",\n \"table\": if targetTable = \"__custom\" then customRequestTarget else targetTable ,\n \"updateOrDeleteOrReadSysId\": if readTarget != null then readTarget else ((if updateTarget != null then updateTarget else (if deleteTarget != null then deleteTarget else null))) ,\n \"fullUrl\": baseUrl + table + (if updateOrDeleteOrReadSysId != null then \"/\" + updateOrDeleteOrReadSysId else \"\")\n}.fullUrl"
808
+ },
809
+ {
810
+ "id": "headers",
811
+ "label": "Headers",
812
+ "description": "Map of HTTP headers to add to the request",
813
+ "optional": true,
814
+ "group": "endpoint",
815
+ "binding": {
816
+ "name": "headers",
817
+ "type": "zeebe:input"
818
+ },
819
+ "type": "Hidden"
820
+ },
821
+ {
822
+ "id": "queryParameters",
823
+ "label": "Query parameters",
824
+ "description": "Map of query parameters to add to the request URL",
825
+ "optional": true,
826
+ "group": "endpoint",
827
+ "binding": {
828
+ "name": "queryParameters",
829
+ "type": "zeebe:input"
830
+ },
831
+ "type": "Hidden",
832
+ "value": "={ \"sysparm_query\": if sysparm_query != null then replace(sysparm_query, \" \", \"\") else null , \"sysparm_fields\": if sysparm_fields != null then replace(sysparm_fields, \" \", \"\") else null , \"sysparm_limit\": if sysparm_limit != null then sysparm_limit else null }",
833
+ "condition": {
834
+ "property": "operationGroup",
835
+ "equals": "read"
836
+ }
837
+ },
838
+ {
839
+ "id": "storeResponse",
840
+ "label": "Store response",
841
+ "description": "Store the response as a document in the document store",
842
+ "optional": false,
843
+ "value": "=false",
844
+ "group": "endpoint",
845
+ "binding": {
846
+ "name": "storeResponse",
847
+ "type": "zeebe:input"
848
+ },
849
+ "type": "Hidden"
850
+ },
851
+ {
852
+ "id": "skipEncoding",
853
+ "label": "Skip URL encoding",
854
+ "description": "Skip the default URL decoding and encoding behavior",
855
+ "optional": true,
856
+ "value": "=true",
857
+ "group": "endpoint",
858
+ "binding": {
859
+ "name": "skipEncoding",
860
+ "type": "zeebe:input"
861
+ },
862
+ "type": "Hidden"
863
+ },
864
+ {
865
+ "id": "connectionTimeoutInSeconds",
866
+ "label": "Connection timeout in seconds",
867
+ "description": "Defines the connection timeout in seconds, or 0 for an infinite timeout",
868
+ "optional": false,
869
+ "value": "=20",
870
+ "constraints": {
871
+ "notEmpty": true,
872
+ "pattern": {
873
+ "value": "^\\d+$",
874
+ "message": "Must be a number"
875
+ }
876
+ },
877
+ "feel": "static",
878
+ "group": "timeout",
879
+ "binding": {
880
+ "name": "connectionTimeoutInSeconds",
881
+ "type": "zeebe:input"
882
+ },
883
+ "type": "Number"
884
+ },
885
+ {
886
+ "id": "readTimeoutInSeconds",
887
+ "label": "Read timeout in seconds",
888
+ "description": "Timeout in seconds to read data from an established connection or 0 for an infinite timeout",
889
+ "optional": false,
890
+ "value": "=20",
891
+ "constraints": {
892
+ "notEmpty": true,
893
+ "pattern": {
894
+ "value": "^\\d+$",
895
+ "message": "Must be a number"
896
+ }
897
+ },
898
+ "feel": "static",
899
+ "group": "timeout",
900
+ "binding": {
901
+ "name": "readTimeoutInSeconds",
902
+ "type": "zeebe:input"
903
+ },
904
+ "type": "Number"
905
+ },
906
+ {
907
+ "id": "resultVariable",
908
+ "label": "Result variable",
909
+ "description": "Name of variable to store the response in",
910
+ "group": "output",
911
+ "binding": {
912
+ "key": "resultVariable",
913
+ "type": "zeebe:taskHeader"
914
+ },
915
+ "type": "String",
916
+ "value": "snQueryResult"
917
+ },
918
+ {
919
+ "id": "resultExpression",
920
+ "label": "Result expression",
921
+ "description": "Expression to map the response into process variables",
922
+ "feel": "required",
923
+ "group": "output",
924
+ "binding": {
925
+ "key": "resultExpression",
926
+ "type": "zeebe:taskHeader"
927
+ },
928
+ "type": "Text"
929
+ },
930
+ {
931
+ "id": "errorExpression",
932
+ "label": "Error expression",
933
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
934
+ "feel": "required",
935
+ "group": "error",
936
+ "binding": {
937
+ "key": "errorExpression",
938
+ "type": "zeebe:taskHeader"
939
+ },
940
+ "type": "Text"
941
+ },
942
+ {
943
+ "id": "retryCount",
944
+ "label": "Retries",
945
+ "description": "Number of retries",
946
+ "value": "3",
947
+ "feel": "optional",
948
+ "group": "retries",
949
+ "binding": {
950
+ "property": "retries",
951
+ "type": "zeebe:taskDefinition"
952
+ },
953
+ "type": "String"
954
+ },
955
+ {
956
+ "id": "retryBackoff",
957
+ "label": "Retry backoff",
958
+ "description": "ISO-8601 duration to wait between retries",
959
+ "value": "PT0S",
960
+ "group": "retries",
961
+ "binding": {
962
+ "key": "retryBackoff",
963
+ "type": "zeebe:taskHeader"
964
+ },
965
+ "type": "String"
966
+ }
967
+ ],
968
+ "icon": {
969
+ "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTEyIiBoZWlnaHQ9IjUxMiIgdmlld0JveD0iMCAwIDUxMiA1MTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxyZWN0IHdpZHRoPSI1MTIiIGhlaWdodD0iNTEyIiBmaWxsPSJ3aGl0ZSIgZmlsbC1vcGFjaXR5PSIwLjAxIiBzdHlsZT0ibWl4LWJsZW5kLW1vZGU6bXVsdGlwbHkiLz4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yNTUuOTA1IDQyMS40NDJDMTgxLjk1OCA0MjEuNDQyIDEzMS4zMzggMzY1LjcxNSAxMzEuMzM4IDI5Ni43ODdDMTMxLjMzOCAyMjcuODI3IDE4MS45NTggMTcxLjE2NyAyNTUuOTA1IDE3MS4xNjdDMzI5Ljg5MiAxNzEuMTY3IDM4MC40NzEgMjI3LjgyNyAzODAuNDcxIDI5Ni43ODdDMzgwLjQ3MSAzNjUuNzE1IDMyOS44OTIgNDIxLjQ0MiAyNTUuOTA1IDQyMS40NDJaTTI1Ny4zNjIgNDYuMDM3MUMxMjAuODM4IDQ1LjI0NzUgNy45MjUyOCAxNTcuMDQ5IDYuNzcyMDcgMjk0LjE5M0M2LjE4NTM1IDM2Ni43OSAzNi4zNzExIDQzMi4zMzMgODUuMDI4MyA0NzguNDE5QzEwMi43MzEgNDk1LjE3MSAxMzAuMDg0IDQ5Ni44IDE0OS4yNjQgNDgxLjgyQzE3Ny42MjkgNDU5LjY1OSAyMTQuMDQ2IDQ0Ni40NTggMjU1LjkwNSA0NDYuNDU4QzI5Ny43NjQgNDQ2LjQ1OCAzMzQuMTgxIDQ1OS42NjcgMzYyLjU0NiA0ODEuODJDMzgxLjkwOCA0OTYuOTI2IDQwOS4zNjIgNDk0Ljk4OSA0MjcuMTY2IDQ3OC4wNTVDNDc1LjExNSA0MzIuNDQ0IDUwNS4wNTggMzY3Ljg2NiA1MDUuMDU4IDI5Ni4zMDVDNTA1LjA1OCAxNTguNTgzIDM5NC4yNjkgNDYuODI4OCAyNTcuMzYyIDQ2LjAzNzFaIiBmaWxsPSIjNkFDNjNGIi8+CjxjaXJjbGUgY3g9IjM4MC42MTgiIGN5PSIxNDQuNTI1IiByPSIxMjQuNjE4IiBmaWxsPSIjREExRTI4Ii8+CjxwYXRoIGQ9Ik0zMDUuNDg1IDE3MC40OTRMMzIwLjQ3OCAxOTYuNTA5TDM2NS4xOTQgMTcwLjY1MlYyMTkuNzIzSDM5NS4xOFYxNzAuNjQzTDQ0MC4zOTQgMTk2Ljc4OEw0NTUuMzg2IDE3MC43NzJMNDEwLjE4MyAxNDQuNjM0TDQ1NS4yMzkgMTE4LjU4MUw0NDAuMjQ2IDkyLjU2NjFMMzk1LjE4IDExOC42MjdWNjkuNTU3N0gzNjUuMTk0VjExOC42MkwzMjAuMjEzIDkyLjYxMTFMMzA1LjIyMSAxMTguNjI2TDM1MC4yMDEgMTQ0LjYzNEwzMDUuNDg1IDE3MC40OTRaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"
970
+ }
971
+ },
2
972
  {
3
973
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
4
974
  "name": "ServiceNow Incident Handler",
5
975
  "id": "io.camunda.connectors.ServiceNowIncident.v1",
6
976
  "version": 1,
7
977
  "description": "Create and manage incidents in ServiceNow directly from a Camunda process",
8
- "metadata": {
9
- "keywords": []
10
- },
978
+ "keywords": [
979
+ "create incident",
980
+ "read incident",
981
+ "update incident",
982
+ "delete incident",
983
+ "ITSM",
984
+ "IT service management",
985
+ "ticket",
986
+ "incident management"
987
+ ],
11
988
  "documentationRef": "https://docs.camunda.io/docs/components/camunda-integrations/servicenow/connectors/incident-handler/",
12
989
  "category": {
13
990
  "id": "connectors",