@5minds/node-red-contrib-processcube 0.5.0 → 0.5.1-develop-65e016-lxnszh24

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