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

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