@5minds/node-red-contrib-processcube 1.7.0-develop-0341ad-m65hjby2 → 1.7.1-develop-f30464-m66qfl7q

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