@5minds/node-red-contrib-processcube 1.9.3-develop-c9db83-m8k3pb8w → 1.9.3-develop-6cf3d1-m8mrrpqs

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