@5minds/node-red-contrib-processcube 0.3.5-feature-1092e6-lxhvslzu → 0.3.5-feature-58d0b1-lxi3af5i

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,6 +15,14 @@
15
15
  "info": "",
16
16
  "env": []
17
17
  },
18
+ {
19
+ "id": "b195bc3ca2e1a665",
20
+ "type": "tab",
21
+ "label": "Dashboard Symrise",
22
+ "disabled": false,
23
+ "info": "",
24
+ "env": []
25
+ },
18
26
  {
19
27
  "id": "405f8c703368777c",
20
28
  "type": "group",
@@ -34,18 +42,202 @@
34
42
  "846c5269df75c7a1",
35
43
  "4267576c32c782ec",
36
44
  "68cf69be67688af6",
37
- "bcfb8893adeb57ed"
45
+ "bcfb8893adeb57ed",
46
+ "325156d6b8bfc4b6",
47
+ "dac4a2305b629b9f",
48
+ "6d1847a8cc5103ce",
49
+ "3a47f3acf7a512ea"
38
50
  ],
39
51
  "x": 34,
40
52
  "y": 19,
41
- "w": 752,
42
- "h": 222
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
+ ],
84
+ "x": 14,
85
+ "y": 59,
86
+ "w": 1012,
87
+ "h": 282
88
+ },
89
+ {
90
+ "id": "ec36901abb138306",
91
+ "type": "group",
92
+ "z": "b195bc3ca2e1a665",
93
+ "style": {
94
+ "stroke": "#999999",
95
+ "stroke-opacity": "1",
96
+ "fill": "none",
97
+ "fill-opacity": "1",
98
+ "label": true,
99
+ "label-position": "nw",
100
+ "color": "#a4a4a4"
101
+ },
102
+ "nodes": [
103
+ "1224ebb8edb477d2",
104
+ "05284831924ef310",
105
+ "99475ac148f6484b",
106
+ "5a61ca5b5a13aa8d",
107
+ "ebd67a338575690d",
108
+ "1497b762d2ac1723",
109
+ "64068e75e541a72e",
110
+ "b8ac2a6ff7cc5ef1",
111
+ "493500b42d8d0f5b",
112
+ "34984ae3f4e83b0b",
113
+ "8e2a2f993ee7156a",
114
+ "c06d872a4718b6da"
115
+ ],
116
+ "x": 14,
117
+ "y": 379,
118
+ "w": 952,
119
+ "h": 322
120
+ },
121
+ {
122
+ "id": "f29182f397cab86b",
123
+ "type": "group",
124
+ "z": "fd3c725340de4f74",
125
+ "style": {
126
+ "stroke": "#999999",
127
+ "stroke-opacity": "1",
128
+ "fill": "none",
129
+ "fill-opacity": "1",
130
+ "label": true,
131
+ "label-position": "nw",
132
+ "color": "#a4a4a4"
133
+ },
134
+ "nodes": [
135
+ "3011d9be5207350a",
136
+ "aa3ca456ddf1a7bd",
137
+ "a2b09670ce6219e3",
138
+ "efa57df2a7fa4a53"
139
+ ],
140
+ "x": 34,
141
+ "y": 379,
142
+ "w": 482,
143
+ "h": 162
43
144
  },
44
145
  {
45
146
  "id": "d042a4c68f51d6ab",
46
147
  "type": "processcube-engine-config",
47
148
  "url": "http://engine:8000"
48
149
  },
150
+ {
151
+ "id": "8e2205abbb41495b",
152
+ "type": "ui-group",
153
+ "name": "My Group",
154
+ "page": "b4dcca3f3d895ff7",
155
+ "width": "12",
156
+ "height": "1",
157
+ "order": 1,
158
+ "showTitle": false,
159
+ "className": "",
160
+ "visible": "true",
161
+ "disabled": "false"
162
+ },
163
+ {
164
+ "id": "26a45d43c064bdb6",
165
+ "type": "ui-base",
166
+ "name": "My Dashboard",
167
+ "path": "/dashboard",
168
+ "includeClientData": true,
169
+ "acceptsClientConfig": [
170
+ "ui-notification",
171
+ "ui-control"
172
+ ],
173
+ "showPathInSidebar": true,
174
+ "navigationStyle": "default",
175
+ "titleBarStyle": "default"
176
+ },
177
+ {
178
+ "id": "5403f00c961584ab",
179
+ "type": "ui-group",
180
+ "name": "Meine spezieller Dynamic-Form",
181
+ "page": "540bda48de1fe22d",
182
+ "width": "12",
183
+ "height": "1",
184
+ "order": 1,
185
+ "showTitle": false,
186
+ "className": "",
187
+ "visible": "true",
188
+ "disabled": "false"
189
+ },
190
+ {
191
+ "id": "b4dcca3f3d895ff7",
192
+ "type": "ui-page",
193
+ "name": "Prozessliste",
194
+ "ui": "26a45d43c064bdb6",
195
+ "path": "/Prozessliste",
196
+ "icon": "home",
197
+ "layout": "grid",
198
+ "theme": "7175f012d8e51857",
199
+ "order": 2,
200
+ "className": "",
201
+ "visible": "true",
202
+ "disabled": "false"
203
+ },
204
+ {
205
+ "id": "540bda48de1fe22d",
206
+ "type": "ui-page",
207
+ "name": "UserTask",
208
+ "ui": "26a45d43c064bdb6",
209
+ "path": "/UserTask",
210
+ "icon": "home",
211
+ "layout": "grid",
212
+ "theme": "7175f012d8e51857",
213
+ "order": 1,
214
+ "className": "",
215
+ "visible": true,
216
+ "disabled": "false"
217
+ },
218
+ {
219
+ "id": "7175f012d8e51857",
220
+ "type": "ui-theme",
221
+ "name": "Default Theme",
222
+ "colors": {
223
+ "surface": "#ffffff",
224
+ "primary": "#1f517f",
225
+ "bgPage": "#eeeeee",
226
+ "groupBg": "#ffffff",
227
+ "groupOutline": "#cccccc"
228
+ },
229
+ "sizes": {
230
+ "pagePadding": "12px",
231
+ "groupGap": "12px",
232
+ "groupBorderRadius": "4px",
233
+ "widgetGap": "12px"
234
+ }
235
+ },
236
+ {
237
+ "id": "9d1144e1dd0a70e3",
238
+ "type": "processcube-engine-config",
239
+ "url": "http://localhost:56000"
240
+ },
49
241
  {
50
242
  "id": "84f18cf9bf25b858",
51
243
  "type": "openApi-red",
@@ -917,7 +1109,8 @@
917
1109
  "g": "405f8c703368777c",
918
1110
  "name": "",
919
1111
  "engine": "d042a4c68f51d6ab",
920
- "x": 130,
1112
+ "multisend": true,
1113
+ "x": 540,
921
1114
  "y": 140,
922
1115
  "wires": [
923
1116
  [
@@ -939,7 +1132,7 @@
939
1132
  "complete": "false",
940
1133
  "statusVal": "",
941
1134
  "statusType": "auto",
942
- "x": 380,
1135
+ "x": 800,
943
1136
  "y": 80,
944
1137
  "wires": []
945
1138
  },
@@ -949,14 +1142,14 @@
949
1142
  "z": "fd3c725340de4f74",
950
1143
  "g": "405f8c703368777c",
951
1144
  "name": "function 2",
952
- "func": "msg.payload = {\n \"hello\": \"world\"\n};\n\nreturn msg;",
1145
+ "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;",
953
1146
  "outputs": 1,
954
1147
  "timeout": 0,
955
1148
  "noerr": 0,
956
1149
  "initialize": "",
957
1150
  "finalize": "",
958
1151
  "libs": [],
959
- "x": 380,
1152
+ "x": 800,
960
1153
  "y": 140,
961
1154
  "wires": [
962
1155
  [
@@ -972,7 +1165,7 @@
972
1165
  "g": "405f8c703368777c",
973
1166
  "name": "",
974
1167
  "engine": "d042a4c68f51d6ab",
975
- "x": 680,
1168
+ "x": 1020,
976
1169
  "y": 140,
977
1170
  "wires": []
978
1171
  },
@@ -989,7 +1182,7 @@
989
1182
  "complete": "false",
990
1183
  "statusVal": "",
991
1184
  "statusType": "auto",
992
- "x": 660,
1185
+ "x": 1000,
993
1186
  "y": 200,
994
1187
  "wires": []
995
1188
  },
@@ -1000,8 +1193,693 @@
1000
1193
  "g": "405f8c703368777c",
1001
1194
  "name": "Beispiel für UserTask",
1002
1195
  "info": "",
1003
- "x": 160,
1196
+ "x": 370,
1004
1197
  "y": 60,
1005
1198
  "wires": []
1199
+ },
1200
+ {
1201
+ "id": "3011d9be5207350a",
1202
+ "type": "usertask-new-listener",
1203
+ "z": "fd3c725340de4f74",
1204
+ "g": "f29182f397cab86b",
1205
+ "name": "",
1206
+ "engine": "d042a4c68f51d6ab",
1207
+ "multisend": false,
1208
+ "x": 160,
1209
+ "y": 500,
1210
+ "wires": [
1211
+ [
1212
+ "aa3ca456ddf1a7bd",
1213
+ "efa57df2a7fa4a53"
1214
+ ]
1215
+ ]
1216
+ },
1217
+ {
1218
+ "id": "aa3ca456ddf1a7bd",
1219
+ "type": "debug",
1220
+ "z": "fd3c725340de4f74",
1221
+ "g": "f29182f397cab86b",
1222
+ "name": "debug 12",
1223
+ "active": true,
1224
+ "tosidebar": true,
1225
+ "console": false,
1226
+ "tostatus": false,
1227
+ "complete": "false",
1228
+ "statusVal": "",
1229
+ "statusType": "auto",
1230
+ "x": 410,
1231
+ "y": 500,
1232
+ "wires": []
1233
+ },
1234
+ {
1235
+ "id": "a2b09670ce6219e3",
1236
+ "type": "comment",
1237
+ "z": "fd3c725340de4f74",
1238
+ "g": "f29182f397cab86b",
1239
+ "name": "Listener für neue UserTasks",
1240
+ "info": "",
1241
+ "x": 180,
1242
+ "y": 420,
1243
+ "wires": []
1244
+ },
1245
+ {
1246
+ "id": "325156d6b8bfc4b6",
1247
+ "type": "inject",
1248
+ "z": "fd3c725340de4f74",
1249
+ "g": "405f8c703368777c",
1250
+ "name": "SampleUserTask_Process:Activity_0ljiko7",
1251
+ "props": [
1252
+ {
1253
+ "p": "payload"
1254
+ }
1255
+ ],
1256
+ "repeat": "",
1257
+ "crontab": "",
1258
+ "once": false,
1259
+ "onceDelay": 0.1,
1260
+ "topic": "",
1261
+ "payload": "{\"processModelId\":\"SampleUserTask_Process\",\"flowNodeId\":\"Activity_0ljiko7\",\"flowNodeType\":\"bpmn:UserTask\",\"state\":\"suspended\"}",
1262
+ "payloadType": "json",
1263
+ "x": 240,
1264
+ "y": 140,
1265
+ "wires": [
1266
+ [
1267
+ "ec0be0ef92746967"
1268
+ ]
1269
+ ]
1270
+ },
1271
+ {
1272
+ "id": "dac4a2305b629b9f",
1273
+ "type": "inject",
1274
+ "z": "fd3c725340de4f74",
1275
+ "g": "405f8c703368777c",
1276
+ "name": "SampleUserTask_Process:Activity_0glvmjk",
1277
+ "props": [
1278
+ {
1279
+ "p": "payload"
1280
+ }
1281
+ ],
1282
+ "repeat": "",
1283
+ "crontab": "",
1284
+ "once": false,
1285
+ "onceDelay": 0.1,
1286
+ "topic": "",
1287
+ "payload": "{\"processModelId\":\"SampleUserTask_Process\",\"flowNodeId\":\"Activity_0glvmjk\",\"flowNodeType\":\"bpmn:UserTask\",\"state\":\"suspended\"}",
1288
+ "payloadType": "json",
1289
+ "x": 240,
1290
+ "y": 200,
1291
+ "wires": [
1292
+ [
1293
+ "ec0be0ef92746967"
1294
+ ]
1295
+ ]
1296
+ },
1297
+ {
1298
+ "id": "6d1847a8cc5103ce",
1299
+ "type": "inject",
1300
+ "z": "fd3c725340de4f74",
1301
+ "g": "405f8c703368777c",
1302
+ "name": "flowNodeInstanceId",
1303
+ "props": [
1304
+ {
1305
+ "p": "payload"
1306
+ }
1307
+ ],
1308
+ "repeat": "",
1309
+ "crontab": "",
1310
+ "once": false,
1311
+ "onceDelay": 0.1,
1312
+ "topic": "",
1313
+ "payload": "{\"flowNodeInstanceId\":\"af9f9061-304c-49df-8533-ff4260018130\"}",
1314
+ "payloadType": "json",
1315
+ "x": 310,
1316
+ "y": 260,
1317
+ "wires": [
1318
+ [
1319
+ "ec0be0ef92746967"
1320
+ ]
1321
+ ]
1322
+ },
1323
+ {
1324
+ "id": "3a47f3acf7a512ea",
1325
+ "type": "link in",
1326
+ "z": "fd3c725340de4f74",
1327
+ "g": "405f8c703368777c",
1328
+ "name": "link in 1",
1329
+ "links": [
1330
+ "efa57df2a7fa4a53"
1331
+ ],
1332
+ "x": 385,
1333
+ "y": 320,
1334
+ "wires": [
1335
+ [
1336
+ "ec0be0ef92746967"
1337
+ ]
1338
+ ]
1339
+ },
1340
+ {
1341
+ "id": "efa57df2a7fa4a53",
1342
+ "type": "link out",
1343
+ "z": "fd3c725340de4f74",
1344
+ "g": "f29182f397cab86b",
1345
+ "name": "link out 1",
1346
+ "mode": "link",
1347
+ "links": [
1348
+ "3a47f3acf7a512ea"
1349
+ ],
1350
+ "x": 375,
1351
+ "y": 440,
1352
+ "wires": []
1353
+ },
1354
+ {
1355
+ "id": "0f5978f327b01bfb",
1356
+ "type": "ui-table",
1357
+ "z": "b195bc3ca2e1a665",
1358
+ "g": "09cdc14cfb8ad687",
1359
+ "group": "8e2205abbb41495b",
1360
+ "name": "Auftrage",
1361
+ "label": "text",
1362
+ "order": 1,
1363
+ "width": "0",
1364
+ "height": "0",
1365
+ "maxrows": 0,
1366
+ "passthru": false,
1367
+ "autocols": true,
1368
+ "showSearch": true,
1369
+ "selectionType": "click",
1370
+ "columns": [],
1371
+ "x": 540,
1372
+ "y": 160,
1373
+ "wires": [
1374
+ [
1375
+ "69723e56fb97b6c1"
1376
+ ]
1377
+ ]
1378
+ },
1379
+ {
1380
+ "id": "dbec84a2543dbe7e",
1381
+ "type": "http request",
1382
+ "z": "b195bc3ca2e1a665",
1383
+ "g": "09cdc14cfb8ad687",
1384
+ "name": "",
1385
+ "method": "GET",
1386
+ "ret": "obj",
1387
+ "paytoqs": "ignore",
1388
+ "url": "http://localhost:56000/atlas_engine/api/v1/flow_node_instances?flowNodeType=bpmn%3AUserTask&state=suspended",
1389
+ "tls": "",
1390
+ "persist": false,
1391
+ "proxy": "",
1392
+ "insecureHTTPParser": false,
1393
+ "authType": "bearer",
1394
+ "senderr": false,
1395
+ "headers": [],
1396
+ "x": 290,
1397
+ "y": 220,
1398
+ "wires": [
1399
+ [
1400
+ "c73156ccd3cd2a48"
1401
+ ]
1402
+ ]
1403
+ },
1404
+ {
1405
+ "id": "c73156ccd3cd2a48",
1406
+ "type": "function",
1407
+ "z": "b195bc3ca2e1a665",
1408
+ "g": "09cdc14cfb8ad687",
1409
+ "name": "Felder filtern",
1410
+ "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;",
1411
+ "outputs": 1,
1412
+ "timeout": 0,
1413
+ "noerr": 0,
1414
+ "initialize": "",
1415
+ "finalize": "",
1416
+ "libs": [],
1417
+ "x": 370,
1418
+ "y": 160,
1419
+ "wires": [
1420
+ [
1421
+ "0f5978f327b01bfb"
1422
+ ]
1423
+ ]
1424
+ },
1425
+ {
1426
+ "id": "7c13c0a3b8824a63",
1427
+ "type": "ui-control",
1428
+ "z": "b195bc3ca2e1a665",
1429
+ "g": "09cdc14cfb8ad687",
1430
+ "name": "Seite navigieren",
1431
+ "ui": "26a45d43c064bdb6",
1432
+ "events": "all",
1433
+ "x": 760,
1434
+ "y": 300,
1435
+ "wires": [
1436
+ [
1437
+ "786bf9ed5078de92"
1438
+ ]
1439
+ ]
1440
+ },
1441
+ {
1442
+ "id": "786bf9ed5078de92",
1443
+ "type": "debug",
1444
+ "z": "b195bc3ca2e1a665",
1445
+ "g": "09cdc14cfb8ad687",
1446
+ "name": "debug 4",
1447
+ "active": true,
1448
+ "tosidebar": true,
1449
+ "console": false,
1450
+ "tostatus": false,
1451
+ "complete": "false",
1452
+ "statusVal": "",
1453
+ "statusType": "auto",
1454
+ "x": 920,
1455
+ "y": 300,
1456
+ "wires": []
1457
+ },
1458
+ {
1459
+ "id": "69723e56fb97b6c1",
1460
+ "type": "switch",
1461
+ "z": "b195bc3ca2e1a665",
1462
+ "g": "09cdc14cfb8ad687",
1463
+ "name": "",
1464
+ "property": "payload.action",
1465
+ "propertyType": "msg",
1466
+ "rules": [
1467
+ {
1468
+ "t": "eq",
1469
+ "v": "do it",
1470
+ "vt": "str"
1471
+ }
1472
+ ],
1473
+ "checkall": "true",
1474
+ "repair": false,
1475
+ "outputs": 1,
1476
+ "x": 530,
1477
+ "y": 220,
1478
+ "wires": [
1479
+ [
1480
+ "d5874ba4dd992935",
1481
+ "1d5b0759c3226e37"
1482
+ ]
1483
+ ]
1484
+ },
1485
+ {
1486
+ "id": "d5874ba4dd992935",
1487
+ "type": "function",
1488
+ "z": "b195bc3ca2e1a665",
1489
+ "g": "09cdc14cfb8ad687",
1490
+ "name": "Seite UserTask",
1491
+ "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;",
1492
+ "outputs": 1,
1493
+ "timeout": 0,
1494
+ "noerr": 0,
1495
+ "initialize": "",
1496
+ "finalize": "",
1497
+ "libs": [],
1498
+ "x": 560,
1499
+ "y": 300,
1500
+ "wires": [
1501
+ [
1502
+ "7c13c0a3b8824a63"
1503
+ ]
1504
+ ]
1505
+ },
1506
+ {
1507
+ "id": "71196d7ab2204d95",
1508
+ "type": "ui-button",
1509
+ "z": "b195bc3ca2e1a665",
1510
+ "g": "09cdc14cfb8ad687",
1511
+ "group": "8e2205abbb41495b",
1512
+ "name": "",
1513
+ "label": "Aufgaben laden",
1514
+ "order": 2,
1515
+ "width": 0,
1516
+ "height": 0,
1517
+ "emulateClick": false,
1518
+ "tooltip": "",
1519
+ "color": "",
1520
+ "bgcolor": "",
1521
+ "className": "",
1522
+ "icon": "",
1523
+ "iconPosition": "left",
1524
+ "payload": "",
1525
+ "payloadType": "str",
1526
+ "topic": "topic",
1527
+ "topicType": "msg",
1528
+ "x": 120,
1529
+ "y": 160,
1530
+ "wires": [
1531
+ [
1532
+ "dbec84a2543dbe7e"
1533
+ ]
1534
+ ]
1535
+ },
1536
+ {
1537
+ "id": "1224ebb8edb477d2",
1538
+ "type": "debug",
1539
+ "z": "b195bc3ca2e1a665",
1540
+ "g": "ec36901abb138306",
1541
+ "name": "debug 3",
1542
+ "active": true,
1543
+ "tosidebar": true,
1544
+ "console": false,
1545
+ "tostatus": false,
1546
+ "complete": "false",
1547
+ "statusVal": "",
1548
+ "statusType": "auto",
1549
+ "x": 860,
1550
+ "y": 480,
1551
+ "wires": []
1552
+ },
1553
+ {
1554
+ "id": "6ce155bbaaba083f",
1555
+ "type": "comment",
1556
+ "z": "b195bc3ca2e1a665",
1557
+ "g": "09cdc14cfb8ad687",
1558
+ "name": "Tabelle mit Aufträgen laden",
1559
+ "info": "",
1560
+ "x": 150,
1561
+ "y": 100,
1562
+ "wires": []
1563
+ },
1564
+ {
1565
+ "id": "05284831924ef310",
1566
+ "type": "comment",
1567
+ "z": "b195bc3ca2e1a665",
1568
+ "g": "ec36901abb138306",
1569
+ "name": "Auftrag bearbeiten",
1570
+ "info": "",
1571
+ "x": 130,
1572
+ "y": 420,
1573
+ "wires": []
1574
+ },
1575
+ {
1576
+ "id": "1d5b0759c3226e37",
1577
+ "type": "debug",
1578
+ "z": "b195bc3ca2e1a665",
1579
+ "g": "09cdc14cfb8ad687",
1580
+ "name": "debug 6",
1581
+ "active": true,
1582
+ "tosidebar": true,
1583
+ "console": false,
1584
+ "tostatus": false,
1585
+ "complete": "false",
1586
+ "statusVal": "",
1587
+ "statusType": "auto",
1588
+ "x": 880,
1589
+ "y": 140,
1590
+ "wires": []
1591
+ },
1592
+ {
1593
+ "id": "97afbbf01ec1cd88",
1594
+ "type": "ui-event",
1595
+ "z": "b195bc3ca2e1a665",
1596
+ "g": "09cdc14cfb8ad687",
1597
+ "ui": "26a45d43c064bdb6",
1598
+ "name": "",
1599
+ "x": 100,
1600
+ "y": 300,
1601
+ "wires": [
1602
+ [
1603
+ "2b3f33b7a9dceb49"
1604
+ ]
1605
+ ]
1606
+ },
1607
+ {
1608
+ "id": "2b3f33b7a9dceb49",
1609
+ "type": "switch",
1610
+ "z": "b195bc3ca2e1a665",
1611
+ "g": "09cdc14cfb8ad687",
1612
+ "name": "Seite == \"Prozessliste\"",
1613
+ "property": "payload.page.name",
1614
+ "propertyType": "msg",
1615
+ "rules": [
1616
+ {
1617
+ "t": "eq",
1618
+ "v": "Prozessliste",
1619
+ "vt": "str"
1620
+ }
1621
+ ],
1622
+ "checkall": "true",
1623
+ "repair": false,
1624
+ "outputs": 1,
1625
+ "x": 280,
1626
+ "y": 300,
1627
+ "wires": [
1628
+ [
1629
+ "dbec84a2543dbe7e"
1630
+ ]
1631
+ ]
1632
+ },
1633
+ {
1634
+ "id": "a61cb4c20f79d872",
1635
+ "type": "inject",
1636
+ "z": "b195bc3ca2e1a665",
1637
+ "g": "09cdc14cfb8ad687",
1638
+ "name": "",
1639
+ "props": [
1640
+ {
1641
+ "p": "payload"
1642
+ },
1643
+ {
1644
+ "p": "topic",
1645
+ "vt": "str"
1646
+ }
1647
+ ],
1648
+ "repeat": "",
1649
+ "crontab": "",
1650
+ "once": false,
1651
+ "onceDelay": 0.1,
1652
+ "topic": "",
1653
+ "payload": "",
1654
+ "payloadType": "date",
1655
+ "x": 120,
1656
+ "y": 220,
1657
+ "wires": [
1658
+ [
1659
+ "dbec84a2543dbe7e"
1660
+ ]
1661
+ ]
1662
+ },
1663
+ {
1664
+ "id": "99475ac148f6484b",
1665
+ "type": "http request",
1666
+ "z": "b195bc3ca2e1a665",
1667
+ "g": "ec36901abb138306",
1668
+ "name": "",
1669
+ "method": "GET",
1670
+ "ret": "obj",
1671
+ "paytoqs": "ignore",
1672
+ "url": "http://localhost:56000/atlas_engine/api/v1/flow_node_instances?limit=1&flowNodeInstanceId={{{flowNodeInstanceId}}}&flowNodeType=bpmn%3AUserTask",
1673
+ "tls": "",
1674
+ "persist": false,
1675
+ "proxy": "",
1676
+ "insecureHTTPParser": false,
1677
+ "authType": "bearer",
1678
+ "senderr": false,
1679
+ "headers": [],
1680
+ "x": 490,
1681
+ "y": 620,
1682
+ "wires": [
1683
+ [
1684
+ "ebd67a338575690d",
1685
+ "64068e75e541a72e"
1686
+ ]
1687
+ ]
1688
+ },
1689
+ {
1690
+ "id": "5a61ca5b5a13aa8d",
1691
+ "type": "inject",
1692
+ "z": "b195bc3ca2e1a665",
1693
+ "g": "ec36901abb138306",
1694
+ "name": "",
1695
+ "props": [
1696
+ {
1697
+ "p": "payload"
1698
+ },
1699
+ {
1700
+ "p": "topic",
1701
+ "vt": "str"
1702
+ }
1703
+ ],
1704
+ "repeat": "",
1705
+ "crontab": "",
1706
+ "once": false,
1707
+ "onceDelay": 0.1,
1708
+ "topic": "",
1709
+ "payload": "",
1710
+ "payloadType": "date",
1711
+ "x": 120,
1712
+ "y": 620,
1713
+ "wires": [
1714
+ [
1715
+ "1497b762d2ac1723"
1716
+ ]
1717
+ ]
1718
+ },
1719
+ {
1720
+ "id": "ebd67a338575690d",
1721
+ "type": "debug",
1722
+ "z": "b195bc3ca2e1a665",
1723
+ "g": "ec36901abb138306",
1724
+ "name": "debug 8",
1725
+ "active": true,
1726
+ "tosidebar": true,
1727
+ "console": false,
1728
+ "tostatus": false,
1729
+ "complete": "false",
1730
+ "statusVal": "",
1731
+ "statusType": "auto",
1732
+ "x": 660,
1733
+ "y": 660,
1734
+ "wires": []
1735
+ },
1736
+ {
1737
+ "id": "1497b762d2ac1723",
1738
+ "type": "function",
1739
+ "z": "b195bc3ca2e1a665",
1740
+ "g": "ec36901abb138306",
1741
+ "name": "parameter setzen",
1742
+ "func": "msg.flowNodeInstanceId = \"eec76493-589c-4c3e-b397-dd8f441235a8\";\n\nif (msg.payload.query && msg.payload.query.flowNodeInstanceId) {\n msg.flowNodeInstanceId = msg.payload.query.flowNodeInstanceId;\n}\n\n/*\nmsg.flowNodeId = \"Activity_0ye77qp\";\nmsg.flowNodeType = \"bpmn:UserTask\";\nmsg.processModelId = \"Sample_UserTask_Process\";\n*/\n\nreturn msg;",
1743
+ "outputs": 1,
1744
+ "timeout": 0,
1745
+ "noerr": 0,
1746
+ "initialize": "",
1747
+ "finalize": "",
1748
+ "libs": [],
1749
+ "x": 310,
1750
+ "y": 620,
1751
+ "wires": [
1752
+ [
1753
+ "99475ac148f6484b"
1754
+ ]
1755
+ ]
1756
+ },
1757
+ {
1758
+ "id": "64068e75e541a72e",
1759
+ "type": "function",
1760
+ "z": "b195bc3ca2e1a665",
1761
+ "g": "ec36901abb138306",
1762
+ "name": "prepare UserTask ",
1763
+ "func": "msg.payload = {\n \"userTask\": msg.payload.flowNodeInstances[0]\n}\n\nreturn msg;",
1764
+ "outputs": 1,
1765
+ "timeout": 0,
1766
+ "noerr": 0,
1767
+ "initialize": "",
1768
+ "finalize": "",
1769
+ "libs": [],
1770
+ "x": 690,
1771
+ "y": 620,
1772
+ "wires": [
1773
+ [
1774
+ "b8ac2a6ff7cc5ef1",
1775
+ "8e2a2f993ee7156a"
1776
+ ]
1777
+ ]
1778
+ },
1779
+ {
1780
+ "id": "b8ac2a6ff7cc5ef1",
1781
+ "type": "debug",
1782
+ "z": "b195bc3ca2e1a665",
1783
+ "g": "ec36901abb138306",
1784
+ "name": "debug 9",
1785
+ "active": true,
1786
+ "tosidebar": true,
1787
+ "console": false,
1788
+ "tostatus": false,
1789
+ "complete": "false",
1790
+ "statusVal": "",
1791
+ "statusType": "auto",
1792
+ "x": 860,
1793
+ "y": 620,
1794
+ "wires": []
1795
+ },
1796
+ {
1797
+ "id": "493500b42d8d0f5b",
1798
+ "type": "ui-event",
1799
+ "z": "b195bc3ca2e1a665",
1800
+ "g": "ec36901abb138306",
1801
+ "ui": "26a45d43c064bdb6",
1802
+ "name": "",
1803
+ "x": 120,
1804
+ "y": 560,
1805
+ "wires": [
1806
+ [
1807
+ "34984ae3f4e83b0b"
1808
+ ]
1809
+ ]
1810
+ },
1811
+ {
1812
+ "id": "34984ae3f4e83b0b",
1813
+ "type": "switch",
1814
+ "z": "b195bc3ca2e1a665",
1815
+ "g": "ec36901abb138306",
1816
+ "name": "Seite == \"UserTask\"",
1817
+ "property": "payload.page.name",
1818
+ "propertyType": "msg",
1819
+ "rules": [
1820
+ {
1821
+ "t": "eq",
1822
+ "v": "UserTask",
1823
+ "vt": "str"
1824
+ }
1825
+ ],
1826
+ "checkall": "true",
1827
+ "repair": false,
1828
+ "outputs": 1,
1829
+ "x": 320,
1830
+ "y": 560,
1831
+ "wires": [
1832
+ [
1833
+ "1497b762d2ac1723"
1834
+ ]
1835
+ ]
1836
+ },
1837
+ {
1838
+ "id": "8e2a2f993ee7156a",
1839
+ "type": "dynamic-form",
1840
+ "z": "b195bc3ca2e1a665",
1841
+ "g": "ec36901abb138306",
1842
+ "name": "",
1843
+ "group": "5403f00c961584ab",
1844
+ "order": 0,
1845
+ "waiting_title": "Waiting for Warten auf den Usertask...",
1846
+ "waiting_info": "Der Usertask wird automatisch angezeigt, wenn ein entsprechender Task vorhanden ist.",
1847
+ "submit_title": "Submit your task",
1848
+ "cancel_title": "Cancel your task",
1849
+ "width": 0,
1850
+ "height": 0,
1851
+ "x": 600,
1852
+ "y": 480,
1853
+ "wires": [
1854
+ [
1855
+ "1224ebb8edb477d2"
1856
+ ]
1857
+ ]
1858
+ },
1859
+ {
1860
+ "id": "c06d872a4718b6da",
1861
+ "type": "inject",
1862
+ "z": "b195bc3ca2e1a665",
1863
+ "g": "ec36901abb138306",
1864
+ "name": "",
1865
+ "props": [
1866
+ {
1867
+ "p": "payload"
1868
+ }
1869
+ ],
1870
+ "repeat": "",
1871
+ "crontab": "",
1872
+ "once": false,
1873
+ "onceDelay": 0.1,
1874
+ "topic": "",
1875
+ "payload": "{\"userTask\":{\"flowNodeInstanceId\":\"3b3102c5-102d-4e52-ab27-40602cc5fd86\",\"flowNodeId\":\"Activity_0ljiko7\",\"flowNodeName\":\"Hello world\",\"flowNodeLane\":\"Lane\",\"flowNodeType\":\"bpmn:UserTask\",\"previousFlowNodeInstanceId\":\"2ebcb278-d90c-4b2b-98ee-c9847dcaf461\",\"parentProcessInstanceId\":null,\"processDefinitionId\":\"SampleUserTask_Definition\",\"processModelId\":\"SampleUserTask_Process\",\"processInstanceId\":\"8a8ab5a7-fbef-4bf0-9905-1937defb8cd8\",\"correlationId\":\"61845380-2bd3-4bc9-b3bf-60933d05121b\",\"state\":\"suspended\",\"tokens\":[],\"startToken\":{},\"endToken\":{},\"ownerId\":\"dummy_token\",\"startedAt\":\"2024-06-16T19:18:38.580Z\",\"assignedUserIds\":null,\"actualOwnerId\":null,\"finishedByUserId\":null,\"userTaskConfig\":{\"formFields\":[{\"id\":\"text_id\",\"label\":\"Text Label\",\"type\":\"string\"},{\"id\":\"number_id\",\"label\":\"Number Label\",\"type\":\"long\",\"defaultValue\":\"undefined\",\"customForm\":\"{\\\"hint\\\":\\\"Sample\\\"}\"},{\"id\":\"date_id\",\"label\":\"Date Label\",\"type\":\"date\"},{\"id\":\"select_id\",\"label\":\"Select Label\",\"type\":\"enum\",\"enumValues\":[{\"id\":\"value_01\",\"name\":\"Value 01\"},{\"id\":\"value_02\",\"name\":\"Value 02\"}]},{\"id\":\"boolean_id\",\"label\":\"Boolean Label\",\"type\":\"boolean\"},{\"id\":\"customer_01\",\"label\":\"Custom_01\",\"type\":\"v-text-field\"}]},\"userTaskConfigModel\":{\"formFields\":[{\"id\":\"text_id\",\"label\":\"Text Label\",\"type\":\"string\"},{\"id\":\"number_id\",\"label\":\"Number Label\",\"type\":\"long\",\"defaultValue\":\"${token.current.sample}\",\"customForm\":\"{\\\"hint\\\":\\\"Sample\\\"}\"},{\"id\":\"date_id\",\"label\":\"Date Label\",\"type\":\"date\"},{\"id\":\"select_id\",\"label\":\"Select Label\",\"type\":\"enum\",\"enumValues\":[{\"id\":\"value_01\",\"name\":\"Value 01\"},{\"id\":\"value_02\",\"name\":\"Value 02\"}]},{\"id\":\"boolean_id\",\"label\":\"Boolean Label\",\"type\":\"boolean\"},{\"id\":\"customer_01\",\"label\":\"Custom_01\",\"type\":\"v-text-field\"}]}}}",
1876
+ "payloadType": "json",
1877
+ "x": 250,
1878
+ "y": 480,
1879
+ "wires": [
1880
+ [
1881
+ "8e2a2f993ee7156a"
1882
+ ]
1883
+ ]
1006
1884
  }
1007
1885
  ]