@camunda/connectors-element-templates 1.0.17 → 1.0.19
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 -2
- package/src/element-templates/agenticai-a2a-client-outbound-connector.json +4 -7
- package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-intermediate.json +8 -8
- package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-receive.json +8 -8
- package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-intermediate.json +8 -8
- package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-receive.json +8 -8
- package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +9 -12
- package/src/element-templates/agenticai-aiagent-job-worker.json +3770 -29
- package/src/element-templates/agenticai-aiagent-outbound-connector.json +6274 -2594
- package/src/element-templates/agenticai-mcp-client-outbound-connector.json +549 -552
- package/src/element-templates/agenticai-mcp-message-start-event.json +122 -0
- package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +736 -739
- package/src/element-templates/asana-connector.json +759 -48
- package/src/element-templates/automation-anywhere-outbound-connector.json +1763 -1759
- 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 +747 -10
- package/src/element-templates/aws-comprehend-outbound-connector.json +10 -5
- package/src/element-templates/aws-dynamodb-outbound-connector.json +1358 -1358
- package/src/element-templates/aws-eventbridge-connector-boundary.json +383 -18
- package/src/element-templates/aws-eventbridge-connector-intermediate.json +377 -12
- package/src/element-templates/aws-eventbridge-connector-message-start.json +407 -8
- package/src/element-templates/aws-eventbridge-connector-receive.json +364 -0
- package/src/element-templates/aws-eventbridge-connector-start-event.json +317 -0
- package/src/element-templates/aws-eventbridge-outbound-connector.json +300 -295
- package/src/element-templates/aws-lambda-outbound-connector.json +238 -234
- package/src/element-templates/aws-s3-outbound-connector.json +646 -5
- package/src/element-templates/aws-sagemaker-outbound-connector.json +13 -9
- package/src/element-templates/aws-sns-inbound-boundary.json +44 -37
- package/src/element-templates/aws-sns-inbound-intermediate.json +210 -203
- package/src/element-templates/aws-sns-inbound-message-start.json +125 -118
- package/src/element-templates/aws-sns-inbound-receive.json +13 -6
- package/src/element-templates/aws-sns-inbound-start-event.json +134 -127
- package/src/element-templates/aws-sns-outbound-connector.json +581 -577
- package/src/element-templates/aws-sqs-boundary-connector.json +453 -449
- package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +530 -526
- package/src/element-templates/aws-sqs-outbound-connector.json +711 -709
- package/src/element-templates/aws-sqs-receive-connector.json +15 -11
- package/src/element-templates/aws-sqs-start-event-connector.json +213 -205
- package/src/element-templates/aws-sqs-start-message.json +461 -457
- package/src/element-templates/aws-textract-outbound-connector.json +109 -105
- package/src/element-templates/azure-blobstorage-outbound-connector.json +676 -19
- package/src/element-templates/azure-open-ai-connector.json +1329 -4
- package/src/element-templates/blue-prism-connector.json +569 -24
- package/src/element-templates/box-outbound-connector.json +924 -12
- package/src/element-templates/csv-outbound-connector.json +13 -5
- package/src/element-templates/easy-post-connector.json +1077 -109
- 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 +58 -50
- package/src/element-templates/email-outbound-connector.json +2116 -243
- package/src/element-templates/embeddings-vector-database-outbound-connector.json +3 -6
- package/src/element-templates/github-connector.json +15257 -11722
- package/src/element-templates/github-webhook-connector-boundary.json +27 -29
- package/src/element-templates/github-webhook-connector-intermediate.json +36 -38
- package/src/element-templates/github-webhook-connector-message-start.json +11 -13
- package/src/element-templates/github-webhook-connector-receive.json +13 -15
- package/src/element-templates/github-webhook-connector-start-event.json +54 -56
- package/src/element-templates/gitlab-connector.json +4177 -2545
- package/src/element-templates/google-cloud-storage-outbound-connector.json +562 -13
- package/src/element-templates/google-drive-outbound-connector.json +1386 -766
- package/src/element-templates/google-gemini-outbound-connector.json +13 -5
- package/src/element-templates/google-maps-platform-connector.json +1059 -30
- package/src/element-templates/google-sheets-outbound-connector.json +2449 -1455
- package/src/element-templates/graphql-outbound-connector.json +1744 -1735
- package/src/element-templates/http-json-connector.json +2982 -2332
- package/src/element-templates/http-polling-boundary-catch-event-connector.json +752 -741
- package/src/element-templates/http-polling-connector.json +1512 -1501
- package/src/element-templates/hubspot-outbound-connector.json +2371 -25
- package/src/element-templates/hugging-face-connector.json +234 -3
- package/src/element-templates/jdbc-outbound-connector.json +20 -6
- package/src/element-templates/kafka-inbound-connector-boundary.json +613 -604
- package/src/element-templates/kafka-inbound-connector-intermediate.json +528 -519
- package/src/element-templates/kafka-inbound-connector-receive.json +15 -6
- package/src/element-templates/kafka-inbound-connector-start-message.json +530 -521
- package/src/element-templates/kafka-inbound-connector.json +240 -240
- package/src/element-templates/kafka-outbound-connector.json +518 -512
- package/src/element-templates/microsoft-o365-email-boundary-event-connector.json +18 -6
- package/src/element-templates/microsoft-o365-email-intermediate-catch-event-connector.json +18 -6
- package/src/element-templates/microsoft-o365-email-message-start-event-connector.json +18 -6
- package/src/element-templates/microsoft-office365-mail-connector.json +893 -10
- package/src/element-templates/microsoft-teams-outbound-connector.json +5971 -3807
- package/src/element-templates/openai-connector.json +550 -87
- package/src/element-templates/operate-connector.json +1198 -46
- package/src/element-templates/power-automate-connector.json +601 -9
- package/src/element-templates/rabbitmq-inbound-connector-boundary.json +444 -435
- package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +484 -475
- package/src/element-templates/rabbitmq-inbound-connector-message-start.json +367 -358
- package/src/element-templates/rabbitmq-inbound-connector-receive.json +15 -6
- package/src/element-templates/rabbitmq-inbound-connector-start-event.json +479 -470
- package/src/element-templates/rabbitmq-outbound-connector.json +356 -350
- package/src/element-templates/rpa-connector.json +346 -0
- package/src/element-templates/salesforce-connector.json +544 -0
- 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 +945 -337
- 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 +490 -192
- package/src/element-templates/slack-inbound-intermediate.json +421 -123
- package/src/element-templates/slack-inbound-message-start.json +469 -139
- package/src/element-templates/slack-inbound-receive.json +297 -0
- package/src/element-templates/slack-inbound-start-event.json +216 -211
- package/src/element-templates/slack-outbound-connector.json +2451 -753
- package/src/element-templates/soap-outbound-connector.json +812 -2
- package/src/element-templates/twilio-connector.json +1573 -93
- package/src/element-templates/twilio-webhook-boundary-connector.json +19 -10
- package/src/element-templates/twilio-webhook-connector.json +243 -13
- package/src/element-templates/twilio-webhook-intermediate-connector.json +34 -25
- 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 +594 -2
- package/src/element-templates/webhook-connector-boundary.json +580 -570
- package/src/element-templates/webhook-connector-intermediate.json +1390 -1380
- package/src/element-templates/webhook-connector-receive.json +16 -6
- package/src/element-templates/webhook-connector-start-event.json +1382 -1375
- package/src/element-templates/webhook-connector-start-message.json +1306 -1296
- package/src/element-templates/whatsapp-connector.json +343 -9
- package/src/element-templates/http-connector.json.json +0 -654
|
@@ -5,9 +5,16 @@
|
|
|
5
5
|
"id": "io.camunda.connectors.ServiceNowIncident.v1",
|
|
6
6
|
"version": 1,
|
|
7
7
|
"description": "Create and manage incidents in ServiceNow directly from a Camunda process",
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
|
|
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
|
+
],
|
|
11
18
|
"documentationRef": "https://docs.camunda.io/docs/components/camunda-integrations/servicenow/connectors/incident-handler/",
|
|
12
19
|
"category": {
|
|
13
20
|
"id": "connectors",
|
|
@@ -965,5 +972,975 @@
|
|
|
965
972
|
"icon": {
|
|
966
973
|
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTEyIiBoZWlnaHQ9IjUxMiIgdmlld0JveD0iMCAwIDUxMiA1MTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxyZWN0IHdpZHRoPSI1MTIiIGhlaWdodD0iNTEyIiBmaWxsPSJ3aGl0ZSIgZmlsbC1vcGFjaXR5PSIwLjAxIiBzdHlsZT0ibWl4LWJsZW5kLW1vZGU6bXVsdGlwbHkiLz4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yNTUuOTA1IDQyMS40NDJDMTgxLjk1OCA0MjEuNDQyIDEzMS4zMzggMzY1LjcxNSAxMzEuMzM4IDI5Ni43ODdDMTMxLjMzOCAyMjcuODI3IDE4MS45NTggMTcxLjE2NyAyNTUuOTA1IDE3MS4xNjdDMzI5Ljg5MiAxNzEuMTY3IDM4MC40NzEgMjI3LjgyNyAzODAuNDcxIDI5Ni43ODdDMzgwLjQ3MSAzNjUuNzE1IDMyOS44OTIgNDIxLjQ0MiAyNTUuOTA1IDQyMS40NDJaTTI1Ny4zNjIgNDYuMDM3MUMxMjAuODM4IDQ1LjI0NzUgNy45MjUyOCAxNTcuMDQ5IDYuNzcyMDcgMjk0LjE5M0M2LjE4NTM1IDM2Ni43OSAzNi4zNzExIDQzMi4zMzMgODUuMDI4MyA0NzguNDE5QzEwMi43MzEgNDk1LjE3MSAxMzAuMDg0IDQ5Ni44IDE0OS4yNjQgNDgxLjgyQzE3Ny42MjkgNDU5LjY1OSAyMTQuMDQ2IDQ0Ni40NTggMjU1LjkwNSA0NDYuNDU4QzI5Ny43NjQgNDQ2LjQ1OCAzMzQuMTgxIDQ1OS42NjcgMzYyLjU0NiA0ODEuODJDMzgxLjkwOCA0OTYuOTI2IDQwOS4zNjIgNDk0Ljk4OSA0MjcuMTY2IDQ3OC4wNTVDNDc1LjExNSA0MzIuNDQ0IDUwNS4wNTggMzY3Ljg2NiA1MDUuMDU4IDI5Ni4zMDVDNTA1LjA1OCAxNTguNTgzIDM5NC4yNjkgNDYuODI4OCAyNTcuMzYyIDQ2LjAzNzFaIiBmaWxsPSIjNkFDNjNGIi8+CjxjaXJjbGUgY3g9IjM4MC42MTgiIGN5PSIxNDQuNTI1IiByPSIxMjQuNjE4IiBmaWxsPSIjREExRTI4Ii8+CjxwYXRoIGQ9Ik0zMDUuNDg1IDE3MC40OTRMMzIwLjQ3OCAxOTYuNTA5TDM2NS4xOTQgMTcwLjY1MlYyMTkuNzIzSDM5NS4xOFYxNzAuNjQzTDQ0MC4zOTQgMTk2Ljc4OEw0NTUuMzg2IDE3MC43NzJMNDEwLjE4MyAxNDQuNjM0TDQ1NS4yMzkgMTE4LjU4MUw0NDAuMjQ2IDkyLjU2NjFMMzk1LjE4IDExOC42MjdWNjkuNTU3N0gzNjUuMTk0VjExOC42MkwzMjAuMjEzIDkyLjYxMTFMMzA1LjIyMSAxMTguNjI2TDM1MC4yMDEgMTQ0LjYzNEwzMDUuNDg1IDE3MC40OTRaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"
|
|
967
974
|
}
|
|
975
|
+
},
|
|
976
|
+
{
|
|
977
|
+
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
978
|
+
"name": "ServiceNow Incident Handler",
|
|
979
|
+
"id": "io.camunda.connectors.ServiceNowIncident.v1",
|
|
980
|
+
"version": 2,
|
|
981
|
+
"description": "Create and manage incidents in ServiceNow directly from a Camunda process",
|
|
982
|
+
"keywords": [
|
|
983
|
+
"create incident",
|
|
984
|
+
"read incident",
|
|
985
|
+
"update incident",
|
|
986
|
+
"delete incident",
|
|
987
|
+
"ITSM",
|
|
988
|
+
"IT service management",
|
|
989
|
+
"ticket",
|
|
990
|
+
"incident management"
|
|
991
|
+
],
|
|
992
|
+
"documentationRef": "https://docs.camunda.io/docs/components/camunda-integrations/servicenow/connectors/incident-handler/",
|
|
993
|
+
"category": {
|
|
994
|
+
"id": "connectors",
|
|
995
|
+
"name": "Connectors"
|
|
996
|
+
},
|
|
997
|
+
"appliesTo": ["bpmn:Task"],
|
|
998
|
+
"elementType": {
|
|
999
|
+
"value": "bpmn:ServiceTask"
|
|
1000
|
+
},
|
|
1001
|
+
"groups": [
|
|
1002
|
+
{
|
|
1003
|
+
"id": "sn",
|
|
1004
|
+
"label": "ServiceNow"
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
"id": "input",
|
|
1008
|
+
"label": "Input"
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
"id": "authentication",
|
|
1012
|
+
"label": "Authentication"
|
|
1013
|
+
},
|
|
1014
|
+
{
|
|
1015
|
+
"id": "endpoint",
|
|
1016
|
+
"label": "HTTP endpoint"
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
"id": "timeout",
|
|
1020
|
+
"label": "Connection timeout"
|
|
1021
|
+
},
|
|
1022
|
+
{
|
|
1023
|
+
"id": "output",
|
|
1024
|
+
"label": "Output mapping"
|
|
1025
|
+
},
|
|
1026
|
+
{
|
|
1027
|
+
"id": "error",
|
|
1028
|
+
"label": "Error handling"
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
"id": "retries",
|
|
1032
|
+
"label": "Retries"
|
|
1033
|
+
}
|
|
1034
|
+
],
|
|
1035
|
+
"properties": [
|
|
1036
|
+
{
|
|
1037
|
+
"value": "io.camunda:http-json:1",
|
|
1038
|
+
"binding": {
|
|
1039
|
+
"property": "type",
|
|
1040
|
+
"type": "zeebe:taskDefinition"
|
|
1041
|
+
},
|
|
1042
|
+
"type": "Hidden"
|
|
1043
|
+
},
|
|
1044
|
+
{
|
|
1045
|
+
"id": "snInstance",
|
|
1046
|
+
"label": "Instance name",
|
|
1047
|
+
"description": "Enter only the instance name from your ServiceNow URL",
|
|
1048
|
+
"optional": false,
|
|
1049
|
+
"feel": "optional",
|
|
1050
|
+
"group": "sn",
|
|
1051
|
+
"binding": {
|
|
1052
|
+
"name": "snInstance",
|
|
1053
|
+
"type": "zeebe:input"
|
|
1054
|
+
},
|
|
1055
|
+
"constraints": {
|
|
1056
|
+
"notEmpty": true
|
|
1057
|
+
},
|
|
1058
|
+
"type": "String"
|
|
1059
|
+
},
|
|
1060
|
+
{
|
|
1061
|
+
"id": "operationGroup",
|
|
1062
|
+
"label": "Operation",
|
|
1063
|
+
"group": "sn",
|
|
1064
|
+
"description": "Choose operation type",
|
|
1065
|
+
"type": "Dropdown",
|
|
1066
|
+
"value": "create",
|
|
1067
|
+
"choices": [
|
|
1068
|
+
{
|
|
1069
|
+
"name": "Create",
|
|
1070
|
+
"value": "create"
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
"name": "Read",
|
|
1074
|
+
"value": "read"
|
|
1075
|
+
},
|
|
1076
|
+
{
|
|
1077
|
+
"name": "Update",
|
|
1078
|
+
"value": "update"
|
|
1079
|
+
},
|
|
1080
|
+
{
|
|
1081
|
+
"name": "Delete",
|
|
1082
|
+
"value": "delete"
|
|
1083
|
+
}
|
|
1084
|
+
],
|
|
1085
|
+
"binding": {
|
|
1086
|
+
"type": "zeebe:input",
|
|
1087
|
+
"name": "operationGroup"
|
|
1088
|
+
}
|
|
1089
|
+
},
|
|
1090
|
+
{
|
|
1091
|
+
"id": "targetTable",
|
|
1092
|
+
"label": "Target table",
|
|
1093
|
+
"description": "Choose a table for the record operation",
|
|
1094
|
+
"group": "sn",
|
|
1095
|
+
"type": "Hidden",
|
|
1096
|
+
"value": "incident",
|
|
1097
|
+
"choices": [
|
|
1098
|
+
{
|
|
1099
|
+
"name": "Requested Item [sc_req_item]",
|
|
1100
|
+
"value": "sc_req_item"
|
|
1101
|
+
},
|
|
1102
|
+
{
|
|
1103
|
+
"name": "Change Request [change_request]",
|
|
1104
|
+
"value": "change_request"
|
|
1105
|
+
},
|
|
1106
|
+
{
|
|
1107
|
+
"name": "Change Task [change_task]",
|
|
1108
|
+
"value": "change_task"
|
|
1109
|
+
},
|
|
1110
|
+
{
|
|
1111
|
+
"name": "Service Catalog Request [sc_request]",
|
|
1112
|
+
"value": "sc_request"
|
|
1113
|
+
},
|
|
1114
|
+
{
|
|
1115
|
+
"name": "Service Catalog Task [sc_task]",
|
|
1116
|
+
"value": "sc_task"
|
|
1117
|
+
},
|
|
1118
|
+
{
|
|
1119
|
+
"name": "Incident [incident]",
|
|
1120
|
+
"value": "incident"
|
|
1121
|
+
},
|
|
1122
|
+
{
|
|
1123
|
+
"name": "Other - type a table name",
|
|
1124
|
+
"value": "__custom"
|
|
1125
|
+
}
|
|
1126
|
+
],
|
|
1127
|
+
"binding": {
|
|
1128
|
+
"type": "zeebe:input",
|
|
1129
|
+
"name": "targetTable"
|
|
1130
|
+
}
|
|
1131
|
+
},
|
|
1132
|
+
{
|
|
1133
|
+
"//": "used for all operation types",
|
|
1134
|
+
"id": "customRequestTarget",
|
|
1135
|
+
"label": "Enter table name",
|
|
1136
|
+
"description": "Type the exact ServiceNow table name (case-sensitive)",
|
|
1137
|
+
"type": "String",
|
|
1138
|
+
"group": "sn",
|
|
1139
|
+
"binding": {
|
|
1140
|
+
"name": "customRequestTarget",
|
|
1141
|
+
"type": "zeebe:input"
|
|
1142
|
+
},
|
|
1143
|
+
"condition": {
|
|
1144
|
+
"property": "targetTable",
|
|
1145
|
+
"equals": "__custom"
|
|
1146
|
+
}
|
|
1147
|
+
},
|
|
1148
|
+
{
|
|
1149
|
+
"id": "sysparm_query",
|
|
1150
|
+
"label": "Query parameters (sysparm_query)",
|
|
1151
|
+
"description": "Separate multiple conditions with '^' (Ex: active=true^priority=1)",
|
|
1152
|
+
"optional": true,
|
|
1153
|
+
"feel": "optional",
|
|
1154
|
+
"group": "input",
|
|
1155
|
+
"binding": {
|
|
1156
|
+
"name": "sysparm_query",
|
|
1157
|
+
"type": "zeebe:input"
|
|
1158
|
+
},
|
|
1159
|
+
"type": "String",
|
|
1160
|
+
"constraints": {
|
|
1161
|
+
"notEmpty": false,
|
|
1162
|
+
"pattern": {
|
|
1163
|
+
"value": "^(?!.*&).*$",
|
|
1164
|
+
"message": "invalid: use '^' instead of '&'"
|
|
1165
|
+
}
|
|
1166
|
+
},
|
|
1167
|
+
"condition": {
|
|
1168
|
+
"property": "operationGroup",
|
|
1169
|
+
"oneOf": ["read"]
|
|
1170
|
+
}
|
|
1171
|
+
},
|
|
1172
|
+
{
|
|
1173
|
+
"id": "sysparm_fields",
|
|
1174
|
+
"label": "Fields to return (sysparm_fields)",
|
|
1175
|
+
"description": "Comma-separated field names (Ex: sys_id, number, short_description)",
|
|
1176
|
+
"optional": true,
|
|
1177
|
+
"feel": "optional",
|
|
1178
|
+
"group": "input",
|
|
1179
|
+
"binding": {
|
|
1180
|
+
"name": "sysparm_fields",
|
|
1181
|
+
"type": "zeebe:input"
|
|
1182
|
+
},
|
|
1183
|
+
"type": "String",
|
|
1184
|
+
"condition": {
|
|
1185
|
+
"property": "operationGroup",
|
|
1186
|
+
"oneOf": ["read"]
|
|
1187
|
+
}
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
"id": "sysparm_limit",
|
|
1191
|
+
"label": "Result limit (sysparm_limit)",
|
|
1192
|
+
"description": "The maximum number of records to return (Ex: 10)",
|
|
1193
|
+
"optional": true,
|
|
1194
|
+
"feel": "optional",
|
|
1195
|
+
"group": "input",
|
|
1196
|
+
"binding": {
|
|
1197
|
+
"name": "sysparm_limit",
|
|
1198
|
+
"type": "zeebe:input"
|
|
1199
|
+
},
|
|
1200
|
+
"type": "String",
|
|
1201
|
+
"condition": {
|
|
1202
|
+
"property": "operationGroup",
|
|
1203
|
+
"oneOf": ["read"]
|
|
1204
|
+
}
|
|
1205
|
+
},
|
|
1206
|
+
{
|
|
1207
|
+
"id": "readTarget",
|
|
1208
|
+
"label": "Sys ID of the record to read",
|
|
1209
|
+
"description": "Enter the unique record identifier (sys_id). If left blank, all incidents are queried",
|
|
1210
|
+
"type": "String",
|
|
1211
|
+
"feel": "optional",
|
|
1212
|
+
"group": "sn",
|
|
1213
|
+
"binding": {
|
|
1214
|
+
"name": "readTarget",
|
|
1215
|
+
"type": "zeebe:input"
|
|
1216
|
+
},
|
|
1217
|
+
"condition": {
|
|
1218
|
+
"property": "operationGroup",
|
|
1219
|
+
"equals": "read"
|
|
1220
|
+
}
|
|
1221
|
+
},
|
|
1222
|
+
{
|
|
1223
|
+
"id": "updateTarget",
|
|
1224
|
+
"label": "Sys ID of the record to update",
|
|
1225
|
+
"description": "Enter the unique record identifier (sys_id) to update",
|
|
1226
|
+
"type": "String",
|
|
1227
|
+
"feel": "optional",
|
|
1228
|
+
"group": "sn",
|
|
1229
|
+
"binding": {
|
|
1230
|
+
"name": "updateTarget",
|
|
1231
|
+
"type": "zeebe:input"
|
|
1232
|
+
},
|
|
1233
|
+
"condition": {
|
|
1234
|
+
"property": "operationGroup",
|
|
1235
|
+
"equals": "update"
|
|
1236
|
+
}
|
|
1237
|
+
},
|
|
1238
|
+
{
|
|
1239
|
+
"id": "deleteTarget",
|
|
1240
|
+
"label": "Sys ID of the record to delete",
|
|
1241
|
+
"description": "Enter the unique record identifier (sys_id) to delete",
|
|
1242
|
+
"type": "String",
|
|
1243
|
+
"feel": "optional",
|
|
1244
|
+
"group": "sn",
|
|
1245
|
+
"binding": {
|
|
1246
|
+
"name": "deleteTarget",
|
|
1247
|
+
"type": "zeebe:input"
|
|
1248
|
+
},
|
|
1249
|
+
"condition": {
|
|
1250
|
+
"property": "operationGroup",
|
|
1251
|
+
"equals": "delete"
|
|
1252
|
+
}
|
|
1253
|
+
},
|
|
1254
|
+
{
|
|
1255
|
+
"//": "create or update sc_req_item",
|
|
1256
|
+
"id": "payload_sc_req_item",
|
|
1257
|
+
"group": "input",
|
|
1258
|
+
"label": "Payload",
|
|
1259
|
+
"type": "Text",
|
|
1260
|
+
"feel": "required",
|
|
1261
|
+
"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",
|
|
1262
|
+
"binding": {
|
|
1263
|
+
"type": "zeebe:input",
|
|
1264
|
+
"name": "body_sc_req_item"
|
|
1265
|
+
},
|
|
1266
|
+
"condition": {
|
|
1267
|
+
"allMatch": [
|
|
1268
|
+
{
|
|
1269
|
+
"property": "operationGroup",
|
|
1270
|
+
"oneOf": ["create", "update"]
|
|
1271
|
+
},
|
|
1272
|
+
{
|
|
1273
|
+
"property": "targetTable",
|
|
1274
|
+
"equals": "sc_req_item"
|
|
1275
|
+
}
|
|
1276
|
+
]
|
|
1277
|
+
},
|
|
1278
|
+
"optional": true
|
|
1279
|
+
},
|
|
1280
|
+
{
|
|
1281
|
+
"//": "create or update change_request",
|
|
1282
|
+
"id": "payload_change_request",
|
|
1283
|
+
"group": "input",
|
|
1284
|
+
"label": "Payload",
|
|
1285
|
+
"type": "Text",
|
|
1286
|
+
"feel": "required",
|
|
1287
|
+
"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",
|
|
1288
|
+
"binding": {
|
|
1289
|
+
"type": "zeebe:input",
|
|
1290
|
+
"name": "body_change_request"
|
|
1291
|
+
},
|
|
1292
|
+
"condition": {
|
|
1293
|
+
"allMatch": [
|
|
1294
|
+
{
|
|
1295
|
+
"property": "operationGroup",
|
|
1296
|
+
"oneOf": ["create", "update"]
|
|
1297
|
+
},
|
|
1298
|
+
{
|
|
1299
|
+
"property": "targetTable",
|
|
1300
|
+
"equals": "change_request"
|
|
1301
|
+
}
|
|
1302
|
+
]
|
|
1303
|
+
},
|
|
1304
|
+
"optional": true
|
|
1305
|
+
},
|
|
1306
|
+
{
|
|
1307
|
+
"//": "create or update change_task",
|
|
1308
|
+
"id": "payload_change_task",
|
|
1309
|
+
"group": "input",
|
|
1310
|
+
"label": "Payload",
|
|
1311
|
+
"type": "Text",
|
|
1312
|
+
"feel": "required",
|
|
1313
|
+
"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",
|
|
1314
|
+
"binding": {
|
|
1315
|
+
"type": "zeebe:input",
|
|
1316
|
+
"name": "body_change_task"
|
|
1317
|
+
},
|
|
1318
|
+
"condition": {
|
|
1319
|
+
"allMatch": [
|
|
1320
|
+
{
|
|
1321
|
+
"property": "operationGroup",
|
|
1322
|
+
"oneOf": ["create", "update"]
|
|
1323
|
+
},
|
|
1324
|
+
{
|
|
1325
|
+
"property": "targetTable",
|
|
1326
|
+
"equals": "change_task"
|
|
1327
|
+
}
|
|
1328
|
+
]
|
|
1329
|
+
},
|
|
1330
|
+
"optional": true
|
|
1331
|
+
},
|
|
1332
|
+
{
|
|
1333
|
+
"//": "create or update sc_request",
|
|
1334
|
+
"id": "payload_sc_request",
|
|
1335
|
+
"group": "input",
|
|
1336
|
+
"label": "Payload",
|
|
1337
|
+
"type": "Text",
|
|
1338
|
+
"feel": "required",
|
|
1339
|
+
"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",
|
|
1340
|
+
"binding": {
|
|
1341
|
+
"type": "zeebe:input",
|
|
1342
|
+
"name": "body_sc_request"
|
|
1343
|
+
},
|
|
1344
|
+
"condition": {
|
|
1345
|
+
"allMatch": [
|
|
1346
|
+
{
|
|
1347
|
+
"property": "operationGroup",
|
|
1348
|
+
"oneOf": ["create", "update"]
|
|
1349
|
+
},
|
|
1350
|
+
{
|
|
1351
|
+
"property": "targetTable",
|
|
1352
|
+
"equals": "sc_request"
|
|
1353
|
+
}
|
|
1354
|
+
]
|
|
1355
|
+
},
|
|
1356
|
+
"optional": true
|
|
1357
|
+
},
|
|
1358
|
+
{
|
|
1359
|
+
"//": "create or update sc_task",
|
|
1360
|
+
"id": "payload_sc_task",
|
|
1361
|
+
"group": "input",
|
|
1362
|
+
"label": "Payload",
|
|
1363
|
+
"type": "Text",
|
|
1364
|
+
"feel": "required",
|
|
1365
|
+
"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",
|
|
1366
|
+
"binding": {
|
|
1367
|
+
"type": "zeebe:input",
|
|
1368
|
+
"name": "body_sc_task"
|
|
1369
|
+
},
|
|
1370
|
+
"condition": {
|
|
1371
|
+
"allMatch": [
|
|
1372
|
+
{
|
|
1373
|
+
"property": "operationGroup",
|
|
1374
|
+
"oneOf": ["create", "update"]
|
|
1375
|
+
},
|
|
1376
|
+
{
|
|
1377
|
+
"property": "targetTable",
|
|
1378
|
+
"equals": "sc_task"
|
|
1379
|
+
}
|
|
1380
|
+
]
|
|
1381
|
+
},
|
|
1382
|
+
"optional": true
|
|
1383
|
+
},
|
|
1384
|
+
{
|
|
1385
|
+
"//": "create or update incident",
|
|
1386
|
+
"id": "payload_incident",
|
|
1387
|
+
"group": "input",
|
|
1388
|
+
"label": "Payload",
|
|
1389
|
+
"type": "Text",
|
|
1390
|
+
"feel": "required",
|
|
1391
|
+
"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",
|
|
1392
|
+
"binding": {
|
|
1393
|
+
"type": "zeebe:input",
|
|
1394
|
+
"name": "body_incident"
|
|
1395
|
+
},
|
|
1396
|
+
"condition": {
|
|
1397
|
+
"allMatch": [
|
|
1398
|
+
{
|
|
1399
|
+
"property": "operationGroup",
|
|
1400
|
+
"oneOf": ["create", "update"]
|
|
1401
|
+
},
|
|
1402
|
+
{
|
|
1403
|
+
"property": "targetTable",
|
|
1404
|
+
"equals": "incident"
|
|
1405
|
+
}
|
|
1406
|
+
]
|
|
1407
|
+
},
|
|
1408
|
+
"optional": true
|
|
1409
|
+
},
|
|
1410
|
+
{
|
|
1411
|
+
"//": "create or update __custom",
|
|
1412
|
+
"id": "payload___custom",
|
|
1413
|
+
"group": "input",
|
|
1414
|
+
"label": "Payload",
|
|
1415
|
+
"type": "Text",
|
|
1416
|
+
"feel": "required",
|
|
1417
|
+
"value": "={ }",
|
|
1418
|
+
"binding": {
|
|
1419
|
+
"type": "zeebe:input",
|
|
1420
|
+
"name": "body__custom"
|
|
1421
|
+
},
|
|
1422
|
+
"condition": {
|
|
1423
|
+
"allMatch": [
|
|
1424
|
+
{
|
|
1425
|
+
"property": "operationGroup",
|
|
1426
|
+
"oneOf": ["create", "update"]
|
|
1427
|
+
},
|
|
1428
|
+
{
|
|
1429
|
+
"property": "targetTable",
|
|
1430
|
+
"equals": "__custom"
|
|
1431
|
+
}
|
|
1432
|
+
]
|
|
1433
|
+
},
|
|
1434
|
+
"optional": true
|
|
1435
|
+
},
|
|
1436
|
+
{
|
|
1437
|
+
"//": "this sets the actual request body for a write request to the ServiceNow API",
|
|
1438
|
+
"group": "input",
|
|
1439
|
+
"type": "Hidden",
|
|
1440
|
+
"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",
|
|
1441
|
+
"binding": {
|
|
1442
|
+
"type": "zeebe:input",
|
|
1443
|
+
"name": "body"
|
|
1444
|
+
},
|
|
1445
|
+
"condition": {
|
|
1446
|
+
"property": "operationGroup",
|
|
1447
|
+
"oneOf": ["create", "update"]
|
|
1448
|
+
},
|
|
1449
|
+
"optional": true
|
|
1450
|
+
},
|
|
1451
|
+
{
|
|
1452
|
+
"id": "authentication.type",
|
|
1453
|
+
"label": "Type",
|
|
1454
|
+
"description": "Choose the authentication type. Select 'None' if no authentication is necessary",
|
|
1455
|
+
"value": "basic",
|
|
1456
|
+
"group": "authentication",
|
|
1457
|
+
"binding": {
|
|
1458
|
+
"name": "authentication.type",
|
|
1459
|
+
"type": "zeebe:input"
|
|
1460
|
+
},
|
|
1461
|
+
"type": "Hidden",
|
|
1462
|
+
"choices": [
|
|
1463
|
+
{
|
|
1464
|
+
"name": "API key",
|
|
1465
|
+
"value": "apiKey"
|
|
1466
|
+
},
|
|
1467
|
+
{
|
|
1468
|
+
"name": "Basic",
|
|
1469
|
+
"value": "basic"
|
|
1470
|
+
},
|
|
1471
|
+
{
|
|
1472
|
+
"name": "Bearer token",
|
|
1473
|
+
"value": "bearer"
|
|
1474
|
+
},
|
|
1475
|
+
{
|
|
1476
|
+
"name": "None",
|
|
1477
|
+
"value": "noAuth"
|
|
1478
|
+
},
|
|
1479
|
+
{
|
|
1480
|
+
"name": "OAuth 2.0",
|
|
1481
|
+
"value": "oauth-client-credentials-flow"
|
|
1482
|
+
}
|
|
1483
|
+
]
|
|
1484
|
+
},
|
|
1485
|
+
{
|
|
1486
|
+
"id": "authentication.apiKeyLocation",
|
|
1487
|
+
"label": "Api key location",
|
|
1488
|
+
"description": "Choose type: Send API key in header or as query parameter.",
|
|
1489
|
+
"optional": false,
|
|
1490
|
+
"value": "headers",
|
|
1491
|
+
"constraints": {
|
|
1492
|
+
"notEmpty": true
|
|
1493
|
+
},
|
|
1494
|
+
"group": "authentication",
|
|
1495
|
+
"binding": {
|
|
1496
|
+
"name": "authentication.apiKeyLocation",
|
|
1497
|
+
"type": "zeebe:input"
|
|
1498
|
+
},
|
|
1499
|
+
"condition": {
|
|
1500
|
+
"property": "authentication.type",
|
|
1501
|
+
"equals": "apiKey",
|
|
1502
|
+
"type": "simple"
|
|
1503
|
+
},
|
|
1504
|
+
"type": "Dropdown",
|
|
1505
|
+
"choices": [
|
|
1506
|
+
{
|
|
1507
|
+
"name": "Headers",
|
|
1508
|
+
"value": "headers"
|
|
1509
|
+
},
|
|
1510
|
+
{
|
|
1511
|
+
"name": "Query parameters",
|
|
1512
|
+
"value": "query"
|
|
1513
|
+
}
|
|
1514
|
+
]
|
|
1515
|
+
},
|
|
1516
|
+
{
|
|
1517
|
+
"id": "authentication.name",
|
|
1518
|
+
"label": "API key name",
|
|
1519
|
+
"optional": false,
|
|
1520
|
+
"constraints": {
|
|
1521
|
+
"notEmpty": true
|
|
1522
|
+
},
|
|
1523
|
+
"feel": "optional",
|
|
1524
|
+
"group": "authentication",
|
|
1525
|
+
"binding": {
|
|
1526
|
+
"name": "authentication.name",
|
|
1527
|
+
"type": "zeebe:input"
|
|
1528
|
+
},
|
|
1529
|
+
"condition": {
|
|
1530
|
+
"property": "authentication.type",
|
|
1531
|
+
"equals": "apiKey",
|
|
1532
|
+
"type": "simple"
|
|
1533
|
+
},
|
|
1534
|
+
"type": "String"
|
|
1535
|
+
},
|
|
1536
|
+
{
|
|
1537
|
+
"id": "authentication.value",
|
|
1538
|
+
"label": "API key value",
|
|
1539
|
+
"optional": false,
|
|
1540
|
+
"constraints": {
|
|
1541
|
+
"notEmpty": true
|
|
1542
|
+
},
|
|
1543
|
+
"feel": "optional",
|
|
1544
|
+
"group": "authentication",
|
|
1545
|
+
"binding": {
|
|
1546
|
+
"name": "authentication.value",
|
|
1547
|
+
"type": "zeebe:input"
|
|
1548
|
+
},
|
|
1549
|
+
"condition": {
|
|
1550
|
+
"property": "authentication.type",
|
|
1551
|
+
"equals": "apiKey",
|
|
1552
|
+
"type": "simple"
|
|
1553
|
+
},
|
|
1554
|
+
"type": "String"
|
|
1555
|
+
},
|
|
1556
|
+
{
|
|
1557
|
+
"id": "authentication.username",
|
|
1558
|
+
"label": "Username",
|
|
1559
|
+
"optional": false,
|
|
1560
|
+
"constraints": {
|
|
1561
|
+
"notEmpty": true
|
|
1562
|
+
},
|
|
1563
|
+
"feel": "optional",
|
|
1564
|
+
"group": "authentication",
|
|
1565
|
+
"binding": {
|
|
1566
|
+
"name": "authentication.username",
|
|
1567
|
+
"type": "zeebe:input"
|
|
1568
|
+
},
|
|
1569
|
+
"condition": {
|
|
1570
|
+
"property": "authentication.type",
|
|
1571
|
+
"equals": "basic",
|
|
1572
|
+
"type": "simple"
|
|
1573
|
+
},
|
|
1574
|
+
"type": "String"
|
|
1575
|
+
},
|
|
1576
|
+
{
|
|
1577
|
+
"id": "authentication.password",
|
|
1578
|
+
"label": "Password",
|
|
1579
|
+
"optional": false,
|
|
1580
|
+
"constraints": {
|
|
1581
|
+
"notEmpty": true
|
|
1582
|
+
},
|
|
1583
|
+
"feel": "optional",
|
|
1584
|
+
"group": "authentication",
|
|
1585
|
+
"binding": {
|
|
1586
|
+
"name": "authentication.password",
|
|
1587
|
+
"type": "zeebe:input"
|
|
1588
|
+
},
|
|
1589
|
+
"condition": {
|
|
1590
|
+
"property": "authentication.type",
|
|
1591
|
+
"equals": "basic",
|
|
1592
|
+
"type": "simple"
|
|
1593
|
+
},
|
|
1594
|
+
"type": "String"
|
|
1595
|
+
},
|
|
1596
|
+
{
|
|
1597
|
+
"id": "authentication.token",
|
|
1598
|
+
"label": "Bearer token",
|
|
1599
|
+
"optional": false,
|
|
1600
|
+
"constraints": {
|
|
1601
|
+
"notEmpty": true
|
|
1602
|
+
},
|
|
1603
|
+
"feel": "optional",
|
|
1604
|
+
"group": "authentication",
|
|
1605
|
+
"binding": {
|
|
1606
|
+
"name": "authentication.token",
|
|
1607
|
+
"type": "zeebe:input"
|
|
1608
|
+
},
|
|
1609
|
+
"condition": {
|
|
1610
|
+
"property": "authentication.type",
|
|
1611
|
+
"equals": "bearer",
|
|
1612
|
+
"type": "simple"
|
|
1613
|
+
},
|
|
1614
|
+
"type": "String"
|
|
1615
|
+
},
|
|
1616
|
+
{
|
|
1617
|
+
"id": "authentication.oauthTokenEndpoint",
|
|
1618
|
+
"label": "OAuth 2.0 token endpoint",
|
|
1619
|
+
"description": "The OAuth token endpoint",
|
|
1620
|
+
"optional": false,
|
|
1621
|
+
"constraints": {
|
|
1622
|
+
"notEmpty": true,
|
|
1623
|
+
"pattern": {
|
|
1624
|
+
"value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
|
|
1625
|
+
"message": "Must be a http(s) URL"
|
|
1626
|
+
}
|
|
1627
|
+
},
|
|
1628
|
+
"feel": "optional",
|
|
1629
|
+
"group": "authentication",
|
|
1630
|
+
"binding": {
|
|
1631
|
+
"name": "authentication.oauthTokenEndpoint",
|
|
1632
|
+
"type": "zeebe:input"
|
|
1633
|
+
},
|
|
1634
|
+
"condition": {
|
|
1635
|
+
"property": "authentication.type",
|
|
1636
|
+
"equals": "oauth-client-credentials-flow",
|
|
1637
|
+
"type": "simple"
|
|
1638
|
+
},
|
|
1639
|
+
"type": "String"
|
|
1640
|
+
},
|
|
1641
|
+
{
|
|
1642
|
+
"id": "authentication.clientId",
|
|
1643
|
+
"label": "Client ID",
|
|
1644
|
+
"description": "Your application's client ID from the OAuth client",
|
|
1645
|
+
"optional": false,
|
|
1646
|
+
"constraints": {
|
|
1647
|
+
"notEmpty": true
|
|
1648
|
+
},
|
|
1649
|
+
"feel": "optional",
|
|
1650
|
+
"group": "authentication",
|
|
1651
|
+
"binding": {
|
|
1652
|
+
"name": "authentication.clientId",
|
|
1653
|
+
"type": "zeebe:input"
|
|
1654
|
+
},
|
|
1655
|
+
"condition": {
|
|
1656
|
+
"property": "authentication.type",
|
|
1657
|
+
"equals": "oauth-client-credentials-flow",
|
|
1658
|
+
"type": "simple"
|
|
1659
|
+
},
|
|
1660
|
+
"type": "String"
|
|
1661
|
+
},
|
|
1662
|
+
{
|
|
1663
|
+
"id": "authentication.clientSecret",
|
|
1664
|
+
"label": "Client secret",
|
|
1665
|
+
"description": "Your application's client secret from the OAuth client",
|
|
1666
|
+
"optional": false,
|
|
1667
|
+
"constraints": {
|
|
1668
|
+
"notEmpty": true
|
|
1669
|
+
},
|
|
1670
|
+
"feel": "optional",
|
|
1671
|
+
"group": "authentication",
|
|
1672
|
+
"binding": {
|
|
1673
|
+
"name": "authentication.clientSecret",
|
|
1674
|
+
"type": "zeebe:input"
|
|
1675
|
+
},
|
|
1676
|
+
"condition": {
|
|
1677
|
+
"property": "authentication.type",
|
|
1678
|
+
"equals": "oauth-client-credentials-flow",
|
|
1679
|
+
"type": "simple"
|
|
1680
|
+
},
|
|
1681
|
+
"type": "String"
|
|
1682
|
+
},
|
|
1683
|
+
{
|
|
1684
|
+
"id": "authentication.audience",
|
|
1685
|
+
"label": "Audience",
|
|
1686
|
+
"description": "The unique identifier of the target API you want to access",
|
|
1687
|
+
"optional": true,
|
|
1688
|
+
"feel": "optional",
|
|
1689
|
+
"group": "authentication",
|
|
1690
|
+
"binding": {
|
|
1691
|
+
"name": "authentication.audience",
|
|
1692
|
+
"type": "zeebe:input"
|
|
1693
|
+
},
|
|
1694
|
+
"condition": {
|
|
1695
|
+
"property": "authentication.type",
|
|
1696
|
+
"equals": "oauth-client-credentials-flow",
|
|
1697
|
+
"type": "simple"
|
|
1698
|
+
},
|
|
1699
|
+
"type": "String"
|
|
1700
|
+
},
|
|
1701
|
+
{
|
|
1702
|
+
"id": "authentication.clientAuthentication",
|
|
1703
|
+
"label": "Client authentication",
|
|
1704
|
+
"description": "Send client ID and client secret as Basic Auth request in the header, or as client credentials in the request body",
|
|
1705
|
+
"optional": false,
|
|
1706
|
+
"constraints": {
|
|
1707
|
+
"notEmpty": true
|
|
1708
|
+
},
|
|
1709
|
+
"group": "authentication",
|
|
1710
|
+
"binding": {
|
|
1711
|
+
"name": "authentication.clientAuthentication",
|
|
1712
|
+
"type": "zeebe:input"
|
|
1713
|
+
},
|
|
1714
|
+
"condition": {
|
|
1715
|
+
"property": "authentication.type",
|
|
1716
|
+
"equals": "oauth-client-credentials-flow",
|
|
1717
|
+
"type": "simple"
|
|
1718
|
+
},
|
|
1719
|
+
"type": "Dropdown",
|
|
1720
|
+
"choices": [
|
|
1721
|
+
{
|
|
1722
|
+
"name": "Send client credentials in body",
|
|
1723
|
+
"value": "credentialsBody"
|
|
1724
|
+
},
|
|
1725
|
+
{
|
|
1726
|
+
"name": "Send as Basic Auth header",
|
|
1727
|
+
"value": "basicAuthHeader"
|
|
1728
|
+
}
|
|
1729
|
+
]
|
|
1730
|
+
},
|
|
1731
|
+
{
|
|
1732
|
+
"id": "authentication.scopes",
|
|
1733
|
+
"label": "Scopes",
|
|
1734
|
+
"description": "The scopes which you want to request authorization for (e.g.read:contacts)",
|
|
1735
|
+
"optional": true,
|
|
1736
|
+
"feel": "optional",
|
|
1737
|
+
"group": "authentication",
|
|
1738
|
+
"binding": {
|
|
1739
|
+
"name": "authentication.scopes",
|
|
1740
|
+
"type": "zeebe:input"
|
|
1741
|
+
},
|
|
1742
|
+
"condition": {
|
|
1743
|
+
"property": "authentication.type",
|
|
1744
|
+
"equals": "oauth-client-credentials-flow",
|
|
1745
|
+
"type": "simple"
|
|
1746
|
+
},
|
|
1747
|
+
"type": "String"
|
|
1748
|
+
},
|
|
1749
|
+
{
|
|
1750
|
+
"id": "method",
|
|
1751
|
+
"label": "Method",
|
|
1752
|
+
"optional": false,
|
|
1753
|
+
"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",
|
|
1754
|
+
"constraints": {
|
|
1755
|
+
"notEmpty": true
|
|
1756
|
+
},
|
|
1757
|
+
"group": "endpoint",
|
|
1758
|
+
"binding": {
|
|
1759
|
+
"name": "method",
|
|
1760
|
+
"type": "zeebe:input"
|
|
1761
|
+
},
|
|
1762
|
+
"type": "Hidden"
|
|
1763
|
+
},
|
|
1764
|
+
{
|
|
1765
|
+
"id": "url",
|
|
1766
|
+
"label": "URL",
|
|
1767
|
+
"optional": false,
|
|
1768
|
+
"constraints": {
|
|
1769
|
+
"notEmpty": true,
|
|
1770
|
+
"pattern": {
|
|
1771
|
+
"value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
|
|
1772
|
+
"message": "Must be a http(s) URL"
|
|
1773
|
+
}
|
|
1774
|
+
},
|
|
1775
|
+
"group": "endpoint",
|
|
1776
|
+
"binding": {
|
|
1777
|
+
"name": "url",
|
|
1778
|
+
"type": "zeebe:input"
|
|
1779
|
+
},
|
|
1780
|
+
"type": "Hidden",
|
|
1781
|
+
"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"
|
|
1782
|
+
},
|
|
1783
|
+
{
|
|
1784
|
+
"id": "headers",
|
|
1785
|
+
"label": "Headers",
|
|
1786
|
+
"description": "Map of HTTP headers to add to the request",
|
|
1787
|
+
"optional": true,
|
|
1788
|
+
"group": "endpoint",
|
|
1789
|
+
"binding": {
|
|
1790
|
+
"name": "headers",
|
|
1791
|
+
"type": "zeebe:input"
|
|
1792
|
+
},
|
|
1793
|
+
"type": "Hidden"
|
|
1794
|
+
},
|
|
1795
|
+
{
|
|
1796
|
+
"id": "queryParameters",
|
|
1797
|
+
"label": "Query parameters",
|
|
1798
|
+
"description": "Map of query parameters to add to the request URL",
|
|
1799
|
+
"optional": true,
|
|
1800
|
+
"group": "endpoint",
|
|
1801
|
+
"binding": {
|
|
1802
|
+
"name": "queryParameters",
|
|
1803
|
+
"type": "zeebe:input"
|
|
1804
|
+
},
|
|
1805
|
+
"type": "Hidden",
|
|
1806
|
+
"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 }",
|
|
1807
|
+
"condition": {
|
|
1808
|
+
"property": "operationGroup",
|
|
1809
|
+
"equals": "read"
|
|
1810
|
+
}
|
|
1811
|
+
},
|
|
1812
|
+
{
|
|
1813
|
+
"id": "storeResponse",
|
|
1814
|
+
"label": "Store response",
|
|
1815
|
+
"description": "Store the response as a document in the document store",
|
|
1816
|
+
"optional": false,
|
|
1817
|
+
"value": "=false",
|
|
1818
|
+
"group": "endpoint",
|
|
1819
|
+
"binding": {
|
|
1820
|
+
"name": "storeResponse",
|
|
1821
|
+
"type": "zeebe:input"
|
|
1822
|
+
},
|
|
1823
|
+
"type": "Hidden"
|
|
1824
|
+
},
|
|
1825
|
+
{
|
|
1826
|
+
"id": "skipEncoding",
|
|
1827
|
+
"label": "Skip URL encoding",
|
|
1828
|
+
"description": "Skip the default URL decoding and encoding behavior",
|
|
1829
|
+
"optional": true,
|
|
1830
|
+
"value": "=true",
|
|
1831
|
+
"group": "endpoint",
|
|
1832
|
+
"binding": {
|
|
1833
|
+
"name": "skipEncoding",
|
|
1834
|
+
"type": "zeebe:input"
|
|
1835
|
+
},
|
|
1836
|
+
"type": "Hidden"
|
|
1837
|
+
},
|
|
1838
|
+
{
|
|
1839
|
+
"id": "connectionTimeoutInSeconds",
|
|
1840
|
+
"label": "Connection timeout in seconds",
|
|
1841
|
+
"description": "Defines the connection timeout in seconds, or 0 for an infinite timeout",
|
|
1842
|
+
"optional": false,
|
|
1843
|
+
"value": "=20",
|
|
1844
|
+
"constraints": {
|
|
1845
|
+
"notEmpty": true,
|
|
1846
|
+
"pattern": {
|
|
1847
|
+
"value": "^\\d+$",
|
|
1848
|
+
"message": "Must be a number"
|
|
1849
|
+
}
|
|
1850
|
+
},
|
|
1851
|
+
"feel": "static",
|
|
1852
|
+
"group": "timeout",
|
|
1853
|
+
"binding": {
|
|
1854
|
+
"name": "connectionTimeoutInSeconds",
|
|
1855
|
+
"type": "zeebe:input"
|
|
1856
|
+
},
|
|
1857
|
+
"type": "Number"
|
|
1858
|
+
},
|
|
1859
|
+
{
|
|
1860
|
+
"id": "readTimeoutInSeconds",
|
|
1861
|
+
"label": "Read timeout in seconds",
|
|
1862
|
+
"description": "Timeout in seconds to read data from an established connection or 0 for an infinite timeout",
|
|
1863
|
+
"optional": false,
|
|
1864
|
+
"value": "=20",
|
|
1865
|
+
"constraints": {
|
|
1866
|
+
"notEmpty": true,
|
|
1867
|
+
"pattern": {
|
|
1868
|
+
"value": "^\\d+$",
|
|
1869
|
+
"message": "Must be a number"
|
|
1870
|
+
}
|
|
1871
|
+
},
|
|
1872
|
+
"feel": "static",
|
|
1873
|
+
"group": "timeout",
|
|
1874
|
+
"binding": {
|
|
1875
|
+
"name": "readTimeoutInSeconds",
|
|
1876
|
+
"type": "zeebe:input"
|
|
1877
|
+
},
|
|
1878
|
+
"type": "Number"
|
|
1879
|
+
},
|
|
1880
|
+
{
|
|
1881
|
+
"id": "resultVariable",
|
|
1882
|
+
"label": "Result variable",
|
|
1883
|
+
"description": "Name of variable to store the response in",
|
|
1884
|
+
"group": "output",
|
|
1885
|
+
"binding": {
|
|
1886
|
+
"key": "resultVariable",
|
|
1887
|
+
"type": "zeebe:taskHeader"
|
|
1888
|
+
},
|
|
1889
|
+
"type": "String",
|
|
1890
|
+
"value": "snQueryResult"
|
|
1891
|
+
},
|
|
1892
|
+
{
|
|
1893
|
+
"id": "resultExpression",
|
|
1894
|
+
"label": "Result expression",
|
|
1895
|
+
"description": "Expression to map the response into process variables",
|
|
1896
|
+
"feel": "required",
|
|
1897
|
+
"group": "output",
|
|
1898
|
+
"binding": {
|
|
1899
|
+
"key": "resultExpression",
|
|
1900
|
+
"type": "zeebe:taskHeader"
|
|
1901
|
+
},
|
|
1902
|
+
"type": "Text"
|
|
1903
|
+
},
|
|
1904
|
+
{
|
|
1905
|
+
"id": "errorExpression",
|
|
1906
|
+
"label": "Error expression",
|
|
1907
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
|
|
1908
|
+
"feel": "required",
|
|
1909
|
+
"group": "error",
|
|
1910
|
+
"binding": {
|
|
1911
|
+
"key": "errorExpression",
|
|
1912
|
+
"type": "zeebe:taskHeader"
|
|
1913
|
+
},
|
|
1914
|
+
"type": "Text"
|
|
1915
|
+
},
|
|
1916
|
+
{
|
|
1917
|
+
"id": "retryCount",
|
|
1918
|
+
"label": "Retries",
|
|
1919
|
+
"description": "Number of retries",
|
|
1920
|
+
"value": "3",
|
|
1921
|
+
"feel": "optional",
|
|
1922
|
+
"group": "retries",
|
|
1923
|
+
"binding": {
|
|
1924
|
+
"property": "retries",
|
|
1925
|
+
"type": "zeebe:taskDefinition"
|
|
1926
|
+
},
|
|
1927
|
+
"type": "String"
|
|
1928
|
+
},
|
|
1929
|
+
{
|
|
1930
|
+
"id": "retryBackoff",
|
|
1931
|
+
"label": "Retry backoff",
|
|
1932
|
+
"description": "ISO-8601 duration to wait between retries",
|
|
1933
|
+
"value": "PT0S",
|
|
1934
|
+
"group": "retries",
|
|
1935
|
+
"binding": {
|
|
1936
|
+
"key": "retryBackoff",
|
|
1937
|
+
"type": "zeebe:taskHeader"
|
|
1938
|
+
},
|
|
1939
|
+
"type": "String"
|
|
1940
|
+
}
|
|
1941
|
+
],
|
|
1942
|
+
"icon": {
|
|
1943
|
+
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTEyIiBoZWlnaHQ9IjUxMiIgdmlld0JveD0iMCAwIDUxMiA1MTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxyZWN0IHdpZHRoPSI1MTIiIGhlaWdodD0iNTEyIiBmaWxsPSJ3aGl0ZSIgZmlsbC1vcGFjaXR5PSIwLjAxIiBzdHlsZT0ibWl4LWJsZW5kLW1vZGU6bXVsdGlwbHkiLz4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yNTUuOTA1IDQyMS40NDJDMTgxLjk1OCA0MjEuNDQyIDEzMS4zMzggMzY1LjcxNSAxMzEuMzM4IDI5Ni43ODdDMTMxLjMzOCAyMjcuODI3IDE4MS45NTggMTcxLjE2NyAyNTUuOTA1IDE3MS4xNjdDMzI5Ljg5MiAxNzEuMTY3IDM4MC40NzEgMjI3LjgyNyAzODAuNDcxIDI5Ni43ODdDMzgwLjQ3MSAzNjUuNzE1IDMyOS44OTIgNDIxLjQ0MiAyNTUuOTA1IDQyMS40NDJaTTI1Ny4zNjIgNDYuMDM3MUMxMjAuODM4IDQ1LjI0NzUgNy45MjUyOCAxNTcuMDQ5IDYuNzcyMDcgMjk0LjE5M0M2LjE4NTM1IDM2Ni43OSAzNi4zNzExIDQzMi4zMzMgODUuMDI4MyA0NzguNDE5QzEwMi43MzEgNDk1LjE3MSAxMzAuMDg0IDQ5Ni44IDE0OS4yNjQgNDgxLjgyQzE3Ny42MjkgNDU5LjY1OSAyMTQuMDQ2IDQ0Ni40NTggMjU1LjkwNSA0NDYuNDU4QzI5Ny43NjQgNDQ2LjQ1OCAzMzQuMTgxIDQ1OS42NjcgMzYyLjU0NiA0ODEuODJDMzgxLjkwOCA0OTYuOTI2IDQwOS4zNjIgNDk0Ljk4OSA0MjcuMTY2IDQ3OC4wNTVDNDc1LjExNSA0MzIuNDQ0IDUwNS4wNTggMzY3Ljg2NiA1MDUuMDU4IDI5Ni4zMDVDNTA1LjA1OCAxNTguNTgzIDM5NC4yNjkgNDYuODI4OCAyNTcuMzYyIDQ2LjAzNzFaIiBmaWxsPSIjNkFDNjNGIi8+CjxjaXJjbGUgY3g9IjM4MC42MTgiIGN5PSIxNDQuNTI1IiByPSIxMjQuNjE4IiBmaWxsPSIjREExRTI4Ii8+CjxwYXRoIGQ9Ik0zMDUuNDg1IDE3MC40OTRMMzIwLjQ3OCAxOTYuNTA5TDM2NS4xOTQgMTcwLjY1MlYyMTkuNzIzSDM5NS4xOFYxNzAuNjQzTDQ0MC4zOTQgMTk2Ljc4OEw0NTUuMzg2IDE3MC43NzJMNDEwLjE4MyAxNDQuNjM0TDQ1NS4yMzkgMTE4LjU4MUw0NDAuMjQ2IDkyLjU2NjFMMzk1LjE4IDExOC42MjdWNjkuNTU3N0gzNjUuMTk0VjExOC42MkwzMjAuMjEzIDkyLjYxMTFMMzA1LjIyMSAxMTguNjI2TDM1MC4yMDEgMTQ0LjYzNEwzMDUuNDg1IDE3MC40OTRaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"
|
|
1944
|
+
}
|
|
968
1945
|
}
|
|
969
1946
|
]
|