@5minds/node-red-contrib-processcube 1.7.1-feature-4c268d-m6xftyy2 → 1.7.1

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.
@@ -1,3180 +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": "2d4f4d815c889920",
92
- "type": "tab",
93
- "label": "Test Trigger-Event",
94
- "disabled": false,
95
- "info": "",
96
- "env": []
97
- },
98
- {
99
- "id": "b5a25174d4dff5e2",
100
- "type": "tab",
101
- "label": "Start process",
102
- "disabled": false,
103
- "info": "",
104
- "env": []
105
- },
106
- {
107
- "id": "ecd7ca447e4d1f47",
108
- "type": "tab",
109
- "label": "Deploy process model",
110
- "disabled": false,
111
- "info": "",
112
- "env": []
113
- },
114
- {
115
- "id": "598a05cc24b8559f",
116
- "type": "tab",
117
- "label": "Flow 1",
118
- "disabled": false,
119
- "info": "",
120
- "env": []
121
- },
122
- {
123
- "id": "4c59118134081e05",
124
- "type": "group",
125
- "z": "f28ae6aa3a05069e",
126
- "style": {
127
- "stroke": "#999999",
128
- "stroke-opacity": "1",
129
- "fill": "none",
130
- "fill-opacity": "1",
131
- "label": true,
132
- "label-position": "nw",
133
- "color": "#a4a4a4"
134
- },
135
- "nodes": [
136
- "d97caca0ec54a633",
137
- "f74139117c9dab27",
138
- "5539a5c4c0f9cbe2",
139
- "a8e2b5a6ca25c924"
140
- ],
141
- "x": 14,
142
- "y": 39,
143
- "w": 592,
144
- "h": 142
145
- },
146
- {
147
- "id": "f1d4eaed7570324e",
148
- "type": "group",
149
- "z": "f28ae6aa3a05069e",
150
- "style": {
151
- "stroke": "#999999",
152
- "stroke-opacity": "1",
153
- "fill": "none",
154
- "fill-opacity": "1",
155
- "label": true,
156
- "label-position": "nw",
157
- "color": "#a4a4a4"
158
- },
159
- "nodes": [
160
- "bcc97a73cff5a086",
161
- "b418463be836efbb",
162
- "0633b709dd9c166f",
163
- "fbb37831549d41ff"
164
- ],
165
- "x": 14,
166
- "y": 219,
167
- "w": 572,
168
- "h": 142
169
- },
170
- {
171
- "id": "70d7a70e375b162a",
172
- "type": "group",
173
- "z": "a23d2e782beb66f4",
174
- "style": {
175
- "stroke": "#999999",
176
- "stroke-opacity": "1",
177
- "fill": "none",
178
- "fill-opacity": "1",
179
- "label": true,
180
- "label-position": "nw",
181
- "color": "#a4a4a4"
182
- },
183
- "nodes": [
184
- "2991a5e6df2b87d2",
185
- "911fde53bcbb7e3f",
186
- "d56bb7cd73fd220c",
187
- "15a5f64b9e2e05fc"
188
- ],
189
- "x": 34,
190
- "y": 79,
191
- "w": 512,
192
- "h": 142
193
- },
194
- {
195
- "id": "31cb6729aac0ba46",
196
- "type": "group",
197
- "z": "a23d2e782beb66f4",
198
- "style": {
199
- "stroke": "#999999",
200
- "stroke-opacity": "1",
201
- "fill": "none",
202
- "fill-opacity": "1",
203
- "label": true,
204
- "label-position": "nw",
205
- "color": "#a4a4a4"
206
- },
207
- "nodes": [
208
- "18e05d562d48f32d",
209
- "49aee03a7885fae8",
210
- "e4555d9019cd3f47",
211
- "bd68c4bdc53b8f80",
212
- "fb87f79852b22e4a",
213
- "1ba1e62c9935255f",
214
- "b49f226ba865e164"
215
- ],
216
- "x": 34,
217
- "y": 259,
218
- "w": 812,
219
- "h": 202
220
- },
221
- {
222
- "id": "390ad4a596a3c002",
223
- "type": "group",
224
- "z": "a23d2e782beb66f4",
225
- "style": {
226
- "stroke": "#999999",
227
- "stroke-opacity": "1",
228
- "fill": "none",
229
- "fill-opacity": "1",
230
- "label": true,
231
- "label-position": "nw",
232
- "color": "#a4a4a4"
233
- },
234
- "nodes": [
235
- "529b24c862f7039d",
236
- "f4011d6a57c6e13f",
237
- "fba605329413c78d",
238
- "5e5394e458d1de7c",
239
- "18e9e15ef645a908",
240
- "eb96f3128ece1be8"
241
- ],
242
- "x": 34,
243
- "y": 499,
244
- "w": 832,
245
- "h": 202
246
- },
247
- {
248
- "id": "887f3fb69ad1d1fb",
249
- "type": "group",
250
- "z": "fd3c725340de4f74",
251
- "style": {
252
- "stroke": "#999999",
253
- "stroke-opacity": "1",
254
- "fill": "none",
255
- "fill-opacity": "1",
256
- "label": true,
257
- "label-position": "nw",
258
- "color": "#a4a4a4"
259
- },
260
- "nodes": [
261
- "020d34cd4ab43900",
262
- "127bc6e092c5724e",
263
- "394bf2c574d29c0d",
264
- "30354355d2a0eeb8"
265
- ],
266
- "x": 34,
267
- "y": 19,
268
- "w": 532,
269
- "h": 202
270
- },
271
- {
272
- "id": "72d3db13edc2486b",
273
- "type": "group",
274
- "z": "fd3c725340de4f74",
275
- "style": {
276
- "stroke": "#999999",
277
- "stroke-opacity": "1",
278
- "fill": "none",
279
- "fill-opacity": "1",
280
- "label": true,
281
- "label-position": "nw",
282
- "color": "#a4a4a4"
283
- },
284
- "nodes": [
285
- "f7c7682e3a6adaaa",
286
- "8ef39e83173d41e3",
287
- "f524b8cc35d56849",
288
- "9fb4017c1d0ac7c9",
289
- "fc23f271b106648f"
290
- ],
291
- "x": 34,
292
- "y": 239,
293
- "w": 652,
294
- "h": 202
295
- },
296
- {
297
- "id": "a71a168415778e2c",
298
- "type": "group",
299
- "z": "5d27ab4d14b947e9",
300
- "style": {
301
- "stroke": "#999999",
302
- "stroke-opacity": "1",
303
- "fill": "none",
304
- "fill-opacity": "1",
305
- "label": true,
306
- "label-position": "nw",
307
- "color": "#a4a4a4"
308
- },
309
- "nodes": [
310
- "baa5d814f2e1f1d8",
311
- "2af2c5031c617e3d",
312
- "81af643792f131f0",
313
- "2166b0f822b3e71d"
314
- ],
315
- "x": 34,
316
- "y": 39,
317
- "w": 652,
318
- "h": 142
319
- },
320
- {
321
- "id": "bb94db89ecb73d7b",
322
- "type": "group",
323
- "z": "c9ab699769824f2f",
324
- "style": {
325
- "stroke": "#999999",
326
- "stroke-opacity": "1",
327
- "fill": "none",
328
- "fill-opacity": "1",
329
- "label": true,
330
- "label-position": "nw",
331
- "color": "#a4a4a4"
332
- },
333
- "nodes": [
334
- "d0e1fa5361aba536",
335
- "b70555e181d5d470",
336
- "9680c9f332962628",
337
- "7a9659b774fdd8cb"
338
- ],
339
- "x": 34,
340
- "y": 79,
341
- "w": 512,
342
- "h": 142
343
- },
344
- {
345
- "id": "ec665c16c4c4a6e0",
346
- "type": "group",
347
- "z": "c9ab699769824f2f",
348
- "style": {
349
- "stroke": "#999999",
350
- "stroke-opacity": "1",
351
- "fill": "none",
352
- "fill-opacity": "1",
353
- "label": true,
354
- "label-position": "nw",
355
- "color": "#a4a4a4"
356
- },
357
- "nodes": [
358
- "7af11dd03dd0fc02",
359
- "658f9b10e93f7a39",
360
- "1b62418c924f95eb",
361
- "89b4959f9a4a71e3",
362
- "7f28bcd6aebeed99",
363
- "f517338178966789",
364
- "ccf0bd22b299d625"
365
- ],
366
- "x": 34,
367
- "y": 259,
368
- "w": 852,
369
- "h": 202
370
- },
371
- {
372
- "id": "8455bc870589205b",
373
- "type": "group",
374
- "z": "c9ab699769824f2f",
375
- "style": {
376
- "stroke": "#999999",
377
- "stroke-opacity": "1",
378
- "fill": "none",
379
- "fill-opacity": "1",
380
- "label": true,
381
- "label-position": "nw",
382
- "color": "#a4a4a4"
383
- },
384
- "nodes": [
385
- "541a0e06fe48c2b5",
386
- "c3224cc0ab3d3e80",
387
- "30f8a269dd7ed601",
388
- "90dd20b9ed76fbe7",
389
- "562334e6f0c16931",
390
- "423ab3a50b55e37e"
391
- ],
392
- "x": 34,
393
- "y": 499,
394
- "w": 832,
395
- "h": 202
396
- },
397
- {
398
- "id": "4f03c1eb4784b442",
399
- "type": "group",
400
- "z": "90fa3991405c6248",
401
- "style": {
402
- "stroke": "#999999",
403
- "stroke-opacity": "1",
404
- "fill": "none",
405
- "fill-opacity": "1",
406
- "label": true,
407
- "label-position": "nw",
408
- "color": "#a4a4a4"
409
- },
410
- "nodes": [
411
- "c4f20aefe585bdad",
412
- "451fc49b81cfe869",
413
- "07e2258a732baddb",
414
- "58202f3750a9762b"
415
- ],
416
- "x": 54,
417
- "y": 39,
418
- "w": 432,
419
- "h": 202
420
- },
421
- {
422
- "id": "a135da7e3b76f6dd",
423
- "type": "group",
424
- "z": "90fa3991405c6248",
425
- "style": {
426
- "stroke": "#999999",
427
- "stroke-opacity": "1",
428
- "fill": "none",
429
- "fill-opacity": "1",
430
- "label": true,
431
- "label-position": "nw",
432
- "color": "#a4a4a4"
433
- },
434
- "nodes": [
435
- "682a3e6e49c407c0",
436
- "5c9668cbe4b31919",
437
- "693e6d63e82ee961",
438
- "c63cac30d2627c52",
439
- "771e1802a60ea5cc"
440
- ],
441
- "x": 54,
442
- "y": 279,
443
- "w": 632,
444
- "h": 202
445
- },
446
- {
447
- "id": "e17f65347110575e",
448
- "type": "group",
449
- "z": "821add3dc3391985",
450
- "style": {
451
- "stroke": "#999999",
452
- "stroke-opacity": "1",
453
- "fill": "none",
454
- "fill-opacity": "1",
455
- "label": true,
456
- "label-position": "nw",
457
- "color": "#a4a4a4"
458
- },
459
- "nodes": [
460
- "1591cb53c1f1982a",
461
- "c2a2b1c1108ee3e1",
462
- "78828be9c878b621",
463
- "47a52efd5f9ec550"
464
- ],
465
- "x": 34,
466
- "y": 39,
467
- "w": 652,
468
- "h": 142
469
- },
470
- {
471
- "id": "037eeeef4db91107",
472
- "type": "group",
473
- "z": "9b69648e1614122a",
474
- "style": {
475
- "stroke": "#999999",
476
- "stroke-opacity": "1",
477
- "fill": "none",
478
- "fill-opacity": "1",
479
- "label": true,
480
- "label-position": "nw",
481
- "color": "#a4a4a4"
482
- },
483
- "nodes": [
484
- "2ecd778293bc1e58",
485
- "7a330fb2934bb4ab",
486
- "eaa25b48e24cea10",
487
- "2d2e2586dfed611a"
488
- ],
489
- "x": 34,
490
- "y": 39,
491
- "w": 592,
492
- "h": 142
493
- },
494
- {
495
- "id": "437a2209643cfba5",
496
- "type": "group",
497
- "z": "9b69648e1614122a",
498
- "style": {
499
- "stroke": "#999999",
500
- "stroke-opacity": "1",
501
- "fill": "none",
502
- "fill-opacity": "1",
503
- "label": true,
504
- "label-position": "nw",
505
- "color": "#a4a4a4"
506
- },
507
- "nodes": [
508
- "443f898ac8d21376",
509
- "ab161eea047e8ce0",
510
- "6ef8711acb760a7f",
511
- "8a8d0227dceb9ebb"
512
- ],
513
- "x": 34,
514
- "y": 219,
515
- "w": 572,
516
- "h": 142
517
- },
518
- {
519
- "id": "3f3c01daebb2d215",
520
- "type": "group",
521
- "z": "fd3c725340de4f74",
522
- "style": {
523
- "stroke": "#999999",
524
- "stroke-opacity": "1",
525
- "fill": "none",
526
- "fill-opacity": "1",
527
- "label": true,
528
- "label-position": "nw",
529
- "color": "#a4a4a4"
530
- },
531
- "nodes": [
532
- "2fadb4c4667ecaf2",
533
- "93331783b7ef3fc5",
534
- "bc26f9821540f097",
535
- "cc3fb9c2cb0edd3a"
536
- ],
537
- "x": 34,
538
- "y": 459,
539
- "w": 552,
540
- "h": 142
541
- },
542
- {
543
- "id": "73ca179de59cdabf",
544
- "type": "group",
545
- "z": "a23d2e782beb66f4",
546
- "style": {
547
- "stroke": "#999999",
548
- "stroke-opacity": "1",
549
- "fill": "none",
550
- "fill-opacity": "1",
551
- "label": true,
552
- "label-position": "nw",
553
- "color": "#a4a4a4"
554
- },
555
- "nodes": [
556
- "3283986789f6f865",
557
- "f2b869714547df91",
558
- "7a24dd57f7964be1",
559
- "9be410342a64e57a",
560
- "7bc885294b6f6b08",
561
- "412d03bddecd4fd4"
562
- ],
563
- "x": 34,
564
- "y": 739,
565
- "w": 682,
566
- "h": 202
567
- },
568
- {
569
- "id": "48f72a8b2cb5ead9",
570
- "type": "group",
571
- "z": "2d4f4d815c889920",
572
- "style": {
573
- "stroke": "#5d5d5d",
574
- "stroke-opacity": "1",
575
- "fill": "#27272a",
576
- "fill-opacity": "0.5",
577
- "label": true,
578
- "label-position": "nw",
579
- "color": "#e2e8f0"
580
- },
581
- "nodes": [
582
- "9aaa1850f6cf0c5b",
583
- "b92f9b7c8839bd52",
584
- "e7c528682ace1eee",
585
- "1795b84421188c56",
586
- "0217c4f569ceb289"
587
- ],
588
- "x": 54,
589
- "y": 39,
590
- "w": 752,
591
- "h": 142
592
- },
593
- {
594
- "id": "4736a27919052199",
595
- "type": "group",
596
- "z": "2d4f4d815c889920",
597
- "style": {
598
- "stroke": "#5d5d5d",
599
- "stroke-opacity": "1",
600
- "fill": "#27272a",
601
- "fill-opacity": "0.5",
602
- "label": true,
603
- "label-position": "nw",
604
- "color": "#e2e8f0"
605
- },
606
- "nodes": [
607
- "d0d55ea4c120f824",
608
- "9fa5516904f5ddc9",
609
- "25c81fa425019087",
610
- "4ff784bd746f357a",
611
- "1605dca966cb1ca3",
612
- "15c494ef7b808eee",
613
- "e62b0d58687ce755",
614
- "700a1f33a7472ace"
615
- ],
616
- "x": 54,
617
- "y": 199,
618
- "w": 792,
619
- "h": 262
620
- },
621
- {
622
- "id": "8532caa2120a8ff3",
623
- "type": "group",
624
- "z": "2d4f4d815c889920",
625
- "style": {
626
- "stroke": "#5d5d5d",
627
- "stroke-opacity": "1",
628
- "fill": "#27272a",
629
- "fill-opacity": "0.5",
630
- "label": true,
631
- "label-position": "nw",
632
- "color": "#e2e8f0"
633
- },
634
- "nodes": [
635
- "3da3f0919d261dbb",
636
- "499158b3e609a621",
637
- "b463ae80bf2b5886",
638
- "1db58abf4179cb33",
639
- "01610786730a8edb"
640
- ],
641
- "x": 54,
642
- "y": 479,
643
- "w": 792,
644
- "h": 142
645
- },
646
- {
647
- "id": "be22a2d8eb2e28c4",
648
- "type": "group",
649
- "z": "a23d2e782beb66f4",
650
- "style": {
651
- "stroke": "#999999",
652
- "stroke-opacity": "1",
653
- "fill": "none",
654
- "fill-opacity": "1",
655
- "label": true,
656
- "label-position": "nw",
657
- "color": "#a4a4a4"
658
- },
659
- "nodes": [
660
- "53a1d67f1dfa05fe",
661
- "d513d7e0c850c44d",
662
- "6f6e80c41332e9c1",
663
- "0cf6a2ec7112f5f6"
664
- ],
665
- "x": 34,
666
- "y": 979,
667
- "w": 652,
668
- "h": 142
669
- },
670
- {
671
- "id": "42e6796dddd9d4db",
672
- "type": "processcube-engine-config",
673
- "name": "Engine 8000",
674
- "url": "http://engine:8000"
675
- },
676
- {
677
- "id": "b78932d162d8d468",
678
- "type": "processcube-engine-config",
679
- "name": "Engine Auth 8000",
680
- "url": "http://engine:8000"
681
- },
682
- {
683
- "id": "2991a5e6df2b87d2",
684
- "type": "externaltask-input",
685
- "z": "a23d2e782beb66f4",
686
- "g": "70d7a70e375b162a",
687
- "name": "Test",
688
- "engine": "42e6796dddd9d4db",
689
- "topic": "Test",
690
- "workerConfig": "{}",
691
- "workerConfigType": "json",
692
- "x": 110,
693
- "y": 180,
694
- "wires": [
695
- [
696
- "d56bb7cd73fd220c"
697
- ]
698
- ]
699
- },
700
- {
701
- "id": "911fde53bcbb7e3f",
702
- "type": "externaltask-output",
703
- "z": "a23d2e782beb66f4",
704
- "g": "70d7a70e375b162a",
705
- "name": "Test Ende",
706
- "x": 460,
707
- "y": 180,
708
- "wires": []
709
- },
710
- {
711
- "id": "d56bb7cd73fd220c",
712
- "type": "delay",
713
- "z": "a23d2e782beb66f4",
714
- "g": "70d7a70e375b162a",
715
- "name": "",
716
- "pauseType": "delay",
717
- "timeout": "1",
718
- "timeoutUnits": "seconds",
719
- "rate": "1",
720
- "nbRateUnits": "1",
721
- "rateUnits": "second",
722
- "randomFirst": "1",
723
- "randomLast": "5",
724
- "randomUnits": "seconds",
725
- "drop": false,
726
- "allowrate": false,
727
- "outputs": 1,
728
- "x": 280,
729
- "y": 180,
730
- "wires": [
731
- [
732
- "911fde53bcbb7e3f"
733
- ]
734
- ]
735
- },
736
- {
737
- "id": "18e05d562d48f32d",
738
- "type": "externaltask-input",
739
- "z": "a23d2e782beb66f4",
740
- "g": "31cb6729aac0ba46",
741
- "name": "SampleError",
742
- "engine": "42e6796dddd9d4db",
743
- "topic": "SampleError",
744
- "workerConfig": "{}",
745
- "workerConfigType": "json",
746
- "x": 130,
747
- "y": 360,
748
- "wires": [
749
- [
750
- "49aee03a7885fae8"
751
- ]
752
- ]
753
- },
754
- {
755
- "id": "49aee03a7885fae8",
756
- "type": "delay",
757
- "z": "a23d2e782beb66f4",
758
- "g": "31cb6729aac0ba46",
759
- "name": "",
760
- "pauseType": "delay",
761
- "timeout": "5",
762
- "timeoutUnits": "seconds",
763
- "rate": "1",
764
- "nbRateUnits": "1",
765
- "rateUnits": "second",
766
- "randomFirst": "1",
767
- "randomLast": "5",
768
- "randomUnits": "seconds",
769
- "drop": false,
770
- "allowrate": false,
771
- "outputs": 1,
772
- "x": 320,
773
- "y": 360,
774
- "wires": [
775
- [
776
- "bd68c4bdc53b8f80"
777
- ]
778
- ]
779
- },
780
- {
781
- "id": "e4555d9019cd3f47",
782
- "type": "catch",
783
- "z": "a23d2e782beb66f4",
784
- "g": "31cb6729aac0ba46",
785
- "name": "",
786
- "scope": "group",
787
- "uncaught": false,
788
- "x": 510,
789
- "y": 420,
790
- "wires": [
791
- [
792
- "fb87f79852b22e4a"
793
- ]
794
- ]
795
- },
796
- {
797
- "id": "bd68c4bdc53b8f80",
798
- "type": "function",
799
- "z": "a23d2e782beb66f4",
800
- "g": "31cb6729aac0ba46",
801
- "name": "raise Error",
802
- "func": "throw Error(\"hello error\");\n\nreturn msg;",
803
- "outputs": 1,
804
- "timeout": 0,
805
- "noerr": 0,
806
- "initialize": "",
807
- "finalize": "",
808
- "libs": [],
809
- "x": 510,
810
- "y": 360,
811
- "wires": [
812
- [
813
- "1ba1e62c9935255f"
814
- ]
815
- ]
816
- },
817
- {
818
- "id": "fb87f79852b22e4a",
819
- "type": "externaltask-error",
820
- "z": "a23d2e782beb66f4",
821
- "g": "31cb6729aac0ba46",
822
- "name": "Send Error to Engine",
823
- "error": "MyErrorCode",
824
- "x": 720,
825
- "y": 420,
826
- "wires": [
827
- []
828
- ]
829
- },
830
- {
831
- "id": "1ba1e62c9935255f",
832
- "type": "externaltask-output",
833
- "z": "a23d2e782beb66f4",
834
- "g": "31cb6729aac0ba46",
835
- "name": "",
836
- "x": 710,
837
- "y": 360,
838
- "wires": []
839
- },
840
- {
841
- "id": "15a5f64b9e2e05fc",
842
- "type": "comment",
843
- "z": "a23d2e782beb66f4",
844
- "g": "70d7a70e375b162a",
845
- "name": "Simple External Task handling",
846
- "info": "",
847
- "x": 180,
848
- "y": 120,
849
- "wires": []
850
- },
851
- {
852
- "id": "b49f226ba865e164",
853
- "type": "comment",
854
- "z": "a23d2e782beb66f4",
855
- "g": "31cb6729aac0ba46",
856
- "name": "Error handling with external tasks",
857
- "info": "",
858
- "x": 190,
859
- "y": 300,
860
- "wires": []
861
- },
862
- {
863
- "id": "799125e21de02f13",
864
- "type": "comment",
865
- "z": "a23d2e782beb66f4",
866
- "name": "For Testing, deploy \"External-Task-Sample.bpmn\" and start the process.",
867
- "info": "",
868
- "x": 300,
869
- "y": 40,
870
- "wires": []
871
- },
872
- {
873
- "id": "529b24c862f7039d",
874
- "type": "endevent-finished-listener",
875
- "z": "a23d2e782beb66f4",
876
- "d": true,
877
- "g": "390ad4a596a3c002",
878
- "name": "",
879
- "engine": "42e6796dddd9d4db",
880
- "x": 170,
881
- "y": 600,
882
- "wires": [
883
- [
884
- "f4011d6a57c6e13f"
885
- ]
886
- ]
887
- },
888
- {
889
- "id": "f4011d6a57c6e13f",
890
- "type": "delay",
891
- "z": "a23d2e782beb66f4",
892
- "g": "390ad4a596a3c002",
893
- "name": "",
894
- "pauseType": "delay",
895
- "timeout": "5",
896
- "timeoutUnits": "seconds",
897
- "rate": "1",
898
- "nbRateUnits": "1",
899
- "rateUnits": "second",
900
- "randomFirst": "1",
901
- "randomLast": "5",
902
- "randomUnits": "seconds",
903
- "drop": false,
904
- "allowrate": false,
905
- "outputs": 1,
906
- "x": 400,
907
- "y": 600,
908
- "wires": [
909
- [
910
- "18e9e15ef645a908"
911
- ]
912
- ]
913
- },
914
- {
915
- "id": "fba605329413c78d",
916
- "type": "process-start",
917
- "z": "a23d2e782beb66f4",
918
- "g": "390ad4a596a3c002",
919
- "name": "",
920
- "engine": "42e6796dddd9d4db",
921
- "processmodel": "External-Task-Sample_Process",
922
- "startevent": "StartEvent_1",
923
- "x": 770,
924
- "y": 600,
925
- "wires": [
926
- []
927
- ]
928
- },
929
- {
930
- "id": "5e5394e458d1de7c",
931
- "type": "inject",
932
- "z": "a23d2e782beb66f4",
933
- "g": "390ad4a596a3c002",
934
- "name": "",
935
- "props": [
936
- {
937
- "p": "payload"
938
- }
939
- ],
940
- "repeat": "",
941
- "crontab": "",
942
- "once": false,
943
- "onceDelay": 0.1,
944
- "topic": "",
945
- "payload": "start",
946
- "payloadType": "str",
947
- "x": 430,
948
- "y": 660,
949
- "wires": [
950
- [
951
- "18e9e15ef645a908"
952
- ]
953
- ]
954
- },
955
- {
956
- "id": "18e9e15ef645a908",
957
- "type": "function",
958
- "z": "a23d2e782beb66f4",
959
- "g": "390ad4a596a3c002",
960
- "name": "pre payload",
961
- "func": "msg.payload = {\n \"hello\": \"world\"\n};\n\nreturn msg;",
962
- "outputs": 1,
963
- "timeout": 0,
964
- "noerr": 0,
965
- "initialize": "",
966
- "finalize": "",
967
- "libs": [],
968
- "x": 590,
969
- "y": 600,
970
- "wires": [
971
- [
972
- "fba605329413c78d"
973
- ]
974
- ]
975
- },
976
- {
977
- "id": "eb96f3128ece1be8",
978
- "type": "comment",
979
- "z": "a23d2e782beb66f4",
980
- "g": "390ad4a596a3c002",
981
- "name": "Start of Process and restart if it is finished",
982
- "info": "",
983
- "x": 220,
984
- "y": 540,
985
- "wires": []
986
- },
987
- {
988
- "id": "3283986789f6f865",
989
- "type": "externaltask-input",
990
- "z": "a23d2e782beb66f4",
991
- "g": "73ca179de59cdabf",
992
- "name": "TopicFromENV",
993
- "engine": "42e6796dddd9d4db",
994
- "topic": "TOPIC",
995
- "topicType": "env",
996
- "workerConfig": "{}",
997
- "workerConfigType": "json",
998
- "x": 140,
999
- "y": 840,
1000
- "wires": [
1001
- [
1002
- "f2b869714547df91"
1003
- ]
1004
- ]
1005
- },
1006
- {
1007
- "id": "f2b869714547df91",
1008
- "type": "delay",
1009
- "z": "a23d2e782beb66f4",
1010
- "g": "73ca179de59cdabf",
1011
- "name": "",
1012
- "pauseType": "delay",
1013
- "timeout": "5",
1014
- "timeoutUnits": "seconds",
1015
- "rate": "1",
1016
- "nbRateUnits": "1",
1017
- "rateUnits": "second",
1018
- "randomFirst": "1",
1019
- "randomLast": "5",
1020
- "randomUnits": "seconds",
1021
- "drop": false,
1022
- "allowrate": false,
1023
- "outputs": 1,
1024
- "x": 400,
1025
- "y": 840,
1026
- "wires": [
1027
- [
1028
- "7a24dd57f7964be1"
1029
- ]
1030
- ]
1031
- },
1032
- {
1033
- "id": "7a24dd57f7964be1",
1034
- "type": "externaltask-output",
1035
- "z": "a23d2e782beb66f4",
1036
- "g": "73ca179de59cdabf",
1037
- "name": "",
1038
- "x": 600,
1039
- "y": 840,
1040
- "wires": []
1041
- },
1042
- {
1043
- "id": "9be410342a64e57a",
1044
- "type": "externaltask-error",
1045
- "z": "a23d2e782beb66f4",
1046
- "g": "73ca179de59cdabf",
1047
- "name": "",
1048
- "error": "",
1049
- "x": 510,
1050
- "y": 900,
1051
- "wires": [
1052
- []
1053
- ]
1054
- },
1055
- {
1056
- "id": "7bc885294b6f6b08",
1057
- "type": "catch",
1058
- "z": "a23d2e782beb66f4",
1059
- "g": "73ca179de59cdabf",
1060
- "name": "",
1061
- "scope": null,
1062
- "uncaught": false,
1063
- "x": 320,
1064
- "y": 900,
1065
- "wires": [
1066
- [
1067
- "9be410342a64e57a"
1068
- ]
1069
- ]
1070
- },
1071
- {
1072
- "id": "412d03bddecd4fd4",
1073
- "type": "comment",
1074
- "z": "a23d2e782beb66f4",
1075
- "g": "73ca179de59cdabf",
1076
- "name": "External Task with Topic from ENV",
1077
- "info": "",
1078
- "x": 200,
1079
- "y": 780,
1080
- "wires": []
1081
- },
1082
- {
1083
- "id": "53a1d67f1dfa05fe",
1084
- "type": "externaltask-input",
1085
- "z": "a23d2e782beb66f4",
1086
- "g": "be22a2d8eb2e28c4",
1087
- "name": "the_simple_topic",
1088
- "engine": "42e6796dddd9d4db",
1089
- "topic": "the_simple_topic",
1090
- "topicType": "str",
1091
- "workerConfig": "{}",
1092
- "workerConfigType": "json",
1093
- "x": 140,
1094
- "y": 1080,
1095
- "wires": [
1096
- [
1097
- "d513d7e0c850c44d"
1098
- ]
1099
- ]
1100
- },
1101
- {
1102
- "id": "d513d7e0c850c44d",
1103
- "type": "delay",
1104
- "z": "a23d2e782beb66f4",
1105
- "g": "be22a2d8eb2e28c4",
1106
- "name": "",
1107
- "pauseType": "delay",
1108
- "timeout": "10",
1109
- "timeoutUnits": "seconds",
1110
- "rate": "1",
1111
- "nbRateUnits": "1",
1112
- "rateUnits": "second",
1113
- "randomFirst": "1",
1114
- "randomLast": "5",
1115
- "randomUnits": "seconds",
1116
- "drop": false,
1117
- "allowrate": false,
1118
- "outputs": 1,
1119
- "x": 350,
1120
- "y": 1080,
1121
- "wires": [
1122
- [
1123
- "6f6e80c41332e9c1"
1124
- ]
1125
- ]
1126
- },
1127
- {
1128
- "id": "6f6e80c41332e9c1",
1129
- "type": "externaltask-output",
1130
- "z": "a23d2e782beb66f4",
1131
- "g": "be22a2d8eb2e28c4",
1132
- "name": "",
1133
- "x": 570,
1134
- "y": 1080,
1135
- "wires": []
1136
- },
1137
- {
1138
- "id": "0cf6a2ec7112f5f6",
1139
- "type": "comment",
1140
- "z": "a23d2e782beb66f4",
1141
- "g": "be22a2d8eb2e28c4",
1142
- "name": "Handle: the_simple_topic",
1143
- "info": "",
1144
- "x": 170,
1145
- "y": 1020,
1146
- "wires": []
1147
- },
1148
- {
1149
- "id": "82533b02fb9a9f04",
1150
- "type": "comment",
1151
- "z": "c9ab699769824f2f",
1152
- "name": "For Testing, deploy \"External-Task-Sample.bpmn\" and start the process.",
1153
- "info": "",
1154
- "x": 300,
1155
- "y": 40,
1156
- "wires": []
1157
- },
1158
- {
1159
- "id": "d0e1fa5361aba536",
1160
- "type": "externaltask-input",
1161
- "z": "c9ab699769824f2f",
1162
- "g": "bb94db89ecb73d7b",
1163
- "name": "Test_Auth",
1164
- "engine": "b78932d162d8d468",
1165
- "topic": "Test_Auth",
1166
- "workerConfig": "{}",
1167
- "workerConfigType": "json",
1168
- "x": 120,
1169
- "y": 180,
1170
- "wires": [
1171
- [
1172
- "9680c9f332962628"
1173
- ]
1174
- ]
1175
- },
1176
- {
1177
- "id": "b70555e181d5d470",
1178
- "type": "externaltask-output",
1179
- "z": "c9ab699769824f2f",
1180
- "g": "bb94db89ecb73d7b",
1181
- "name": "Test Ende",
1182
- "x": 460,
1183
- "y": 180,
1184
- "wires": []
1185
- },
1186
- {
1187
- "id": "9680c9f332962628",
1188
- "type": "delay",
1189
- "z": "c9ab699769824f2f",
1190
- "g": "bb94db89ecb73d7b",
1191
- "name": "",
1192
- "pauseType": "delay",
1193
- "timeout": "1",
1194
- "timeoutUnits": "seconds",
1195
- "rate": "1",
1196
- "nbRateUnits": "1",
1197
- "rateUnits": "second",
1198
- "randomFirst": "1",
1199
- "randomLast": "5",
1200
- "randomUnits": "seconds",
1201
- "drop": false,
1202
- "allowrate": false,
1203
- "outputs": 1,
1204
- "x": 280,
1205
- "y": 180,
1206
- "wires": [
1207
- [
1208
- "b70555e181d5d470"
1209
- ]
1210
- ]
1211
- },
1212
- {
1213
- "id": "7a9659b774fdd8cb",
1214
- "type": "comment",
1215
- "z": "c9ab699769824f2f",
1216
- "g": "bb94db89ecb73d7b",
1217
- "name": "Simple External Task handling",
1218
- "info": "",
1219
- "x": 180,
1220
- "y": 120,
1221
- "wires": []
1222
- },
1223
- {
1224
- "id": "7af11dd03dd0fc02",
1225
- "type": "externaltask-input",
1226
- "z": "c9ab699769824f2f",
1227
- "g": "ec665c16c4c4a6e0",
1228
- "name": "SampleError_Auth",
1229
- "engine": "b78932d162d8d468",
1230
- "topic": "SampleError_Auth",
1231
- "workerConfig": "{}",
1232
- "workerConfigType": "json",
1233
- "x": 150,
1234
- "y": 360,
1235
- "wires": [
1236
- [
1237
- "658f9b10e93f7a39"
1238
- ]
1239
- ]
1240
- },
1241
- {
1242
- "id": "658f9b10e93f7a39",
1243
- "type": "delay",
1244
- "z": "c9ab699769824f2f",
1245
- "g": "ec665c16c4c4a6e0",
1246
- "name": "",
1247
- "pauseType": "delay",
1248
- "timeout": "5",
1249
- "timeoutUnits": "seconds",
1250
- "rate": "1",
1251
- "nbRateUnits": "1",
1252
- "rateUnits": "second",
1253
- "randomFirst": "1",
1254
- "randomLast": "5",
1255
- "randomUnits": "seconds",
1256
- "drop": false,
1257
- "allowrate": false,
1258
- "outputs": 1,
1259
- "x": 360,
1260
- "y": 360,
1261
- "wires": [
1262
- [
1263
- "89b4959f9a4a71e3"
1264
- ]
1265
- ]
1266
- },
1267
- {
1268
- "id": "1b62418c924f95eb",
1269
- "type": "catch",
1270
- "z": "c9ab699769824f2f",
1271
- "g": "ec665c16c4c4a6e0",
1272
- "name": "",
1273
- "scope": "group",
1274
- "uncaught": false,
1275
- "x": 550,
1276
- "y": 420,
1277
- "wires": [
1278
- [
1279
- "7f28bcd6aebeed99"
1280
- ]
1281
- ]
1282
- },
1283
- {
1284
- "id": "89b4959f9a4a71e3",
1285
- "type": "function",
1286
- "z": "c9ab699769824f2f",
1287
- "g": "ec665c16c4c4a6e0",
1288
- "name": "raise Error",
1289
- "func": "throw Error(\"hello error\");\n\nreturn msg;",
1290
- "outputs": 1,
1291
- "timeout": 0,
1292
- "noerr": 0,
1293
- "initialize": "",
1294
- "finalize": "",
1295
- "libs": [],
1296
- "x": 550,
1297
- "y": 360,
1298
- "wires": [
1299
- [
1300
- "f517338178966789"
1301
- ]
1302
- ]
1303
- },
1304
- {
1305
- "id": "7f28bcd6aebeed99",
1306
- "type": "externaltask-error",
1307
- "z": "c9ab699769824f2f",
1308
- "g": "ec665c16c4c4a6e0",
1309
- "name": "Send Error to Engine",
1310
- "error": "MyErrorCode",
1311
- "x": 760,
1312
- "y": 420,
1313
- "wires": [
1314
- []
1315
- ]
1316
- },
1317
- {
1318
- "id": "f517338178966789",
1319
- "type": "externaltask-output",
1320
- "z": "c9ab699769824f2f",
1321
- "g": "ec665c16c4c4a6e0",
1322
- "name": "",
1323
- "x": 750,
1324
- "y": 360,
1325
- "wires": []
1326
- },
1327
- {
1328
- "id": "ccf0bd22b299d625",
1329
- "type": "comment",
1330
- "z": "c9ab699769824f2f",
1331
- "g": "ec665c16c4c4a6e0",
1332
- "name": "Error handling with external tasks",
1333
- "info": "",
1334
- "x": 190,
1335
- "y": 300,
1336
- "wires": []
1337
- },
1338
- {
1339
- "id": "541a0e06fe48c2b5",
1340
- "type": "endevent-finished-listener",
1341
- "z": "c9ab699769824f2f",
1342
- "d": true,
1343
- "g": "8455bc870589205b",
1344
- "name": "",
1345
- "engine": "b78932d162d8d468",
1346
- "x": 170,
1347
- "y": 600,
1348
- "wires": [
1349
- [
1350
- "c3224cc0ab3d3e80"
1351
- ]
1352
- ]
1353
- },
1354
- {
1355
- "id": "c3224cc0ab3d3e80",
1356
- "type": "delay",
1357
- "z": "c9ab699769824f2f",
1358
- "g": "8455bc870589205b",
1359
- "name": "",
1360
- "pauseType": "delay",
1361
- "timeout": "5",
1362
- "timeoutUnits": "seconds",
1363
- "rate": "1",
1364
- "nbRateUnits": "1",
1365
- "rateUnits": "second",
1366
- "randomFirst": "1",
1367
- "randomLast": "5",
1368
- "randomUnits": "seconds",
1369
- "drop": false,
1370
- "allowrate": false,
1371
- "outputs": 1,
1372
- "x": 400,
1373
- "y": 600,
1374
- "wires": [
1375
- [
1376
- "562334e6f0c16931"
1377
- ]
1378
- ]
1379
- },
1380
- {
1381
- "id": "30f8a269dd7ed601",
1382
- "type": "process-start",
1383
- "z": "c9ab699769824f2f",
1384
- "g": "8455bc870589205b",
1385
- "name": "",
1386
- "engine": "b78932d162d8d468",
1387
- "processmodel": "External-Task-Auth-Sample_Process",
1388
- "startevent": "StartEvent_1",
1389
- "x": 770,
1390
- "y": 600,
1391
- "wires": [
1392
- []
1393
- ]
1394
- },
1395
- {
1396
- "id": "90dd20b9ed76fbe7",
1397
- "type": "inject",
1398
- "z": "c9ab699769824f2f",
1399
- "g": "8455bc870589205b",
1400
- "name": "",
1401
- "props": [
1402
- {
1403
- "p": "payload"
1404
- }
1405
- ],
1406
- "repeat": "",
1407
- "crontab": "",
1408
- "once": false,
1409
- "onceDelay": 0.1,
1410
- "topic": "",
1411
- "payload": "start",
1412
- "payloadType": "str",
1413
- "x": 430,
1414
- "y": 660,
1415
- "wires": [
1416
- [
1417
- "562334e6f0c16931"
1418
- ]
1419
- ]
1420
- },
1421
- {
1422
- "id": "562334e6f0c16931",
1423
- "type": "function",
1424
- "z": "c9ab699769824f2f",
1425
- "g": "8455bc870589205b",
1426
- "name": "pre payload",
1427
- "func": "msg.payload = {\n \"hello\": \"world\"\n};\n\nreturn msg;",
1428
- "outputs": 1,
1429
- "timeout": 0,
1430
- "noerr": 0,
1431
- "initialize": "",
1432
- "finalize": "",
1433
- "libs": [],
1434
- "x": 590,
1435
- "y": 600,
1436
- "wires": [
1437
- [
1438
- "30f8a269dd7ed601"
1439
- ]
1440
- ]
1441
- },
1442
- {
1443
- "id": "423ab3a50b55e37e",
1444
- "type": "comment",
1445
- "z": "c9ab699769824f2f",
1446
- "g": "8455bc870589205b",
1447
- "name": "Start of Process and restart if it is finished",
1448
- "info": "",
1449
- "x": 220,
1450
- "y": 540,
1451
- "wires": []
1452
- },
1453
- {
1454
- "id": "020d34cd4ab43900",
1455
- "type": "debug",
1456
- "z": "fd3c725340de4f74",
1457
- "g": "887f3fb69ad1d1fb",
1458
- "name": "Show User Task",
1459
- "active": false,
1460
- "tosidebar": true,
1461
- "console": false,
1462
- "tostatus": false,
1463
- "complete": "payload",
1464
- "targetType": "msg",
1465
- "statusVal": "",
1466
- "statusType": "auto",
1467
- "x": 440,
1468
- "y": 120,
1469
- "wires": []
1470
- },
1471
- {
1472
- "id": "127bc6e092c5724e",
1473
- "type": "comment",
1474
- "z": "fd3c725340de4f74",
1475
- "g": "887f3fb69ad1d1fb",
1476
- "name": "User Task Events",
1477
- "info": "",
1478
- "x": 140,
1479
- "y": 60,
1480
- "wires": []
1481
- },
1482
- {
1483
- "id": "f7c7682e3a6adaaa",
1484
- "type": "usertask-input",
1485
- "z": "fd3c725340de4f74",
1486
- "g": "72d3db13edc2486b",
1487
- "name": "",
1488
- "engine": "42e6796dddd9d4db",
1489
- "query": "payload",
1490
- "query_type": "msg",
1491
- "x": 180,
1492
- "y": 400,
1493
- "wires": [
1494
- [
1495
- "8ef39e83173d41e3"
1496
- ]
1497
- ]
1498
- },
1499
- {
1500
- "id": "8ef39e83173d41e3",
1501
- "type": "function",
1502
- "z": "fd3c725340de4f74",
1503
- "g": "72d3db13edc2486b",
1504
- "name": "build result",
1505
- "func": "msg.payload.result = {\n \"field_01\": \"value 01\",\n \"field_02\": \"value 02\"\n}\nreturn msg;",
1506
- "outputs": 1,
1507
- "timeout": 0,
1508
- "noerr": 0,
1509
- "initialize": "",
1510
- "finalize": "",
1511
- "libs": [],
1512
- "x": 390,
1513
- "y": 400,
1514
- "wires": [
1515
- [
1516
- "f524b8cc35d56849"
1517
- ]
1518
- ]
1519
- },
1520
- {
1521
- "id": "f524b8cc35d56849",
1522
- "type": "usertask-output",
1523
- "z": "fd3c725340de4f74",
1524
- "g": "72d3db13edc2486b",
1525
- "name": "",
1526
- "engine": "42e6796dddd9d4db",
1527
- "result": "payload.result",
1528
- "result_type": "msg",
1529
- "x": 580,
1530
- "y": 400,
1531
- "wires": [
1532
- []
1533
- ]
1534
- },
1535
- {
1536
- "id": "9fb4017c1d0ac7c9",
1537
- "type": "comment",
1538
- "z": "fd3c725340de4f74",
1539
- "g": "72d3db13edc2486b",
1540
- "name": "Demo to listen on a new usertask an finish them",
1541
- "info": "",
1542
- "x": 240,
1543
- "y": 280,
1544
- "wires": []
1545
- },
1546
- {
1547
- "id": "fc23f271b106648f",
1548
- "type": "usertask-event-listener",
1549
- "z": "fd3c725340de4f74",
1550
- "g": "72d3db13edc2486b",
1551
- "name": "",
1552
- "engine": "42e6796dddd9d4db",
1553
- "usertask": "user_task",
1554
- "eventtype": "new",
1555
- "query": "{}",
1556
- "query_type": "json",
1557
- "x": 160,
1558
- "y": 340,
1559
- "wires": [
1560
- [
1561
- "f7c7682e3a6adaaa"
1562
- ]
1563
- ]
1564
- },
1565
- {
1566
- "id": "394bf2c574d29c0d",
1567
- "type": "usertask-event-listener",
1568
- "z": "fd3c725340de4f74",
1569
- "g": "887f3fb69ad1d1fb",
1570
- "name": "",
1571
- "engine": "42e6796dddd9d4db",
1572
- "usertask": "user_task",
1573
- "eventtype": "new",
1574
- "query": "{}",
1575
- "query_type": "json",
1576
- "x": 160,
1577
- "y": 120,
1578
- "wires": [
1579
- [
1580
- "020d34cd4ab43900"
1581
- ]
1582
- ]
1583
- },
1584
- {
1585
- "id": "30354355d2a0eeb8",
1586
- "type": "usertask-event-listener",
1587
- "z": "fd3c725340de4f74",
1588
- "g": "887f3fb69ad1d1fb",
1589
- "name": "",
1590
- "engine": "42e6796dddd9d4db",
1591
- "usertask": "user_task",
1592
- "eventtype": "finished",
1593
- "query": "{}",
1594
- "query_type": "json",
1595
- "x": 160,
1596
- "y": 180,
1597
- "wires": [
1598
- [
1599
- "020d34cd4ab43900"
1600
- ]
1601
- ]
1602
- },
1603
- {
1604
- "id": "2fadb4c4667ecaf2",
1605
- "type": "usertask-input",
1606
- "z": "fd3c725340de4f74",
1607
- "g": "3f3c01daebb2d215",
1608
- "name": "",
1609
- "engine": "42e6796dddd9d4db",
1610
- "query": "{\"flowNodeId\":\"gibt_es_nicht\"}",
1611
- "query_type": "json",
1612
- "sendtype": "array",
1613
- "x": 300,
1614
- "y": 560,
1615
- "wires": [
1616
- [
1617
- "bc26f9821540f097"
1618
- ]
1619
- ]
1620
- },
1621
- {
1622
- "id": "93331783b7ef3fc5",
1623
- "type": "inject",
1624
- "z": "fd3c725340de4f74",
1625
- "g": "3f3c01daebb2d215",
1626
- "name": "",
1627
- "props": [],
1628
- "repeat": "",
1629
- "crontab": "",
1630
- "once": false,
1631
- "onceDelay": 0.1,
1632
- "topic": "",
1633
- "x": 130,
1634
- "y": 560,
1635
- "wires": [
1636
- [
1637
- "2fadb4c4667ecaf2"
1638
- ]
1639
- ]
1640
- },
1641
- {
1642
- "id": "bc26f9821540f097",
1643
- "type": "debug",
1644
- "z": "fd3c725340de4f74",
1645
- "g": "3f3c01daebb2d215",
1646
- "name": "debug 34",
1647
- "active": true,
1648
- "tosidebar": true,
1649
- "console": false,
1650
- "tostatus": false,
1651
- "complete": "false",
1652
- "statusVal": "",
1653
- "statusType": "auto",
1654
- "x": 480,
1655
- "y": 560,
1656
- "wires": []
1657
- },
1658
- {
1659
- "id": "cc3fb9c2cb0edd3a",
1660
- "type": "comment",
1661
- "z": "fd3c725340de4f74",
1662
- "g": "3f3c01daebb2d215",
1663
- "name": "Search UserTasks",
1664
- "info": "",
1665
- "x": 150,
1666
- "y": 500,
1667
- "wires": []
1668
- },
1669
- {
1670
- "id": "c4f20aefe585bdad",
1671
- "type": "comment",
1672
- "z": "90fa3991405c6248",
1673
- "g": "4f03c1eb4784b442",
1674
- "name": "User Task Events",
1675
- "info": "",
1676
- "x": 160,
1677
- "y": 80,
1678
- "wires": []
1679
- },
1680
- {
1681
- "id": "682a3e6e49c407c0",
1682
- "type": "usertask-input",
1683
- "z": "90fa3991405c6248",
1684
- "g": "a135da7e3b76f6dd",
1685
- "name": "",
1686
- "engine": "b78932d162d8d468",
1687
- "query": "payload",
1688
- "query_type": "msg",
1689
- "x": 200,
1690
- "y": 440,
1691
- "wires": [
1692
- [
1693
- "5c9668cbe4b31919"
1694
- ]
1695
- ]
1696
- },
1697
- {
1698
- "id": "5c9668cbe4b31919",
1699
- "type": "function",
1700
- "z": "90fa3991405c6248",
1701
- "g": "a135da7e3b76f6dd",
1702
- "name": "build result",
1703
- "func": "msg.payload.result = {\n \"field_01\": \"value 01\",\n \"field_02\": \"value 02\"\n}\nreturn msg;",
1704
- "outputs": 1,
1705
- "timeout": 0,
1706
- "noerr": 0,
1707
- "initialize": "",
1708
- "finalize": "",
1709
- "libs": [],
1710
- "x": 390,
1711
- "y": 440,
1712
- "wires": [
1713
- [
1714
- "693e6d63e82ee961"
1715
- ]
1716
- ]
1717
- },
1718
- {
1719
- "id": "693e6d63e82ee961",
1720
- "type": "usertask-output",
1721
- "z": "90fa3991405c6248",
1722
- "g": "a135da7e3b76f6dd",
1723
- "name": "",
1724
- "engine": "b78932d162d8d468",
1725
- "result": "payload.result",
1726
- "result_type": "msg",
1727
- "x": 580,
1728
- "y": 440,
1729
- "wires": [
1730
- []
1731
- ]
1732
- },
1733
- {
1734
- "id": "c63cac30d2627c52",
1735
- "type": "comment",
1736
- "z": "90fa3991405c6248",
1737
- "g": "a135da7e3b76f6dd",
1738
- "name": "Demo to listen on a new usertask an finish them",
1739
- "info": "",
1740
- "x": 260,
1741
- "y": 320,
1742
- "wires": []
1743
- },
1744
- {
1745
- "id": "771e1802a60ea5cc",
1746
- "type": "usertask-event-listener",
1747
- "z": "90fa3991405c6248",
1748
- "g": "a135da7e3b76f6dd",
1749
- "name": "",
1750
- "engine": "b78932d162d8d468",
1751
- "usertask": "user_task_auth",
1752
- "eventtype": "new",
1753
- "query": "{}",
1754
- "query_type": "json",
1755
- "x": 180,
1756
- "y": 380,
1757
- "wires": [
1758
- [
1759
- "682a3e6e49c407c0"
1760
- ]
1761
- ]
1762
- },
1763
- {
1764
- "id": "451fc49b81cfe869",
1765
- "type": "usertask-event-listener",
1766
- "z": "90fa3991405c6248",
1767
- "g": "4f03c1eb4784b442",
1768
- "name": "",
1769
- "engine": "b78932d162d8d468",
1770
- "usertask": "user_task_auth",
1771
- "eventtype": "new",
1772
- "query": "{}",
1773
- "query_type": "json",
1774
- "x": 180,
1775
- "y": 140,
1776
- "wires": [
1777
- [
1778
- "58202f3750a9762b"
1779
- ]
1780
- ]
1781
- },
1782
- {
1783
- "id": "07e2258a732baddb",
1784
- "type": "usertask-event-listener",
1785
- "z": "90fa3991405c6248",
1786
- "g": "4f03c1eb4784b442",
1787
- "name": "",
1788
- "engine": "b78932d162d8d468",
1789
- "usertask": "user_task_auth",
1790
- "eventtype": "finished",
1791
- "query": "{}",
1792
- "query_type": "json",
1793
- "x": 180,
1794
- "y": 200,
1795
- "wires": [
1796
- [
1797
- "58202f3750a9762b"
1798
- ]
1799
- ]
1800
- },
1801
- {
1802
- "id": "58202f3750a9762b",
1803
- "type": "debug",
1804
- "z": "90fa3991405c6248",
1805
- "g": "4f03c1eb4784b442",
1806
- "name": "debug 31",
1807
- "active": false,
1808
- "tosidebar": true,
1809
- "console": false,
1810
- "tostatus": false,
1811
- "complete": "false",
1812
- "statusVal": "",
1813
- "statusType": "auto",
1814
- "x": 380,
1815
- "y": 140,
1816
- "wires": []
1817
- },
1818
- {
1819
- "id": "baa5d814f2e1f1d8",
1820
- "type": "processinstance-query",
1821
- "z": "5d27ab4d14b947e9",
1822
- "g": "a71a168415778e2c",
1823
- "name": "",
1824
- "engine": "42e6796dddd9d4db",
1825
- "query": "{\"includeXml\":false,\"processDefinitionId\":\"External-Task-Sample_Definition\"}",
1826
- "query_type": "json",
1827
- "x": 320,
1828
- "y": 140,
1829
- "wires": [
1830
- [
1831
- "2af2c5031c617e3d"
1832
- ]
1833
- ]
1834
- },
1835
- {
1836
- "id": "2af2c5031c617e3d",
1837
- "type": "debug",
1838
- "z": "5d27ab4d14b947e9",
1839
- "g": "a71a168415778e2c",
1840
- "name": "debug 25",
1841
- "active": true,
1842
- "tosidebar": true,
1843
- "console": false,
1844
- "tostatus": false,
1845
- "complete": "false",
1846
- "statusVal": "",
1847
- "statusType": "auto",
1848
- "x": 520,
1849
- "y": 140,
1850
- "wires": []
1851
- },
1852
- {
1853
- "id": "81af643792f131f0",
1854
- "type": "inject",
1855
- "z": "5d27ab4d14b947e9",
1856
- "g": "a71a168415778e2c",
1857
- "name": "",
1858
- "props": [
1859
- {
1860
- "p": "payload"
1861
- }
1862
- ],
1863
- "repeat": "",
1864
- "crontab": "",
1865
- "once": false,
1866
- "onceDelay": 0.1,
1867
- "topic": "",
1868
- "payload": "go",
1869
- "payloadType": "str",
1870
- "x": 130,
1871
- "y": 140,
1872
- "wires": [
1873
- [
1874
- "baa5d814f2e1f1d8"
1875
- ]
1876
- ]
1877
- },
1878
- {
1879
- "id": "2166b0f822b3e71d",
1880
- "type": "comment",
1881
- "z": "5d27ab4d14b947e9",
1882
- "g": "a71a168415778e2c",
1883
- "name": "Query all processinstances from the engine, see the config of `processinstance-query`",
1884
- "info": "",
1885
- "x": 360,
1886
- "y": 80,
1887
- "wires": []
1888
- },
1889
- {
1890
- "id": "1591cb53c1f1982a",
1891
- "type": "processinstance-query",
1892
- "z": "821add3dc3391985",
1893
- "g": "e17f65347110575e",
1894
- "name": "",
1895
- "engine": "b78932d162d8d468",
1896
- "query": "{\"includeXml\":false}",
1897
- "query_type": "json",
1898
- "x": 320,
1899
- "y": 140,
1900
- "wires": [
1901
- [
1902
- "c2a2b1c1108ee3e1"
1903
- ]
1904
- ]
1905
- },
1906
- {
1907
- "id": "c2a2b1c1108ee3e1",
1908
- "type": "debug",
1909
- "z": "821add3dc3391985",
1910
- "g": "e17f65347110575e",
1911
- "name": "debug 28",
1912
- "active": true,
1913
- "tosidebar": true,
1914
- "console": false,
1915
- "tostatus": false,
1916
- "complete": "false",
1917
- "statusVal": "",
1918
- "statusType": "auto",
1919
- "x": 520,
1920
- "y": 140,
1921
- "wires": []
1922
- },
1923
- {
1924
- "id": "78828be9c878b621",
1925
- "type": "inject",
1926
- "z": "821add3dc3391985",
1927
- "g": "e17f65347110575e",
1928
- "name": "",
1929
- "props": [
1930
- {
1931
- "p": "payload"
1932
- }
1933
- ],
1934
- "repeat": "",
1935
- "crontab": "",
1936
- "once": false,
1937
- "onceDelay": 0.1,
1938
- "topic": "",
1939
- "payload": "go",
1940
- "payloadType": "str",
1941
- "x": 130,
1942
- "y": 140,
1943
- "wires": [
1944
- [
1945
- "1591cb53c1f1982a"
1946
- ]
1947
- ]
1948
- },
1949
- {
1950
- "id": "47a52efd5f9ec550",
1951
- "type": "comment",
1952
- "z": "821add3dc3391985",
1953
- "g": "e17f65347110575e",
1954
- "name": "Query all processinstances from the engine, see the config of `processinstance-query`",
1955
- "info": "",
1956
- "x": 360,
1957
- "y": 80,
1958
- "wires": []
1959
- },
1960
- {
1961
- "id": "d97caca0ec54a633",
1962
- "type": "processdefinition-query",
1963
- "z": "f28ae6aa3a05069e",
1964
- "g": "4c59118134081e05",
1965
- "name": "Query definitions",
1966
- "engine": "42e6796dddd9d4db",
1967
- "query": "{\"includeXml\":false}",
1968
- "query_type": "json",
1969
- "models_only": false,
1970
- "x": 310,
1971
- "y": 140,
1972
- "wires": [
1973
- [
1974
- "5539a5c4c0f9cbe2"
1975
- ]
1976
- ]
1977
- },
1978
- {
1979
- "id": "f74139117c9dab27",
1980
- "type": "inject",
1981
- "z": "f28ae6aa3a05069e",
1982
- "g": "4c59118134081e05",
1983
- "name": "",
1984
- "props": [
1985
- {
1986
- "p": "payload"
1987
- },
1988
- {
1989
- "p": "topic",
1990
- "vt": "str"
1991
- }
1992
- ],
1993
- "repeat": "",
1994
- "crontab": "",
1995
- "once": false,
1996
- "onceDelay": 0.1,
1997
- "topic": "",
1998
- "payload": "",
1999
- "payloadType": "date",
2000
- "x": 120,
2001
- "y": 140,
2002
- "wires": [
2003
- [
2004
- "d97caca0ec54a633"
2005
- ]
2006
- ]
2007
- },
2008
- {
2009
- "id": "5539a5c4c0f9cbe2",
2010
- "type": "debug",
2011
- "z": "f28ae6aa3a05069e",
2012
- "g": "4c59118134081e05",
2013
- "name": "debug 26",
2014
- "active": true,
2015
- "tosidebar": true,
2016
- "console": false,
2017
- "tostatus": false,
2018
- "complete": "false",
2019
- "statusVal": "",
2020
- "statusType": "auto",
2021
- "x": 500,
2022
- "y": 140,
2023
- "wires": []
2024
- },
2025
- {
2026
- "id": "bcc97a73cff5a086",
2027
- "type": "processdefinition-query",
2028
- "z": "f28ae6aa3a05069e",
2029
- "g": "f1d4eaed7570324e",
2030
- "name": "Query models",
2031
- "engine": "42e6796dddd9d4db",
2032
- "query": "{\"includeXml\":false}",
2033
- "query_type": "json",
2034
- "models_only": true,
2035
- "x": 300,
2036
- "y": 320,
2037
- "wires": [
2038
- [
2039
- "0633b709dd9c166f"
2040
- ]
2041
- ]
2042
- },
2043
- {
2044
- "id": "b418463be836efbb",
2045
- "type": "inject",
2046
- "z": "f28ae6aa3a05069e",
2047
- "g": "f1d4eaed7570324e",
2048
- "name": "",
2049
- "props": [
2050
- {
2051
- "p": "payload"
2052
- },
2053
- {
2054
- "p": "topic",
2055
- "vt": "str"
2056
- }
2057
- ],
2058
- "repeat": "",
2059
- "crontab": "",
2060
- "once": false,
2061
- "onceDelay": 0.1,
2062
- "topic": "",
2063
- "payload": "",
2064
- "payloadType": "date",
2065
- "x": 120,
2066
- "y": 320,
2067
- "wires": [
2068
- [
2069
- "bcc97a73cff5a086"
2070
- ]
2071
- ]
2072
- },
2073
- {
2074
- "id": "0633b709dd9c166f",
2075
- "type": "debug",
2076
- "z": "f28ae6aa3a05069e",
2077
- "g": "f1d4eaed7570324e",
2078
- "name": "debug 27",
2079
- "active": true,
2080
- "tosidebar": true,
2081
- "console": false,
2082
- "tostatus": false,
2083
- "complete": "false",
2084
- "statusVal": "",
2085
- "statusType": "auto",
2086
- "x": 480,
2087
- "y": 320,
2088
- "wires": []
2089
- },
2090
- {
2091
- "id": "a8e2b5a6ca25c924",
2092
- "type": "comment",
2093
- "z": "f28ae6aa3a05069e",
2094
- "g": "4c59118134081e05",
2095
- "name": "Definitions",
2096
- "info": "",
2097
- "x": 100,
2098
- "y": 80,
2099
- "wires": []
2100
- },
2101
- {
2102
- "id": "fbb37831549d41ff",
2103
- "type": "comment",
2104
- "z": "f28ae6aa3a05069e",
2105
- "g": "f1d4eaed7570324e",
2106
- "name": "Models",
2107
- "info": "",
2108
- "x": 90,
2109
- "y": 260,
2110
- "wires": []
2111
- },
2112
- {
2113
- "id": "2ecd778293bc1e58",
2114
- "type": "processdefinition-query",
2115
- "z": "9b69648e1614122a",
2116
- "g": "037eeeef4db91107",
2117
- "name": "Query definitions",
2118
- "engine": "b78932d162d8d468",
2119
- "query": "{\"includeXml\":false}",
2120
- "query_type": "json",
2121
- "models_only": false,
2122
- "x": 330,
2123
- "y": 140,
2124
- "wires": [
2125
- [
2126
- "eaa25b48e24cea10"
2127
- ]
2128
- ]
2129
- },
2130
- {
2131
- "id": "7a330fb2934bb4ab",
2132
- "type": "inject",
2133
- "z": "9b69648e1614122a",
2134
- "g": "037eeeef4db91107",
2135
- "name": "",
2136
- "props": [
2137
- {
2138
- "p": "payload"
2139
- },
2140
- {
2141
- "p": "topic",
2142
- "vt": "str"
2143
- }
2144
- ],
2145
- "repeat": "",
2146
- "crontab": "",
2147
- "once": false,
2148
- "onceDelay": 0.1,
2149
- "topic": "",
2150
- "payload": "",
2151
- "payloadType": "date",
2152
- "x": 140,
2153
- "y": 140,
2154
- "wires": [
2155
- [
2156
- "2ecd778293bc1e58"
2157
- ]
2158
- ]
2159
- },
2160
- {
2161
- "id": "eaa25b48e24cea10",
2162
- "type": "debug",
2163
- "z": "9b69648e1614122a",
2164
- "g": "037eeeef4db91107",
2165
- "name": "debug 29",
2166
- "active": true,
2167
- "tosidebar": true,
2168
- "console": false,
2169
- "tostatus": false,
2170
- "complete": "false",
2171
- "statusVal": "",
2172
- "statusType": "auto",
2173
- "x": 520,
2174
- "y": 140,
2175
- "wires": []
2176
- },
2177
- {
2178
- "id": "2d2e2586dfed611a",
2179
- "type": "comment",
2180
- "z": "9b69648e1614122a",
2181
- "g": "037eeeef4db91107",
2182
- "name": "Definitions",
2183
- "info": "",
2184
- "x": 120,
2185
- "y": 80,
2186
- "wires": []
2187
- },
2188
- {
2189
- "id": "443f898ac8d21376",
2190
- "type": "processdefinition-query",
2191
- "z": "9b69648e1614122a",
2192
- "g": "437a2209643cfba5",
2193
- "name": "Query models",
2194
- "engine": "b78932d162d8d468",
2195
- "query": "{\"includeXml\":false}",
2196
- "query_type": "json",
2197
- "models_only": true,
2198
- "x": 320,
2199
- "y": 320,
2200
- "wires": [
2201
- [
2202
- "6ef8711acb760a7f"
2203
- ]
2204
- ]
2205
- },
2206
- {
2207
- "id": "ab161eea047e8ce0",
2208
- "type": "inject",
2209
- "z": "9b69648e1614122a",
2210
- "g": "437a2209643cfba5",
2211
- "name": "",
2212
- "props": [
2213
- {
2214
- "p": "payload"
2215
- },
2216
- {
2217
- "p": "topic",
2218
- "vt": "str"
2219
- }
2220
- ],
2221
- "repeat": "",
2222
- "crontab": "",
2223
- "once": false,
2224
- "onceDelay": 0.1,
2225
- "topic": "",
2226
- "payload": "",
2227
- "payloadType": "date",
2228
- "x": 140,
2229
- "y": 320,
2230
- "wires": [
2231
- [
2232
- "443f898ac8d21376"
2233
- ]
2234
- ]
2235
- },
2236
- {
2237
- "id": "6ef8711acb760a7f",
2238
- "type": "debug",
2239
- "z": "9b69648e1614122a",
2240
- "g": "437a2209643cfba5",
2241
- "name": "debug 30",
2242
- "active": true,
2243
- "tosidebar": true,
2244
- "console": false,
2245
- "tostatus": false,
2246
- "complete": "false",
2247
- "statusVal": "",
2248
- "statusType": "auto",
2249
- "x": 500,
2250
- "y": 320,
2251
- "wires": []
2252
- },
2253
- {
2254
- "id": "8a8d0227dceb9ebb",
2255
- "type": "comment",
2256
- "z": "9b69648e1614122a",
2257
- "g": "437a2209643cfba5",
2258
- "name": "Models",
2259
- "info": "",
2260
- "x": 110,
2261
- "y": 260,
2262
- "wires": []
2263
- },
2264
- {
2265
- "id": "30b8f9c606a2bb83",
2266
- "type": "wait-for-usertask",
2267
- "z": "d6c450fe98faa45f",
2268
- "name": "",
2269
- "engine": "42e6796dddd9d4db",
2270
- "query": "payload",
2271
- "query_type": "msg",
2272
- "only_for_new": true,
2273
- "x": 590,
2274
- "y": 120,
2275
- "wires": [
2276
- [
2277
- "d9cb8e69e985d6df",
2278
- "a5c0ea907e64e759"
2279
- ]
2280
- ]
2281
- },
2282
- {
2283
- "id": "20fd37adf0fb6f39",
2284
- "type": "process-start",
2285
- "z": "d6c450fe98faa45f",
2286
- "name": "",
2287
- "engine": "42e6796dddd9d4db",
2288
- "processmodel": "Wait-For-Usertask_Process",
2289
- "startevent": "StartEvent_1",
2290
- "x": 250,
2291
- "y": 120,
2292
- "wires": [
2293
- [
2294
- "1e1e9c428172eae2",
2295
- "c65a4ba5461e7ee0"
2296
- ]
2297
- ]
2298
- },
2299
- {
2300
- "id": "e18451d69a169f5f",
2301
- "type": "inject",
2302
- "z": "d6c450fe98faa45f",
2303
- "name": "",
2304
- "props": [
2305
- {
2306
- "p": "payload"
2307
- }
2308
- ],
2309
- "repeat": "",
2310
- "crontab": "",
2311
- "once": false,
2312
- "onceDelay": 0.1,
2313
- "topic": "",
2314
- "payload": "{}",
2315
- "payloadType": "json",
2316
- "x": 90,
2317
- "y": 120,
2318
- "wires": [
2319
- [
2320
- "20fd37adf0fb6f39"
2321
- ]
2322
- ]
2323
- },
2324
- {
2325
- "id": "d9cb8e69e985d6df",
2326
- "type": "delay",
2327
- "z": "d6c450fe98faa45f",
2328
- "name": "",
2329
- "pauseType": "delay",
2330
- "timeout": "5",
2331
- "timeoutUnits": "seconds",
2332
- "rate": "1",
2333
- "nbRateUnits": "1",
2334
- "rateUnits": "second",
2335
- "randomFirst": "1",
2336
- "randomLast": "5",
2337
- "randomUnits": "seconds",
2338
- "drop": false,
2339
- "allowrate": false,
2340
- "outputs": 1,
2341
- "x": 540,
2342
- "y": 200,
2343
- "wires": [
2344
- [
2345
- "acecfeef70b5c4ad"
2346
- ]
2347
- ]
2348
- },
2349
- {
2350
- "id": "44f4c6c64263d366",
2351
- "type": "usertask-output",
2352
- "z": "d6c450fe98faa45f",
2353
- "name": "",
2354
- "engine": "42e6796dddd9d4db",
2355
- "result": "payload.formResult",
2356
- "result_type": "msg",
2357
- "x": 880,
2358
- "y": 200,
2359
- "wires": [
2360
- [
2361
- "82e58f4fb135162c"
2362
- ]
2363
- ]
2364
- },
2365
- {
2366
- "id": "acecfeef70b5c4ad",
2367
- "type": "function",
2368
- "z": "d6c450fe98faa45f",
2369
- "name": "pre",
2370
- "func": "msg.payload.formResult = {\n \"resultFrom\": \"userTask\"\n};\nreturn msg;",
2371
- "outputs": 1,
2372
- "timeout": 0,
2373
- "noerr": 0,
2374
- "initialize": "",
2375
- "finalize": "",
2376
- "libs": [],
2377
- "x": 710,
2378
- "y": 200,
2379
- "wires": [
2380
- [
2381
- "44f4c6c64263d366"
2382
- ]
2383
- ]
2384
- },
2385
- {
2386
- "id": "1e1e9c428172eae2",
2387
- "type": "function",
2388
- "z": "d6c450fe98faa45f",
2389
- "name": "query",
2390
- "func": "msg.payload = {\n \"processInstanceId\": msg.payload.processInstanceId,\n \"flowNodeId\": \"make_it\"\n};\n\nreturn msg;",
2391
- "outputs": 1,
2392
- "timeout": 0,
2393
- "noerr": 0,
2394
- "initialize": "",
2395
- "finalize": "",
2396
- "libs": [],
2397
- "x": 410,
2398
- "y": 120,
2399
- "wires": [
2400
- [
2401
- "30b8f9c606a2bb83"
2402
- ]
2403
- ]
2404
- },
2405
- {
2406
- "id": "c65a4ba5461e7ee0",
2407
- "type": "debug",
2408
- "z": "d6c450fe98faa45f",
2409
- "name": "debug 32",
2410
- "active": true,
2411
- "tosidebar": true,
2412
- "console": false,
2413
- "tostatus": false,
2414
- "complete": "false",
2415
- "statusVal": "",
2416
- "statusType": "auto",
2417
- "x": 370,
2418
- "y": 60,
2419
- "wires": []
2420
- },
2421
- {
2422
- "id": "a5c0ea907e64e759",
2423
- "type": "debug",
2424
- "z": "d6c450fe98faa45f",
2425
- "name": "debug 33",
2426
- "active": true,
2427
- "tosidebar": true,
2428
- "console": false,
2429
- "tostatus": false,
2430
- "complete": "false",
2431
- "statusVal": "",
2432
- "statusType": "auto",
2433
- "x": 760,
2434
- "y": 60,
2435
- "wires": []
2436
- },
2437
- {
2438
- "id": "82e58f4fb135162c",
2439
- "type": "debug",
2440
- "z": "d6c450fe98faa45f",
2441
- "name": "debug 1",
2442
- "active": true,
2443
- "tosidebar": true,
2444
- "console": false,
2445
- "tostatus": false,
2446
- "complete": "false",
2447
- "statusVal": "",
2448
- "statusType": "auto",
2449
- "x": 990,
2450
- "y": 240,
2451
- "wires": []
2452
- },
2453
- {
2454
- "id": "930624edc6169c55",
2455
- "type": "process-event-listener",
2456
- "z": "76c047e0d8770a20",
2457
- "name": "",
2458
- "engine": "42e6796dddd9d4db",
2459
- "processmodel": "External-Task-Sample_Process",
2460
- "eventtype": "starting",
2461
- "query": "{}",
2462
- "query_type": "json",
2463
- "x": 160,
2464
- "y": 140,
2465
- "wires": [
2466
- [
2467
- "2f2ec1cc0213eab5"
2468
- ]
2469
- ]
2470
- },
2471
- {
2472
- "id": "2f2ec1cc0213eab5",
2473
- "type": "debug",
2474
- "z": "76c047e0d8770a20",
2475
- "name": "debug 34",
2476
- "active": true,
2477
- "tosidebar": true,
2478
- "console": false,
2479
- "tostatus": false,
2480
- "complete": "false",
2481
- "statusVal": "",
2482
- "statusType": "auto",
2483
- "x": 430,
2484
- "y": 140,
2485
- "wires": []
2486
- },
2487
- {
2488
- "id": "bde205e77cd20558",
2489
- "type": "comment",
2490
- "z": "76c047e0d8770a20",
2491
- "name": "Hört auf die Events der Processe",
2492
- "info": "",
2493
- "x": 190,
2494
- "y": 80,
2495
- "wires": []
2496
- },
2497
- {
2498
- "id": "798de686e9cec9e3",
2499
- "type": "process-event-listener",
2500
- "z": "76c047e0d8770a20",
2501
- "name": "deployed",
2502
- "engine": "42e6796dddd9d4db",
2503
- "processmodel": "",
2504
- "eventtype": "deployed",
2505
- "query": "{}",
2506
- "query_type": "json",
2507
- "x": 120,
2508
- "y": 220,
2509
- "wires": [
2510
- [
2511
- "75af9579297b63ce"
2512
- ]
2513
- ]
2514
- },
2515
- {
2516
- "id": "75af9579297b63ce",
2517
- "type": "debug",
2518
- "z": "76c047e0d8770a20",
2519
- "name": "debug 36",
2520
- "active": true,
2521
- "tosidebar": true,
2522
- "console": false,
2523
- "tostatus": false,
2524
- "complete": "false",
2525
- "statusVal": "",
2526
- "statusType": "auto",
2527
- "x": 370,
2528
- "y": 220,
2529
- "wires": []
2530
- },
2531
- {
2532
- "id": "78dd82dbc5fe824e",
2533
- "type": "process-event-listener",
2534
- "z": "76c047e0d8770a20",
2535
- "name": "undeployed",
2536
- "engine": "42e6796dddd9d4db",
2537
- "processmodel": "",
2538
- "eventtype": "undeployed",
2539
- "query": "{}",
2540
- "query_type": "json",
2541
- "x": 130,
2542
- "y": 300,
2543
- "wires": [
2544
- [
2545
- "341e4f4a311175e2"
2546
- ]
2547
- ]
2548
- },
2549
- {
2550
- "id": "341e4f4a311175e2",
2551
- "type": "debug",
2552
- "z": "76c047e0d8770a20",
2553
- "name": "debug 37",
2554
- "active": true,
2555
- "tosidebar": true,
2556
- "console": false,
2557
- "tostatus": false,
2558
- "complete": "false",
2559
- "statusVal": "",
2560
- "statusType": "auto",
2561
- "x": 310,
2562
- "y": 300,
2563
- "wires": []
2564
- },
2565
- {
2566
- "id": "6b1eeb91a71c7bcb",
2567
- "type": "process-event-listener",
2568
- "z": "76c047e0d8770a20",
2569
- "name": "is-exeutable-changed",
2570
- "engine": "42e6796dddd9d4db",
2571
- "processmodel": "",
2572
- "eventtype": "is-executable-changed",
2573
- "query": "{}",
2574
- "query_type": "json",
2575
- "x": 160,
2576
- "y": 380,
2577
- "wires": [
2578
- [
2579
- "5a2e8be2d8f3a1be"
2580
- ]
2581
- ]
2582
- },
2583
- {
2584
- "id": "5a2e8be2d8f3a1be",
2585
- "type": "debug",
2586
- "z": "76c047e0d8770a20",
2587
- "name": "debug 38",
2588
- "active": true,
2589
- "tosidebar": true,
2590
- "console": false,
2591
- "tostatus": false,
2592
- "complete": "false",
2593
- "statusVal": "",
2594
- "statusType": "auto",
2595
- "x": 350,
2596
- "y": 380,
2597
- "wires": []
2598
- },
2599
- {
2600
- "id": "03ac7bc273197c45",
2601
- "type": "process-terminate",
2602
- "z": "2766c40d84283368",
2603
- "name": "",
2604
- "engine": "42e6796dddd9d4db",
2605
- "x": 170,
2606
- "y": 140,
2607
- "wires": [
2608
- [
2609
- "bb734a85d4b37728"
2610
- ]
2611
- ]
2612
- },
2613
- {
2614
- "id": "bb734a85d4b37728",
2615
- "type": "debug",
2616
- "z": "2766c40d84283368",
2617
- "name": "debug 35",
2618
- "active": true,
2619
- "tosidebar": true,
2620
- "console": false,
2621
- "tostatus": false,
2622
- "complete": "false",
2623
- "statusVal": "",
2624
- "statusType": "auto",
2625
- "x": 370,
2626
- "y": 140,
2627
- "wires": []
2628
- },
2629
- {
2630
- "id": "3d03550f7d93bfd3",
2631
- "type": "comment",
2632
- "z": "2766c40d84283368",
2633
- "name": "Event for Terminating a Process",
2634
- "info": "",
2635
- "x": 210,
2636
- "y": 80,
2637
- "wires": []
2638
- },
2639
- {
2640
- "id": "9aaa1850f6cf0c5b",
2641
- "type": "message-event-trigger",
2642
- "z": "2d4f4d815c889920",
2643
- "g": "48f72a8b2cb5ead9",
2644
- "name": "send message (json)",
2645
- "engine": "42e6796dddd9d4db",
2646
- "messagename": "TheMessage",
2647
- "x": 500,
2648
- "y": 140,
2649
- "wires": [
2650
- [
2651
- "e7c528682ace1eee"
2652
- ]
2653
- ]
2654
- },
2655
- {
2656
- "id": "b92f9b7c8839bd52",
2657
- "type": "inject",
2658
- "z": "2d4f4d815c889920",
2659
- "g": "48f72a8b2cb5ead9",
2660
- "name": "",
2661
- "props": [],
2662
- "repeat": "",
2663
- "crontab": "",
2664
- "once": false,
2665
- "onceDelay": 0.1,
2666
- "topic": "",
2667
- "x": 150,
2668
- "y": 140,
2669
- "wires": [
2670
- [
2671
- "1795b84421188c56"
2672
- ]
2673
- ]
2674
- },
2675
- {
2676
- "id": "e7c528682ace1eee",
2677
- "type": "debug",
2678
- "z": "2d4f4d815c889920",
2679
- "g": "48f72a8b2cb5ead9",
2680
- "name": "debug 9",
2681
- "active": true,
2682
- "tosidebar": true,
2683
- "console": false,
2684
- "tostatus": false,
2685
- "complete": "false",
2686
- "statusVal": "",
2687
- "statusType": "auto",
2688
- "x": 700,
2689
- "y": 140,
2690
- "wires": []
2691
- },
2692
- {
2693
- "id": "d0d55ea4c120f824",
2694
- "type": "inject",
2695
- "z": "2d4f4d815c889920",
2696
- "g": "4736a27919052199",
2697
- "name": "",
2698
- "props": [],
2699
- "repeat": "",
2700
- "crontab": "",
2701
- "once": false,
2702
- "onceDelay": 0.1,
2703
- "topic": "",
2704
- "x": 150,
2705
- "y": 300,
2706
- "wires": [
2707
- [
2708
- "4ff784bd746f357a"
2709
- ]
2710
- ]
2711
- },
2712
- {
2713
- "id": "9fa5516904f5ddc9",
2714
- "type": "message-event-trigger",
2715
- "z": "2d4f4d815c889920",
2716
- "g": "4736a27919052199",
2717
- "name": "send message (xml)",
2718
- "engine": "42e6796dddd9d4db",
2719
- "messagename": "TheMessage",
2720
- "x": 500,
2721
- "y": 300,
2722
- "wires": [
2723
- [
2724
- "25c81fa425019087"
2725
- ]
2726
- ]
2727
- },
2728
- {
2729
- "id": "25c81fa425019087",
2730
- "type": "debug",
2731
- "z": "2d4f4d815c889920",
2732
- "g": "4736a27919052199",
2733
- "name": "debug 10",
2734
- "active": true,
2735
- "tosidebar": true,
2736
- "console": false,
2737
- "tostatus": false,
2738
- "complete": "false",
2739
- "statusVal": "",
2740
- "statusType": "auto",
2741
- "x": 700,
2742
- "y": 300,
2743
- "wires": []
2744
- },
2745
- {
2746
- "id": "1795b84421188c56",
2747
- "type": "function",
2748
- "z": "2d4f4d815c889920",
2749
- "g": "48f72a8b2cb5ead9",
2750
- "name": "build json",
2751
- "func": "msg.payload = {\n \"hello\": \"world\"\n};\n\n\nreturn msg;",
2752
- "outputs": 1,
2753
- "timeout": 0,
2754
- "noerr": 0,
2755
- "initialize": "",
2756
- "finalize": "",
2757
- "libs": [],
2758
- "x": 300,
2759
- "y": 140,
2760
- "wires": [
2761
- [
2762
- "9aaa1850f6cf0c5b"
2763
- ]
2764
- ]
2765
- },
2766
- {
2767
- "id": "4ff784bd746f357a",
2768
- "type": "function",
2769
- "z": "2d4f4d815c889920",
2770
- "g": "4736a27919052199",
2771
- "name": "build xml",
2772
- "func": "msg.payload = `\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<root>\n <hello>world</hello>\n</root>\n`;\n\nreturn msg;",
2773
- "outputs": 1,
2774
- "timeout": 0,
2775
- "noerr": 0,
2776
- "initialize": "",
2777
- "finalize": "",
2778
- "libs": [],
2779
- "x": 300,
2780
- "y": 300,
2781
- "wires": [
2782
- [
2783
- "9fa5516904f5ddc9"
2784
- ]
2785
- ]
2786
- },
2787
- {
2788
- "id": "0217c4f569ceb289",
2789
- "type": "comment",
2790
- "z": "2d4f4d815c889920",
2791
- "g": "48f72a8b2cb5ead9",
2792
- "name": "Daten im Payload als JSON an TheMessage versenden",
2793
- "info": "",
2794
- "x": 280,
2795
- "y": 80,
2796
- "wires": []
2797
- },
2798
- {
2799
- "id": "1605dca966cb1ca3",
2800
- "type": "comment",
2801
- "z": "2d4f4d815c889920",
2802
- "g": "4736a27919052199",
2803
- "name": "Daten im Payload als XML an TheMessage versenden",
2804
- "info": "",
2805
- "x": 280,
2806
- "y": 240,
2807
- "wires": []
2808
- },
2809
- {
2810
- "id": "15c494ef7b808eee",
2811
- "type": "comment",
2812
- "z": "2d4f4d815c889920",
2813
- "g": "4736a27919052199",
2814
- "name": "Fehler: da Payload kein JSON ist, darf aber nicht zu 'Internal-Server' führen",
2815
- "info": "",
2816
- "x": 340,
2817
- "y": 420,
2818
- "wires": []
2819
- },
2820
- {
2821
- "id": "3da3f0919d261dbb",
2822
- "type": "inject",
2823
- "z": "2d4f4d815c889920",
2824
- "g": "8532caa2120a8ff3",
2825
- "name": "",
2826
- "props": [],
2827
- "repeat": "",
2828
- "crontab": "",
2829
- "once": false,
2830
- "onceDelay": 0.1,
2831
- "topic": "",
2832
- "x": 150,
2833
- "y": 580,
2834
- "wires": [
2835
- [
2836
- "1db58abf4179cb33"
2837
- ]
2838
- ]
2839
- },
2840
- {
2841
- "id": "499158b3e609a621",
2842
- "type": "message-event-trigger",
2843
- "z": "2d4f4d815c889920",
2844
- "g": "8532caa2120a8ff3",
2845
- "name": "send message (xml)",
2846
- "engine": "42e6796dddd9d4db",
2847
- "messagename": "TheMessage",
2848
- "x": 540,
2849
- "y": 580,
2850
- "wires": [
2851
- [
2852
- "b463ae80bf2b5886"
2853
- ]
2854
- ]
2855
- },
2856
- {
2857
- "id": "b463ae80bf2b5886",
2858
- "type": "debug",
2859
- "z": "2d4f4d815c889920",
2860
- "g": "8532caa2120a8ff3",
2861
- "name": "debug 11",
2862
- "active": true,
2863
- "tosidebar": true,
2864
- "console": false,
2865
- "tostatus": false,
2866
- "complete": "false",
2867
- "statusVal": "",
2868
- "statusType": "auto",
2869
- "x": 740,
2870
- "y": 580,
2871
- "wires": []
2872
- },
2873
- {
2874
- "id": "1db58abf4179cb33",
2875
- "type": "function",
2876
- "z": "2d4f4d815c889920",
2877
- "g": "8532caa2120a8ff3",
2878
- "name": "pack xml in json",
2879
- "func": "const sampleXML = `\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<root>\n <hello>world</hello>\n</root>\n`;\n\nmsg.payload = {\n \"xmlData\": sampleXML\n};\n\nreturn msg;",
2880
- "outputs": 1,
2881
- "timeout": 0,
2882
- "noerr": 0,
2883
- "initialize": "",
2884
- "finalize": "",
2885
- "libs": [],
2886
- "x": 320,
2887
- "y": 580,
2888
- "wires": [
2889
- [
2890
- "499158b3e609a621"
2891
- ]
2892
- ]
2893
- },
2894
- {
2895
- "id": "01610786730a8edb",
2896
- "type": "comment",
2897
- "z": "2d4f4d815c889920",
2898
- "g": "8532caa2120a8ff3",
2899
- "name": "Daten im Payload als XML in JSON verpackt an TheMessage versenden",
2900
- "info": "",
2901
- "x": 330,
2902
- "y": 520,
2903
- "wires": []
2904
- },
2905
- {
2906
- "id": "e62b0d58687ce755",
2907
- "type": "catch",
2908
- "z": "2d4f4d815c889920",
2909
- "g": "4736a27919052199",
2910
- "name": "",
2911
- "scope": "group",
2912
- "uncaught": false,
2913
- "x": 550,
2914
- "y": 360,
2915
- "wires": [
2916
- [
2917
- "700a1f33a7472ace"
2918
- ]
2919
- ]
2920
- },
2921
- {
2922
- "id": "700a1f33a7472ace",
2923
- "type": "debug",
2924
- "z": "2d4f4d815c889920",
2925
- "g": "4736a27919052199",
2926
- "name": "Send XML error",
2927
- "active": true,
2928
- "tosidebar": true,
2929
- "console": false,
2930
- "tostatus": false,
2931
- "complete": "true",
2932
- "targetType": "full",
2933
- "statusVal": "",
2934
- "statusType": "auto",
2935
- "x": 720,
2936
- "y": 360,
2937
- "wires": []
2938
- },
2939
- {
2940
- "id": "8c8d9afd13c5c796",
2941
- "type": "process-start",
2942
- "z": "b5a25174d4dff5e2",
2943
- "name": "",
2944
- "engine": "42e6796dddd9d4db",
2945
- "processmodel": "StartProcessSample_Process",
2946
- "startevent": "StartEvent_1",
2947
- "x": 370,
2948
- "y": 100,
2949
- "wires": [
2950
- [
2951
- "086b45f917f5297a"
2952
- ]
2953
- ]
2954
- },
2955
- {
2956
- "id": "086b45f917f5297a",
2957
- "type": "debug",
2958
- "z": "b5a25174d4dff5e2",
2959
- "name": "debug 39",
2960
- "active": true,
2961
- "tosidebar": true,
2962
- "console": false,
2963
- "tostatus": false,
2964
- "complete": "false",
2965
- "statusVal": "",
2966
- "statusType": "auto",
2967
- "x": 540,
2968
- "y": 100,
2969
- "wires": []
2970
- },
2971
- {
2972
- "id": "c944ebbfc5a55f46",
2973
- "type": "inject",
2974
- "z": "b5a25174d4dff5e2",
2975
- "name": "",
2976
- "props": [
2977
- {
2978
- "p": "payload"
2979
- }
2980
- ],
2981
- "repeat": "",
2982
- "crontab": "",
2983
- "once": false,
2984
- "onceDelay": 0.1,
2985
- "topic": "",
2986
- "payload": "{\"hello\":\"world\"}",
2987
- "payloadType": "json",
2988
- "x": 140,
2989
- "y": 100,
2990
- "wires": [
2991
- [
2992
- "8c8d9afd13c5c796"
2993
- ]
2994
- ]
2995
- },
2996
- {
2997
- "id": "b74eab538ce0ddbe",
2998
- "type": "inject",
2999
- "z": "b5a25174d4dff5e2",
3000
- "name": "mit undefined payload",
3001
- "props": [],
3002
- "repeat": "",
3003
- "crontab": "",
3004
- "once": false,
3005
- "onceDelay": 0.1,
3006
- "topic": "",
3007
- "x": 160,
3008
- "y": 160,
3009
- "wires": [
3010
- [
3011
- "8c8d9afd13c5c796"
3012
- ]
3013
- ]
3014
- },
3015
- {
3016
- "id": "f380d237ed2a51a4",
3017
- "type": "processdefinition-query",
3018
- "z": "ecd7ca447e4d1f47",
3019
- "name": "",
3020
- "engine": "42e6796dddd9d4db",
3021
- "query": "{}",
3022
- "query_type": "json",
3023
- "models_only": false,
3024
- "x": 390,
3025
- "y": 120,
3026
- "wires": [
3027
- [
3028
- "0dca34052917987a"
3029
- ]
3030
- ]
3031
- },
3032
- {
3033
- "id": "89e4082b2afa6ed4",
3034
- "type": "inject",
3035
- "z": "ecd7ca447e4d1f47",
3036
- "name": "",
3037
- "props": [
3038
- {
3039
- "p": "payload"
3040
- },
3041
- {
3042
- "p": "topic",
3043
- "vt": "str"
3044
- }
3045
- ],
3046
- "repeat": "",
3047
- "crontab": "",
3048
- "once": false,
3049
- "onceDelay": 0.1,
3050
- "topic": "",
3051
- "payload": "",
3052
- "payloadType": "date",
3053
- "x": 190,
3054
- "y": 120,
3055
- "wires": [
3056
- [
3057
- "f380d237ed2a51a4"
3058
- ]
3059
- ]
3060
- },
3061
- {
3062
- "id": "af52431420fa7e15",
3063
- "type": "debug",
3064
- "z": "ecd7ca447e4d1f47",
3065
- "name": "debug 2",
3066
- "active": true,
3067
- "tosidebar": true,
3068
- "console": false,
3069
- "tostatus": false,
3070
- "complete": "false",
3071
- "statusVal": "",
3072
- "statusType": "auto",
3073
- "x": 1060,
3074
- "y": 120,
3075
- "wires": []
3076
- },
3077
- {
3078
- "id": "0dca34052917987a",
3079
- "type": "function",
3080
- "z": "ecd7ca447e4d1f47",
3081
- "name": "get process to deploy",
3082
- "func": "const processDefinitionToDeploy = msg.payload.processDefinitions.find(def => def.processDefinitionId === 'ProcessModelToDeploy_Definition');\n\nmsg.payload = processDefinitionToDeploy.xml;\n\nreturn msg;",
3083
- "outputs": 1,
3084
- "timeout": 0,
3085
- "noerr": 0,
3086
- "initialize": "",
3087
- "finalize": "",
3088
- "libs": [],
3089
- "x": 640,
3090
- "y": 120,
3091
- "wires": [
3092
- [
3093
- "86888146d3f4b2a6"
3094
- ]
3095
- ]
3096
- },
3097
- {
3098
- "id": "86888146d3f4b2a6",
3099
- "type": "processdefinition-deploy",
3100
- "z": "ecd7ca447e4d1f47",
3101
- "name": "Deploy Process",
3102
- "engine": "42e6796dddd9d4db",
3103
- "x": 860,
3104
- "y": 120,
3105
- "wires": [
3106
- [
3107
- "af52431420fa7e15"
3108
- ]
3109
- ]
3110
- },
3111
- {
3112
- "id": "c5260ee198fa0c2c",
3113
- "type": "inject",
3114
- "z": "598a05cc24b8559f",
3115
- "name": "",
3116
- "props": [
3117
- {
3118
- "p": "payload"
3119
- },
3120
- {
3121
- "p": "topic",
3122
- "vt": "str"
3123
- }
3124
- ],
3125
- "repeat": "",
3126
- "crontab": "",
3127
- "once": false,
3128
- "onceDelay": 0.1,
3129
- "topic": "",
3130
- "payload": "",
3131
- "payloadType": "date",
3132
- "x": 200,
3133
- "y": 140,
3134
- "wires": [
3135
- [
3136
- "a1ff60cf666c101a"
3137
- ]
3138
- ]
3139
- },
3140
- {
3141
- "id": "29fca97816153a5f",
3142
- "type": "debug",
3143
- "z": "598a05cc24b8559f",
3144
- "name": "debug 3",
3145
- "active": true,
3146
- "tosidebar": true,
3147
- "console": false,
3148
- "tostatus": false,
3149
- "complete": "false",
3150
- "statusVal": "",
3151
- "statusType": "auto",
3152
- "x": 680,
3153
- "y": 140,
3154
- "wires": []
3155
- },
3156
- {
3157
- "id": "a1ff60cf666c101a",
3158
- "type": "http request",
3159
- "z": "598a05cc24b8559f",
3160
- "name": "Mockit",
3161
- "method": "GET",
3162
- "ret": "txt",
3163
- "paytoqs": "ignore",
3164
- "url": "https://dieserserviceistnichterreichbar",
3165
- "tls": "",
3166
- "persist": false,
3167
- "proxy": "",
3168
- "insecureHTTPParser": false,
3169
- "authType": "",
3170
- "senderr": false,
3171
- "headers": [],
3172
- "x": 410,
3173
- "y": 140,
3174
- "wires": [
3175
- [
3176
- "29fca97816153a5f"
3177
- ]
3178
- ]
3179
- }
3180
- ]