@5minds/node-red-contrib-processcube 0.10.2 → 0.10.3-develop-918efd-lyed0cr2

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@
2
2
  {
3
3
  "id": "a23d2e782beb66f4",
4
4
  "type": "tab",
5
- "label": "Flow 1",
5
+ "label": "ExternalTasks",
6
6
  "disabled": false,
7
7
  "info": "",
8
8
  "env": []
@@ -10,15 +10,7 @@
10
10
  {
11
11
  "id": "fd3c725340de4f74",
12
12
  "type": "tab",
13
- "label": "UserTask-Table",
14
- "disabled": false,
15
- "info": "",
16
- "env": []
17
- },
18
- {
19
- "id": "b195bc3ca2e1a665",
20
- "type": "tab",
21
- "label": "Dashboard Symrise",
13
+ "label": "UserTasks",
22
14
  "disabled": false,
23
15
  "info": "",
24
16
  "env": []
@@ -39,187 +31,6 @@
39
31
  "info": "",
40
32
  "env": []
41
33
  },
42
- {
43
- "id": "09cdc14cfb8ad687",
44
- "type": "group",
45
- "z": "b195bc3ca2e1a665",
46
- "style": {
47
- "stroke": "#999999",
48
- "stroke-opacity": "1",
49
- "fill": "none",
50
- "fill-opacity": "1",
51
- "label": true,
52
- "label-position": "nw",
53
- "color": "#a4a4a4"
54
- },
55
- "nodes": [
56
- "0f5978f327b01bfb",
57
- "dbec84a2543dbe7e",
58
- "c73156ccd3cd2a48",
59
- "7c13c0a3b8824a63",
60
- "786bf9ed5078de92",
61
- "69723e56fb97b6c1",
62
- "d5874ba4dd992935",
63
- "71196d7ab2204d95",
64
- "6ce155bbaaba083f",
65
- "1d5b0759c3226e37",
66
- "97afbbf01ec1cd88",
67
- "2b3f33b7a9dceb49",
68
- "a61cb4c20f79d872",
69
- "111c8606ea343c1f",
70
- "a4f0eee35f06b1ff"
71
- ],
72
- "x": 14,
73
- "y": 59,
74
- "w": 1012,
75
- "h": 342
76
- },
77
- {
78
- "id": "ec36901abb138306",
79
- "type": "group",
80
- "z": "b195bc3ca2e1a665",
81
- "style": {
82
- "stroke": "#999999",
83
- "stroke-opacity": "1",
84
- "fill": "none",
85
- "fill-opacity": "1",
86
- "label": true,
87
- "label-position": "nw",
88
- "color": "#a4a4a4"
89
- },
90
- "nodes": [
91
- "05284831924ef310",
92
- "1497b762d2ac1723",
93
- "493500b42d8d0f5b",
94
- "34984ae3f4e83b0b",
95
- "eee38d2764bac337",
96
- "a4d741804929ba73",
97
- "915816cdb895af14",
98
- "51324058434239ba",
99
- "814ff7cf02987e14",
100
- "0add5e307323845e",
101
- "5399c05e8fea3679"
102
- ],
103
- "x": 14,
104
- "y": 419,
105
- "w": 1572,
106
- "h": 202
107
- },
108
- {
109
- "id": "f29182f397cab86b",
110
- "type": "group",
111
- "z": "fd3c725340de4f74",
112
- "style": {
113
- "stroke": "#999999",
114
- "stroke-opacity": "1",
115
- "fill": "none",
116
- "fill-opacity": "1",
117
- "label": true,
118
- "label-position": "nw",
119
- "color": "#a4a4a4"
120
- },
121
- "nodes": [
122
- "aa3ca456ddf1a7bd",
123
- "a2b09670ce6219e3",
124
- "e283d772578fb6d2",
125
- "86dd72913b9f2ee3",
126
- "3e89be46a437d93c",
127
- "f0d9df3d9fea075b",
128
- "3011d9be5207350a"
129
- ],
130
- "x": 54,
131
- "y": 59,
132
- "w": 752,
133
- "h": 282
134
- },
135
- {
136
- "id": "02fef81e2129ea71",
137
- "type": "group",
138
- "z": "a23d2e782beb66f4",
139
- "style": {
140
- "stroke": "#999999",
141
- "stroke-opacity": "1",
142
- "fill": "none",
143
- "fill-opacity": "1",
144
- "label": true,
145
- "label-position": "nw",
146
- "color": "#a4a4a4"
147
- },
148
- "nodes": [
149
- "84f18cf9bf25b858",
150
- "ee2e9eb1d613da90",
151
- "2d115b489271921f",
152
- "9b2a7132561246ca",
153
- "d2377adc3074905b",
154
- "53a07b9d2362c8bc"
155
- ],
156
- "x": 254,
157
- "y": 199,
158
- "w": 632,
159
- "h": 202
160
- },
161
- {
162
- "id": "17b562c4786348d6",
163
- "type": "group",
164
- "z": "b195bc3ca2e1a665",
165
- "style": {
166
- "stroke": "#999999",
167
- "stroke-opacity": "1",
168
- "fill": "none",
169
- "fill-opacity": "1",
170
- "label": true,
171
- "label-position": "nw",
172
- "color": "#a4a4a4"
173
- },
174
- "nodes": [
175
- "7c994e7efb87d61f",
176
- "879b5476deda73b0",
177
- "a5074076a34de015",
178
- "20f5318774b56550",
179
- "eb1669dc281aacda",
180
- "32d39cbbad223e48",
181
- "85d11ea49087d7a8",
182
- "0061d335785a97c5",
183
- "298195cb7721ddce",
184
- "bd166ce901b6bd37",
185
- "807dd2529783550b",
186
- "176a754c8b39063c",
187
- "b185b133c9ab43f9",
188
- "0aeaca52ca60cadc",
189
- "605e432d57d4a7e6"
190
- ],
191
- "x": 14,
192
- "y": 839,
193
- "w": 1512,
194
- "h": 282
195
- },
196
- {
197
- "id": "bd2bef99e757d7bf",
198
- "type": "group",
199
- "z": "b195bc3ca2e1a665",
200
- "style": {
201
- "stroke": "#999999",
202
- "stroke-opacity": "1",
203
- "fill": "none",
204
- "fill-opacity": "1",
205
- "label": true,
206
- "label-position": "nw",
207
- "color": "#a4a4a4"
208
- },
209
- "nodes": [
210
- "3ad37ecdb59b7314",
211
- "54a2572d4a48cf34",
212
- "4813eab6c5a5faf9",
213
- "1a237533ba8a9376",
214
- "4f4ff5d35037207a",
215
- "19184f75b76893d0",
216
- "df4a9e9bf8c4077e"
217
- ],
218
- "x": 14,
219
- "y": 639,
220
- "w": 852,
221
- "h": 182
222
- },
223
34
  {
224
35
  "id": "4c59118134081e05",
225
36
  "type": "group",
@@ -268,1925 +79,67 @@
268
79
  "w": 572,
269
80
  "h": 142
270
81
  },
271
- {
272
- "id": "d042a4c68f51d6ab",
273
- "type": "processcube-engine-config",
274
- "url": "http://localhost:56000"
275
- },
276
- {
277
- "id": "8e2205abbb41495b",
278
- "type": "ui-group",
279
- "name": "My Group",
280
- "page": "b4dcca3f3d895ff7",
281
- "width": "12",
282
- "height": "1",
283
- "order": 1,
284
- "showTitle": false,
285
- "className": "",
286
- "visible": "true",
287
- "disabled": "false"
288
- },
289
- {
290
- "id": "26a45d43c064bdb6",
291
- "type": "ui-base",
292
- "name": "My Dashboard",
293
- "path": "/dashboard",
294
- "includeClientData": true,
295
- "acceptsClientConfig": [
296
- "ui-notification",
297
- "ui-control"
298
- ],
299
- "showPathInSidebar": true,
300
- "navigationStyle": "default",
301
- "titleBarStyle": "default"
302
- },
303
- {
304
- "id": "b4dcca3f3d895ff7",
305
- "type": "ui-page",
306
- "name": "Prozessinstanzliste",
307
- "ui": "26a45d43c064bdb6",
308
- "path": "/Prozessinstanzliste",
309
- "icon": "home",
310
- "layout": "grid",
311
- "theme": "7175f012d8e51857",
312
- "order": 3,
313
- "className": "",
314
- "visible": false,
315
- "disabled": "false"
316
- },
317
- {
318
- "id": "540bda48de1fe22d",
319
- "type": "ui-page",
320
- "name": "UserTask",
321
- "ui": "26a45d43c064bdb6",
322
- "path": "/UserTask",
323
- "icon": "home",
324
- "layout": "grid",
325
- "theme": "7175f012d8e51857",
326
- "order": 4,
327
- "className": "",
328
- "visible": false,
329
- "disabled": "false"
330
- },
331
- {
332
- "id": "7175f012d8e51857",
333
- "type": "ui-theme",
334
- "name": "Default Theme",
335
- "colors": {
336
- "surface": "#ffffff",
337
- "primary": "#1f517f",
338
- "bgPage": "#eeeeee",
339
- "groupBg": "#ffffff",
340
- "groupOutline": "#cccccc"
341
- },
342
- "sizes": {
343
- "pagePadding": "12px",
344
- "groupGap": "12px",
345
- "groupBorderRadius": "4px",
346
- "widgetGap": "12px"
347
- }
348
- },
349
- {
350
- "id": "42e6796dddd9d4db",
351
- "type": "processcube-engine-config",
352
- "url": "http://engine:8000"
353
- },
354
- {
355
- "id": "1b45fbda916a0a2d",
356
- "type": "ui-page",
357
- "name": "Prozessliste",
358
- "ui": "26a45d43c064bdb6",
359
- "path": "/Prozessliste",
360
- "icon": "home",
361
- "layout": "grid",
362
- "theme": "7175f012d8e51857",
363
- "order": 2,
364
- "className": "",
365
- "visible": false,
366
- "disabled": "false"
367
- },
368
- {
369
- "id": "8b1ddd3c46212b60",
370
- "type": "ui-group",
371
- "name": "Prozessliste",
372
- "page": "1b45fbda916a0a2d",
373
- "width": "12",
374
- "height": "1",
375
- "order": 1,
376
- "showTitle": false,
377
- "className": "",
378
- "visible": "true",
379
- "disabled": "false"
380
- },
381
- {
382
- "id": "973fe345c23a83a4",
383
- "type": "ui-page",
384
- "name": "DynamicTable",
385
- "ui": "26a45d43c064bdb6",
386
- "path": "/DynamicTable",
387
- "icon": "home",
388
- "layout": "grid",
389
- "theme": "7175f012d8e51857",
390
- "order": 1,
391
- "className": "",
392
- "visible": "true",
393
- "disabled": "false"
394
- },
395
- {
396
- "id": "84f18cf9bf25b858",
397
- "type": "openApi-red",
398
- "z": "a23d2e782beb66f4",
399
- "g": "02fef81e2129ea71",
400
- "name": "Engine",
401
- "openApiUrl": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger",
402
- "configUrlNode": "",
403
- "api": "ExternalTasks",
404
- "server": "",
405
- "keepAuth": false,
406
- "alternServer": false,
407
- "operation": "get/external_tasks/deployed_topics",
408
- "operationData": {
409
- "description": "Fetches a list of all ExternalTask topics from all deployed Process Models.",
410
- "tags": [
411
- "ExternalTasks"
412
- ],
413
- "responses": {
414
- "200": {
415
- "description": "A list of all ExternalTask topics from all deployed Process Models.",
416
- "content": {
417
- "application/json": {
418
- "schema": {
419
- "description": "A list of all ExternalTask topics from all deployed Process Models.",
420
- "type": "array",
421
- "items": {
422
- "type": "string"
423
- },
424
- "example": [
425
- "myTopic",
426
- "myOtherTopic",
427
- "myThirdTopic",
428
- "myFourthTopic"
429
- ]
430
- }
431
- }
432
- }
433
- }
434
- },
435
- "security": [
436
- {
437
- "bearerAuth": []
438
- }
439
- ],
440
- "operationId": "get/external_tasks/deployed_topics",
441
- "withoutOriginalOpId": true,
442
- "pathName": "/external_tasks/deployed_topics",
443
- "method": "get",
444
- "path": "/external_tasks/deployed_topics"
445
- },
446
- "errorHandling": "throw exception",
447
- "internalErrors": {
448
- "readUrl": false,
449
- "parameters": false
450
- },
451
- "parameters": [],
452
- "requestContentType": "application/json",
453
- "responseContentType": "application/json",
454
- "showDescription": true,
455
- "devMode": false,
456
- "outputs": 1,
457
- "_version": "1.2.5",
458
- "x": 590,
459
- "y": 360,
460
- "wires": [
461
- [
462
- "ee2e9eb1d613da90"
463
- ]
464
- ]
465
- },
466
- {
467
- "id": "ee2e9eb1d613da90",
468
- "type": "debug",
469
- "z": "a23d2e782beb66f4",
470
- "g": "02fef81e2129ea71",
471
- "name": "debug 2",
472
- "active": true,
473
- "tosidebar": true,
474
- "console": false,
475
- "tostatus": false,
476
- "complete": "false",
477
- "statusVal": "",
478
- "statusType": "auto",
479
- "x": 780,
480
- "y": 360,
481
- "wires": []
482
- },
483
- {
484
- "id": "2d115b489271921f",
485
- "type": "inject",
486
- "z": "a23d2e782beb66f4",
487
- "g": "02fef81e2129ea71",
488
- "name": "",
489
- "props": [
490
- {
491
- "p": "payload"
492
- },
493
- {
494
- "p": "topic",
495
- "vt": "str"
496
- },
497
- {
498
- "p": "openApiToken",
499
- "v": "ZHVtbXlfdG9rZW4=",
500
- "vt": "str"
501
- }
502
- ],
503
- "repeat": "",
504
- "crontab": "",
505
- "once": false,
506
- "onceDelay": 0.1,
507
- "topic": "",
508
- "payload": "go",
509
- "payloadType": "str",
510
- "x": 370,
511
- "y": 360,
512
- "wires": [
513
- [
514
- "84f18cf9bf25b858"
515
- ]
516
- ]
517
- },
518
- {
519
- "id": "4c80d7de3e3b9e51",
520
- "type": "externaltask-input",
521
- "z": "a23d2e782beb66f4",
522
- "name": "processmodels",
523
- "engine": "d042a4c68f51d6ab",
524
- "topic": "processmodels",
525
- "x": 100,
526
- "y": 460,
527
- "wires": [
528
- [
529
- "548bec9dd5260598"
530
- ]
531
- ]
532
- },
533
- {
534
- "id": "c2acc73b60c2efc6",
535
- "type": "externaltask-output",
536
- "z": "a23d2e782beb66f4",
537
- "name": "processmodels end",
538
- "x": 970,
539
- "y": 460,
540
- "wires": []
541
- },
542
- {
543
- "id": "f0e993037904bc90",
544
- "type": "function",
545
- "z": "a23d2e782beb66f4",
546
- "name": "set access token",
547
- "func": "msg.openApiToken = \"ZHVtbXlfdG9rZW4=\";\n\nreturn msg;",
548
- "outputs": 1,
549
- "timeout": 0,
550
- "noerr": 0,
551
- "initialize": "",
552
- "finalize": "",
553
- "libs": [],
554
- "x": 490,
555
- "y": 460,
556
- "wires": [
557
- [
558
- "8ddbc0d73cec1cdc",
559
- "3b1997a0ca78f819"
560
- ]
561
- ]
562
- },
563
- {
564
- "id": "8ddbc0d73cec1cdc",
565
- "type": "openApi-red",
566
- "z": "a23d2e782beb66f4",
567
- "name": "",
568
- "openApiUrl": "http://engine:8000/atlas_engine/api/v1/swagger",
569
- "configUrlNode": "",
570
- "api": "ProcessModels",
571
- "server": "",
572
- "keepAuth": false,
573
- "alternServer": false,
574
- "operation": "get/process_models",
575
- "operationData": {
576
- "description": "Gets all currently deployed Process Models.",
577
- "tags": [
578
- "ProcessModels"
579
- ],
580
- "responses": {
581
- "200": {
582
- "content": {
583
- "application/json": {
584
- "schema": {
585
- "description": "A list of ProcessModels.",
586
- "type": "object",
587
- "required": [
588
- "processModels",
589
- "totalCount"
590
- ],
591
- "properties": {
592
- "processModels": {
593
- "description": "The ProcessModels.",
594
- "type": "array",
595
- "items": {
596
- "description": "A ProcessModel.",
597
- "type": "object",
598
- "required": [
599
- "processDefinitionId",
600
- "processModelId",
601
- "isExecutable",
602
- "startEvents",
603
- "endEvents",
604
- "flowNodes"
605
- ],
606
- "properties": {
607
- "processDefinitionId": {
608
- "description": "The ID of the ProcessDefinition that contains the ProcessModel.",
609
- "type": "string"
610
- },
611
- "processModelId": {
612
- "description": "The ID of the ProcessModel.",
613
- "type": "string"
614
- },
615
- "processModelName": {
616
- "description": "The name of the ProcessModel.",
617
- "type": "string"
618
- },
619
- "version": {
620
- "description": "The version of the ProcessModel.",
621
- "type": "string"
622
- },
623
- "isExecutable": {
624
- "description": "A flag indicating whether the ProcessModel can be started.",
625
- "type": "boolean"
626
- },
627
- "startEvents": {
628
- "description": "The StartEvents contained in the ProcessModel.",
629
- "type": "array",
630
- "items": {
631
- "description": "A StartEvent.",
632
- "type": "object",
633
- "required": [
634
- "id",
635
- "customProperties",
636
- "processModelId"
637
- ],
638
- "properties": {
639
- "id": {
640
- "type": "string",
641
- "description": "The ID of the BaseElement."
642
- },
643
- "customProperties": {
644
- "type": "object",
645
- "description": "The custom properties of the BaseElement.",
646
- "additionalProperties": {
647
- "type": "string"
648
- }
649
- },
650
- "documentation": {
651
- "type": "array",
652
- "description": "The documentation of the BaseElement.",
653
- "items": {
654
- "type": "string"
655
- }
656
- },
657
- "processModelId": {
658
- "type": "string",
659
- "description": "The ID of the ProcessModel that contains the BaseElement."
660
- },
661
- "processModelName": {
662
- "type": "string",
663
- "description": "The name of the ProcessModel that contains the BaseElement."
664
- },
665
- "name": {
666
- "description": "The name of the FlowNode.",
667
- "type": "string"
668
- },
669
- "flowNodeType": {
670
- "description": "The type of a BPMN element.",
671
- "type": "string",
672
- "enum": [
673
- "bpmn:Task",
674
- "bpmn:BusinessRuleTask",
675
- "bpmn:UserTask",
676
- "bpmn:ExclusiveGateway",
677
- "bpmn:ParallelGateway",
678
- "bpmn:ServiceTask",
679
- "bpmn:StartEvent",
680
- "bpmn:EndEvent",
681
- "bpmn:IntermediateCatchEvent",
682
- "bpmn:IntermediateThrowEvent",
683
- "bpmn:ScriptTask",
684
- "bpmn:BoundaryEvent",
685
- "bpmn:CallActivity",
686
- "bpmn:SubProcess",
687
- "bpmn:ManualTask",
688
- "bpmn:ComplexGateway",
689
- "bpmn:InclusiveGateway",
690
- "bpmn:EventBasedGateway",
691
- "bpmn:SendTask",
692
- "bpmn:ReceiveTask"
693
- ],
694
- "$$ref": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger#/components/schemas/BpmnType"
695
- },
696
- "timerType": {
697
- "description": "The type of the timer.",
698
- "type": "string"
699
- },
700
- "timerValue": {
701
- "description": "The value of the timer.",
702
- "type": "string"
703
- }
704
- },
705
- "$$ref": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger#/components/schemas/StartEventViewModel"
706
- }
707
- },
708
- "endEvents": {
709
- "description": "The EndEvents contained in the ProcessModel.",
710
- "type": "array",
711
- "items": {
712
- "description": "An EndEvent.",
713
- "type": "object",
714
- "required": [
715
- "id",
716
- "customProperties",
717
- "processModelId"
718
- ],
719
- "properties": {
720
- "id": {
721
- "type": "string",
722
- "description": "The ID of the BaseElement."
723
- },
724
- "customProperties": {
725
- "type": "object",
726
- "description": "The custom properties of the BaseElement.",
727
- "additionalProperties": {
728
- "type": "string"
729
- }
730
- },
731
- "documentation": {
732
- "type": "array",
733
- "description": "The documentation of the BaseElement.",
734
- "items": {
735
- "type": "string"
736
- }
737
- },
738
- "processModelId": {
739
- "type": "string",
740
- "description": "The ID of the ProcessModel that contains the BaseElement."
741
- },
742
- "processModelName": {
743
- "type": "string",
744
- "description": "The name of the ProcessModel that contains the BaseElement."
745
- },
746
- "name": {
747
- "description": "The name of the FlowNode.",
748
- "type": "string"
749
- },
750
- "flowNodeType": {
751
- "description": "The type of a BPMN element.",
752
- "type": "string",
753
- "enum": [
754
- "bpmn:Task",
755
- "bpmn:BusinessRuleTask",
756
- "bpmn:UserTask",
757
- "bpmn:ExclusiveGateway",
758
- "bpmn:ParallelGateway",
759
- "bpmn:ServiceTask",
760
- "bpmn:StartEvent",
761
- "bpmn:EndEvent",
762
- "bpmn:IntermediateCatchEvent",
763
- "bpmn:IntermediateThrowEvent",
764
- "bpmn:ScriptTask",
765
- "bpmn:BoundaryEvent",
766
- "bpmn:CallActivity",
767
- "bpmn:SubProcess",
768
- "bpmn:ManualTask",
769
- "bpmn:ComplexGateway",
770
- "bpmn:InclusiveGateway",
771
- "bpmn:EventBasedGateway",
772
- "bpmn:SendTask",
773
- "bpmn:ReceiveTask"
774
- ],
775
- "$$ref": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger#/components/schemas/BpmnType"
776
- },
777
- "errorName": {
778
- "description": "The name of the error.",
779
- "type": "string"
780
- },
781
- "errorCode": {
782
- "description": "The code of the error.",
783
- "type": "string"
784
- },
785
- "errorMessage": {
786
- "description": "The message of the error.",
787
- "type": "string"
788
- }
789
- },
790
- "$$ref": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger#/components/schemas/EndEventViewModel"
791
- }
792
- },
793
- "flowNodes": {
794
- "description": "The FlowNodes contained in the ProcessModel.",
795
- "type": "array",
796
- "items": {
797
- "description": "A FlowNode.",
798
- "type": "object",
799
- "required": [
800
- "id",
801
- "customProperties",
802
- "processModelId"
803
- ],
804
- "properties": {
805
- "id": {
806
- "type": "string",
807
- "description": "The ID of the BaseElement."
808
- },
809
- "customProperties": {
810
- "type": "object",
811
- "description": "The custom properties of the BaseElement.",
812
- "additionalProperties": {
813
- "type": "string"
814
- }
815
- },
816
- "documentation": {
817
- "type": "array",
818
- "description": "The documentation of the BaseElement.",
819
- "items": {
820
- "type": "string"
821
- }
822
- },
823
- "processModelId": {
824
- "type": "string",
825
- "description": "The ID of the ProcessModel that contains the BaseElement."
826
- },
827
- "processModelName": {
828
- "type": "string",
829
- "description": "The name of the ProcessModel that contains the BaseElement."
830
- },
831
- "name": {
832
- "description": "The name of the FlowNode.",
833
- "type": "string"
834
- },
835
- "flowNodeType": {
836
- "description": "The type of a BPMN element.",
837
- "type": "string",
838
- "enum": [
839
- "bpmn:Task",
840
- "bpmn:BusinessRuleTask",
841
- "bpmn:UserTask",
842
- "bpmn:ExclusiveGateway",
843
- "bpmn:ParallelGateway",
844
- "bpmn:ServiceTask",
845
- "bpmn:StartEvent",
846
- "bpmn:EndEvent",
847
- "bpmn:IntermediateCatchEvent",
848
- "bpmn:IntermediateThrowEvent",
849
- "bpmn:ScriptTask",
850
- "bpmn:BoundaryEvent",
851
- "bpmn:CallActivity",
852
- "bpmn:SubProcess",
853
- "bpmn:ManualTask",
854
- "bpmn:ComplexGateway",
855
- "bpmn:InclusiveGateway",
856
- "bpmn:EventBasedGateway",
857
- "bpmn:SendTask",
858
- "bpmn:ReceiveTask"
859
- ],
860
- "$$ref": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger#/components/schemas/BpmnType"
861
- }
862
- },
863
- "$$ref": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger#/components/schemas/FlowNodeViewModel"
864
- }
865
- }
866
- },
867
- "$$ref": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger#/components/schemas/ProcessModel"
868
- }
869
- },
870
- "totalCount": {
871
- "description": "The total number of ProcessModels.",
872
- "type": "number"
873
- }
874
- },
875
- "$$ref": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger#/components/schemas/ProcessModelList"
876
- }
877
- }
878
- }
879
- }
880
- },
881
- "security": [
882
- {
883
- "bearerAuth": []
884
- }
885
- ],
886
- "operationId": "get/process_models",
887
- "withoutOriginalOpId": true,
888
- "pathName": "/process_models",
889
- "method": "get",
890
- "path": "/process_models"
891
- },
892
- "errorHandling": "throw exception",
893
- "internalErrors": {
894
- "readUrl": false
895
- },
896
- "parameters": [],
897
- "requestContentType": "application/json",
898
- "responseContentType": "application/json",
899
- "showDescription": true,
900
- "devMode": false,
901
- "outputs": 1,
902
- "_version": "1.2.5",
903
- "x": 720,
904
- "y": 460,
905
- "wires": [
906
- [
907
- "c2acc73b60c2efc6",
908
- "5027f959a5839630",
909
- "c5a5fd3f9c76acf6"
910
- ]
911
- ]
912
- },
913
- {
914
- "id": "3b1997a0ca78f819",
915
- "type": "debug",
916
- "z": "a23d2e782beb66f4",
917
- "name": "debug 3",
918
- "active": true,
919
- "tosidebar": true,
920
- "console": false,
921
- "tostatus": false,
922
- "complete": "payload",
923
- "targetType": "msg",
924
- "statusVal": "",
925
- "statusType": "auto",
926
- "x": 680,
927
- "y": 540,
928
- "wires": []
929
- },
930
- {
931
- "id": "5027f959a5839630",
932
- "type": "debug",
933
- "z": "a23d2e782beb66f4",
934
- "name": "debug 4",
935
- "active": true,
936
- "tosidebar": true,
937
- "console": false,
938
- "tostatus": false,
939
- "complete": "false",
940
- "statusVal": "",
941
- "statusType": "auto",
942
- "x": 900,
943
- "y": 540,
944
- "wires": []
945
- },
946
- {
947
- "id": "548bec9dd5260598",
948
- "type": "delay",
949
- "z": "a23d2e782beb66f4",
950
- "name": "",
951
- "pauseType": "delay",
952
- "timeout": "1",
953
- "timeoutUnits": "seconds",
954
- "rate": "1",
955
- "nbRateUnits": "1",
956
- "rateUnits": "second",
957
- "randomFirst": "1",
958
- "randomLast": "5",
959
- "randomUnits": "seconds",
960
- "drop": false,
961
- "allowrate": false,
962
- "outputs": 1,
963
- "x": 300,
964
- "y": 460,
965
- "wires": [
966
- [
967
- "f0e993037904bc90"
968
- ]
969
- ]
970
- },
971
- {
972
- "id": "2991a5e6df2b87d2",
973
- "type": "externaltask-input",
974
- "z": "a23d2e782beb66f4",
975
- "name": "Test",
976
- "engine": "d042a4c68f51d6ab",
977
- "topic": "Test",
978
- "x": 90,
979
- "y": 600,
980
- "wires": [
981
- [
982
- "d56bb7cd73fd220c",
983
- "75c7bb5cc34e354a"
984
- ]
985
- ]
986
- },
987
- {
988
- "id": "911fde53bcbb7e3f",
989
- "type": "externaltask-output",
990
- "z": "a23d2e782beb66f4",
991
- "name": "Test Ende",
992
- "x": 500,
993
- "y": 600,
994
- "wires": []
995
- },
996
- {
997
- "id": "d56bb7cd73fd220c",
998
- "type": "delay",
999
- "z": "a23d2e782beb66f4",
1000
- "name": "",
1001
- "pauseType": "delay",
1002
- "timeout": "1",
1003
- "timeoutUnits": "seconds",
1004
- "rate": "1",
1005
- "nbRateUnits": "1",
1006
- "rateUnits": "second",
1007
- "randomFirst": "1",
1008
- "randomLast": "5",
1009
- "randomUnits": "seconds",
1010
- "drop": false,
1011
- "allowrate": false,
1012
- "outputs": 1,
1013
- "x": 280,
1014
- "y": 600,
1015
- "wires": [
1016
- [
1017
- "911fde53bcbb7e3f",
1018
- "69aec57d8bb00292"
1019
- ]
1020
- ]
1021
- },
1022
- {
1023
- "id": "75c7bb5cc34e354a",
1024
- "type": "debug",
1025
- "z": "a23d2e782beb66f4",
1026
- "name": "debug 1",
1027
- "active": true,
1028
- "tosidebar": true,
1029
- "console": false,
1030
- "tostatus": false,
1031
- "complete": "false",
1032
- "statusVal": "",
1033
- "statusType": "auto",
1034
- "x": 260,
1035
- "y": 680,
1036
- "wires": []
1037
- },
1038
- {
1039
- "id": "c5a5fd3f9c76acf6",
1040
- "type": "debug",
1041
- "z": "a23d2e782beb66f4",
1042
- "name": "debug 5",
1043
- "active": true,
1044
- "tosidebar": true,
1045
- "console": false,
1046
- "tostatus": false,
1047
- "complete": "externalTaskId",
1048
- "targetType": "msg",
1049
- "statusVal": "",
1050
- "statusType": "auto",
1051
- "x": 900,
1052
- "y": 620,
1053
- "wires": []
1054
- },
1055
- {
1056
- "id": "69aec57d8bb00292",
1057
- "type": "debug",
1058
- "z": "a23d2e782beb66f4",
1059
- "name": "debug 6",
1060
- "active": true,
1061
- "tosidebar": true,
1062
- "console": false,
1063
- "tostatus": false,
1064
- "complete": "externalTaskId",
1065
- "targetType": "msg",
1066
- "statusVal": "",
1067
- "statusType": "auto",
1068
- "x": 480,
1069
- "y": 680,
1070
- "wires": []
1071
- },
1072
- {
1073
- "id": "fe0eb72aeb3ebbc2",
1074
- "type": "process-start",
1075
- "z": "a23d2e782beb66f4",
1076
- "name": "start Process \"Hello world\"",
1077
- "engine": "d042a4c68f51d6ab",
1078
- "processmodel": "HelloWorld_Process",
1079
- "startevent": "StartEvent_1",
1080
- "x": 500,
1081
- "y": 120,
1082
- "wires": [
1083
- [
1084
- "1686330823da3f45"
1085
- ]
1086
- ]
1087
- },
1088
- {
1089
- "id": "64f430c40bc1f75b",
1090
- "type": "http in",
1091
- "z": "a23d2e782beb66f4",
1092
- "name": "",
1093
- "url": "/start_process",
1094
- "method": "post",
1095
- "upload": false,
1096
- "swaggerDoc": "",
1097
- "x": 150,
1098
- "y": 120,
1099
- "wires": [
1100
- [
1101
- "54731bdfca83ceda",
1102
- "fe0eb72aeb3ebbc2"
1103
- ]
1104
- ]
1105
- },
1106
- {
1107
- "id": "54731bdfca83ceda",
1108
- "type": "debug",
1109
- "z": "a23d2e782beb66f4",
1110
- "name": "debug 7",
1111
- "active": true,
1112
- "tosidebar": true,
1113
- "console": false,
1114
- "tostatus": false,
1115
- "complete": "false",
1116
- "statusVal": "",
1117
- "statusType": "auto",
1118
- "x": 380,
1119
- "y": 180,
1120
- "wires": []
1121
- },
1122
- {
1123
- "id": "1686330823da3f45",
1124
- "type": "http response",
1125
- "z": "a23d2e782beb66f4",
1126
- "name": "",
1127
- "statusCode": "200",
1128
- "headers": {},
1129
- "x": 760,
1130
- "y": 120,
1131
- "wires": []
1132
- },
1133
- {
1134
- "id": "18e05d562d48f32d",
1135
- "type": "externaltask-input",
1136
- "z": "a23d2e782beb66f4",
1137
- "name": "SampleError",
1138
- "engine": "d042a4c68f51d6ab",
1139
- "topic": "SampleError",
1140
- "x": 110,
1141
- "y": 840,
1142
- "wires": [
1143
- [
1144
- "49aee03a7885fae8"
1145
- ]
1146
- ]
1147
- },
1148
- {
1149
- "id": "49aee03a7885fae8",
1150
- "type": "delay",
1151
- "z": "a23d2e782beb66f4",
1152
- "name": "",
1153
- "pauseType": "delay",
1154
- "timeout": "5",
1155
- "timeoutUnits": "seconds",
1156
- "rate": "1",
1157
- "nbRateUnits": "1",
1158
- "rateUnits": "second",
1159
- "randomFirst": "1",
1160
- "randomLast": "5",
1161
- "randomUnits": "seconds",
1162
- "drop": false,
1163
- "allowrate": false,
1164
- "outputs": 1,
1165
- "x": 350,
1166
- "y": 840,
1167
- "wires": [
1168
- [
1169
- "bd68c4bdc53b8f80"
1170
- ]
1171
- ]
1172
- },
1173
- {
1174
- "id": "e4555d9019cd3f47",
1175
- "type": "catch",
1176
- "z": "a23d2e782beb66f4",
1177
- "name": "",
1178
- "scope": null,
1179
- "uncaught": false,
1180
- "x": 360,
1181
- "y": 960,
1182
- "wires": [
1183
- [
1184
- "fa1c26d470c38efd",
1185
- "019797b5a0882e7b",
1186
- "fb87f79852b22e4a"
1187
- ]
1188
- ]
1189
- },
1190
- {
1191
- "id": "bd68c4bdc53b8f80",
1192
- "type": "function",
1193
- "z": "a23d2e782beb66f4",
1194
- "name": "function 1",
1195
- "func": "throw Error(\"hello error\");\n\nreturn msg;",
1196
- "outputs": 1,
1197
- "timeout": 0,
1198
- "noerr": 0,
1199
- "initialize": "",
1200
- "finalize": "",
1201
- "libs": [],
1202
- "x": 560,
1203
- "y": 840,
1204
- "wires": [
1205
- [
1206
- "1ba1e62c9935255f"
1207
- ]
1208
- ]
1209
- },
1210
- {
1211
- "id": "fa1c26d470c38efd",
1212
- "type": "debug",
1213
- "z": "a23d2e782beb66f4",
1214
- "name": "debug 8",
1215
- "active": true,
1216
- "tosidebar": true,
1217
- "console": false,
1218
- "tostatus": false,
1219
- "complete": "false",
1220
- "statusVal": "",
1221
- "statusType": "auto",
1222
- "x": 620,
1223
- "y": 960,
1224
- "wires": []
1225
- },
1226
- {
1227
- "id": "019797b5a0882e7b",
1228
- "type": "debug",
1229
- "z": "a23d2e782beb66f4",
1230
- "name": "debug 9",
1231
- "active": true,
1232
- "tosidebar": true,
1233
- "console": false,
1234
- "tostatus": false,
1235
- "complete": "externalTaskId",
1236
- "targetType": "msg",
1237
- "statusVal": "",
1238
- "statusType": "auto",
1239
- "x": 620,
1240
- "y": 1020,
1241
- "wires": []
1242
- },
1243
- {
1244
- "id": "fb87f79852b22e4a",
1245
- "type": "externaltask-error",
1246
- "z": "a23d2e782beb66f4",
1247
- "name": "",
1248
- "error": "MyErrorCode",
1249
- "x": 610,
1250
- "y": 1100,
1251
- "wires": [
1252
- []
1253
- ]
1254
- },
1255
- {
1256
- "id": "1ba1e62c9935255f",
1257
- "type": "externaltask-output",
1258
- "z": "a23d2e782beb66f4",
1259
- "name": "",
1260
- "x": 770,
1261
- "y": 840,
1262
- "wires": []
1263
- },
1264
- {
1265
- "id": "9b2a7132561246ca",
1266
- "type": "catch",
1267
- "z": "a23d2e782beb66f4",
1268
- "g": "02fef81e2129ea71",
1269
- "name": "",
1270
- "scope": "group",
1271
- "uncaught": false,
1272
- "x": 570,
1273
- "y": 260,
1274
- "wires": [
1275
- [
1276
- "53a07b9d2362c8bc"
1277
- ]
1278
- ]
1279
- },
1280
- {
1281
- "id": "d2377adc3074905b",
1282
- "type": "comment",
1283
- "z": "a23d2e782beb66f4",
1284
- "g": "02fef81e2129ea71",
1285
- "name": "Sample",
1286
- "info": "",
1287
- "x": 330,
1288
- "y": 240,
1289
- "wires": []
1290
- },
1291
- {
1292
- "id": "53a07b9d2362c8bc",
1293
- "type": "debug",
1294
- "z": "a23d2e782beb66f4",
1295
- "g": "02fef81e2129ea71",
1296
- "name": "debug 17",
1297
- "active": true,
1298
- "tosidebar": true,
1299
- "console": false,
1300
- "tostatus": false,
1301
- "complete": "false",
1302
- "statusVal": "",
1303
- "statusType": "auto",
1304
- "x": 770,
1305
- "y": 260,
1306
- "wires": []
1307
- },
1308
- {
1309
- "id": "c18723294975e975",
1310
- "type": "inject",
1311
- "z": "a23d2e782beb66f4",
1312
- "name": "",
1313
- "props": [
1314
- {
1315
- "p": "payload"
1316
- },
1317
- {
1318
- "p": "eventName",
1319
- "v": "sampleEvent",
1320
- "vt": "str"
1321
- }
1322
- ],
1323
- "repeat": "",
1324
- "crontab": "",
1325
- "once": false,
1326
- "onceDelay": 0.1,
1327
- "topic": "",
1328
- "payload": "{\t \t}",
1329
- "payloadType": "jsonata",
1330
- "x": 190,
1331
- "y": 1400,
1332
- "wires": [
1333
- [
1334
- "ddcde0ab7abfb8af"
1335
- ]
1336
- ]
1337
- },
1338
- {
1339
- "id": "ddcde0ab7abfb8af",
1340
- "type": "debug",
1341
- "z": "a23d2e782beb66f4",
1342
- "name": "debug 18",
1343
- "active": true,
1344
- "tosidebar": true,
1345
- "console": false,
1346
- "tostatus": false,
1347
- "complete": "true",
1348
- "targetType": "full",
1349
- "statusVal": "",
1350
- "statusType": "auto",
1351
- "x": 480,
1352
- "y": 1400,
1353
- "wires": []
1354
- },
1355
- {
1356
- "id": "a019a697b9b7bf74",
1357
- "type": "http in",
1358
- "z": "a23d2e782beb66f4",
1359
- "name": "",
1360
- "url": "/triggerSampleEvent",
1361
- "method": "post",
1362
- "upload": false,
1363
- "swaggerDoc": "",
1364
- "x": 170,
1365
- "y": 1260,
1366
- "wires": [
1367
- [
1368
- "2cc740aa2cee8a3f"
1369
- ]
1370
- ]
1371
- },
1372
- {
1373
- "id": "7c2a437046aa04a4",
1374
- "type": "http response",
1375
- "z": "a23d2e782beb66f4",
1376
- "name": "",
1377
- "statusCode": "",
1378
- "headers": {},
1379
- "x": 790,
1380
- "y": 1260,
1381
- "wires": []
1382
- },
1383
- {
1384
- "id": "2cc740aa2cee8a3f",
1385
- "type": "function",
1386
- "z": "a23d2e782beb66f4",
1387
- "name": "set values",
1388
- "func": "msg.openApiToken = \"ZHVtbXlfdG9rZW4=\";\nmsg.eventName = \"sampleEvent\";\nreturn msg;",
1389
- "outputs": 1,
1390
- "timeout": 0,
1391
- "noerr": 0,
1392
- "initialize": "",
1393
- "finalize": "",
1394
- "libs": [],
1395
- "x": 380,
1396
- "y": 1260,
1397
- "wires": [
1398
- [
1399
- "3aace3d92cd1516c"
1400
- ]
1401
- ]
1402
- },
1403
- {
1404
- "id": "d08b19a18287f7b3",
1405
- "type": "debug",
1406
- "z": "a23d2e782beb66f4",
1407
- "name": "debug 19",
1408
- "active": true,
1409
- "tosidebar": true,
1410
- "console": false,
1411
- "tostatus": false,
1412
- "complete": "false",
1413
- "statusVal": "",
1414
- "statusType": "auto",
1415
- "x": 800,
1416
- "y": 1300,
1417
- "wires": []
1418
- },
1419
- {
1420
- "id": "817de491411fe1e6",
1421
- "type": "inject",
1422
- "z": "a23d2e782beb66f4",
1423
- "name": "",
1424
- "props": [
1425
- {
1426
- "p": "payload"
1427
- }
1428
- ],
1429
- "repeat": "",
1430
- "crontab": "",
1431
- "once": false,
1432
- "onceDelay": 0.1,
1433
- "topic": "",
1434
- "payload": "{\"hello\":\"test\"}",
1435
- "payloadType": "json",
1436
- "x": 230,
1437
- "y": 1180,
1438
- "wires": [
1439
- [
1440
- "2cc740aa2cee8a3f"
1441
- ]
1442
- ]
1443
- },
1444
- {
1445
- "id": "3aace3d92cd1516c",
1446
- "type": "message-event-trigger",
1447
- "z": "a23d2e782beb66f4",
1448
- "name": "",
1449
- "engine": "42e6796dddd9d4db",
1450
- "messagename": "sampleEvent",
1451
- "processInstanceId": "",
1452
- "x": 580,
1453
- "y": 1260,
1454
- "wires": [
1455
- [
1456
- "7c2a437046aa04a4",
1457
- "d08b19a18287f7b3"
1458
- ]
1459
- ]
1460
- },
1461
- {
1462
- "id": "aa3ca456ddf1a7bd",
1463
- "type": "debug",
1464
- "z": "fd3c725340de4f74",
1465
- "g": "f29182f397cab86b",
1466
- "name": "new",
1467
- "active": true,
1468
- "tosidebar": true,
1469
- "console": false,
1470
- "tostatus": false,
1471
- "complete": "payload",
1472
- "targetType": "msg",
1473
- "statusVal": "",
1474
- "statusType": "auto",
1475
- "x": 430,
1476
- "y": 140,
1477
- "wires": []
1478
- },
1479
- {
1480
- "id": "a2b09670ce6219e3",
1481
- "type": "comment",
1482
- "z": "fd3c725340de4f74",
1483
- "g": "f29182f397cab86b",
1484
- "name": "Listener für neue UserTasks",
1485
- "info": "",
1486
- "x": 200,
1487
- "y": 100,
1488
- "wires": []
1489
- },
1490
- {
1491
- "id": "e283d772578fb6d2",
1492
- "type": "usertask-input",
1493
- "z": "fd3c725340de4f74",
1494
- "g": "f29182f397cab86b",
1495
- "name": "",
1496
- "engine": "d042a4c68f51d6ab",
1497
- "query": "{\"state\":\"suspended\"}",
1498
- "query_type": "json",
1499
- "force_send_array": true,
1500
- "multisend": false,
1501
- "x": 460,
1502
- "y": 220,
1503
- "wires": [
1504
- [
1505
- "86dd72913b9f2ee3"
1506
- ]
1507
- ]
1508
- },
1509
- {
1510
- "id": "86dd72913b9f2ee3",
1511
- "type": "debug",
1512
- "z": "fd3c725340de4f74",
1513
- "g": "f29182f397cab86b",
1514
- "name": "user tasks",
1515
- "active": true,
1516
- "tosidebar": true,
1517
- "console": false,
1518
- "tostatus": false,
1519
- "complete": "payload",
1520
- "targetType": "msg",
1521
- "statusVal": "",
1522
- "statusType": "auto",
1523
- "x": 690,
1524
- "y": 220,
1525
- "wires": []
1526
- },
1527
- {
1528
- "id": "3e89be46a437d93c",
1529
- "type": "usertask-finished-listener",
1530
- "z": "fd3c725340de4f74",
1531
- "g": "f29182f397cab86b",
1532
- "name": "",
1533
- "engine": "d042a4c68f51d6ab",
1534
- "multisend": false,
1535
- "x": 190,
1536
- "y": 260,
1537
- "wires": [
1538
- [
1539
- "f0d9df3d9fea075b",
1540
- "e283d772578fb6d2"
1541
- ]
1542
- ]
1543
- },
1544
- {
1545
- "id": "f0d9df3d9fea075b",
1546
- "type": "debug",
1547
- "z": "fd3c725340de4f74",
1548
- "g": "f29182f397cab86b",
1549
- "name": "finished",
1550
- "active": true,
1551
- "tosidebar": true,
1552
- "console": false,
1553
- "tostatus": false,
1554
- "complete": "payload",
1555
- "targetType": "msg",
1556
- "statusVal": "",
1557
- "statusType": "auto",
1558
- "x": 440,
1559
- "y": 300,
1560
- "wires": []
1561
- },
1562
- {
1563
- "id": "3011d9be5207350a",
1564
- "type": "usertask-new-listener",
1565
- "z": "fd3c725340de4f74",
1566
- "g": "f29182f397cab86b",
1567
- "name": "",
1568
- "engine": "d042a4c68f51d6ab",
1569
- "multisend": false,
1570
- "x": 200,
1571
- "y": 180,
1572
- "wires": [
1573
- [
1574
- "aa3ca456ddf1a7bd",
1575
- "e283d772578fb6d2"
1576
- ]
1577
- ]
1578
- },
1579
- {
1580
- "id": "0f5978f327b01bfb",
1581
- "type": "ui-table",
1582
- "z": "b195bc3ca2e1a665",
1583
- "g": "09cdc14cfb8ad687",
1584
- "group": "8e2205abbb41495b",
1585
- "name": "Auftrage",
1586
- "label": "text",
1587
- "order": 1,
1588
- "width": "0",
1589
- "height": "0",
1590
- "maxrows": 0,
1591
- "passthru": false,
1592
- "autocols": true,
1593
- "showSearch": true,
1594
- "selectionType": "click",
1595
- "columns": [],
1596
- "x": 540,
1597
- "y": 160,
1598
- "wires": [
1599
- [
1600
- "69723e56fb97b6c1"
1601
- ]
1602
- ]
1603
- },
1604
- {
1605
- "id": "dbec84a2543dbe7e",
1606
- "type": "http request",
1607
- "z": "b195bc3ca2e1a665",
1608
- "g": "09cdc14cfb8ad687",
1609
- "name": "",
1610
- "method": "GET",
1611
- "ret": "obj",
1612
- "paytoqs": "ignore",
1613
- "url": "http://localhost:56000/atlas_engine/api/v1/flow_node_instances?flowNodeType=bpmn%3AUserTask&state=suspended",
1614
- "tls": "",
1615
- "persist": false,
1616
- "proxy": "",
1617
- "insecureHTTPParser": false,
1618
- "authType": "bearer",
1619
- "senderr": false,
1620
- "headers": [],
1621
- "x": 290,
1622
- "y": 220,
1623
- "wires": [
1624
- [
1625
- "c73156ccd3cd2a48"
1626
- ]
1627
- ]
1628
- },
1629
- {
1630
- "id": "c73156ccd3cd2a48",
1631
- "type": "function",
1632
- "z": "b195bc3ca2e1a665",
1633
- "g": "09cdc14cfb8ad687",
1634
- "name": "Felder filtern",
1635
- "func": "const table = [];\n\nmsg.payload.flowNodeInstances.forEach(function(element) {\n const row = {\n \"flowNodeName\": element.flowNodeName, \n \"state\": element.state,\n \"flowNodeInstanceId\": element.flowNodeInstanceId,\n \"startedAt\": element.startedAt\n }\n\n if (element.state == \"suspended\") {\n row[\"action\"] = \"do it\";\n } else {\n row[\"action\"] = \"nope ;-)\";\n }\n\n table.push(row);\n});;\n\nmsg.payload = table;\nreturn msg;",
1636
- "outputs": 1,
1637
- "timeout": 0,
1638
- "noerr": 0,
1639
- "initialize": "",
1640
- "finalize": "",
1641
- "libs": [],
1642
- "x": 370,
1643
- "y": 160,
1644
- "wires": [
1645
- [
1646
- "0f5978f327b01bfb"
1647
- ]
1648
- ]
1649
- },
1650
- {
1651
- "id": "7c13c0a3b8824a63",
1652
- "type": "ui-control",
1653
- "z": "b195bc3ca2e1a665",
1654
- "g": "09cdc14cfb8ad687",
1655
- "name": "Seite navigieren",
1656
- "ui": "26a45d43c064bdb6",
1657
- "events": "all",
1658
- "x": 760,
1659
- "y": 300,
1660
- "wires": [
1661
- [
1662
- "786bf9ed5078de92"
1663
- ]
1664
- ]
1665
- },
1666
- {
1667
- "id": "786bf9ed5078de92",
1668
- "type": "debug",
1669
- "z": "b195bc3ca2e1a665",
1670
- "g": "09cdc14cfb8ad687",
1671
- "name": "debug 4",
1672
- "active": true,
1673
- "tosidebar": true,
1674
- "console": false,
1675
- "tostatus": false,
1676
- "complete": "false",
1677
- "statusVal": "",
1678
- "statusType": "auto",
1679
- "x": 920,
1680
- "y": 300,
1681
- "wires": []
1682
- },
1683
- {
1684
- "id": "69723e56fb97b6c1",
1685
- "type": "switch",
1686
- "z": "b195bc3ca2e1a665",
1687
- "g": "09cdc14cfb8ad687",
1688
- "name": "",
1689
- "property": "payload.action",
1690
- "propertyType": "msg",
1691
- "rules": [
1692
- {
1693
- "t": "eq",
1694
- "v": "do it",
1695
- "vt": "str"
1696
- }
1697
- ],
1698
- "checkall": "true",
1699
- "repair": false,
1700
- "outputs": 1,
1701
- "x": 530,
1702
- "y": 220,
1703
- "wires": [
1704
- [
1705
- "d5874ba4dd992935",
1706
- "1d5b0759c3226e37"
1707
- ]
1708
- ]
1709
- },
1710
- {
1711
- "id": "d5874ba4dd992935",
1712
- "type": "function",
1713
- "z": "b195bc3ca2e1a665",
1714
- "g": "09cdc14cfb8ad687",
1715
- "name": "Seite UserTask",
1716
- "func": "msg.payload = { \n page: \"UserTask\",\n query: {\n flowNodeName: msg.payload.flowNodeName,\n flowNodeInstanceId: msg.payload.flowNodeInstanceId,\n state: msg.payload.state,\n action: msg.payload.action\n }\n};\nreturn msg;",
1717
- "outputs": 1,
1718
- "timeout": 0,
1719
- "noerr": 0,
1720
- "initialize": "",
1721
- "finalize": "",
1722
- "libs": [],
1723
- "x": 560,
1724
- "y": 300,
1725
- "wires": [
1726
- [
1727
- "7c13c0a3b8824a63"
1728
- ]
1729
- ]
1730
- },
1731
- {
1732
- "id": "71196d7ab2204d95",
1733
- "type": "ui-button",
1734
- "z": "b195bc3ca2e1a665",
1735
- "g": "09cdc14cfb8ad687",
1736
- "group": "8e2205abbb41495b",
1737
- "name": "",
1738
- "label": "Aufgaben laden",
1739
- "order": 2,
1740
- "width": 0,
1741
- "height": 0,
1742
- "emulateClick": false,
1743
- "tooltip": "",
1744
- "color": "",
1745
- "bgcolor": "",
1746
- "className": "",
1747
- "icon": "",
1748
- "iconPosition": "left",
1749
- "payload": "",
1750
- "payloadType": "str",
1751
- "topic": "topic",
1752
- "topicType": "msg",
1753
- "x": 120,
1754
- "y": 160,
1755
- "wires": [
1756
- [
1757
- "dbec84a2543dbe7e"
1758
- ]
1759
- ]
1760
- },
1761
- {
1762
- "id": "6ce155bbaaba083f",
1763
- "type": "comment",
1764
- "z": "b195bc3ca2e1a665",
1765
- "g": "09cdc14cfb8ad687",
1766
- "name": "Tabelle mit Aufträgen laden",
1767
- "info": "",
1768
- "x": 150,
1769
- "y": 100,
1770
- "wires": []
1771
- },
1772
- {
1773
- "id": "05284831924ef310",
1774
- "type": "comment",
1775
- "z": "b195bc3ca2e1a665",
1776
- "g": "ec36901abb138306",
1777
- "name": "Auftrag bearbeiten",
1778
- "info": "",
1779
- "x": 130,
1780
- "y": 460,
1781
- "wires": []
1782
- },
1783
- {
1784
- "id": "1d5b0759c3226e37",
1785
- "type": "debug",
1786
- "z": "b195bc3ca2e1a665",
1787
- "g": "09cdc14cfb8ad687",
1788
- "name": "debug 6",
1789
- "active": true,
1790
- "tosidebar": true,
1791
- "console": false,
1792
- "tostatus": false,
1793
- "complete": "false",
1794
- "statusVal": "",
1795
- "statusType": "auto",
1796
- "x": 880,
1797
- "y": 140,
1798
- "wires": []
1799
- },
1800
- {
1801
- "id": "97afbbf01ec1cd88",
1802
- "type": "ui-event",
1803
- "z": "b195bc3ca2e1a665",
1804
- "d": true,
1805
- "g": "09cdc14cfb8ad687",
1806
- "ui": "26a45d43c064bdb6",
1807
- "name": "",
1808
- "x": 100,
1809
- "y": 360,
1810
- "wires": [
1811
- [
1812
- "111c8606ea343c1f"
1813
- ]
1814
- ]
1815
- },
1816
- {
1817
- "id": "2b3f33b7a9dceb49",
1818
- "type": "switch",
1819
- "z": "b195bc3ca2e1a665",
1820
- "g": "09cdc14cfb8ad687",
1821
- "name": "Seite == \"Prozessliste\"",
1822
- "property": "payload.page.name",
1823
- "propertyType": "msg",
1824
- "rules": [
1825
- {
1826
- "t": "eq",
1827
- "v": "Prozessliste",
1828
- "vt": "str"
1829
- }
1830
- ],
1831
- "checkall": "true",
1832
- "repair": false,
1833
- "outputs": 1,
1834
- "x": 300,
1835
- "y": 300,
1836
- "wires": [
1837
- [
1838
- "dbec84a2543dbe7e"
1839
- ]
1840
- ]
1841
- },
1842
- {
1843
- "id": "a61cb4c20f79d872",
1844
- "type": "inject",
1845
- "z": "b195bc3ca2e1a665",
1846
- "g": "09cdc14cfb8ad687",
1847
- "name": "",
1848
- "props": [
1849
- {
1850
- "p": "payload"
1851
- },
1852
- {
1853
- "p": "topic",
1854
- "vt": "str"
1855
- }
1856
- ],
1857
- "repeat": "",
1858
- "crontab": "",
1859
- "once": false,
1860
- "onceDelay": 0.1,
1861
- "topic": "",
1862
- "payload": "",
1863
- "payloadType": "date",
1864
- "x": 120,
1865
- "y": 220,
1866
- "wires": [
1867
- [
1868
- "dbec84a2543dbe7e"
1869
- ]
1870
- ]
1871
- },
1872
- {
1873
- "id": "1497b762d2ac1723",
1874
- "type": "function",
1875
- "z": "b195bc3ca2e1a665",
1876
- "g": "ec36901abb138306",
1877
- "name": "parameter setzen",
1878
- "func": "if (msg.payload.query && msg.payload.query.flowNodeInstanceId) {\n msg.payload = {\n \"flowNodeInstanceId\": msg.payload.query.flowNodeInstanceId\n };\n}\n\nreturn msg;",
1879
- "outputs": 1,
1880
- "timeout": 0,
1881
- "noerr": 0,
1882
- "initialize": "",
1883
- "finalize": "",
1884
- "libs": [],
1885
- "x": 570,
1886
- "y": 520,
1887
- "wires": [
1888
- [
1889
- "eee38d2764bac337"
1890
- ]
1891
- ]
1892
- },
1893
- {
1894
- "id": "493500b42d8d0f5b",
1895
- "type": "ui-event",
1896
- "z": "b195bc3ca2e1a665",
1897
- "d": true,
1898
- "g": "ec36901abb138306",
1899
- "ui": "26a45d43c064bdb6",
1900
- "name": "",
1901
- "x": 100,
1902
- "y": 520,
1903
- "wires": [
1904
- [
1905
- "a4d741804929ba73"
1906
- ]
1907
- ]
1908
- },
1909
- {
1910
- "id": "34984ae3f4e83b0b",
1911
- "type": "switch",
1912
- "z": "b195bc3ca2e1a665",
1913
- "g": "ec36901abb138306",
1914
- "name": "Seite == \"UserTask\"",
1915
- "property": "payload.page.name",
1916
- "propertyType": "msg",
1917
- "rules": [
1918
- {
1919
- "t": "eq",
1920
- "v": "UserTask",
1921
- "vt": "str"
1922
- }
1923
- ],
1924
- "checkall": "true",
1925
- "repair": false,
1926
- "outputs": 1,
1927
- "x": 300,
1928
- "y": 580,
1929
- "wires": [
1930
- [
1931
- "1497b762d2ac1723"
1932
- ]
1933
- ]
1934
- },
1935
- {
1936
- "id": "eee38d2764bac337",
1937
- "type": "usertask-input",
1938
- "z": "b195bc3ca2e1a665",
1939
- "g": "ec36901abb138306",
1940
- "name": "",
1941
- "engine": "d042a4c68f51d6ab",
1942
- "multisend": false,
1943
- "x": 560,
1944
- "y": 580,
1945
- "wires": [
1946
- []
1947
- ]
1948
- },
1949
- {
1950
- "id": "a4d741804929ba73",
1951
- "type": "switch",
1952
- "z": "b195bc3ca2e1a665",
1953
- "g": "ec36901abb138306",
1954
- "name": "Seite sichtbar",
1955
- "property": "topic",
1956
- "propertyType": "msg",
1957
- "rules": [
1958
- {
1959
- "t": "eq",
1960
- "v": "$pageview",
1961
- "vt": "str"
1962
- }
1963
- ],
1964
- "checkall": "true",
1965
- "repair": false,
1966
- "outputs": 1,
1967
- "x": 280,
1968
- "y": 520,
1969
- "wires": [
1970
- [
1971
- "34984ae3f4e83b0b"
1972
- ]
1973
- ]
1974
- },
1975
- {
1976
- "id": "111c8606ea343c1f",
1977
- "type": "switch",
1978
- "z": "b195bc3ca2e1a665",
1979
- "g": "09cdc14cfb8ad687",
1980
- "name": "Seite sichtbar",
1981
- "property": "topic",
1982
- "propertyType": "msg",
1983
- "rules": [
1984
- {
1985
- "t": "eq",
1986
- "v": "$pageview",
1987
- "vt": "str"
1988
- }
1989
- ],
1990
- "checkall": "true",
1991
- "repair": false,
1992
- "outputs": 1,
1993
- "x": 280,
1994
- "y": 360,
1995
- "wires": [
1996
- [
1997
- "2b3f33b7a9dceb49"
1998
- ]
1999
- ]
2000
- },
2001
- {
2002
- "id": "3ad37ecdb59b7314",
2003
- "type": "comment",
2004
- "z": "b195bc3ca2e1a665",
2005
- "g": "bd2bef99e757d7bf",
2006
- "name": "Message für neue UserTasks",
2007
- "info": "",
2008
- "x": 160,
2009
- "y": 700,
2010
- "wires": []
2011
- },
2012
- {
2013
- "id": "54a2572d4a48cf34",
2014
- "type": "usertask-new-listener",
2015
- "z": "b195bc3ca2e1a665",
2016
- "d": true,
2017
- "g": "bd2bef99e757d7bf",
2018
- "name": "",
2019
- "engine": "d042a4c68f51d6ab",
2020
- "multisend": false,
2021
- "x": 140,
2022
- "y": 780,
2023
- "wires": [
2024
- [
2025
- "4813eab6c5a5faf9",
2026
- "df4a9e9bf8c4077e"
2027
- ]
2028
- ]
2029
- },
2030
- {
2031
- "id": "4f4ff5d35037207a",
2032
- "type": "ui-notification",
2033
- "z": "b195bc3ca2e1a665",
2034
- "g": "bd2bef99e757d7bf",
2035
- "ui": "26a45d43c064bdb6",
2036
- "position": "top right",
2037
- "colorDefault": true,
2038
- "color": "#000000",
2039
- "displayTime": "5",
2040
- "showCountdown": true,
2041
- "outputs": 1,
2042
- "allowDismiss": true,
2043
- "dismissText": "Close",
2044
- "raw": true,
2045
- "className": "",
2046
- "name": "",
2047
- "x": 750,
2048
- "y": 780,
2049
- "wires": [
2050
- []
2051
- ]
2052
- },
2053
- {
2054
- "id": "1a237533ba8a9376",
2055
- "type": "function",
2056
- "z": "b195bc3ca2e1a665",
2057
- "g": "bd2bef99e757d7bf",
2058
- "name": "prepare info",
2059
- "func": "\n// http://localhost:1880/dashboard/UserTask?flowNodeInstanceId=d0e0e609-2871-42dc-86a7-2124fc2010ac\n\nmsg.payload = `\n<h3>Neuer UserTask</h3>\n<p>\n Navigation zum Task <b><a href=\"http://localhost:1880/dashboard/UserTask?flowNodeInstanceId=${msg.payload.userTask.flowNodeInstanceId}\">${msg.payload.userTask.flowNodeName}</a></b>\n</p>\n`;\n\nreturn msg;",
2060
- "outputs": 1,
2061
- "timeout": 0,
2062
- "noerr": 0,
2063
- "initialize": "",
2064
- "finalize": "",
2065
- "libs": [],
2066
- "x": 550,
2067
- "y": 780,
2068
- "wires": [
2069
- [
2070
- "4f4ff5d35037207a"
2071
- ]
2072
- ]
2073
- },
2074
- {
2075
- "id": "4813eab6c5a5faf9",
2076
- "type": "usertask-input",
2077
- "z": "b195bc3ca2e1a665",
2078
- "g": "bd2bef99e757d7bf",
2079
- "name": "",
2080
- "engine": "d042a4c68f51d6ab",
2081
- "multisend": false,
2082
- "x": 360,
2083
- "y": 780,
2084
- "wires": [
2085
- [
2086
- "1a237533ba8a9376",
2087
- "19184f75b76893d0"
2088
- ]
2089
- ]
2090
- },
2091
- {
2092
- "id": "19184f75b76893d0",
2093
- "type": "debug",
2094
- "z": "b195bc3ca2e1a665",
2095
- "g": "bd2bef99e757d7bf",
2096
- "name": "debug 16",
2097
- "active": true,
2098
- "tosidebar": true,
2099
- "console": false,
2100
- "tostatus": false,
2101
- "complete": "false",
2102
- "statusVal": "",
2103
- "statusType": "auto",
2104
- "x": 560,
2105
- "y": 680,
2106
- "wires": []
2107
- },
2108
- {
2109
- "id": "915816cdb895af14",
2110
- "type": "switch",
2111
- "z": "b195bc3ca2e1a665",
2112
- "g": "ec36901abb138306",
2113
- "name": "action == submit",
2114
- "property": "payload.action",
2115
- "propertyType": "msg",
2116
- "rules": [
2117
- {
2118
- "t": "eq",
2119
- "v": "submit",
2120
- "vt": "str"
2121
- }
2122
- ],
2123
- "checkall": "true",
2124
- "repair": false,
2125
- "outputs": 1,
2126
- "x": 950,
2127
- "y": 580,
2128
- "wires": [
2129
- [
2130
- "51324058434239ba"
2131
- ]
2132
- ]
82
+ {
83
+ "id": "42e6796dddd9d4db",
84
+ "type": "processcube-engine-config",
85
+ "url": "http://engine:8000"
2133
86
  },
2134
87
  {
2135
- "id": "51324058434239ba",
2136
- "type": "usertask-output",
2137
- "z": "b195bc3ca2e1a665",
2138
- "g": "ec36901abb138306",
2139
- "name": "",
2140
- "engine": "d042a4c68f51d6ab",
2141
- "x": 1060,
2142
- "y": 520,
88
+ "id": "2991a5e6df2b87d2",
89
+ "type": "externaltask-input",
90
+ "z": "a23d2e782beb66f4",
91
+ "name": "Test",
92
+ "engine": "42e6796dddd9d4db",
93
+ "topic": "Test",
94
+ "x": 90,
95
+ "y": 400,
2143
96
  "wires": [
2144
97
  [
2145
- "814ff7cf02987e14"
98
+ "d56bb7cd73fd220c",
99
+ "75c7bb5cc34e354a"
2146
100
  ]
2147
101
  ]
2148
102
  },
2149
103
  {
2150
- "id": "814ff7cf02987e14",
2151
- "type": "function",
2152
- "z": "b195bc3ca2e1a665",
2153
- "g": "ec36901abb138306",
2154
- "name": "Seite Prozessliste",
2155
- "func": "msg.payload = {\n page: \"Prozessinstanzliste\"\n};\nreturn msg;\n",
104
+ "id": "911fde53bcbb7e3f",
105
+ "type": "externaltask-output",
106
+ "z": "a23d2e782beb66f4",
107
+ "name": "Test Ende",
108
+ "x": 500,
109
+ "y": 400,
110
+ "wires": []
111
+ },
112
+ {
113
+ "id": "d56bb7cd73fd220c",
114
+ "type": "delay",
115
+ "z": "a23d2e782beb66f4",
116
+ "name": "",
117
+ "pauseType": "delay",
118
+ "timeout": "1",
119
+ "timeoutUnits": "seconds",
120
+ "rate": "1",
121
+ "nbRateUnits": "1",
122
+ "rateUnits": "second",
123
+ "randomFirst": "1",
124
+ "randomLast": "5",
125
+ "randomUnits": "seconds",
126
+ "drop": false,
127
+ "allowrate": false,
2156
128
  "outputs": 1,
2157
- "timeout": 0,
2158
- "noerr": 0,
2159
- "initialize": "",
2160
- "finalize": "",
2161
- "libs": [],
2162
- "x": 1270,
2163
- "y": 520,
129
+ "x": 280,
130
+ "y": 400,
2164
131
  "wires": [
2165
132
  [
2166
- "0add5e307323845e"
133
+ "911fde53bcbb7e3f",
134
+ "69aec57d8bb00292"
2167
135
  ]
2168
136
  ]
2169
137
  },
2170
138
  {
2171
- "id": "0add5e307323845e",
2172
- "type": "ui-control",
2173
- "z": "b195bc3ca2e1a665",
2174
- "g": "ec36901abb138306",
2175
- "name": "Seite navigation",
2176
- "ui": "26a45d43c064bdb6",
2177
- "events": "all",
2178
- "x": 1480,
2179
- "y": 520,
2180
- "wires": [
2181
- []
2182
- ]
2183
- },
2184
- {
2185
- "id": "5399c05e8fea3679",
139
+ "id": "75c7bb5cc34e354a",
2186
140
  "type": "debug",
2187
- "z": "b195bc3ca2e1a665",
2188
- "g": "ec36901abb138306",
2189
- "name": "debug 20",
141
+ "z": "a23d2e782beb66f4",
142
+ "name": "debug 1",
2190
143
  "active": true,
2191
144
  "tosidebar": true,
2192
145
  "console": false,
@@ -2194,168 +147,109 @@
2194
147
  "complete": "false",
2195
148
  "statusVal": "",
2196
149
  "statusType": "auto",
2197
- "x": 1040,
150
+ "x": 260,
2198
151
  "y": 480,
2199
152
  "wires": []
2200
153
  },
2201
154
  {
2202
- "id": "7c994e7efb87d61f",
2203
- "type": "comment",
2204
- "z": "b195bc3ca2e1a665",
2205
- "g": "17b562c4786348d6",
2206
- "name": "Laden von Prozessen, die gestartet werden können",
2207
- "info": "",
2208
- "x": 250,
2209
- "y": 880,
155
+ "id": "69aec57d8bb00292",
156
+ "type": "debug",
157
+ "z": "a23d2e782beb66f4",
158
+ "name": "debug 6",
159
+ "active": true,
160
+ "tosidebar": true,
161
+ "console": false,
162
+ "tostatus": false,
163
+ "complete": "externalTaskId",
164
+ "targetType": "msg",
165
+ "statusVal": "",
166
+ "statusType": "auto",
167
+ "x": 480,
168
+ "y": 480,
2210
169
  "wires": []
2211
170
  },
2212
171
  {
2213
- "id": "879b5476deda73b0",
2214
- "type": "ui-event",
2215
- "z": "b195bc3ca2e1a665",
2216
- "d": true,
2217
- "g": "17b562c4786348d6",
2218
- "ui": "26a45d43c064bdb6",
2219
- "name": "",
2220
- "x": 140,
2221
- "y": 1000,
2222
- "wires": [
2223
- [
2224
- "20f5318774b56550"
2225
- ]
2226
- ]
2227
- },
2228
- {
2229
- "id": "a5074076a34de015",
2230
- "type": "switch",
2231
- "z": "b195bc3ca2e1a665",
2232
- "g": "17b562c4786348d6",
2233
- "name": "Seite == \"Prozessliste\"",
2234
- "property": "payload.page.name",
2235
- "propertyType": "msg",
2236
- "rules": [
2237
- {
2238
- "t": "eq",
2239
- "v": "Prozessliste",
2240
- "vt": "str"
2241
- }
2242
- ],
2243
- "checkall": "true",
2244
- "repair": false,
2245
- "outputs": 1,
2246
- "x": 380,
2247
- "y": 1020,
2248
- "wires": [
2249
- [
2250
- "eb1669dc281aacda"
2251
- ]
2252
- ]
2253
- },
2254
- {
2255
- "id": "20f5318774b56550",
2256
- "type": "switch",
2257
- "z": "b195bc3ca2e1a665",
2258
- "g": "17b562c4786348d6",
2259
- "name": "Seite sichtbar",
2260
- "property": "topic",
2261
- "propertyType": "msg",
2262
- "rules": [
2263
- {
2264
- "t": "eq",
2265
- "v": "$pageview",
2266
- "vt": "str"
2267
- }
2268
- ],
2269
- "checkall": "true",
2270
- "repair": false,
2271
- "outputs": 1,
2272
- "x": 400,
2273
- "y": 960,
172
+ "id": "18e05d562d48f32d",
173
+ "type": "externaltask-input",
174
+ "z": "a23d2e782beb66f4",
175
+ "name": "SampleError",
176
+ "engine": "42e6796dddd9d4db",
177
+ "topic": "SampleError",
178
+ "x": 110,
179
+ "y": 640,
2274
180
  "wires": [
2275
181
  [
2276
- "a5074076a34de015"
182
+ "49aee03a7885fae8"
2277
183
  ]
2278
184
  ]
2279
185
  },
2280
186
  {
2281
- "id": "eb1669dc281aacda",
2282
- "type": "http request",
2283
- "z": "b195bc3ca2e1a665",
2284
- "g": "17b562c4786348d6",
187
+ "id": "49aee03a7885fae8",
188
+ "type": "delay",
189
+ "z": "a23d2e782beb66f4",
2285
190
  "name": "",
2286
- "method": "GET",
2287
- "ret": "obj",
2288
- "paytoqs": "ignore",
2289
- "url": "http://localhost:56000/atlas_engine/api/v1/process_models",
2290
- "tls": "",
2291
- "persist": false,
2292
- "proxy": "",
2293
- "insecureHTTPParser": false,
2294
- "authType": "bearer",
2295
- "senderr": false,
2296
- "headers": [],
2297
- "x": 410,
2298
- "y": 1080,
191
+ "pauseType": "delay",
192
+ "timeout": "5",
193
+ "timeoutUnits": "seconds",
194
+ "rate": "1",
195
+ "nbRateUnits": "1",
196
+ "rateUnits": "second",
197
+ "randomFirst": "1",
198
+ "randomLast": "5",
199
+ "randomUnits": "seconds",
200
+ "drop": false,
201
+ "allowrate": false,
202
+ "outputs": 1,
203
+ "x": 350,
204
+ "y": 640,
2299
205
  "wires": [
2300
206
  [
2301
- "85d11ea49087d7a8"
207
+ "bd68c4bdc53b8f80"
2302
208
  ]
2303
209
  ]
2304
210
  },
2305
211
  {
2306
- "id": "32d39cbbad223e48",
2307
- "type": "inject",
2308
- "z": "b195bc3ca2e1a665",
2309
- "g": "17b562c4786348d6",
212
+ "id": "e4555d9019cd3f47",
213
+ "type": "catch",
214
+ "z": "a23d2e782beb66f4",
2310
215
  "name": "",
2311
- "props": [
2312
- {
2313
- "p": "payload"
2314
- }
2315
- ],
2316
- "repeat": "",
2317
- "crontab": "",
2318
- "once": false,
2319
- "onceDelay": 0.1,
2320
- "topic": "",
2321
- "payload": "do",
2322
- "payloadType": "str",
2323
- "x": 150,
2324
- "y": 1080,
216
+ "scope": null,
217
+ "uncaught": false,
218
+ "x": 360,
219
+ "y": 760,
2325
220
  "wires": [
2326
221
  [
2327
- "eb1669dc281aacda"
222
+ "fa1c26d470c38efd",
223
+ "019797b5a0882e7b",
224
+ "fb87f79852b22e4a"
2328
225
  ]
2329
226
  ]
2330
227
  },
2331
228
  {
2332
- "id": "85d11ea49087d7a8",
229
+ "id": "bd68c4bdc53b8f80",
2333
230
  "type": "function",
2334
- "z": "b195bc3ca2e1a665",
2335
- "g": "17b562c4786348d6",
2336
- "name": "Felder filtern",
2337
- "func": "const table = [];\n\nmsg.payload.processModels.forEach(function(processModel) {\n processModel.startEvents.forEach(function(startEvent) {\n const row = {\n processModelName: processModel.processModelName,\n startEventName: startEvent.name,\n processModelId: processModel.processModelId,\n startEventId: startEvent.id\n };\n\n table.push(row); \n });\n});\n\nmsg.payload = table;\n\nreturn msg;",
231
+ "z": "a23d2e782beb66f4",
232
+ "name": "function 1",
233
+ "func": "throw Error(\"hello error\");\n\nreturn msg;",
2338
234
  "outputs": 1,
2339
235
  "timeout": 0,
2340
236
  "noerr": 0,
2341
237
  "initialize": "",
2342
238
  "finalize": "",
2343
239
  "libs": [],
2344
- "x": 610,
2345
- "y": 1080,
240
+ "x": 560,
241
+ "y": 640,
2346
242
  "wires": [
2347
243
  [
2348
- "0061d335785a97c5",
2349
- "298195cb7721ddce"
244
+ "1ba1e62c9935255f"
2350
245
  ]
2351
246
  ]
2352
247
  },
2353
248
  {
2354
- "id": "0061d335785a97c5",
249
+ "id": "fa1c26d470c38efd",
2355
250
  "type": "debug",
2356
- "z": "b195bc3ca2e1a665",
2357
- "g": "17b562c4786348d6",
2358
- "name": "debug 22",
251
+ "z": "a23d2e782beb66f4",
252
+ "name": "debug 8",
2359
253
  "active": true,
2360
254
  "tosidebar": true,
2361
255
  "console": false,
@@ -2363,130 +257,61 @@
2363
257
  "complete": "false",
2364
258
  "statusVal": "",
2365
259
  "statusType": "auto",
2366
- "x": 800,
2367
- "y": 1080,
260
+ "x": 620,
261
+ "y": 760,
2368
262
  "wires": []
2369
263
  },
2370
264
  {
2371
- "id": "298195cb7721ddce",
2372
- "type": "ui-table",
2373
- "z": "b195bc3ca2e1a665",
2374
- "g": "17b562c4786348d6",
2375
- "group": "8b1ddd3c46212b60",
2376
- "name": "Prozessliste",
2377
- "label": "text",
2378
- "order": 1,
2379
- "width": 0,
2380
- "height": 0,
2381
- "maxrows": 0,
2382
- "passthru": false,
2383
- "autocols": true,
2384
- "showSearch": true,
2385
- "selectionType": "click",
2386
- "columns": [],
2387
- "x": 810,
2388
- "y": 1020,
2389
- "wires": [
2390
- [
2391
- "807dd2529783550b",
2392
- "b185b133c9ab43f9"
2393
- ]
2394
- ]
2395
- },
2396
- {
2397
- "id": "bd166ce901b6bd37",
2398
- "type": "ui-button",
2399
- "z": "b195bc3ca2e1a665",
2400
- "g": "17b562c4786348d6",
2401
- "group": "8b1ddd3c46212b60",
2402
- "name": "",
2403
- "label": "Prozesse laden",
2404
- "order": 2,
2405
- "width": 0,
2406
- "height": 0,
2407
- "emulateClick": false,
2408
- "tooltip": "",
2409
- "color": "",
2410
- "bgcolor": "",
2411
- "className": "",
2412
- "icon": "",
2413
- "iconPosition": "left",
2414
- "payload": "",
2415
- "payloadType": "str",
2416
- "topic": "topic",
2417
- "topicType": "msg",
2418
- "x": 120,
2419
- "y": 1040,
2420
- "wires": [
2421
- [
2422
- "eb1669dc281aacda"
2423
- ]
2424
- ]
2425
- },
2426
- {
2427
- "id": "807dd2529783550b",
265
+ "id": "019797b5a0882e7b",
2428
266
  "type": "debug",
2429
- "z": "b195bc3ca2e1a665",
2430
- "g": "17b562c4786348d6",
2431
- "name": "debug 23",
267
+ "z": "a23d2e782beb66f4",
268
+ "name": "debug 9",
2432
269
  "active": true,
2433
270
  "tosidebar": true,
2434
271
  "console": false,
2435
272
  "tostatus": false,
2436
- "complete": "false",
273
+ "complete": "externalTaskId",
274
+ "targetType": "msg",
2437
275
  "statusVal": "",
2438
276
  "statusType": "auto",
2439
- "x": 1000,
2440
- "y": 1080,
277
+ "x": 620,
278
+ "y": 820,
2441
279
  "wires": []
2442
280
  },
2443
281
  {
2444
- "id": "176a754c8b39063c",
2445
- "type": "process-start",
2446
- "z": "b195bc3ca2e1a665",
2447
- "g": "17b562c4786348d6",
2448
- "name": "",
2449
- "engine": "d042a4c68f51d6ab",
2450
- "processmodel": "",
2451
- "startevent": "",
2452
- "x": 1250,
2453
- "y": 1020,
282
+ "id": "fb87f79852b22e4a",
283
+ "type": "externaltask-error",
284
+ "z": "a23d2e782beb66f4",
285
+ "name": "Fehler",
286
+ "error": "MyErrorCode",
287
+ "x": 570,
288
+ "y": 900,
2454
289
  "wires": [
2455
- [
2456
- "605e432d57d4a7e6"
2457
- ]
290
+ []
2458
291
  ]
2459
292
  },
2460
293
  {
2461
- "id": "b185b133c9ab43f9",
2462
- "type": "function",
2463
- "z": "b195bc3ca2e1a665",
2464
- "g": "17b562c4786348d6",
2465
- "name": "pre startparameter",
2466
- "func": "const a = {\n \"processModelName\": \"Sample_UserTask\",\n \"startEventName\": \"Start\",\n \"processModelId\": \"Sample_UserTask_Process\",\n \"startEventId\": \"StartEvent_1\"\n};\n\nmsg.processModelId = msg.payload.processModelId;\nmsg.startEventId = msg.payload.startEventId;\n\nmsg.payload = {};\n\nreturn msg;",
2467
- "outputs": 1,
2468
- "timeout": 0,
2469
- "noerr": 0,
2470
- "initialize": "",
2471
- "finalize": "",
2472
- "libs": [],
2473
- "x": 1030,
2474
- "y": 1020,
2475
- "wires": [
2476
- [
2477
- "176a754c8b39063c"
2478
- ]
2479
- ]
294
+ "id": "1ba1e62c9935255f",
295
+ "type": "externaltask-output",
296
+ "z": "a23d2e782beb66f4",
297
+ "name": "",
298
+ "x": 770,
299
+ "y": 640,
300
+ "wires": []
2480
301
  },
2481
302
  {
2482
- "id": "0aeaca52ca60cadc",
303
+ "id": "c18723294975e975",
2483
304
  "type": "inject",
2484
- "z": "b195bc3ca2e1a665",
2485
- "g": "17b562c4786348d6",
305
+ "z": "a23d2e782beb66f4",
2486
306
  "name": "",
2487
307
  "props": [
2488
308
  {
2489
309
  "p": "payload"
310
+ },
311
+ {
312
+ "p": "eventName",
313
+ "v": "sampleEvent",
314
+ "vt": "str"
2490
315
  }
2491
316
  ],
2492
317
  "repeat": "",
@@ -2494,72 +319,86 @@
2494
319
  "once": false,
2495
320
  "onceDelay": 0.1,
2496
321
  "topic": "",
2497
- "payload": "{\"processModelName\":\"Sample_UserTask\",\"startEventName\":\"Start\",\"processModelId\":\"Sample_UserTask_Process\",\"startEventId\":\"StartEvent_1\"}",
2498
- "payloadType": "json",
2499
- "x": 830,
2500
- "y": 960,
322
+ "payload": "{\t \t}",
323
+ "payloadType": "jsonata",
324
+ "x": 190,
325
+ "y": 1200,
2501
326
  "wires": [
2502
327
  [
2503
- "b185b133c9ab43f9"
328
+ "ddcde0ab7abfb8af"
2504
329
  ]
2505
330
  ]
2506
331
  },
2507
332
  {
2508
- "id": "a4f0eee35f06b1ff",
2509
- "type": "link in",
2510
- "z": "b195bc3ca2e1a665",
2511
- "g": "09cdc14cfb8ad687",
2512
- "name": "link in 2",
2513
- "links": [
2514
- "8db572babccdc189",
2515
- "df4a9e9bf8c4077e",
2516
- "8d44394092e39d99"
2517
- ],
2518
- "x": 105,
2519
- "y": 300,
333
+ "id": "ddcde0ab7abfb8af",
334
+ "type": "debug",
335
+ "z": "a23d2e782beb66f4",
336
+ "name": "debug 18",
337
+ "active": true,
338
+ "tosidebar": true,
339
+ "console": false,
340
+ "tostatus": false,
341
+ "complete": "true",
342
+ "targetType": "full",
343
+ "statusVal": "",
344
+ "statusType": "auto",
345
+ "x": 480,
346
+ "y": 1200,
347
+ "wires": []
348
+ },
349
+ {
350
+ "id": "f7a9604a17188737",
351
+ "type": "usertask-new-listener",
352
+ "z": "fd3c725340de4f74",
353
+ "name": "New User Task",
354
+ "engine": "42e6796dddd9d4db",
355
+ "multisend": false,
356
+ "x": 120,
357
+ "y": 100,
2520
358
  "wires": [
2521
359
  [
2522
- "dbec84a2543dbe7e"
360
+ "020d34cd4ab43900"
2523
361
  ]
2524
362
  ]
2525
363
  },
2526
364
  {
2527
- "id": "df4a9e9bf8c4077e",
2528
- "type": "link out",
2529
- "z": "b195bc3ca2e1a665",
2530
- "g": "bd2bef99e757d7bf",
2531
- "name": "link out 2",
2532
- "mode": "link",
2533
- "links": [
2534
- "a4f0eee35f06b1ff"
2535
- ],
2536
- "x": 295,
2537
- "y": 740,
2538
- "wires": []
2539
- },
2540
- {
2541
- "id": "605e432d57d4a7e6",
365
+ "id": "020d34cd4ab43900",
2542
366
  "type": "debug",
2543
- "z": "b195bc3ca2e1a665",
2544
- "g": "17b562c4786348d6",
2545
- "name": "debug 24",
367
+ "z": "fd3c725340de4f74",
368
+ "name": "Show User Task",
2546
369
  "active": true,
2547
370
  "tosidebar": true,
2548
371
  "console": false,
2549
372
  "tostatus": false,
2550
- "complete": "false",
373
+ "complete": "payload",
374
+ "targetType": "msg",
2551
375
  "statusVal": "",
2552
376
  "statusType": "auto",
2553
- "x": 1420,
2554
- "y": 1020,
377
+ "x": 530,
378
+ "y": 100,
2555
379
  "wires": []
2556
380
  },
381
+ {
382
+ "id": "1db0ae57c1b8486b",
383
+ "type": "usertask-finished-listener",
384
+ "z": "fd3c725340de4f74",
385
+ "name": "Finished User Task",
386
+ "engine": "42e6796dddd9d4db",
387
+ "multisend": false,
388
+ "x": 130,
389
+ "y": 180,
390
+ "wires": [
391
+ [
392
+ "020d34cd4ab43900"
393
+ ]
394
+ ]
395
+ },
2557
396
  {
2558
397
  "id": "baa5d814f2e1f1d8",
2559
398
  "type": "processinstance-query",
2560
399
  "z": "5d27ab4d14b947e9",
2561
400
  "name": "",
2562
- "engine": "d042a4c68f51d6ab",
401
+ "engine": "42e6796dddd9d4db",
2563
402
  "query": "{\"includeXml\":false}",
2564
403
  "query_type": "json",
2565
404
  "x": 360,
@@ -2621,7 +460,7 @@
2621
460
  "z": "f28ae6aa3a05069e",
2622
461
  "g": "4c59118134081e05",
2623
462
  "name": "Query definitions",
2624
- "engine": "d042a4c68f51d6ab",
463
+ "engine": "42e6796dddd9d4db",
2625
464
  "query": "{\"includeXml\":false}",
2626
465
  "query_type": "json",
2627
466
  "models_only": false,
@@ -2686,7 +525,7 @@
2686
525
  "z": "f28ae6aa3a05069e",
2687
526
  "g": "f1d4eaed7570324e",
2688
527
  "name": "Query models",
2689
- "engine": "d042a4c68f51d6ab",
528
+ "engine": "42e6796dddd9d4db",
2690
529
  "query": "{\"includeXml\":false}",
2691
530
  "query_type": "json",
2692
531
  "models_only": true,