-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtemplate-connector-message-start-event.json
201 lines (201 loc) · 5.74 KB
/
template-connector-message-start-event.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
{
"$schema" : "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
"name" : "Template connector (Message Start Event)",
"id" : "io.camunda.connector.Template.v1:MessageStartEvent",
"description" : "Describe this connector",
"metadata" : {
"keywords" : [ ]
},
"documentationRef" : "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/available-connectors-overview/",
"version" : 1,
"category" : {
"id" : "connectors",
"name" : "Connectors"
},
"appliesTo" : [ "bpmn:StartEvent" ],
"elementType" : {
"value" : "bpmn:StartEvent",
"eventDefinition" : "bpmn:MessageEventDefinition"
},
"groups" : [ {
"id" : "properties",
"label" : "Properties"
}, {
"id" : "activation",
"label" : "Activation"
}, {
"id" : "correlation",
"label" : "Correlation",
"tooltip" : "Learn more about message correlation in the <a href=\"https://docs.camunda.io/docs/components/concepts/messages/#message-correlation-overview\">documentation</a>."
}, {
"id" : "output",
"label" : "Output mapping"
} ],
"properties" : [ {
"value" : "io.camunda:my-inbound-connector:1",
"binding" : {
"name" : "inbound.type",
"type" : "zeebe:property"
},
"type" : "Hidden"
}, {
"id" : "sender",
"label" : "Sender",
"optional" : false,
"constraints" : {
"notEmpty" : true
},
"feel" : "optional",
"group" : "properties",
"binding" : {
"name" : "sender",
"type" : "zeebe:property"
},
"type" : "String"
}, {
"id" : "messagesPerMinute",
"label" : "Message per minute",
"optional" : false,
"feel" : "optional",
"group" : "properties",
"binding" : {
"name" : "messagesPerMinute",
"type" : "zeebe:property"
},
"type" : "String"
}, {
"id" : "activationCondition",
"label" : "Activation condition",
"description" : "Condition under which the Connector triggers. Leave empty to catch all events",
"optional" : true,
"feel" : "required",
"group" : "activation",
"binding" : {
"name" : "activationCondition",
"type" : "zeebe:property"
},
"type" : "String"
}, {
"id" : "correlationRequired",
"label" : "Subprocess correlation required",
"description" : "Indicates whether correlation is required. This is needed for event-based subprocess message start events",
"value" : "notRequired",
"group" : "correlation",
"binding" : {
"name" : "correlationRequired",
"type" : "zeebe:property"
},
"type" : "Dropdown",
"choices" : [ {
"name" : "Correlation not required",
"value" : "notRequired"
}, {
"name" : "Correlation required",
"value" : "required"
} ]
}, {
"id" : "correlationKeyProcess",
"label" : "Correlation key (process)",
"description" : "Sets up the correlation key from process variables",
"constraints" : {
"notEmpty" : true
},
"feel" : "required",
"group" : "correlation",
"binding" : {
"name" : "correlationKey",
"type" : "bpmn:Message#zeebe:subscription#property"
},
"condition" : {
"property" : "correlationRequired",
"equals" : "required",
"type" : "simple"
},
"type" : "String"
}, {
"id" : "correlationKeyPayload",
"label" : "Correlation key (payload)",
"description" : "Extracts the correlation key from the incoming message payload",
"constraints" : {
"notEmpty" : true
},
"feel" : "required",
"group" : "correlation",
"binding" : {
"name" : "correlationKeyExpression",
"type" : "zeebe:property"
},
"condition" : {
"property" : "correlationRequired",
"equals" : "required",
"type" : "simple"
},
"type" : "String"
}, {
"id" : "messageTtl",
"label" : "Message TTL",
"description" : "Time-to-live for the message in the broker (ISO-8601 duration)",
"optional" : true,
"constraints" : {
"notEmpty" : false,
"pattern" : {
"value" : "^(PT.*|)$",
"message" : "must be an ISO-8601 duration"
}
},
"feel" : "optional",
"group" : "correlation",
"binding" : {
"name" : "messageTtl",
"type" : "zeebe:property"
},
"type" : "String"
}, {
"id" : "messageIdExpression",
"label" : "Message ID expression",
"description" : "Expression to extract unique identifier of a message",
"optional" : true,
"feel" : "required",
"group" : "correlation",
"binding" : {
"name" : "messageIdExpression",
"type" : "zeebe:property"
},
"type" : "String"
}, {
"id" : "messageNameUuid",
"generatedValue" : {
"type" : "uuid"
},
"group" : "correlation",
"binding" : {
"name" : "name",
"type" : "bpmn:Message#property"
},
"type" : "Hidden"
}, {
"id" : "resultVariable",
"label" : "Result variable",
"description" : "Name of variable to store the response in",
"group" : "output",
"binding" : {
"name" : "resultVariable",
"type" : "zeebe:property"
},
"type" : "String"
}, {
"id" : "resultExpression",
"label" : "Result expression",
"description" : "Expression to map the response into process variables",
"feel" : "required",
"group" : "output",
"binding" : {
"name" : "resultExpression",
"type" : "zeebe:property"
},
"type" : "Text"
} ],
"icon" : {
"contents" : "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTgiIHdpZHRoPSIxOCIgdmlld0JveD0iMCAwIDEwIDEwIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+PHRpdGxlPlNsYWNrPC90aXRsZT48ZyBmaWxsPSJub25lIj48cGF0aCBkPSJNMCwwIEwwLDEwIEwxMCwxMCBMMTAsMCB6IiBmaWxsPSIjZWNiMTJmIi8+PC9nPjwvc3ZnPg=="
}
}