@5minds/node-red-contrib-processcube 2.0.0-feature-629c78-m2dq1ygt → 7.6.0-develop-51b534-mjy3s4sm

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 (68) hide show
  1. package/README.md +3 -58
  2. package/check-authorization.html +138 -0
  3. package/check-authorization.js +27 -0
  4. package/dataobject-instance-query.html +141 -0
  5. package/dataobject-instance-query.js +45 -0
  6. package/endevent-finished-listener.js +14 -25
  7. package/examples/Check-Authorization-Sample.json +109 -0
  8. package/examples/Dataobject-Instance-Query-Sample.json +109 -0
  9. package/externaltask-error.html +8 -3
  10. package/externaltask-error.js +43 -29
  11. package/externaltask-event-listener.js +11 -28
  12. package/externaltask-input.html +48 -3
  13. package/externaltask-input.js +581 -114
  14. package/externaltask-output.js +20 -16
  15. package/icons/data-object-query.svg +5 -0
  16. package/message-event-trigger.html +1 -1
  17. package/message-event-trigger.js +8 -7
  18. package/package.json +74 -67
  19. package/process-event-listener.js +166 -225
  20. package/process-start.html +6 -0
  21. package/process-start.js +29 -6
  22. package/process-terminate.html +1 -1
  23. package/process-terminate.js +7 -5
  24. package/processcube-engine-config.html +25 -7
  25. package/processcube-engine-config.js +25 -135
  26. package/processcube-google-docs-mail-template.html +150 -0
  27. package/processcube-google-docs-mail-template.js +158 -0
  28. package/processdefinition-deploy.html +44 -0
  29. package/processdefinition-deploy.js +28 -0
  30. package/processdefinition-query.html +18 -13
  31. package/processdefinition-query.js +33 -31
  32. package/processinstance-delete-advanced.html +82 -0
  33. package/processinstance-delete-advanced.js +33 -0
  34. package/processinstance-delete.html +60 -8
  35. package/processinstance-delete.js +84 -30
  36. package/processinstance-query.html +116 -109
  37. package/processinstance-query.js +28 -5
  38. package/signal-event-trigger.js +8 -6
  39. package/usertask-event-listener.html +123 -1
  40. package/usertask-event-listener.js +30 -45
  41. package/usertask-input.html +119 -0
  42. package/usertask-input.js +7 -9
  43. package/usertask-output.js +15 -8
  44. package/wait-for-usertask.html +122 -6
  45. package/wait-for-usertask.js +44 -47
  46. package/.github/workflows/build-and-publish.yml +0 -72
  47. package/.processcube/authority/config/config.json +0 -36
  48. package/.processcube/authority/config/upeSeedingData.json +0 -12
  49. package/Dockerfile +0 -9
  50. package/doc_generator/_process_instances_query.md +0 -115
  51. package/doc_generator/generator.js +0 -41
  52. package/doc_generator/generator_with_swagger.js +0 -72
  53. package/doc_generator/package-lock.json +0 -176
  54. package/doc_generator/package.json +0 -15
  55. package/doc_generator/query_template.mustache +0 -20
  56. package/doc_generator/swagger.json +0 -4110
  57. package/docker-compose.yml +0 -44
  58. package/nodered/flows.json +0 -2156
  59. package/nodered/flows_cred.json +0 -3
  60. package/nodered/settings.js +0 -562
  61. package/nodered/static/ProcessCube_Logo.svg +0 -53
  62. package/processes/Call-Activity-Sample.bpmn +0 -88
  63. package/processes/External-Task-Auth-Sample.bpmn +0 -82
  64. package/processes/External-Task-Sample.bpmn +0 -94
  65. package/processes/SampleEvent.bpmn +0 -73
  66. package/processes/User-Task-Auth-Sample.bpmn +0 -63
  67. package/processes/User-Task-Sample.bpmn +0 -76
  68. package/processes/Wait-For-Usertask.bpmn +0 -74
@@ -1,2156 +0,0 @@
1
- [
2
- {
3
- "id": "a23d2e782beb66f4",
4
- "type": "tab",
5
- "label": "External Task",
6
- "disabled": false,
7
- "info": "",
8
- "env": []
9
- },
10
- {
11
- "id": "c9ab699769824f2f",
12
- "type": "tab",
13
- "label": "External Task Auth",
14
- "disabled": false,
15
- "info": "",
16
- "env": []
17
- },
18
- {
19
- "id": "fd3c725340de4f74",
20
- "type": "tab",
21
- "label": "User Task",
22
- "disabled": false,
23
- "info": "",
24
- "env": []
25
- },
26
- {
27
- "id": "90fa3991405c6248",
28
- "type": "tab",
29
- "label": "User Task Auth",
30
- "disabled": false,
31
- "info": "",
32
- "env": []
33
- },
34
- {
35
- "id": "5d27ab4d14b947e9",
36
- "type": "tab",
37
- "label": "Instances Query",
38
- "disabled": false,
39
- "info": "",
40
- "env": []
41
- },
42
- {
43
- "id": "821add3dc3391985",
44
- "type": "tab",
45
- "label": "Instance Query Auth",
46
- "disabled": false,
47
- "info": "",
48
- "env": []
49
- },
50
- {
51
- "id": "f28ae6aa3a05069e",
52
- "type": "tab",
53
- "label": "Definition Query",
54
- "disabled": false,
55
- "info": "",
56
- "env": []
57
- },
58
- {
59
- "id": "9b69648e1614122a",
60
- "type": "tab",
61
- "label": "Definition Query Auth",
62
- "disabled": false,
63
- "info": "",
64
- "env": []
65
- },
66
- {
67
- "id": "d6c450fe98faa45f",
68
- "type": "tab",
69
- "label": "Wait for usertask",
70
- "disabled": false,
71
- "info": "",
72
- "env": []
73
- },
74
- {
75
- "id": "76c047e0d8770a20",
76
- "type": "tab",
77
- "label": "Other Events",
78
- "disabled": false,
79
- "info": "",
80
- "env": []
81
- },
82
- {
83
- "id": "2766c40d84283368",
84
- "type": "tab",
85
- "label": "Placeholder",
86
- "disabled": false,
87
- "info": "",
88
- "env": []
89
- },
90
- {
91
- "id": "4c59118134081e05",
92
- "type": "group",
93
- "z": "f28ae6aa3a05069e",
94
- "style": {
95
- "stroke": "#999999",
96
- "stroke-opacity": "1",
97
- "fill": "none",
98
- "fill-opacity": "1",
99
- "label": true,
100
- "label-position": "nw",
101
- "color": "#a4a4a4"
102
- },
103
- "nodes": [
104
- "d97caca0ec54a633",
105
- "f74139117c9dab27",
106
- "5539a5c4c0f9cbe2",
107
- "a8e2b5a6ca25c924"
108
- ],
109
- "x": 14,
110
- "y": 39,
111
- "w": 592,
112
- "h": 142
113
- },
114
- {
115
- "id": "f1d4eaed7570324e",
116
- "type": "group",
117
- "z": "f28ae6aa3a05069e",
118
- "style": {
119
- "stroke": "#999999",
120
- "stroke-opacity": "1",
121
- "fill": "none",
122
- "fill-opacity": "1",
123
- "label": true,
124
- "label-position": "nw",
125
- "color": "#a4a4a4"
126
- },
127
- "nodes": [
128
- "bcc97a73cff5a086",
129
- "b418463be836efbb",
130
- "0633b709dd9c166f",
131
- "fbb37831549d41ff"
132
- ],
133
- "x": 14,
134
- "y": 219,
135
- "w": 572,
136
- "h": 142
137
- },
138
- {
139
- "id": "70d7a70e375b162a",
140
- "type": "group",
141
- "z": "a23d2e782beb66f4",
142
- "style": {
143
- "stroke": "#999999",
144
- "stroke-opacity": "1",
145
- "fill": "none",
146
- "fill-opacity": "1",
147
- "label": true,
148
- "label-position": "nw",
149
- "color": "#a4a4a4"
150
- },
151
- "nodes": [
152
- "2991a5e6df2b87d2",
153
- "911fde53bcbb7e3f",
154
- "d56bb7cd73fd220c",
155
- "15a5f64b9e2e05fc"
156
- ],
157
- "x": 34,
158
- "y": 79,
159
- "w": 512,
160
- "h": 142
161
- },
162
- {
163
- "id": "31cb6729aac0ba46",
164
- "type": "group",
165
- "z": "a23d2e782beb66f4",
166
- "style": {
167
- "stroke": "#999999",
168
- "stroke-opacity": "1",
169
- "fill": "none",
170
- "fill-opacity": "1",
171
- "label": true,
172
- "label-position": "nw",
173
- "color": "#a4a4a4"
174
- },
175
- "nodes": [
176
- "18e05d562d48f32d",
177
- "49aee03a7885fae8",
178
- "e4555d9019cd3f47",
179
- "bd68c4bdc53b8f80",
180
- "fb87f79852b22e4a",
181
- "1ba1e62c9935255f",
182
- "b49f226ba865e164"
183
- ],
184
- "x": 34,
185
- "y": 259,
186
- "w": 812,
187
- "h": 202
188
- },
189
- {
190
- "id": "390ad4a596a3c002",
191
- "type": "group",
192
- "z": "a23d2e782beb66f4",
193
- "style": {
194
- "stroke": "#999999",
195
- "stroke-opacity": "1",
196
- "fill": "none",
197
- "fill-opacity": "1",
198
- "label": true,
199
- "label-position": "nw",
200
- "color": "#a4a4a4"
201
- },
202
- "nodes": [
203
- "529b24c862f7039d",
204
- "f4011d6a57c6e13f",
205
- "fba605329413c78d",
206
- "5e5394e458d1de7c",
207
- "18e9e15ef645a908",
208
- "eb96f3128ece1be8"
209
- ],
210
- "x": 34,
211
- "y": 499,
212
- "w": 832,
213
- "h": 202
214
- },
215
- {
216
- "id": "887f3fb69ad1d1fb",
217
- "type": "group",
218
- "z": "fd3c725340de4f74",
219
- "style": {
220
- "stroke": "#999999",
221
- "stroke-opacity": "1",
222
- "fill": "none",
223
- "fill-opacity": "1",
224
- "label": true,
225
- "label-position": "nw",
226
- "color": "#a4a4a4"
227
- },
228
- "nodes": [
229
- "020d34cd4ab43900",
230
- "127bc6e092c5724e",
231
- "394bf2c574d29c0d",
232
- "30354355d2a0eeb8"
233
- ],
234
- "x": 34,
235
- "y": 19,
236
- "w": 532,
237
- "h": 202
238
- },
239
- {
240
- "id": "72d3db13edc2486b",
241
- "type": "group",
242
- "z": "fd3c725340de4f74",
243
- "style": {
244
- "stroke": "#999999",
245
- "stroke-opacity": "1",
246
- "fill": "none",
247
- "fill-opacity": "1",
248
- "label": true,
249
- "label-position": "nw",
250
- "color": "#a4a4a4"
251
- },
252
- "nodes": [
253
- "f7c7682e3a6adaaa",
254
- "8ef39e83173d41e3",
255
- "f524b8cc35d56849",
256
- "9fb4017c1d0ac7c9",
257
- "fc23f271b106648f"
258
- ],
259
- "x": 34,
260
- "y": 259,
261
- "w": 652,
262
- "h": 202
263
- },
264
- {
265
- "id": "a71a168415778e2c",
266
- "type": "group",
267
- "z": "5d27ab4d14b947e9",
268
- "style": {
269
- "stroke": "#999999",
270
- "stroke-opacity": "1",
271
- "fill": "none",
272
- "fill-opacity": "1",
273
- "label": true,
274
- "label-position": "nw",
275
- "color": "#a4a4a4"
276
- },
277
- "nodes": [
278
- "baa5d814f2e1f1d8",
279
- "2af2c5031c617e3d",
280
- "81af643792f131f0",
281
- "2166b0f822b3e71d"
282
- ],
283
- "x": 34,
284
- "y": 39,
285
- "w": 652,
286
- "h": 142
287
- },
288
- {
289
- "id": "bb94db89ecb73d7b",
290
- "type": "group",
291
- "z": "c9ab699769824f2f",
292
- "style": {
293
- "stroke": "#999999",
294
- "stroke-opacity": "1",
295
- "fill": "none",
296
- "fill-opacity": "1",
297
- "label": true,
298
- "label-position": "nw",
299
- "color": "#a4a4a4"
300
- },
301
- "nodes": [
302
- "d0e1fa5361aba536",
303
- "b70555e181d5d470",
304
- "9680c9f332962628",
305
- "7a9659b774fdd8cb"
306
- ],
307
- "x": 34,
308
- "y": 79,
309
- "w": 512,
310
- "h": 142
311
- },
312
- {
313
- "id": "ec665c16c4c4a6e0",
314
- "type": "group",
315
- "z": "c9ab699769824f2f",
316
- "style": {
317
- "stroke": "#999999",
318
- "stroke-opacity": "1",
319
- "fill": "none",
320
- "fill-opacity": "1",
321
- "label": true,
322
- "label-position": "nw",
323
- "color": "#a4a4a4"
324
- },
325
- "nodes": [
326
- "7af11dd03dd0fc02",
327
- "658f9b10e93f7a39",
328
- "1b62418c924f95eb",
329
- "89b4959f9a4a71e3",
330
- "7f28bcd6aebeed99",
331
- "f517338178966789",
332
- "ccf0bd22b299d625"
333
- ],
334
- "x": 34,
335
- "y": 259,
336
- "w": 852,
337
- "h": 202
338
- },
339
- {
340
- "id": "8455bc870589205b",
341
- "type": "group",
342
- "z": "c9ab699769824f2f",
343
- "style": {
344
- "stroke": "#999999",
345
- "stroke-opacity": "1",
346
- "fill": "none",
347
- "fill-opacity": "1",
348
- "label": true,
349
- "label-position": "nw",
350
- "color": "#a4a4a4"
351
- },
352
- "nodes": [
353
- "541a0e06fe48c2b5",
354
- "c3224cc0ab3d3e80",
355
- "30f8a269dd7ed601",
356
- "90dd20b9ed76fbe7",
357
- "562334e6f0c16931",
358
- "423ab3a50b55e37e"
359
- ],
360
- "x": 34,
361
- "y": 499,
362
- "w": 832,
363
- "h": 202
364
- },
365
- {
366
- "id": "4f03c1eb4784b442",
367
- "type": "group",
368
- "z": "90fa3991405c6248",
369
- "style": {
370
- "stroke": "#999999",
371
- "stroke-opacity": "1",
372
- "fill": "none",
373
- "fill-opacity": "1",
374
- "label": true,
375
- "label-position": "nw",
376
- "color": "#a4a4a4"
377
- },
378
- "nodes": [
379
- "c4f20aefe585bdad",
380
- "451fc49b81cfe869",
381
- "07e2258a732baddb",
382
- "58202f3750a9762b"
383
- ],
384
- "x": 54,
385
- "y": 39,
386
- "w": 432,
387
- "h": 202
388
- },
389
- {
390
- "id": "a135da7e3b76f6dd",
391
- "type": "group",
392
- "z": "90fa3991405c6248",
393
- "style": {
394
- "stroke": "#999999",
395
- "stroke-opacity": "1",
396
- "fill": "none",
397
- "fill-opacity": "1",
398
- "label": true,
399
- "label-position": "nw",
400
- "color": "#a4a4a4"
401
- },
402
- "nodes": [
403
- "682a3e6e49c407c0",
404
- "5c9668cbe4b31919",
405
- "693e6d63e82ee961",
406
- "c63cac30d2627c52",
407
- "771e1802a60ea5cc"
408
- ],
409
- "x": 54,
410
- "y": 279,
411
- "w": 632,
412
- "h": 202
413
- },
414
- {
415
- "id": "e17f65347110575e",
416
- "type": "group",
417
- "z": "821add3dc3391985",
418
- "style": {
419
- "stroke": "#999999",
420
- "stroke-opacity": "1",
421
- "fill": "none",
422
- "fill-opacity": "1",
423
- "label": true,
424
- "label-position": "nw",
425
- "color": "#a4a4a4"
426
- },
427
- "nodes": [
428
- "1591cb53c1f1982a",
429
- "c2a2b1c1108ee3e1",
430
- "78828be9c878b621",
431
- "47a52efd5f9ec550"
432
- ],
433
- "x": 34,
434
- "y": 39,
435
- "w": 652,
436
- "h": 142
437
- },
438
- {
439
- "id": "037eeeef4db91107",
440
- "type": "group",
441
- "z": "9b69648e1614122a",
442
- "style": {
443
- "stroke": "#999999",
444
- "stroke-opacity": "1",
445
- "fill": "none",
446
- "fill-opacity": "1",
447
- "label": true,
448
- "label-position": "nw",
449
- "color": "#a4a4a4"
450
- },
451
- "nodes": [
452
- "2ecd778293bc1e58",
453
- "7a330fb2934bb4ab",
454
- "eaa25b48e24cea10",
455
- "2d2e2586dfed611a"
456
- ],
457
- "x": 34,
458
- "y": 39,
459
- "w": 592,
460
- "h": 142
461
- },
462
- {
463
- "id": "437a2209643cfba5",
464
- "type": "group",
465
- "z": "9b69648e1614122a",
466
- "style": {
467
- "stroke": "#999999",
468
- "stroke-opacity": "1",
469
- "fill": "none",
470
- "fill-opacity": "1",
471
- "label": true,
472
- "label-position": "nw",
473
- "color": "#a4a4a4"
474
- },
475
- "nodes": [
476
- "443f898ac8d21376",
477
- "ab161eea047e8ce0",
478
- "6ef8711acb760a7f",
479
- "8a8d0227dceb9ebb"
480
- ],
481
- "x": 34,
482
- "y": 219,
483
- "w": 572,
484
- "h": 142
485
- },
486
- {
487
- "id": "865723b71ced9418",
488
- "type": "group",
489
- "z": "76c047e0d8770a20",
490
- "style": {
491
- "stroke": "#999999",
492
- "stroke-opacity": "1",
493
- "fill": "none",
494
- "fill-opacity": "1",
495
- "label": true,
496
- "label-position": "nw",
497
- "color": "#a4a4a4"
498
- },
499
- "nodes": [
500
- "930624edc6169c55",
501
- "2f2ec1cc0213eab5",
502
- "bde205e77cd20558"
503
- ],
504
- "x": 34,
505
- "y": 39,
506
- "w": 502,
507
- "h": 142
508
- },
509
- {
510
- "id": "9081b057a931f0cf",
511
- "type": "group",
512
- "z": "2766c40d84283368",
513
- "style": {
514
- "stroke": "#999999",
515
- "stroke-opacity": "1",
516
- "fill": "none",
517
- "fill-opacity": "1",
518
- "label": true,
519
- "label-position": "nw",
520
- "color": "#a4a4a4"
521
- },
522
- "nodes": [
523
- "03ac7bc273197c45",
524
- "bb734a85d4b37728",
525
- "3d03550f7d93bfd3"
526
- ],
527
- "x": 54,
528
- "y": 39,
529
- "w": 422,
530
- "h": 142
531
- },
532
- {
533
- "id": "42e6796dddd9d4db",
534
- "type": "processcube-engine-config",
535
- "name": "Engine 8000",
536
- "url": "http://engine:8000"
537
- },
538
- {
539
- "id": "b78932d162d8d468",
540
- "type": "processcube-engine-config",
541
- "name": "Engine Auth 8000",
542
- "url": "http://engine:8000"
543
- },
544
- {
545
- "id": "2991a5e6df2b87d2",
546
- "type": "externaltask-input",
547
- "z": "a23d2e782beb66f4",
548
- "g": "70d7a70e375b162a",
549
- "name": "Test",
550
- "engine": "42e6796dddd9d4db",
551
- "topic": "Test",
552
- "x": 110,
553
- "y": 180,
554
- "wires": [
555
- [
556
- "d56bb7cd73fd220c"
557
- ]
558
- ]
559
- },
560
- {
561
- "id": "911fde53bcbb7e3f",
562
- "type": "externaltask-output",
563
- "z": "a23d2e782beb66f4",
564
- "g": "70d7a70e375b162a",
565
- "name": "Test Ende",
566
- "x": 460,
567
- "y": 180,
568
- "wires": []
569
- },
570
- {
571
- "id": "d56bb7cd73fd220c",
572
- "type": "delay",
573
- "z": "a23d2e782beb66f4",
574
- "g": "70d7a70e375b162a",
575
- "name": "",
576
- "pauseType": "delay",
577
- "timeout": "1",
578
- "timeoutUnits": "seconds",
579
- "rate": "1",
580
- "nbRateUnits": "1",
581
- "rateUnits": "second",
582
- "randomFirst": "1",
583
- "randomLast": "5",
584
- "randomUnits": "seconds",
585
- "drop": false,
586
- "allowrate": false,
587
- "outputs": 1,
588
- "x": 280,
589
- "y": 180,
590
- "wires": [
591
- [
592
- "911fde53bcbb7e3f"
593
- ]
594
- ]
595
- },
596
- {
597
- "id": "18e05d562d48f32d",
598
- "type": "externaltask-input",
599
- "z": "a23d2e782beb66f4",
600
- "g": "31cb6729aac0ba46",
601
- "name": "SampleError",
602
- "engine": "42e6796dddd9d4db",
603
- "topic": "SampleError",
604
- "x": 130,
605
- "y": 360,
606
- "wires": [
607
- [
608
- "49aee03a7885fae8"
609
- ]
610
- ]
611
- },
612
- {
613
- "id": "49aee03a7885fae8",
614
- "type": "delay",
615
- "z": "a23d2e782beb66f4",
616
- "g": "31cb6729aac0ba46",
617
- "name": "",
618
- "pauseType": "delay",
619
- "timeout": "5",
620
- "timeoutUnits": "seconds",
621
- "rate": "1",
622
- "nbRateUnits": "1",
623
- "rateUnits": "second",
624
- "randomFirst": "1",
625
- "randomLast": "5",
626
- "randomUnits": "seconds",
627
- "drop": false,
628
- "allowrate": false,
629
- "outputs": 1,
630
- "x": 320,
631
- "y": 360,
632
- "wires": [
633
- [
634
- "bd68c4bdc53b8f80"
635
- ]
636
- ]
637
- },
638
- {
639
- "id": "e4555d9019cd3f47",
640
- "type": "catch",
641
- "z": "a23d2e782beb66f4",
642
- "g": "31cb6729aac0ba46",
643
- "name": "",
644
- "scope": "group",
645
- "uncaught": false,
646
- "x": 510,
647
- "y": 420,
648
- "wires": [
649
- [
650
- "fb87f79852b22e4a"
651
- ]
652
- ]
653
- },
654
- {
655
- "id": "bd68c4bdc53b8f80",
656
- "type": "function",
657
- "z": "a23d2e782beb66f4",
658
- "g": "31cb6729aac0ba46",
659
- "name": "raise Error",
660
- "func": "throw Error(\"hello error\");\n\nreturn msg;",
661
- "outputs": 1,
662
- "timeout": 0,
663
- "noerr": 0,
664
- "initialize": "",
665
- "finalize": "",
666
- "libs": [],
667
- "x": 510,
668
- "y": 360,
669
- "wires": [
670
- [
671
- "1ba1e62c9935255f"
672
- ]
673
- ]
674
- },
675
- {
676
- "id": "fb87f79852b22e4a",
677
- "type": "externaltask-error",
678
- "z": "a23d2e782beb66f4",
679
- "g": "31cb6729aac0ba46",
680
- "name": "Send Error to Engine",
681
- "error": "MyErrorCode",
682
- "x": 720,
683
- "y": 420,
684
- "wires": [
685
- []
686
- ]
687
- },
688
- {
689
- "id": "1ba1e62c9935255f",
690
- "type": "externaltask-output",
691
- "z": "a23d2e782beb66f4",
692
- "g": "31cb6729aac0ba46",
693
- "name": "",
694
- "x": 710,
695
- "y": 360,
696
- "wires": []
697
- },
698
- {
699
- "id": "15a5f64b9e2e05fc",
700
- "type": "comment",
701
- "z": "a23d2e782beb66f4",
702
- "g": "70d7a70e375b162a",
703
- "name": "Simple External Task handling",
704
- "info": "",
705
- "x": 180,
706
- "y": 120,
707
- "wires": []
708
- },
709
- {
710
- "id": "b49f226ba865e164",
711
- "type": "comment",
712
- "z": "a23d2e782beb66f4",
713
- "g": "31cb6729aac0ba46",
714
- "name": "Error handling with external tasks",
715
- "info": "",
716
- "x": 190,
717
- "y": 300,
718
- "wires": []
719
- },
720
- {
721
- "id": "799125e21de02f13",
722
- "type": "comment",
723
- "z": "a23d2e782beb66f4",
724
- "name": "For Testing, deploy \"External-Task-Sample.bpmn\" and start the process.",
725
- "info": "",
726
- "x": 300,
727
- "y": 40,
728
- "wires": []
729
- },
730
- {
731
- "id": "529b24c862f7039d",
732
- "type": "endevent-finished-listener",
733
- "z": "a23d2e782beb66f4",
734
- "d": true,
735
- "g": "390ad4a596a3c002",
736
- "name": "",
737
- "engine": "42e6796dddd9d4db",
738
- "x": 170,
739
- "y": 600,
740
- "wires": [
741
- [
742
- "f4011d6a57c6e13f"
743
- ]
744
- ]
745
- },
746
- {
747
- "id": "f4011d6a57c6e13f",
748
- "type": "delay",
749
- "z": "a23d2e782beb66f4",
750
- "g": "390ad4a596a3c002",
751
- "name": "",
752
- "pauseType": "delay",
753
- "timeout": "5",
754
- "timeoutUnits": "seconds",
755
- "rate": "1",
756
- "nbRateUnits": "1",
757
- "rateUnits": "second",
758
- "randomFirst": "1",
759
- "randomLast": "5",
760
- "randomUnits": "seconds",
761
- "drop": false,
762
- "allowrate": false,
763
- "outputs": 1,
764
- "x": 400,
765
- "y": 600,
766
- "wires": [
767
- [
768
- "18e9e15ef645a908"
769
- ]
770
- ]
771
- },
772
- {
773
- "id": "fba605329413c78d",
774
- "type": "process-start",
775
- "z": "a23d2e782beb66f4",
776
- "g": "390ad4a596a3c002",
777
- "name": "",
778
- "engine": "42e6796dddd9d4db",
779
- "processmodel": "External-Task-Sample_Process",
780
- "startevent": "StartEvent_1",
781
- "x": 770,
782
- "y": 600,
783
- "wires": [
784
- []
785
- ]
786
- },
787
- {
788
- "id": "5e5394e458d1de7c",
789
- "type": "inject",
790
- "z": "a23d2e782beb66f4",
791
- "g": "390ad4a596a3c002",
792
- "name": "",
793
- "props": [
794
- {
795
- "p": "payload"
796
- }
797
- ],
798
- "repeat": "",
799
- "crontab": "",
800
- "once": false,
801
- "onceDelay": 0.1,
802
- "topic": "",
803
- "payload": "start",
804
- "payloadType": "str",
805
- "x": 430,
806
- "y": 660,
807
- "wires": [
808
- [
809
- "18e9e15ef645a908"
810
- ]
811
- ]
812
- },
813
- {
814
- "id": "18e9e15ef645a908",
815
- "type": "function",
816
- "z": "a23d2e782beb66f4",
817
- "g": "390ad4a596a3c002",
818
- "name": "pre payload",
819
- "func": "msg.payload = {\n \"hello\": \"world\"\n};\n\nreturn msg;",
820
- "outputs": 1,
821
- "timeout": 0,
822
- "noerr": 0,
823
- "initialize": "",
824
- "finalize": "",
825
- "libs": [],
826
- "x": 590,
827
- "y": 600,
828
- "wires": [
829
- [
830
- "fba605329413c78d"
831
- ]
832
- ]
833
- },
834
- {
835
- "id": "eb96f3128ece1be8",
836
- "type": "comment",
837
- "z": "a23d2e782beb66f4",
838
- "g": "390ad4a596a3c002",
839
- "name": "Start of Process and restart if it is finished",
840
- "info": "",
841
- "x": 220,
842
- "y": 540,
843
- "wires": []
844
- },
845
- {
846
- "id": "82533b02fb9a9f04",
847
- "type": "comment",
848
- "z": "c9ab699769824f2f",
849
- "name": "For Testing, deploy \"External-Task-Sample.bpmn\" and start the process.",
850
- "info": "",
851
- "x": 300,
852
- "y": 40,
853
- "wires": []
854
- },
855
- {
856
- "id": "d0e1fa5361aba536",
857
- "type": "externaltask-input",
858
- "z": "c9ab699769824f2f",
859
- "g": "bb94db89ecb73d7b",
860
- "name": "Test_Auth",
861
- "engine": "b78932d162d8d468",
862
- "topic": "Test_Auth",
863
- "workerConfig": "{}",
864
- "workerConfigType": "json",
865
- "x": 120,
866
- "y": 180,
867
- "wires": [
868
- [
869
- "9680c9f332962628"
870
- ]
871
- ]
872
- },
873
- {
874
- "id": "b70555e181d5d470",
875
- "type": "externaltask-output",
876
- "z": "c9ab699769824f2f",
877
- "g": "bb94db89ecb73d7b",
878
- "name": "Test Ende",
879
- "x": 460,
880
- "y": 180,
881
- "wires": []
882
- },
883
- {
884
- "id": "9680c9f332962628",
885
- "type": "delay",
886
- "z": "c9ab699769824f2f",
887
- "g": "bb94db89ecb73d7b",
888
- "name": "",
889
- "pauseType": "delay",
890
- "timeout": "1",
891
- "timeoutUnits": "seconds",
892
- "rate": "1",
893
- "nbRateUnits": "1",
894
- "rateUnits": "second",
895
- "randomFirst": "1",
896
- "randomLast": "5",
897
- "randomUnits": "seconds",
898
- "drop": false,
899
- "allowrate": false,
900
- "outputs": 1,
901
- "x": 280,
902
- "y": 180,
903
- "wires": [
904
- [
905
- "b70555e181d5d470"
906
- ]
907
- ]
908
- },
909
- {
910
- "id": "7a9659b774fdd8cb",
911
- "type": "comment",
912
- "z": "c9ab699769824f2f",
913
- "g": "bb94db89ecb73d7b",
914
- "name": "Simple External Task handling",
915
- "info": "",
916
- "x": 180,
917
- "y": 120,
918
- "wires": []
919
- },
920
- {
921
- "id": "7af11dd03dd0fc02",
922
- "type": "externaltask-input",
923
- "z": "c9ab699769824f2f",
924
- "g": "ec665c16c4c4a6e0",
925
- "name": "SampleError_Auth",
926
- "engine": "b78932d162d8d468",
927
- "topic": "SampleError_Auth",
928
- "workerConfig": "{}",
929
- "workerConfigType": "json",
930
- "x": 150,
931
- "y": 360,
932
- "wires": [
933
- [
934
- "658f9b10e93f7a39"
935
- ]
936
- ]
937
- },
938
- {
939
- "id": "658f9b10e93f7a39",
940
- "type": "delay",
941
- "z": "c9ab699769824f2f",
942
- "g": "ec665c16c4c4a6e0",
943
- "name": "",
944
- "pauseType": "delay",
945
- "timeout": "5",
946
- "timeoutUnits": "seconds",
947
- "rate": "1",
948
- "nbRateUnits": "1",
949
- "rateUnits": "second",
950
- "randomFirst": "1",
951
- "randomLast": "5",
952
- "randomUnits": "seconds",
953
- "drop": false,
954
- "allowrate": false,
955
- "outputs": 1,
956
- "x": 360,
957
- "y": 360,
958
- "wires": [
959
- [
960
- "89b4959f9a4a71e3"
961
- ]
962
- ]
963
- },
964
- {
965
- "id": "1b62418c924f95eb",
966
- "type": "catch",
967
- "z": "c9ab699769824f2f",
968
- "g": "ec665c16c4c4a6e0",
969
- "name": "",
970
- "scope": "group",
971
- "uncaught": false,
972
- "x": 550,
973
- "y": 420,
974
- "wires": [
975
- [
976
- "7f28bcd6aebeed99"
977
- ]
978
- ]
979
- },
980
- {
981
- "id": "89b4959f9a4a71e3",
982
- "type": "function",
983
- "z": "c9ab699769824f2f",
984
- "g": "ec665c16c4c4a6e0",
985
- "name": "raise Error",
986
- "func": "throw Error(\"hello error\");\n\nreturn msg;",
987
- "outputs": 1,
988
- "timeout": 0,
989
- "noerr": 0,
990
- "initialize": "",
991
- "finalize": "",
992
- "libs": [],
993
- "x": 550,
994
- "y": 360,
995
- "wires": [
996
- [
997
- "f517338178966789"
998
- ]
999
- ]
1000
- },
1001
- {
1002
- "id": "7f28bcd6aebeed99",
1003
- "type": "externaltask-error",
1004
- "z": "c9ab699769824f2f",
1005
- "g": "ec665c16c4c4a6e0",
1006
- "name": "Send Error to Engine",
1007
- "error": "MyErrorCode",
1008
- "x": 760,
1009
- "y": 420,
1010
- "wires": [
1011
- []
1012
- ]
1013
- },
1014
- {
1015
- "id": "f517338178966789",
1016
- "type": "externaltask-output",
1017
- "z": "c9ab699769824f2f",
1018
- "g": "ec665c16c4c4a6e0",
1019
- "name": "",
1020
- "x": 750,
1021
- "y": 360,
1022
- "wires": []
1023
- },
1024
- {
1025
- "id": "ccf0bd22b299d625",
1026
- "type": "comment",
1027
- "z": "c9ab699769824f2f",
1028
- "g": "ec665c16c4c4a6e0",
1029
- "name": "Error handling with external tasks",
1030
- "info": "",
1031
- "x": 190,
1032
- "y": 300,
1033
- "wires": []
1034
- },
1035
- {
1036
- "id": "541a0e06fe48c2b5",
1037
- "type": "endevent-finished-listener",
1038
- "z": "c9ab699769824f2f",
1039
- "d": true,
1040
- "g": "8455bc870589205b",
1041
- "name": "",
1042
- "engine": "b78932d162d8d468",
1043
- "x": 170,
1044
- "y": 600,
1045
- "wires": [
1046
- [
1047
- "c3224cc0ab3d3e80"
1048
- ]
1049
- ]
1050
- },
1051
- {
1052
- "id": "c3224cc0ab3d3e80",
1053
- "type": "delay",
1054
- "z": "c9ab699769824f2f",
1055
- "g": "8455bc870589205b",
1056
- "name": "",
1057
- "pauseType": "delay",
1058
- "timeout": "5",
1059
- "timeoutUnits": "seconds",
1060
- "rate": "1",
1061
- "nbRateUnits": "1",
1062
- "rateUnits": "second",
1063
- "randomFirst": "1",
1064
- "randomLast": "5",
1065
- "randomUnits": "seconds",
1066
- "drop": false,
1067
- "allowrate": false,
1068
- "outputs": 1,
1069
- "x": 400,
1070
- "y": 600,
1071
- "wires": [
1072
- [
1073
- "562334e6f0c16931"
1074
- ]
1075
- ]
1076
- },
1077
- {
1078
- "id": "30f8a269dd7ed601",
1079
- "type": "process-start",
1080
- "z": "c9ab699769824f2f",
1081
- "g": "8455bc870589205b",
1082
- "name": "",
1083
- "engine": "b78932d162d8d468",
1084
- "processmodel": "External-Task-Auth-Sample_Process",
1085
- "startevent": "StartEvent_1",
1086
- "x": 770,
1087
- "y": 600,
1088
- "wires": [
1089
- []
1090
- ]
1091
- },
1092
- {
1093
- "id": "90dd20b9ed76fbe7",
1094
- "type": "inject",
1095
- "z": "c9ab699769824f2f",
1096
- "g": "8455bc870589205b",
1097
- "name": "",
1098
- "props": [
1099
- {
1100
- "p": "payload"
1101
- }
1102
- ],
1103
- "repeat": "",
1104
- "crontab": "",
1105
- "once": false,
1106
- "onceDelay": 0.1,
1107
- "topic": "",
1108
- "payload": "start",
1109
- "payloadType": "str",
1110
- "x": 430,
1111
- "y": 660,
1112
- "wires": [
1113
- [
1114
- "562334e6f0c16931"
1115
- ]
1116
- ]
1117
- },
1118
- {
1119
- "id": "562334e6f0c16931",
1120
- "type": "function",
1121
- "z": "c9ab699769824f2f",
1122
- "g": "8455bc870589205b",
1123
- "name": "pre payload",
1124
- "func": "msg.payload = {\n \"hello\": \"world\"\n};\n\nreturn msg;",
1125
- "outputs": 1,
1126
- "timeout": 0,
1127
- "noerr": 0,
1128
- "initialize": "",
1129
- "finalize": "",
1130
- "libs": [],
1131
- "x": 590,
1132
- "y": 600,
1133
- "wires": [
1134
- [
1135
- "30f8a269dd7ed601"
1136
- ]
1137
- ]
1138
- },
1139
- {
1140
- "id": "423ab3a50b55e37e",
1141
- "type": "comment",
1142
- "z": "c9ab699769824f2f",
1143
- "g": "8455bc870589205b",
1144
- "name": "Start of Process and restart if it is finished",
1145
- "info": "",
1146
- "x": 220,
1147
- "y": 540,
1148
- "wires": []
1149
- },
1150
- {
1151
- "id": "020d34cd4ab43900",
1152
- "type": "debug",
1153
- "z": "fd3c725340de4f74",
1154
- "g": "887f3fb69ad1d1fb",
1155
- "name": "Show User Task",
1156
- "active": false,
1157
- "tosidebar": true,
1158
- "console": false,
1159
- "tostatus": false,
1160
- "complete": "payload",
1161
- "targetType": "msg",
1162
- "statusVal": "",
1163
- "statusType": "auto",
1164
- "x": 440,
1165
- "y": 120,
1166
- "wires": []
1167
- },
1168
- {
1169
- "id": "127bc6e092c5724e",
1170
- "type": "comment",
1171
- "z": "fd3c725340de4f74",
1172
- "g": "887f3fb69ad1d1fb",
1173
- "name": "User Task Events",
1174
- "info": "",
1175
- "x": 140,
1176
- "y": 60,
1177
- "wires": []
1178
- },
1179
- {
1180
- "id": "f7c7682e3a6adaaa",
1181
- "type": "usertask-input",
1182
- "z": "fd3c725340de4f74",
1183
- "g": "72d3db13edc2486b",
1184
- "name": "",
1185
- "engine": "42e6796dddd9d4db",
1186
- "query": "payload",
1187
- "query_type": "msg",
1188
- "x": 180,
1189
- "y": 420,
1190
- "wires": [
1191
- [
1192
- "8ef39e83173d41e3"
1193
- ]
1194
- ]
1195
- },
1196
- {
1197
- "id": "8ef39e83173d41e3",
1198
- "type": "function",
1199
- "z": "fd3c725340de4f74",
1200
- "g": "72d3db13edc2486b",
1201
- "name": "build result",
1202
- "func": "msg.payload.result = {\n \"field_01\": \"value 01\",\n \"field_02\": \"value 02\"\n}\nreturn msg;",
1203
- "outputs": 1,
1204
- "timeout": 0,
1205
- "noerr": 0,
1206
- "initialize": "",
1207
- "finalize": "",
1208
- "libs": [],
1209
- "x": 390,
1210
- "y": 420,
1211
- "wires": [
1212
- [
1213
- "f524b8cc35d56849"
1214
- ]
1215
- ]
1216
- },
1217
- {
1218
- "id": "f524b8cc35d56849",
1219
- "type": "usertask-output",
1220
- "z": "fd3c725340de4f74",
1221
- "g": "72d3db13edc2486b",
1222
- "name": "",
1223
- "engine": "42e6796dddd9d4db",
1224
- "result": "payload.result",
1225
- "result_type": "msg",
1226
- "x": 580,
1227
- "y": 420,
1228
- "wires": [
1229
- []
1230
- ]
1231
- },
1232
- {
1233
- "id": "9fb4017c1d0ac7c9",
1234
- "type": "comment",
1235
- "z": "fd3c725340de4f74",
1236
- "g": "72d3db13edc2486b",
1237
- "name": "Demo to listen on a new usertask an finish them",
1238
- "info": "",
1239
- "x": 240,
1240
- "y": 300,
1241
- "wires": []
1242
- },
1243
- {
1244
- "id": "fc23f271b106648f",
1245
- "type": "usertask-event-listener",
1246
- "z": "fd3c725340de4f74",
1247
- "g": "72d3db13edc2486b",
1248
- "name": "",
1249
- "engine": "42e6796dddd9d4db",
1250
- "usertask": "user_task",
1251
- "eventtype": "new",
1252
- "query": "{}",
1253
- "query_type": "json",
1254
- "x": 160,
1255
- "y": 360,
1256
- "wires": [
1257
- [
1258
- "f7c7682e3a6adaaa"
1259
- ]
1260
- ]
1261
- },
1262
- {
1263
- "id": "394bf2c574d29c0d",
1264
- "type": "usertask-event-listener",
1265
- "z": "fd3c725340de4f74",
1266
- "g": "887f3fb69ad1d1fb",
1267
- "name": "",
1268
- "engine": "42e6796dddd9d4db",
1269
- "usertask": "user_task",
1270
- "eventtype": "new",
1271
- "query": "{}",
1272
- "query_type": "json",
1273
- "x": 160,
1274
- "y": 120,
1275
- "wires": [
1276
- [
1277
- "020d34cd4ab43900"
1278
- ]
1279
- ]
1280
- },
1281
- {
1282
- "id": "30354355d2a0eeb8",
1283
- "type": "usertask-event-listener",
1284
- "z": "fd3c725340de4f74",
1285
- "g": "887f3fb69ad1d1fb",
1286
- "name": "",
1287
- "engine": "42e6796dddd9d4db",
1288
- "usertask": "user_task",
1289
- "eventtype": "finished",
1290
- "query": "{}",
1291
- "query_type": "json",
1292
- "x": 160,
1293
- "y": 180,
1294
- "wires": [
1295
- [
1296
- "020d34cd4ab43900"
1297
- ]
1298
- ]
1299
- },
1300
- {
1301
- "id": "c4f20aefe585bdad",
1302
- "type": "comment",
1303
- "z": "90fa3991405c6248",
1304
- "g": "4f03c1eb4784b442",
1305
- "name": "User Task Events",
1306
- "info": "",
1307
- "x": 160,
1308
- "y": 80,
1309
- "wires": []
1310
- },
1311
- {
1312
- "id": "682a3e6e49c407c0",
1313
- "type": "usertask-input",
1314
- "z": "90fa3991405c6248",
1315
- "g": "a135da7e3b76f6dd",
1316
- "name": "",
1317
- "engine": "b78932d162d8d468",
1318
- "query": "payload",
1319
- "query_type": "msg",
1320
- "x": 200,
1321
- "y": 440,
1322
- "wires": [
1323
- [
1324
- "5c9668cbe4b31919"
1325
- ]
1326
- ]
1327
- },
1328
- {
1329
- "id": "5c9668cbe4b31919",
1330
- "type": "function",
1331
- "z": "90fa3991405c6248",
1332
- "g": "a135da7e3b76f6dd",
1333
- "name": "build result",
1334
- "func": "msg.payload.result = {\n \"field_01\": \"value 01\",\n \"field_02\": \"value 02\"\n}\nreturn msg;",
1335
- "outputs": 1,
1336
- "timeout": 0,
1337
- "noerr": 0,
1338
- "initialize": "",
1339
- "finalize": "",
1340
- "libs": [],
1341
- "x": 390,
1342
- "y": 440,
1343
- "wires": [
1344
- [
1345
- "693e6d63e82ee961"
1346
- ]
1347
- ]
1348
- },
1349
- {
1350
- "id": "693e6d63e82ee961",
1351
- "type": "usertask-output",
1352
- "z": "90fa3991405c6248",
1353
- "g": "a135da7e3b76f6dd",
1354
- "name": "",
1355
- "engine": "b78932d162d8d468",
1356
- "result": "payload.result",
1357
- "result_type": "msg",
1358
- "x": 580,
1359
- "y": 440,
1360
- "wires": [
1361
- []
1362
- ]
1363
- },
1364
- {
1365
- "id": "c63cac30d2627c52",
1366
- "type": "comment",
1367
- "z": "90fa3991405c6248",
1368
- "g": "a135da7e3b76f6dd",
1369
- "name": "Demo to listen on a new usertask an finish them",
1370
- "info": "",
1371
- "x": 260,
1372
- "y": 320,
1373
- "wires": []
1374
- },
1375
- {
1376
- "id": "771e1802a60ea5cc",
1377
- "type": "usertask-event-listener",
1378
- "z": "90fa3991405c6248",
1379
- "g": "a135da7e3b76f6dd",
1380
- "name": "",
1381
- "engine": "b78932d162d8d468",
1382
- "usertask": "user_task_auth",
1383
- "eventtype": "new",
1384
- "query": "{}",
1385
- "query_type": "json",
1386
- "x": 180,
1387
- "y": 380,
1388
- "wires": [
1389
- [
1390
- "682a3e6e49c407c0"
1391
- ]
1392
- ]
1393
- },
1394
- {
1395
- "id": "451fc49b81cfe869",
1396
- "type": "usertask-event-listener",
1397
- "z": "90fa3991405c6248",
1398
- "g": "4f03c1eb4784b442",
1399
- "name": "",
1400
- "engine": "b78932d162d8d468",
1401
- "usertask": "user_task_auth",
1402
- "eventtype": "new",
1403
- "query": "{}",
1404
- "query_type": "json",
1405
- "x": 180,
1406
- "y": 140,
1407
- "wires": [
1408
- [
1409
- "58202f3750a9762b"
1410
- ]
1411
- ]
1412
- },
1413
- {
1414
- "id": "07e2258a732baddb",
1415
- "type": "usertask-event-listener",
1416
- "z": "90fa3991405c6248",
1417
- "g": "4f03c1eb4784b442",
1418
- "name": "",
1419
- "engine": "b78932d162d8d468",
1420
- "usertask": "user_task_auth",
1421
- "eventtype": "finished",
1422
- "query": "{}",
1423
- "query_type": "json",
1424
- "x": 180,
1425
- "y": 200,
1426
- "wires": [
1427
- [
1428
- "58202f3750a9762b"
1429
- ]
1430
- ]
1431
- },
1432
- {
1433
- "id": "58202f3750a9762b",
1434
- "type": "debug",
1435
- "z": "90fa3991405c6248",
1436
- "g": "4f03c1eb4784b442",
1437
- "name": "debug 31",
1438
- "active": false,
1439
- "tosidebar": true,
1440
- "console": false,
1441
- "tostatus": false,
1442
- "complete": "false",
1443
- "statusVal": "",
1444
- "statusType": "auto",
1445
- "x": 380,
1446
- "y": 140,
1447
- "wires": []
1448
- },
1449
- {
1450
- "id": "baa5d814f2e1f1d8",
1451
- "type": "processinstance-query",
1452
- "z": "5d27ab4d14b947e9",
1453
- "g": "a71a168415778e2c",
1454
- "name": "",
1455
- "engine": "42e6796dddd9d4db",
1456
- "query": "{\"includeXml\":false,\"processDefinitionId\":\"External-Task-Sample_Definition\"}",
1457
- "query_type": "json",
1458
- "x": 320,
1459
- "y": 140,
1460
- "wires": [
1461
- [
1462
- "2af2c5031c617e3d"
1463
- ]
1464
- ]
1465
- },
1466
- {
1467
- "id": "2af2c5031c617e3d",
1468
- "type": "debug",
1469
- "z": "5d27ab4d14b947e9",
1470
- "g": "a71a168415778e2c",
1471
- "name": "debug 25",
1472
- "active": true,
1473
- "tosidebar": true,
1474
- "console": false,
1475
- "tostatus": false,
1476
- "complete": "false",
1477
- "statusVal": "",
1478
- "statusType": "auto",
1479
- "x": 520,
1480
- "y": 140,
1481
- "wires": []
1482
- },
1483
- {
1484
- "id": "81af643792f131f0",
1485
- "type": "inject",
1486
- "z": "5d27ab4d14b947e9",
1487
- "g": "a71a168415778e2c",
1488
- "name": "",
1489
- "props": [
1490
- {
1491
- "p": "payload"
1492
- }
1493
- ],
1494
- "repeat": "",
1495
- "crontab": "",
1496
- "once": false,
1497
- "onceDelay": 0.1,
1498
- "topic": "",
1499
- "payload": "go",
1500
- "payloadType": "str",
1501
- "x": 130,
1502
- "y": 140,
1503
- "wires": [
1504
- [
1505
- "baa5d814f2e1f1d8"
1506
- ]
1507
- ]
1508
- },
1509
- {
1510
- "id": "2166b0f822b3e71d",
1511
- "type": "comment",
1512
- "z": "5d27ab4d14b947e9",
1513
- "g": "a71a168415778e2c",
1514
- "name": "Query all processinstances from the engine, see the config of `processinstance-query`",
1515
- "info": "",
1516
- "x": 360,
1517
- "y": 80,
1518
- "wires": []
1519
- },
1520
- {
1521
- "id": "1591cb53c1f1982a",
1522
- "type": "processinstance-query",
1523
- "z": "821add3dc3391985",
1524
- "g": "e17f65347110575e",
1525
- "name": "",
1526
- "engine": "b78932d162d8d468",
1527
- "query": "{\"includeXml\":false}",
1528
- "query_type": "json",
1529
- "x": 320,
1530
- "y": 140,
1531
- "wires": [
1532
- [
1533
- "c2a2b1c1108ee3e1"
1534
- ]
1535
- ]
1536
- },
1537
- {
1538
- "id": "c2a2b1c1108ee3e1",
1539
- "type": "debug",
1540
- "z": "821add3dc3391985",
1541
- "g": "e17f65347110575e",
1542
- "name": "debug 28",
1543
- "active": true,
1544
- "tosidebar": true,
1545
- "console": false,
1546
- "tostatus": false,
1547
- "complete": "false",
1548
- "statusVal": "",
1549
- "statusType": "auto",
1550
- "x": 520,
1551
- "y": 140,
1552
- "wires": []
1553
- },
1554
- {
1555
- "id": "78828be9c878b621",
1556
- "type": "inject",
1557
- "z": "821add3dc3391985",
1558
- "g": "e17f65347110575e",
1559
- "name": "",
1560
- "props": [
1561
- {
1562
- "p": "payload"
1563
- }
1564
- ],
1565
- "repeat": "",
1566
- "crontab": "",
1567
- "once": false,
1568
- "onceDelay": 0.1,
1569
- "topic": "",
1570
- "payload": "go",
1571
- "payloadType": "str",
1572
- "x": 130,
1573
- "y": 140,
1574
- "wires": [
1575
- [
1576
- "1591cb53c1f1982a"
1577
- ]
1578
- ]
1579
- },
1580
- {
1581
- "id": "47a52efd5f9ec550",
1582
- "type": "comment",
1583
- "z": "821add3dc3391985",
1584
- "g": "e17f65347110575e",
1585
- "name": "Query all processinstances from the engine, see the config of `processinstance-query`",
1586
- "info": "",
1587
- "x": 360,
1588
- "y": 80,
1589
- "wires": []
1590
- },
1591
- {
1592
- "id": "d97caca0ec54a633",
1593
- "type": "processdefinition-query",
1594
- "z": "f28ae6aa3a05069e",
1595
- "g": "4c59118134081e05",
1596
- "name": "Query definitions",
1597
- "engine": "42e6796dddd9d4db",
1598
- "query": "{\"includeXml\":false}",
1599
- "query_type": "json",
1600
- "models_only": false,
1601
- "x": 310,
1602
- "y": 140,
1603
- "wires": [
1604
- [
1605
- "5539a5c4c0f9cbe2"
1606
- ]
1607
- ]
1608
- },
1609
- {
1610
- "id": "f74139117c9dab27",
1611
- "type": "inject",
1612
- "z": "f28ae6aa3a05069e",
1613
- "g": "4c59118134081e05",
1614
- "name": "",
1615
- "props": [
1616
- {
1617
- "p": "payload"
1618
- },
1619
- {
1620
- "p": "topic",
1621
- "vt": "str"
1622
- }
1623
- ],
1624
- "repeat": "",
1625
- "crontab": "",
1626
- "once": false,
1627
- "onceDelay": 0.1,
1628
- "topic": "",
1629
- "payload": "",
1630
- "payloadType": "date",
1631
- "x": 120,
1632
- "y": 140,
1633
- "wires": [
1634
- [
1635
- "d97caca0ec54a633"
1636
- ]
1637
- ]
1638
- },
1639
- {
1640
- "id": "5539a5c4c0f9cbe2",
1641
- "type": "debug",
1642
- "z": "f28ae6aa3a05069e",
1643
- "g": "4c59118134081e05",
1644
- "name": "debug 26",
1645
- "active": true,
1646
- "tosidebar": true,
1647
- "console": false,
1648
- "tostatus": false,
1649
- "complete": "false",
1650
- "statusVal": "",
1651
- "statusType": "auto",
1652
- "x": 500,
1653
- "y": 140,
1654
- "wires": []
1655
- },
1656
- {
1657
- "id": "bcc97a73cff5a086",
1658
- "type": "processdefinition-query",
1659
- "z": "f28ae6aa3a05069e",
1660
- "g": "f1d4eaed7570324e",
1661
- "name": "Query models",
1662
- "engine": "42e6796dddd9d4db",
1663
- "query": "{\"includeXml\":false}",
1664
- "query_type": "json",
1665
- "models_only": true,
1666
- "x": 300,
1667
- "y": 320,
1668
- "wires": [
1669
- [
1670
- "0633b709dd9c166f"
1671
- ]
1672
- ]
1673
- },
1674
- {
1675
- "id": "b418463be836efbb",
1676
- "type": "inject",
1677
- "z": "f28ae6aa3a05069e",
1678
- "g": "f1d4eaed7570324e",
1679
- "name": "",
1680
- "props": [
1681
- {
1682
- "p": "payload"
1683
- },
1684
- {
1685
- "p": "topic",
1686
- "vt": "str"
1687
- }
1688
- ],
1689
- "repeat": "",
1690
- "crontab": "",
1691
- "once": false,
1692
- "onceDelay": 0.1,
1693
- "topic": "",
1694
- "payload": "",
1695
- "payloadType": "date",
1696
- "x": 120,
1697
- "y": 320,
1698
- "wires": [
1699
- [
1700
- "bcc97a73cff5a086"
1701
- ]
1702
- ]
1703
- },
1704
- {
1705
- "id": "0633b709dd9c166f",
1706
- "type": "debug",
1707
- "z": "f28ae6aa3a05069e",
1708
- "g": "f1d4eaed7570324e",
1709
- "name": "debug 27",
1710
- "active": true,
1711
- "tosidebar": true,
1712
- "console": false,
1713
- "tostatus": false,
1714
- "complete": "false",
1715
- "statusVal": "",
1716
- "statusType": "auto",
1717
- "x": 480,
1718
- "y": 320,
1719
- "wires": []
1720
- },
1721
- {
1722
- "id": "a8e2b5a6ca25c924",
1723
- "type": "comment",
1724
- "z": "f28ae6aa3a05069e",
1725
- "g": "4c59118134081e05",
1726
- "name": "Definitions",
1727
- "info": "",
1728
- "x": 100,
1729
- "y": 80,
1730
- "wires": []
1731
- },
1732
- {
1733
- "id": "fbb37831549d41ff",
1734
- "type": "comment",
1735
- "z": "f28ae6aa3a05069e",
1736
- "g": "f1d4eaed7570324e",
1737
- "name": "Models",
1738
- "info": "",
1739
- "x": 90,
1740
- "y": 260,
1741
- "wires": []
1742
- },
1743
- {
1744
- "id": "2ecd778293bc1e58",
1745
- "type": "processdefinition-query",
1746
- "z": "9b69648e1614122a",
1747
- "g": "037eeeef4db91107",
1748
- "name": "Query definitions",
1749
- "engine": "b78932d162d8d468",
1750
- "query": "{\"includeXml\":false}",
1751
- "query_type": "json",
1752
- "models_only": false,
1753
- "x": 330,
1754
- "y": 140,
1755
- "wires": [
1756
- [
1757
- "eaa25b48e24cea10"
1758
- ]
1759
- ]
1760
- },
1761
- {
1762
- "id": "7a330fb2934bb4ab",
1763
- "type": "inject",
1764
- "z": "9b69648e1614122a",
1765
- "g": "037eeeef4db91107",
1766
- "name": "",
1767
- "props": [
1768
- {
1769
- "p": "payload"
1770
- },
1771
- {
1772
- "p": "topic",
1773
- "vt": "str"
1774
- }
1775
- ],
1776
- "repeat": "",
1777
- "crontab": "",
1778
- "once": false,
1779
- "onceDelay": 0.1,
1780
- "topic": "",
1781
- "payload": "",
1782
- "payloadType": "date",
1783
- "x": 140,
1784
- "y": 140,
1785
- "wires": [
1786
- [
1787
- "2ecd778293bc1e58"
1788
- ]
1789
- ]
1790
- },
1791
- {
1792
- "id": "eaa25b48e24cea10",
1793
- "type": "debug",
1794
- "z": "9b69648e1614122a",
1795
- "g": "037eeeef4db91107",
1796
- "name": "debug 29",
1797
- "active": true,
1798
- "tosidebar": true,
1799
- "console": false,
1800
- "tostatus": false,
1801
- "complete": "false",
1802
- "statusVal": "",
1803
- "statusType": "auto",
1804
- "x": 520,
1805
- "y": 140,
1806
- "wires": []
1807
- },
1808
- {
1809
- "id": "2d2e2586dfed611a",
1810
- "type": "comment",
1811
- "z": "9b69648e1614122a",
1812
- "g": "037eeeef4db91107",
1813
- "name": "Definitions",
1814
- "info": "",
1815
- "x": 120,
1816
- "y": 80,
1817
- "wires": []
1818
- },
1819
- {
1820
- "id": "443f898ac8d21376",
1821
- "type": "processdefinition-query",
1822
- "z": "9b69648e1614122a",
1823
- "g": "437a2209643cfba5",
1824
- "name": "Query models",
1825
- "engine": "b78932d162d8d468",
1826
- "query": "{\"includeXml\":false}",
1827
- "query_type": "json",
1828
- "models_only": true,
1829
- "x": 320,
1830
- "y": 320,
1831
- "wires": [
1832
- [
1833
- "6ef8711acb760a7f"
1834
- ]
1835
- ]
1836
- },
1837
- {
1838
- "id": "ab161eea047e8ce0",
1839
- "type": "inject",
1840
- "z": "9b69648e1614122a",
1841
- "g": "437a2209643cfba5",
1842
- "name": "",
1843
- "props": [
1844
- {
1845
- "p": "payload"
1846
- },
1847
- {
1848
- "p": "topic",
1849
- "vt": "str"
1850
- }
1851
- ],
1852
- "repeat": "",
1853
- "crontab": "",
1854
- "once": false,
1855
- "onceDelay": 0.1,
1856
- "topic": "",
1857
- "payload": "",
1858
- "payloadType": "date",
1859
- "x": 140,
1860
- "y": 320,
1861
- "wires": [
1862
- [
1863
- "443f898ac8d21376"
1864
- ]
1865
- ]
1866
- },
1867
- {
1868
- "id": "6ef8711acb760a7f",
1869
- "type": "debug",
1870
- "z": "9b69648e1614122a",
1871
- "g": "437a2209643cfba5",
1872
- "name": "debug 30",
1873
- "active": true,
1874
- "tosidebar": true,
1875
- "console": false,
1876
- "tostatus": false,
1877
- "complete": "false",
1878
- "statusVal": "",
1879
- "statusType": "auto",
1880
- "x": 500,
1881
- "y": 320,
1882
- "wires": []
1883
- },
1884
- {
1885
- "id": "8a8d0227dceb9ebb",
1886
- "type": "comment",
1887
- "z": "9b69648e1614122a",
1888
- "g": "437a2209643cfba5",
1889
- "name": "Models",
1890
- "info": "",
1891
- "x": 110,
1892
- "y": 260,
1893
- "wires": []
1894
- },
1895
- {
1896
- "id": "30b8f9c606a2bb83",
1897
- "type": "wait-for-usertask",
1898
- "z": "d6c450fe98faa45f",
1899
- "name": "",
1900
- "engine": "42e6796dddd9d4db",
1901
- "query": "payload",
1902
- "query_type": "msg",
1903
- "only_for_new": true,
1904
- "x": 590,
1905
- "y": 120,
1906
- "wires": [
1907
- [
1908
- "d9cb8e69e985d6df",
1909
- "a5c0ea907e64e759"
1910
- ]
1911
- ]
1912
- },
1913
- {
1914
- "id": "20fd37adf0fb6f39",
1915
- "type": "process-start",
1916
- "z": "d6c450fe98faa45f",
1917
- "name": "",
1918
- "engine": "42e6796dddd9d4db",
1919
- "processmodel": "Wait-For-Usertask_Process",
1920
- "startevent": "StartEvent_1",
1921
- "x": 250,
1922
- "y": 120,
1923
- "wires": [
1924
- [
1925
- "1e1e9c428172eae2",
1926
- "c65a4ba5461e7ee0"
1927
- ]
1928
- ]
1929
- },
1930
- {
1931
- "id": "e18451d69a169f5f",
1932
- "type": "inject",
1933
- "z": "d6c450fe98faa45f",
1934
- "name": "",
1935
- "props": [
1936
- {
1937
- "p": "payload"
1938
- }
1939
- ],
1940
- "repeat": "",
1941
- "crontab": "",
1942
- "once": false,
1943
- "onceDelay": 0.1,
1944
- "topic": "",
1945
- "payload": "{}",
1946
- "payloadType": "json",
1947
- "x": 90,
1948
- "y": 120,
1949
- "wires": [
1950
- [
1951
- "20fd37adf0fb6f39"
1952
- ]
1953
- ]
1954
- },
1955
- {
1956
- "id": "d9cb8e69e985d6df",
1957
- "type": "delay",
1958
- "z": "d6c450fe98faa45f",
1959
- "name": "",
1960
- "pauseType": "delay",
1961
- "timeout": "5",
1962
- "timeoutUnits": "seconds",
1963
- "rate": "1",
1964
- "nbRateUnits": "1",
1965
- "rateUnits": "second",
1966
- "randomFirst": "1",
1967
- "randomLast": "5",
1968
- "randomUnits": "seconds",
1969
- "drop": false,
1970
- "allowrate": false,
1971
- "outputs": 1,
1972
- "x": 540,
1973
- "y": 200,
1974
- "wires": [
1975
- [
1976
- "acecfeef70b5c4ad"
1977
- ]
1978
- ]
1979
- },
1980
- {
1981
- "id": "44f4c6c64263d366",
1982
- "type": "usertask-output",
1983
- "z": "d6c450fe98faa45f",
1984
- "name": "",
1985
- "engine": "42e6796dddd9d4db",
1986
- "result": "payload",
1987
- "result_type": "msg",
1988
- "x": 880,
1989
- "y": 200,
1990
- "wires": [
1991
- []
1992
- ]
1993
- },
1994
- {
1995
- "id": "acecfeef70b5c4ad",
1996
- "type": "function",
1997
- "z": "d6c450fe98faa45f",
1998
- "name": "pre",
1999
- "func": "msg.payload = {};\nreturn msg;",
2000
- "outputs": 1,
2001
- "timeout": 0,
2002
- "noerr": 0,
2003
- "initialize": "",
2004
- "finalize": "",
2005
- "libs": [],
2006
- "x": 710,
2007
- "y": 200,
2008
- "wires": [
2009
- [
2010
- "44f4c6c64263d366"
2011
- ]
2012
- ]
2013
- },
2014
- {
2015
- "id": "1e1e9c428172eae2",
2016
- "type": "function",
2017
- "z": "d6c450fe98faa45f",
2018
- "name": "query",
2019
- "func": "msg.payload = {\n \"processInstanceId\": msg.payload.processInstanceId,\n \"flowNodeId\": \"make_it\"\n};\n\nreturn msg;",
2020
- "outputs": 1,
2021
- "timeout": 0,
2022
- "noerr": 0,
2023
- "initialize": "",
2024
- "finalize": "",
2025
- "libs": [],
2026
- "x": 410,
2027
- "y": 120,
2028
- "wires": [
2029
- [
2030
- "30b8f9c606a2bb83"
2031
- ]
2032
- ]
2033
- },
2034
- {
2035
- "id": "c65a4ba5461e7ee0",
2036
- "type": "debug",
2037
- "z": "d6c450fe98faa45f",
2038
- "name": "debug 32",
2039
- "active": true,
2040
- "tosidebar": true,
2041
- "console": false,
2042
- "tostatus": false,
2043
- "complete": "false",
2044
- "statusVal": "",
2045
- "statusType": "auto",
2046
- "x": 370,
2047
- "y": 60,
2048
- "wires": []
2049
- },
2050
- {
2051
- "id": "a5c0ea907e64e759",
2052
- "type": "debug",
2053
- "z": "d6c450fe98faa45f",
2054
- "name": "debug 33",
2055
- "active": true,
2056
- "tosidebar": true,
2057
- "console": false,
2058
- "tostatus": false,
2059
- "complete": "false",
2060
- "statusVal": "",
2061
- "statusType": "auto",
2062
- "x": 760,
2063
- "y": 60,
2064
- "wires": []
2065
- },
2066
- {
2067
- "id": "930624edc6169c55",
2068
- "type": "process-event-listener",
2069
- "z": "76c047e0d8770a20",
2070
- "g": "865723b71ced9418",
2071
- "name": "",
2072
- "engine": "42e6796dddd9d4db",
2073
- "processmodel": "External-Task-Sample_Process",
2074
- "eventtype": "starting",
2075
- "query": "{}",
2076
- "query_type": "json",
2077
- "x": 160,
2078
- "y": 140,
2079
- "wires": [
2080
- [
2081
- "2f2ec1cc0213eab5"
2082
- ]
2083
- ]
2084
- },
2085
- {
2086
- "id": "2f2ec1cc0213eab5",
2087
- "type": "debug",
2088
- "z": "76c047e0d8770a20",
2089
- "g": "865723b71ced9418",
2090
- "name": "debug 34",
2091
- "active": true,
2092
- "tosidebar": true,
2093
- "console": false,
2094
- "tostatus": false,
2095
- "complete": "false",
2096
- "statusVal": "",
2097
- "statusType": "auto",
2098
- "x": 430,
2099
- "y": 140,
2100
- "wires": []
2101
- },
2102
- {
2103
- "id": "bde205e77cd20558",
2104
- "type": "comment",
2105
- "z": "76c047e0d8770a20",
2106
- "g": "865723b71ced9418",
2107
- "name": "Hört auf die Events der Processe",
2108
- "info": "",
2109
- "x": 190,
2110
- "y": 80,
2111
- "wires": []
2112
- },
2113
- {
2114
- "id": "03ac7bc273197c45",
2115
- "type": "process-terminate",
2116
- "z": "2766c40d84283368",
2117
- "g": "9081b057a931f0cf",
2118
- "name": "",
2119
- "engine": "42e6796dddd9d4db",
2120
- "x": 170,
2121
- "y": 140,
2122
- "wires": [
2123
- [
2124
- "bb734a85d4b37728"
2125
- ]
2126
- ]
2127
- },
2128
- {
2129
- "id": "bb734a85d4b37728",
2130
- "type": "debug",
2131
- "z": "2766c40d84283368",
2132
- "g": "9081b057a931f0cf",
2133
- "name": "debug 35",
2134
- "active": true,
2135
- "tosidebar": true,
2136
- "console": false,
2137
- "tostatus": false,
2138
- "complete": "false",
2139
- "statusVal": "",
2140
- "statusType": "auto",
2141
- "x": 370,
2142
- "y": 140,
2143
- "wires": []
2144
- },
2145
- {
2146
- "id": "3d03550f7d93bfd3",
2147
- "type": "comment",
2148
- "z": "2766c40d84283368",
2149
- "g": "9081b057a931f0cf",
2150
- "name": "Event for Terminating a Process",
2151
- "info": "",
2152
- "x": 210,
2153
- "y": 80,
2154
- "wires": []
2155
- }
2156
- ]