@5minds/node-red-contrib-processcube 0.3.5-feature-1092e6-lxhvslzu → 0.3.5-feature-c8c609-lxi2vjv1

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