@5minds/node-red-contrib-processcube 0.11.0-feature-34fec2-lyelwzbp → 0.12.0-develop-2b2936-lyelsu47

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