@5minds/node-red-contrib-processcube 1.0.1-develop-6736f8-lz2nfmy5 → 1.1.0-develop-3ff031-lz2nv5y2

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