@5minds/node-red-contrib-processcube 0.3.3 → 0.3.5-feature-1092e6-lxhvslzu
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/Dockerfile +8 -5
- package/docker-compose.yml +6 -6
- package/{.node-red/data/flows.json → nodered/.node-red-contrib-processcube-flows.json.backup} +128 -0
- package/nodered/node-red-contrib-processcube-flows.json +1007 -0
- package/nodered/package.json +16 -0
- package/nodered/sample_fields.json +159 -0
- package/package.json +5 -2
- package/processes/SampleUserTask.bpmn +76 -0
- package/usertask-input.html +31 -0
- package/usertask-input.js +64 -0
- package/usertask-output.html +31 -0
- package/usertask-output.js +45 -0
- package/.node-red/data/.config.nodes.json +0 -563
- package/.node-red/data/.config.nodes.json.backup +0 -563
- package/.node-red/data/.config.runtime.json +0 -4
- package/.node-red/data/.config.runtime.json.backup +0 -3
- package/.node-red/data/.config.users.json +0 -22
- package/.node-red/data/.config.users.json.backup +0 -22
- package/.node-red/data/package-lock.json +0 -19
- package/.node-red/data/package.json +0 -6
- package/.node-red/data/settings.js +0 -560
@@ -0,0 +1,1007 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"id": "a23d2e782beb66f4",
|
4
|
+
"type": "tab",
|
5
|
+
"label": "Flow 1",
|
6
|
+
"disabled": false,
|
7
|
+
"info": "",
|
8
|
+
"env": []
|
9
|
+
},
|
10
|
+
{
|
11
|
+
"id": "fd3c725340de4f74",
|
12
|
+
"type": "tab",
|
13
|
+
"label": "Flow 2",
|
14
|
+
"disabled": false,
|
15
|
+
"info": "",
|
16
|
+
"env": []
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"id": "405f8c703368777c",
|
20
|
+
"type": "group",
|
21
|
+
"z": "fd3c725340de4f74",
|
22
|
+
"style": {
|
23
|
+
"stroke": "#999999",
|
24
|
+
"stroke-opacity": "1",
|
25
|
+
"fill": "none",
|
26
|
+
"fill-opacity": "1",
|
27
|
+
"label": true,
|
28
|
+
"label-position": "nw",
|
29
|
+
"color": "#a4a4a4"
|
30
|
+
},
|
31
|
+
"nodes": [
|
32
|
+
"ec0be0ef92746967",
|
33
|
+
"090d42845540049c",
|
34
|
+
"846c5269df75c7a1",
|
35
|
+
"4267576c32c782ec",
|
36
|
+
"68cf69be67688af6",
|
37
|
+
"bcfb8893adeb57ed"
|
38
|
+
],
|
39
|
+
"x": 34,
|
40
|
+
"y": 19,
|
41
|
+
"w": 752,
|
42
|
+
"h": 222
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"id": "d042a4c68f51d6ab",
|
46
|
+
"type": "processcube-engine-config",
|
47
|
+
"url": "http://engine:8000"
|
48
|
+
},
|
49
|
+
{
|
50
|
+
"id": "84f18cf9bf25b858",
|
51
|
+
"type": "openApi-red",
|
52
|
+
"z": "a23d2e782beb66f4",
|
53
|
+
"name": "Engine",
|
54
|
+
"openApiUrl": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger",
|
55
|
+
"configUrlNode": "",
|
56
|
+
"api": "ExternalTasks",
|
57
|
+
"server": "",
|
58
|
+
"keepAuth": false,
|
59
|
+
"alternServer": false,
|
60
|
+
"operation": "get/external_tasks/deployed_topics",
|
61
|
+
"operationData": {
|
62
|
+
"description": "Fetches a list of all ExternalTask topics from all deployed Process Models.",
|
63
|
+
"tags": [
|
64
|
+
"ExternalTasks"
|
65
|
+
],
|
66
|
+
"responses": {
|
67
|
+
"200": {
|
68
|
+
"description": "A list of all ExternalTask topics from all deployed Process Models.",
|
69
|
+
"content": {
|
70
|
+
"application/json": {
|
71
|
+
"schema": {
|
72
|
+
"description": "A list of all ExternalTask topics from all deployed Process Models.",
|
73
|
+
"type": "array",
|
74
|
+
"items": {
|
75
|
+
"type": "string"
|
76
|
+
},
|
77
|
+
"example": [
|
78
|
+
"myTopic",
|
79
|
+
"myOtherTopic",
|
80
|
+
"myThirdTopic",
|
81
|
+
"myFourthTopic"
|
82
|
+
]
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
},
|
88
|
+
"security": [
|
89
|
+
{
|
90
|
+
"bearerAuth": []
|
91
|
+
}
|
92
|
+
],
|
93
|
+
"operationId": "get/external_tasks/deployed_topics",
|
94
|
+
"withoutOriginalOpId": true,
|
95
|
+
"pathName": "/external_tasks/deployed_topics",
|
96
|
+
"method": "get",
|
97
|
+
"path": "/external_tasks/deployed_topics"
|
98
|
+
},
|
99
|
+
"errorHandling": "throw exception",
|
100
|
+
"internalErrors": {
|
101
|
+
"readUrl": false,
|
102
|
+
"parameters": false
|
103
|
+
},
|
104
|
+
"parameters": [],
|
105
|
+
"requestContentType": "application/json",
|
106
|
+
"responseContentType": "application/json",
|
107
|
+
"showDescription": true,
|
108
|
+
"devMode": false,
|
109
|
+
"outputs": 1,
|
110
|
+
"_version": "1.2.5",
|
111
|
+
"x": 310,
|
112
|
+
"y": 360,
|
113
|
+
"wires": [
|
114
|
+
[
|
115
|
+
"ee2e9eb1d613da90"
|
116
|
+
]
|
117
|
+
]
|
118
|
+
},
|
119
|
+
{
|
120
|
+
"id": "ee2e9eb1d613da90",
|
121
|
+
"type": "debug",
|
122
|
+
"z": "a23d2e782beb66f4",
|
123
|
+
"name": "debug 2",
|
124
|
+
"active": true,
|
125
|
+
"tosidebar": true,
|
126
|
+
"console": false,
|
127
|
+
"tostatus": false,
|
128
|
+
"complete": "false",
|
129
|
+
"statusVal": "",
|
130
|
+
"statusType": "auto",
|
131
|
+
"x": 500,
|
132
|
+
"y": 360,
|
133
|
+
"wires": []
|
134
|
+
},
|
135
|
+
{
|
136
|
+
"id": "2d115b489271921f",
|
137
|
+
"type": "inject",
|
138
|
+
"z": "a23d2e782beb66f4",
|
139
|
+
"name": "",
|
140
|
+
"props": [
|
141
|
+
{
|
142
|
+
"p": "payload"
|
143
|
+
},
|
144
|
+
{
|
145
|
+
"p": "topic",
|
146
|
+
"vt": "str"
|
147
|
+
},
|
148
|
+
{
|
149
|
+
"p": "openApiToken",
|
150
|
+
"v": "ZHVtbXlfdG9rZW4=",
|
151
|
+
"vt": "str"
|
152
|
+
}
|
153
|
+
],
|
154
|
+
"repeat": "",
|
155
|
+
"crontab": "",
|
156
|
+
"once": false,
|
157
|
+
"onceDelay": 0.1,
|
158
|
+
"topic": "",
|
159
|
+
"payload": "go",
|
160
|
+
"payloadType": "str",
|
161
|
+
"x": 90,
|
162
|
+
"y": 360,
|
163
|
+
"wires": [
|
164
|
+
[
|
165
|
+
"84f18cf9bf25b858"
|
166
|
+
]
|
167
|
+
]
|
168
|
+
},
|
169
|
+
{
|
170
|
+
"id": "4c80d7de3e3b9e51",
|
171
|
+
"type": "externaltask-input",
|
172
|
+
"z": "a23d2e782beb66f4",
|
173
|
+
"name": "processmodels",
|
174
|
+
"engine": "d042a4c68f51d6ab",
|
175
|
+
"topic": "processmodels",
|
176
|
+
"x": 100,
|
177
|
+
"y": 460,
|
178
|
+
"wires": [
|
179
|
+
[
|
180
|
+
"548bec9dd5260598"
|
181
|
+
]
|
182
|
+
]
|
183
|
+
},
|
184
|
+
{
|
185
|
+
"id": "c2acc73b60c2efc6",
|
186
|
+
"type": "externaltask-output",
|
187
|
+
"z": "a23d2e782beb66f4",
|
188
|
+
"name": "processmodels end",
|
189
|
+
"x": 970,
|
190
|
+
"y": 460,
|
191
|
+
"wires": []
|
192
|
+
},
|
193
|
+
{
|
194
|
+
"id": "f0e993037904bc90",
|
195
|
+
"type": "function",
|
196
|
+
"z": "a23d2e782beb66f4",
|
197
|
+
"name": "set access token",
|
198
|
+
"func": "msg.openApiToken = \"ZHVtbXlfdG9rZW4=\";\n\nreturn msg;",
|
199
|
+
"outputs": 1,
|
200
|
+
"timeout": 0,
|
201
|
+
"noerr": 0,
|
202
|
+
"initialize": "",
|
203
|
+
"finalize": "",
|
204
|
+
"libs": [],
|
205
|
+
"x": 490,
|
206
|
+
"y": 460,
|
207
|
+
"wires": [
|
208
|
+
[
|
209
|
+
"8ddbc0d73cec1cdc",
|
210
|
+
"3b1997a0ca78f819"
|
211
|
+
]
|
212
|
+
]
|
213
|
+
},
|
214
|
+
{
|
215
|
+
"id": "8ddbc0d73cec1cdc",
|
216
|
+
"type": "openApi-red",
|
217
|
+
"z": "a23d2e782beb66f4",
|
218
|
+
"name": "",
|
219
|
+
"openApiUrl": "http://engine:8000/atlas_engine/api/v1/swagger",
|
220
|
+
"configUrlNode": "",
|
221
|
+
"api": "ProcessModels",
|
222
|
+
"server": "",
|
223
|
+
"keepAuth": false,
|
224
|
+
"alternServer": false,
|
225
|
+
"operation": "get/process_models",
|
226
|
+
"operationData": {
|
227
|
+
"description": "Gets all currently deployed Process Models.",
|
228
|
+
"tags": [
|
229
|
+
"ProcessModels"
|
230
|
+
],
|
231
|
+
"responses": {
|
232
|
+
"200": {
|
233
|
+
"content": {
|
234
|
+
"application/json": {
|
235
|
+
"schema": {
|
236
|
+
"description": "A list of ProcessModels.",
|
237
|
+
"type": "object",
|
238
|
+
"required": [
|
239
|
+
"processModels",
|
240
|
+
"totalCount"
|
241
|
+
],
|
242
|
+
"properties": {
|
243
|
+
"processModels": {
|
244
|
+
"description": "The ProcessModels.",
|
245
|
+
"type": "array",
|
246
|
+
"items": {
|
247
|
+
"description": "A ProcessModel.",
|
248
|
+
"type": "object",
|
249
|
+
"required": [
|
250
|
+
"processDefinitionId",
|
251
|
+
"processModelId",
|
252
|
+
"isExecutable",
|
253
|
+
"startEvents",
|
254
|
+
"endEvents",
|
255
|
+
"flowNodes"
|
256
|
+
],
|
257
|
+
"properties": {
|
258
|
+
"processDefinitionId": {
|
259
|
+
"description": "The ID of the ProcessDefinition that contains the ProcessModel.",
|
260
|
+
"type": "string"
|
261
|
+
},
|
262
|
+
"processModelId": {
|
263
|
+
"description": "The ID of the ProcessModel.",
|
264
|
+
"type": "string"
|
265
|
+
},
|
266
|
+
"processModelName": {
|
267
|
+
"description": "The name of the ProcessModel.",
|
268
|
+
"type": "string"
|
269
|
+
},
|
270
|
+
"version": {
|
271
|
+
"description": "The version of the ProcessModel.",
|
272
|
+
"type": "string"
|
273
|
+
},
|
274
|
+
"isExecutable": {
|
275
|
+
"description": "A flag indicating whether the ProcessModel can be started.",
|
276
|
+
"type": "boolean"
|
277
|
+
},
|
278
|
+
"startEvents": {
|
279
|
+
"description": "The StartEvents contained in the ProcessModel.",
|
280
|
+
"type": "array",
|
281
|
+
"items": {
|
282
|
+
"description": "A StartEvent.",
|
283
|
+
"type": "object",
|
284
|
+
"required": [
|
285
|
+
"id",
|
286
|
+
"customProperties",
|
287
|
+
"processModelId"
|
288
|
+
],
|
289
|
+
"properties": {
|
290
|
+
"id": {
|
291
|
+
"type": "string",
|
292
|
+
"description": "The ID of the BaseElement."
|
293
|
+
},
|
294
|
+
"customProperties": {
|
295
|
+
"type": "object",
|
296
|
+
"description": "The custom properties of the BaseElement.",
|
297
|
+
"additionalProperties": {
|
298
|
+
"type": "string"
|
299
|
+
}
|
300
|
+
},
|
301
|
+
"documentation": {
|
302
|
+
"type": "array",
|
303
|
+
"description": "The documentation of the BaseElement.",
|
304
|
+
"items": {
|
305
|
+
"type": "string"
|
306
|
+
}
|
307
|
+
},
|
308
|
+
"processModelId": {
|
309
|
+
"type": "string",
|
310
|
+
"description": "The ID of the ProcessModel that contains the BaseElement."
|
311
|
+
},
|
312
|
+
"processModelName": {
|
313
|
+
"type": "string",
|
314
|
+
"description": "The name of the ProcessModel that contains the BaseElement."
|
315
|
+
},
|
316
|
+
"name": {
|
317
|
+
"description": "The name of the FlowNode.",
|
318
|
+
"type": "string"
|
319
|
+
},
|
320
|
+
"flowNodeType": {
|
321
|
+
"description": "The type of a BPMN element.",
|
322
|
+
"type": "string",
|
323
|
+
"enum": [
|
324
|
+
"bpmn:Task",
|
325
|
+
"bpmn:BusinessRuleTask",
|
326
|
+
"bpmn:UserTask",
|
327
|
+
"bpmn:ExclusiveGateway",
|
328
|
+
"bpmn:ParallelGateway",
|
329
|
+
"bpmn:ServiceTask",
|
330
|
+
"bpmn:StartEvent",
|
331
|
+
"bpmn:EndEvent",
|
332
|
+
"bpmn:IntermediateCatchEvent",
|
333
|
+
"bpmn:IntermediateThrowEvent",
|
334
|
+
"bpmn:ScriptTask",
|
335
|
+
"bpmn:BoundaryEvent",
|
336
|
+
"bpmn:CallActivity",
|
337
|
+
"bpmn:SubProcess",
|
338
|
+
"bpmn:ManualTask",
|
339
|
+
"bpmn:ComplexGateway",
|
340
|
+
"bpmn:InclusiveGateway",
|
341
|
+
"bpmn:EventBasedGateway",
|
342
|
+
"bpmn:SendTask",
|
343
|
+
"bpmn:ReceiveTask"
|
344
|
+
],
|
345
|
+
"$$ref": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger#/components/schemas/BpmnType"
|
346
|
+
},
|
347
|
+
"timerType": {
|
348
|
+
"description": "The type of the timer.",
|
349
|
+
"type": "string"
|
350
|
+
},
|
351
|
+
"timerValue": {
|
352
|
+
"description": "The value of the timer.",
|
353
|
+
"type": "string"
|
354
|
+
}
|
355
|
+
},
|
356
|
+
"$$ref": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger#/components/schemas/StartEventViewModel"
|
357
|
+
}
|
358
|
+
},
|
359
|
+
"endEvents": {
|
360
|
+
"description": "The EndEvents contained in the ProcessModel.",
|
361
|
+
"type": "array",
|
362
|
+
"items": {
|
363
|
+
"description": "An EndEvent.",
|
364
|
+
"type": "object",
|
365
|
+
"required": [
|
366
|
+
"id",
|
367
|
+
"customProperties",
|
368
|
+
"processModelId"
|
369
|
+
],
|
370
|
+
"properties": {
|
371
|
+
"id": {
|
372
|
+
"type": "string",
|
373
|
+
"description": "The ID of the BaseElement."
|
374
|
+
},
|
375
|
+
"customProperties": {
|
376
|
+
"type": "object",
|
377
|
+
"description": "The custom properties of the BaseElement.",
|
378
|
+
"additionalProperties": {
|
379
|
+
"type": "string"
|
380
|
+
}
|
381
|
+
},
|
382
|
+
"documentation": {
|
383
|
+
"type": "array",
|
384
|
+
"description": "The documentation of the BaseElement.",
|
385
|
+
"items": {
|
386
|
+
"type": "string"
|
387
|
+
}
|
388
|
+
},
|
389
|
+
"processModelId": {
|
390
|
+
"type": "string",
|
391
|
+
"description": "The ID of the ProcessModel that contains the BaseElement."
|
392
|
+
},
|
393
|
+
"processModelName": {
|
394
|
+
"type": "string",
|
395
|
+
"description": "The name of the ProcessModel that contains the BaseElement."
|
396
|
+
},
|
397
|
+
"name": {
|
398
|
+
"description": "The name of the FlowNode.",
|
399
|
+
"type": "string"
|
400
|
+
},
|
401
|
+
"flowNodeType": {
|
402
|
+
"description": "The type of a BPMN element.",
|
403
|
+
"type": "string",
|
404
|
+
"enum": [
|
405
|
+
"bpmn:Task",
|
406
|
+
"bpmn:BusinessRuleTask",
|
407
|
+
"bpmn:UserTask",
|
408
|
+
"bpmn:ExclusiveGateway",
|
409
|
+
"bpmn:ParallelGateway",
|
410
|
+
"bpmn:ServiceTask",
|
411
|
+
"bpmn:StartEvent",
|
412
|
+
"bpmn:EndEvent",
|
413
|
+
"bpmn:IntermediateCatchEvent",
|
414
|
+
"bpmn:IntermediateThrowEvent",
|
415
|
+
"bpmn:ScriptTask",
|
416
|
+
"bpmn:BoundaryEvent",
|
417
|
+
"bpmn:CallActivity",
|
418
|
+
"bpmn:SubProcess",
|
419
|
+
"bpmn:ManualTask",
|
420
|
+
"bpmn:ComplexGateway",
|
421
|
+
"bpmn:InclusiveGateway",
|
422
|
+
"bpmn:EventBasedGateway",
|
423
|
+
"bpmn:SendTask",
|
424
|
+
"bpmn:ReceiveTask"
|
425
|
+
],
|
426
|
+
"$$ref": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger#/components/schemas/BpmnType"
|
427
|
+
},
|
428
|
+
"errorName": {
|
429
|
+
"description": "The name of the error.",
|
430
|
+
"type": "string"
|
431
|
+
},
|
432
|
+
"errorCode": {
|
433
|
+
"description": "The code of the error.",
|
434
|
+
"type": "string"
|
435
|
+
},
|
436
|
+
"errorMessage": {
|
437
|
+
"description": "The message of the error.",
|
438
|
+
"type": "string"
|
439
|
+
}
|
440
|
+
},
|
441
|
+
"$$ref": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger#/components/schemas/EndEventViewModel"
|
442
|
+
}
|
443
|
+
},
|
444
|
+
"flowNodes": {
|
445
|
+
"description": "The FlowNodes contained in the ProcessModel.",
|
446
|
+
"type": "array",
|
447
|
+
"items": {
|
448
|
+
"description": "A FlowNode.",
|
449
|
+
"type": "object",
|
450
|
+
"required": [
|
451
|
+
"id",
|
452
|
+
"customProperties",
|
453
|
+
"processModelId"
|
454
|
+
],
|
455
|
+
"properties": {
|
456
|
+
"id": {
|
457
|
+
"type": "string",
|
458
|
+
"description": "The ID of the BaseElement."
|
459
|
+
},
|
460
|
+
"customProperties": {
|
461
|
+
"type": "object",
|
462
|
+
"description": "The custom properties of the BaseElement.",
|
463
|
+
"additionalProperties": {
|
464
|
+
"type": "string"
|
465
|
+
}
|
466
|
+
},
|
467
|
+
"documentation": {
|
468
|
+
"type": "array",
|
469
|
+
"description": "The documentation of the BaseElement.",
|
470
|
+
"items": {
|
471
|
+
"type": "string"
|
472
|
+
}
|
473
|
+
},
|
474
|
+
"processModelId": {
|
475
|
+
"type": "string",
|
476
|
+
"description": "The ID of the ProcessModel that contains the BaseElement."
|
477
|
+
},
|
478
|
+
"processModelName": {
|
479
|
+
"type": "string",
|
480
|
+
"description": "The name of the ProcessModel that contains the BaseElement."
|
481
|
+
},
|
482
|
+
"name": {
|
483
|
+
"description": "The name of the FlowNode.",
|
484
|
+
"type": "string"
|
485
|
+
},
|
486
|
+
"flowNodeType": {
|
487
|
+
"description": "The type of a BPMN element.",
|
488
|
+
"type": "string",
|
489
|
+
"enum": [
|
490
|
+
"bpmn:Task",
|
491
|
+
"bpmn:BusinessRuleTask",
|
492
|
+
"bpmn:UserTask",
|
493
|
+
"bpmn:ExclusiveGateway",
|
494
|
+
"bpmn:ParallelGateway",
|
495
|
+
"bpmn:ServiceTask",
|
496
|
+
"bpmn:StartEvent",
|
497
|
+
"bpmn:EndEvent",
|
498
|
+
"bpmn:IntermediateCatchEvent",
|
499
|
+
"bpmn:IntermediateThrowEvent",
|
500
|
+
"bpmn:ScriptTask",
|
501
|
+
"bpmn:BoundaryEvent",
|
502
|
+
"bpmn:CallActivity",
|
503
|
+
"bpmn:SubProcess",
|
504
|
+
"bpmn:ManualTask",
|
505
|
+
"bpmn:ComplexGateway",
|
506
|
+
"bpmn:InclusiveGateway",
|
507
|
+
"bpmn:EventBasedGateway",
|
508
|
+
"bpmn:SendTask",
|
509
|
+
"bpmn:ReceiveTask"
|
510
|
+
],
|
511
|
+
"$$ref": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger#/components/schemas/BpmnType"
|
512
|
+
}
|
513
|
+
},
|
514
|
+
"$$ref": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger#/components/schemas/FlowNodeViewModel"
|
515
|
+
}
|
516
|
+
}
|
517
|
+
},
|
518
|
+
"$$ref": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger#/components/schemas/ProcessModel"
|
519
|
+
}
|
520
|
+
},
|
521
|
+
"totalCount": {
|
522
|
+
"description": "The total number of ProcessModels.",
|
523
|
+
"type": "number"
|
524
|
+
}
|
525
|
+
},
|
526
|
+
"$$ref": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger#/components/schemas/ProcessModelList"
|
527
|
+
}
|
528
|
+
}
|
529
|
+
}
|
530
|
+
}
|
531
|
+
},
|
532
|
+
"security": [
|
533
|
+
{
|
534
|
+
"bearerAuth": []
|
535
|
+
}
|
536
|
+
],
|
537
|
+
"operationId": "get/process_models",
|
538
|
+
"withoutOriginalOpId": true,
|
539
|
+
"pathName": "/process_models",
|
540
|
+
"method": "get",
|
541
|
+
"path": "/process_models"
|
542
|
+
},
|
543
|
+
"errorHandling": "throw exception",
|
544
|
+
"internalErrors": {
|
545
|
+
"readUrl": false
|
546
|
+
},
|
547
|
+
"parameters": [],
|
548
|
+
"requestContentType": "application/json",
|
549
|
+
"responseContentType": "application/json",
|
550
|
+
"showDescription": true,
|
551
|
+
"devMode": false,
|
552
|
+
"outputs": 1,
|
553
|
+
"_version": "1.2.5",
|
554
|
+
"x": 720,
|
555
|
+
"y": 460,
|
556
|
+
"wires": [
|
557
|
+
[
|
558
|
+
"c2acc73b60c2efc6",
|
559
|
+
"5027f959a5839630",
|
560
|
+
"c5a5fd3f9c76acf6"
|
561
|
+
]
|
562
|
+
]
|
563
|
+
},
|
564
|
+
{
|
565
|
+
"id": "3b1997a0ca78f819",
|
566
|
+
"type": "debug",
|
567
|
+
"z": "a23d2e782beb66f4",
|
568
|
+
"name": "debug 3",
|
569
|
+
"active": true,
|
570
|
+
"tosidebar": true,
|
571
|
+
"console": false,
|
572
|
+
"tostatus": false,
|
573
|
+
"complete": "payload",
|
574
|
+
"targetType": "msg",
|
575
|
+
"statusVal": "",
|
576
|
+
"statusType": "auto",
|
577
|
+
"x": 680,
|
578
|
+
"y": 540,
|
579
|
+
"wires": []
|
580
|
+
},
|
581
|
+
{
|
582
|
+
"id": "5027f959a5839630",
|
583
|
+
"type": "debug",
|
584
|
+
"z": "a23d2e782beb66f4",
|
585
|
+
"name": "debug 4",
|
586
|
+
"active": true,
|
587
|
+
"tosidebar": true,
|
588
|
+
"console": false,
|
589
|
+
"tostatus": false,
|
590
|
+
"complete": "false",
|
591
|
+
"statusVal": "",
|
592
|
+
"statusType": "auto",
|
593
|
+
"x": 900,
|
594
|
+
"y": 540,
|
595
|
+
"wires": []
|
596
|
+
},
|
597
|
+
{
|
598
|
+
"id": "548bec9dd5260598",
|
599
|
+
"type": "delay",
|
600
|
+
"z": "a23d2e782beb66f4",
|
601
|
+
"name": "",
|
602
|
+
"pauseType": "delay",
|
603
|
+
"timeout": "1",
|
604
|
+
"timeoutUnits": "seconds",
|
605
|
+
"rate": "1",
|
606
|
+
"nbRateUnits": "1",
|
607
|
+
"rateUnits": "second",
|
608
|
+
"randomFirst": "1",
|
609
|
+
"randomLast": "5",
|
610
|
+
"randomUnits": "seconds",
|
611
|
+
"drop": false,
|
612
|
+
"allowrate": false,
|
613
|
+
"outputs": 1,
|
614
|
+
"x": 300,
|
615
|
+
"y": 460,
|
616
|
+
"wires": [
|
617
|
+
[
|
618
|
+
"f0e993037904bc90"
|
619
|
+
]
|
620
|
+
]
|
621
|
+
},
|
622
|
+
{
|
623
|
+
"id": "2991a5e6df2b87d2",
|
624
|
+
"type": "externaltask-input",
|
625
|
+
"z": "a23d2e782beb66f4",
|
626
|
+
"name": "Test",
|
627
|
+
"engine": "d042a4c68f51d6ab",
|
628
|
+
"topic": "Test",
|
629
|
+
"x": 90,
|
630
|
+
"y": 600,
|
631
|
+
"wires": [
|
632
|
+
[
|
633
|
+
"d56bb7cd73fd220c",
|
634
|
+
"75c7bb5cc34e354a"
|
635
|
+
]
|
636
|
+
]
|
637
|
+
},
|
638
|
+
{
|
639
|
+
"id": "911fde53bcbb7e3f",
|
640
|
+
"type": "externaltask-output",
|
641
|
+
"z": "a23d2e782beb66f4",
|
642
|
+
"name": "Test Ende",
|
643
|
+
"x": 500,
|
644
|
+
"y": 600,
|
645
|
+
"wires": []
|
646
|
+
},
|
647
|
+
{
|
648
|
+
"id": "d56bb7cd73fd220c",
|
649
|
+
"type": "delay",
|
650
|
+
"z": "a23d2e782beb66f4",
|
651
|
+
"name": "",
|
652
|
+
"pauseType": "delay",
|
653
|
+
"timeout": "1",
|
654
|
+
"timeoutUnits": "seconds",
|
655
|
+
"rate": "1",
|
656
|
+
"nbRateUnits": "1",
|
657
|
+
"rateUnits": "second",
|
658
|
+
"randomFirst": "1",
|
659
|
+
"randomLast": "5",
|
660
|
+
"randomUnits": "seconds",
|
661
|
+
"drop": false,
|
662
|
+
"allowrate": false,
|
663
|
+
"outputs": 1,
|
664
|
+
"x": 280,
|
665
|
+
"y": 600,
|
666
|
+
"wires": [
|
667
|
+
[
|
668
|
+
"911fde53bcbb7e3f",
|
669
|
+
"69aec57d8bb00292"
|
670
|
+
]
|
671
|
+
]
|
672
|
+
},
|
673
|
+
{
|
674
|
+
"id": "75c7bb5cc34e354a",
|
675
|
+
"type": "debug",
|
676
|
+
"z": "a23d2e782beb66f4",
|
677
|
+
"name": "debug 1",
|
678
|
+
"active": true,
|
679
|
+
"tosidebar": true,
|
680
|
+
"console": false,
|
681
|
+
"tostatus": false,
|
682
|
+
"complete": "false",
|
683
|
+
"statusVal": "",
|
684
|
+
"statusType": "auto",
|
685
|
+
"x": 260,
|
686
|
+
"y": 680,
|
687
|
+
"wires": []
|
688
|
+
},
|
689
|
+
{
|
690
|
+
"id": "c5a5fd3f9c76acf6",
|
691
|
+
"type": "debug",
|
692
|
+
"z": "a23d2e782beb66f4",
|
693
|
+
"name": "debug 5",
|
694
|
+
"active": true,
|
695
|
+
"tosidebar": true,
|
696
|
+
"console": false,
|
697
|
+
"tostatus": false,
|
698
|
+
"complete": "externalTaskId",
|
699
|
+
"targetType": "msg",
|
700
|
+
"statusVal": "",
|
701
|
+
"statusType": "auto",
|
702
|
+
"x": 900,
|
703
|
+
"y": 620,
|
704
|
+
"wires": []
|
705
|
+
},
|
706
|
+
{
|
707
|
+
"id": "69aec57d8bb00292",
|
708
|
+
"type": "debug",
|
709
|
+
"z": "a23d2e782beb66f4",
|
710
|
+
"name": "debug 6",
|
711
|
+
"active": true,
|
712
|
+
"tosidebar": true,
|
713
|
+
"console": false,
|
714
|
+
"tostatus": false,
|
715
|
+
"complete": "externalTaskId",
|
716
|
+
"targetType": "msg",
|
717
|
+
"statusVal": "",
|
718
|
+
"statusType": "auto",
|
719
|
+
"x": 480,
|
720
|
+
"y": 680,
|
721
|
+
"wires": []
|
722
|
+
},
|
723
|
+
{
|
724
|
+
"id": "fe0eb72aeb3ebbc2",
|
725
|
+
"type": "process-start",
|
726
|
+
"z": "a23d2e782beb66f4",
|
727
|
+
"name": "start Process \"Hello world\"",
|
728
|
+
"engine": "d042a4c68f51d6ab",
|
729
|
+
"processmodel": "HelloWorld_Process",
|
730
|
+
"startevent": "StartEvent_1",
|
731
|
+
"x": 500,
|
732
|
+
"y": 120,
|
733
|
+
"wires": [
|
734
|
+
[
|
735
|
+
"1686330823da3f45"
|
736
|
+
]
|
737
|
+
]
|
738
|
+
},
|
739
|
+
{
|
740
|
+
"id": "64f430c40bc1f75b",
|
741
|
+
"type": "http in",
|
742
|
+
"z": "a23d2e782beb66f4",
|
743
|
+
"name": "",
|
744
|
+
"url": "/start_process",
|
745
|
+
"method": "post",
|
746
|
+
"upload": false,
|
747
|
+
"swaggerDoc": "",
|
748
|
+
"x": 150,
|
749
|
+
"y": 120,
|
750
|
+
"wires": [
|
751
|
+
[
|
752
|
+
"54731bdfca83ceda",
|
753
|
+
"fe0eb72aeb3ebbc2"
|
754
|
+
]
|
755
|
+
]
|
756
|
+
},
|
757
|
+
{
|
758
|
+
"id": "54731bdfca83ceda",
|
759
|
+
"type": "debug",
|
760
|
+
"z": "a23d2e782beb66f4",
|
761
|
+
"name": "debug 7",
|
762
|
+
"active": true,
|
763
|
+
"tosidebar": true,
|
764
|
+
"console": false,
|
765
|
+
"tostatus": false,
|
766
|
+
"complete": "false",
|
767
|
+
"statusVal": "",
|
768
|
+
"statusType": "auto",
|
769
|
+
"x": 380,
|
770
|
+
"y": 180,
|
771
|
+
"wires": []
|
772
|
+
},
|
773
|
+
{
|
774
|
+
"id": "1686330823da3f45",
|
775
|
+
"type": "http response",
|
776
|
+
"z": "a23d2e782beb66f4",
|
777
|
+
"name": "",
|
778
|
+
"statusCode": "200",
|
779
|
+
"headers": {},
|
780
|
+
"x": 760,
|
781
|
+
"y": 120,
|
782
|
+
"wires": []
|
783
|
+
},
|
784
|
+
{
|
785
|
+
"id": "18e05d562d48f32d",
|
786
|
+
"type": "externaltask-input",
|
787
|
+
"z": "a23d2e782beb66f4",
|
788
|
+
"name": "SampleError",
|
789
|
+
"engine": "d042a4c68f51d6ab",
|
790
|
+
"topic": "SampleError",
|
791
|
+
"x": 110,
|
792
|
+
"y": 840,
|
793
|
+
"wires": [
|
794
|
+
[
|
795
|
+
"49aee03a7885fae8"
|
796
|
+
]
|
797
|
+
]
|
798
|
+
},
|
799
|
+
{
|
800
|
+
"id": "49aee03a7885fae8",
|
801
|
+
"type": "delay",
|
802
|
+
"z": "a23d2e782beb66f4",
|
803
|
+
"name": "",
|
804
|
+
"pauseType": "delay",
|
805
|
+
"timeout": "5",
|
806
|
+
"timeoutUnits": "seconds",
|
807
|
+
"rate": "1",
|
808
|
+
"nbRateUnits": "1",
|
809
|
+
"rateUnits": "second",
|
810
|
+
"randomFirst": "1",
|
811
|
+
"randomLast": "5",
|
812
|
+
"randomUnits": "seconds",
|
813
|
+
"drop": false,
|
814
|
+
"allowrate": false,
|
815
|
+
"outputs": 1,
|
816
|
+
"x": 350,
|
817
|
+
"y": 840,
|
818
|
+
"wires": [
|
819
|
+
[
|
820
|
+
"bd68c4bdc53b8f80"
|
821
|
+
]
|
822
|
+
]
|
823
|
+
},
|
824
|
+
{
|
825
|
+
"id": "e4555d9019cd3f47",
|
826
|
+
"type": "catch",
|
827
|
+
"z": "a23d2e782beb66f4",
|
828
|
+
"name": "",
|
829
|
+
"scope": null,
|
830
|
+
"uncaught": false,
|
831
|
+
"x": 360,
|
832
|
+
"y": 960,
|
833
|
+
"wires": [
|
834
|
+
[
|
835
|
+
"fa1c26d470c38efd",
|
836
|
+
"019797b5a0882e7b",
|
837
|
+
"fb87f79852b22e4a"
|
838
|
+
]
|
839
|
+
]
|
840
|
+
},
|
841
|
+
{
|
842
|
+
"id": "bd68c4bdc53b8f80",
|
843
|
+
"type": "function",
|
844
|
+
"z": "a23d2e782beb66f4",
|
845
|
+
"name": "function 1",
|
846
|
+
"func": "throw Error(\"hello error\");\n\nreturn msg;",
|
847
|
+
"outputs": 1,
|
848
|
+
"timeout": 0,
|
849
|
+
"noerr": 0,
|
850
|
+
"initialize": "",
|
851
|
+
"finalize": "",
|
852
|
+
"libs": [],
|
853
|
+
"x": 560,
|
854
|
+
"y": 840,
|
855
|
+
"wires": [
|
856
|
+
[
|
857
|
+
"1ba1e62c9935255f"
|
858
|
+
]
|
859
|
+
]
|
860
|
+
},
|
861
|
+
{
|
862
|
+
"id": "fa1c26d470c38efd",
|
863
|
+
"type": "debug",
|
864
|
+
"z": "a23d2e782beb66f4",
|
865
|
+
"name": "debug 8",
|
866
|
+
"active": true,
|
867
|
+
"tosidebar": true,
|
868
|
+
"console": false,
|
869
|
+
"tostatus": false,
|
870
|
+
"complete": "false",
|
871
|
+
"statusVal": "",
|
872
|
+
"statusType": "auto",
|
873
|
+
"x": 620,
|
874
|
+
"y": 960,
|
875
|
+
"wires": []
|
876
|
+
},
|
877
|
+
{
|
878
|
+
"id": "019797b5a0882e7b",
|
879
|
+
"type": "debug",
|
880
|
+
"z": "a23d2e782beb66f4",
|
881
|
+
"name": "debug 9",
|
882
|
+
"active": true,
|
883
|
+
"tosidebar": true,
|
884
|
+
"console": false,
|
885
|
+
"tostatus": false,
|
886
|
+
"complete": "externalTaskId",
|
887
|
+
"targetType": "msg",
|
888
|
+
"statusVal": "",
|
889
|
+
"statusType": "auto",
|
890
|
+
"x": 620,
|
891
|
+
"y": 1020,
|
892
|
+
"wires": []
|
893
|
+
},
|
894
|
+
{
|
895
|
+
"id": "fb87f79852b22e4a",
|
896
|
+
"type": "externaltask-error",
|
897
|
+
"z": "a23d2e782beb66f4",
|
898
|
+
"name": "",
|
899
|
+
"error": "MyErrorCode",
|
900
|
+
"x": 610,
|
901
|
+
"y": 1100,
|
902
|
+
"wires": []
|
903
|
+
},
|
904
|
+
{
|
905
|
+
"id": "1ba1e62c9935255f",
|
906
|
+
"type": "externaltask-output",
|
907
|
+
"z": "a23d2e782beb66f4",
|
908
|
+
"name": "",
|
909
|
+
"x": 770,
|
910
|
+
"y": 840,
|
911
|
+
"wires": []
|
912
|
+
},
|
913
|
+
{
|
914
|
+
"id": "ec0be0ef92746967",
|
915
|
+
"type": "usertask-input",
|
916
|
+
"z": "fd3c725340de4f74",
|
917
|
+
"g": "405f8c703368777c",
|
918
|
+
"name": "",
|
919
|
+
"engine": "d042a4c68f51d6ab",
|
920
|
+
"x": 130,
|
921
|
+
"y": 140,
|
922
|
+
"wires": [
|
923
|
+
[
|
924
|
+
"090d42845540049c",
|
925
|
+
"846c5269df75c7a1"
|
926
|
+
]
|
927
|
+
]
|
928
|
+
},
|
929
|
+
{
|
930
|
+
"id": "090d42845540049c",
|
931
|
+
"type": "debug",
|
932
|
+
"z": "fd3c725340de4f74",
|
933
|
+
"g": "405f8c703368777c",
|
934
|
+
"name": "debug 10",
|
935
|
+
"active": true,
|
936
|
+
"tosidebar": true,
|
937
|
+
"console": false,
|
938
|
+
"tostatus": false,
|
939
|
+
"complete": "false",
|
940
|
+
"statusVal": "",
|
941
|
+
"statusType": "auto",
|
942
|
+
"x": 380,
|
943
|
+
"y": 80,
|
944
|
+
"wires": []
|
945
|
+
},
|
946
|
+
{
|
947
|
+
"id": "846c5269df75c7a1",
|
948
|
+
"type": "function",
|
949
|
+
"z": "fd3c725340de4f74",
|
950
|
+
"g": "405f8c703368777c",
|
951
|
+
"name": "function 2",
|
952
|
+
"func": "msg.payload = {\n \"hello\": \"world\"\n};\n\nreturn msg;",
|
953
|
+
"outputs": 1,
|
954
|
+
"timeout": 0,
|
955
|
+
"noerr": 0,
|
956
|
+
"initialize": "",
|
957
|
+
"finalize": "",
|
958
|
+
"libs": [],
|
959
|
+
"x": 380,
|
960
|
+
"y": 140,
|
961
|
+
"wires": [
|
962
|
+
[
|
963
|
+
"68cf69be67688af6",
|
964
|
+
"4267576c32c782ec"
|
965
|
+
]
|
966
|
+
]
|
967
|
+
},
|
968
|
+
{
|
969
|
+
"id": "4267576c32c782ec",
|
970
|
+
"type": "usertask-output",
|
971
|
+
"z": "fd3c725340de4f74",
|
972
|
+
"g": "405f8c703368777c",
|
973
|
+
"name": "",
|
974
|
+
"engine": "d042a4c68f51d6ab",
|
975
|
+
"x": 680,
|
976
|
+
"y": 140,
|
977
|
+
"wires": []
|
978
|
+
},
|
979
|
+
{
|
980
|
+
"id": "68cf69be67688af6",
|
981
|
+
"type": "debug",
|
982
|
+
"z": "fd3c725340de4f74",
|
983
|
+
"g": "405f8c703368777c",
|
984
|
+
"name": "debug 11",
|
985
|
+
"active": true,
|
986
|
+
"tosidebar": true,
|
987
|
+
"console": false,
|
988
|
+
"tostatus": false,
|
989
|
+
"complete": "false",
|
990
|
+
"statusVal": "",
|
991
|
+
"statusType": "auto",
|
992
|
+
"x": 660,
|
993
|
+
"y": 200,
|
994
|
+
"wires": []
|
995
|
+
},
|
996
|
+
{
|
997
|
+
"id": "bcfb8893adeb57ed",
|
998
|
+
"type": "comment",
|
999
|
+
"z": "fd3c725340de4f74",
|
1000
|
+
"g": "405f8c703368777c",
|
1001
|
+
"name": "Beispiel für UserTask",
|
1002
|
+
"info": "",
|
1003
|
+
"x": 160,
|
1004
|
+
"y": 60,
|
1005
|
+
"wires": []
|
1006
|
+
}
|
1007
|
+
]
|