@5minds/node-red-contrib-processcube 0.3.5-feature-a2045d-lximtnpj → 0.3.5-feature-d317c3-lxj45fct

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.
@@ -10,7 +10,7 @@
10
10
  {
11
11
  "id": "fd3c725340de4f74",
12
12
  "type": "tab",
13
- "label": "Flow 2",
13
+ "label": "UserTask-Handling",
14
14
  "disabled": false,
15
15
  "info": "",
16
16
  "env": []
@@ -101,23 +101,22 @@
101
101
  "color": "#a4a4a4"
102
102
  },
103
103
  "nodes": [
104
- "1224ebb8edb477d2",
105
104
  "05284831924ef310",
106
- "5a61ca5b5a13aa8d",
107
105
  "1497b762d2ac1723",
108
106
  "493500b42d8d0f5b",
109
107
  "34984ae3f4e83b0b",
110
108
  "8e2a2f993ee7156a",
111
- "c06d872a4718b6da",
112
109
  "eee38d2764bac337",
113
- "da518322186bd83b",
114
- "5d8b5657929f658a",
115
- "a4d741804929ba73"
110
+ "a4d741804929ba73",
111
+ "915816cdb895af14",
112
+ "51324058434239ba",
113
+ "814ff7cf02987e14",
114
+ "0add5e307323845e"
116
115
  ],
117
116
  "x": 14,
118
117
  "y": 419,
119
- "w": 952,
120
- "h": 342
118
+ "w": 1572,
119
+ "h": 202
121
120
  },
122
121
  {
123
122
  "id": "f29182f397cab86b",
@@ -143,6 +142,82 @@
143
142
  "w": 482,
144
143
  "h": 162
145
144
  },
145
+ {
146
+ "id": "b60e94a5f1ee2790",
147
+ "type": "group",
148
+ "z": "fd3c725340de4f74",
149
+ "style": {
150
+ "stroke": "#999999",
151
+ "stroke-opacity": "1",
152
+ "fill": "none",
153
+ "fill-opacity": "1",
154
+ "label": true,
155
+ "label-position": "nw",
156
+ "color": "#a4a4a4"
157
+ },
158
+ "nodes": [
159
+ "5cc47f646e818d1e",
160
+ "66b90cf83a531a75",
161
+ "e002a108a6c7df75",
162
+ "2851b83de5fb070d"
163
+ ],
164
+ "x": 34,
165
+ "y": 559,
166
+ "w": 712,
167
+ "h": 142
168
+ },
169
+ {
170
+ "id": "bd2bef99e757d7bf",
171
+ "type": "group",
172
+ "z": "b195bc3ca2e1a665",
173
+ "style": {
174
+ "stroke": "#999999",
175
+ "stroke-opacity": "1",
176
+ "fill": "none",
177
+ "fill-opacity": "1",
178
+ "label": true,
179
+ "label-position": "nw",
180
+ "color": "#a4a4a4"
181
+ },
182
+ "nodes": [
183
+ "3ad37ecdb59b7314",
184
+ "54a2572d4a48cf34",
185
+ "4f4ff5d35037207a",
186
+ "1a237533ba8a9376",
187
+ "4813eab6c5a5faf9",
188
+ "19184f75b76893d0"
189
+ ],
190
+ "x": 14,
191
+ "y": 639,
192
+ "w": 852,
193
+ "h": 162
194
+ },
195
+ {
196
+ "id": "02fef81e2129ea71",
197
+ "type": "group",
198
+ "z": "a23d2e782beb66f4",
199
+ "style": {
200
+ "stroke": "#999999",
201
+ "stroke-opacity": "1",
202
+ "fill": "none",
203
+ "fill-opacity": "1",
204
+ "label": true,
205
+ "label-position": "nw",
206
+ "color": "#a4a4a4"
207
+ },
208
+ "nodes": [
209
+ "84f18cf9bf25b858",
210
+ "ee2e9eb1d613da90",
211
+ "2d115b489271921f",
212
+ "9b2a7132561246ca",
213
+ "d2377adc3074905b",
214
+ "53a07b9d2362c8bc"
215
+ ],
216
+ "x": 254,
217
+ "y": 199,
218
+ "w": 632,
219
+ "h": 202
220
+ },
146
221
  {
147
222
  "id": "d042a4c68f51d6ab",
148
223
  "type": "processcube-engine-config",
@@ -234,10 +309,16 @@
234
309
  "widgetGap": "12px"
235
310
  }
236
311
  },
312
+ {
313
+ "id": "42e6796dddd9d4db",
314
+ "type": "processcube-engine-config",
315
+ "url": "http://engine:8000"
316
+ },
237
317
  {
238
318
  "id": "84f18cf9bf25b858",
239
319
  "type": "openApi-red",
240
320
  "z": "a23d2e782beb66f4",
321
+ "g": "02fef81e2129ea71",
241
322
  "name": "Engine",
242
323
  "openApiUrl": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger",
243
324
  "configUrlNode": "",
@@ -296,7 +377,7 @@
296
377
  "devMode": false,
297
378
  "outputs": 1,
298
379
  "_version": "1.2.5",
299
- "x": 310,
380
+ "x": 590,
300
381
  "y": 360,
301
382
  "wires": [
302
383
  [
@@ -308,6 +389,7 @@
308
389
  "id": "ee2e9eb1d613da90",
309
390
  "type": "debug",
310
391
  "z": "a23d2e782beb66f4",
392
+ "g": "02fef81e2129ea71",
311
393
  "name": "debug 2",
312
394
  "active": true,
313
395
  "tosidebar": true,
@@ -316,7 +398,7 @@
316
398
  "complete": "false",
317
399
  "statusVal": "",
318
400
  "statusType": "auto",
319
- "x": 500,
401
+ "x": 780,
320
402
  "y": 360,
321
403
  "wires": []
322
404
  },
@@ -324,6 +406,7 @@
324
406
  "id": "2d115b489271921f",
325
407
  "type": "inject",
326
408
  "z": "a23d2e782beb66f4",
409
+ "g": "02fef81e2129ea71",
327
410
  "name": "",
328
411
  "props": [
329
412
  {
@@ -346,7 +429,7 @@
346
429
  "topic": "",
347
430
  "payload": "go",
348
431
  "payloadType": "str",
349
- "x": 90,
432
+ "x": 370,
350
433
  "y": 360,
351
434
  "wires": [
352
435
  [
@@ -1098,13 +1181,323 @@
1098
1181
  "y": 840,
1099
1182
  "wires": []
1100
1183
  },
1184
+ {
1185
+ "id": "9b2a7132561246ca",
1186
+ "type": "catch",
1187
+ "z": "a23d2e782beb66f4",
1188
+ "g": "02fef81e2129ea71",
1189
+ "name": "",
1190
+ "scope": "group",
1191
+ "uncaught": false,
1192
+ "x": 570,
1193
+ "y": 260,
1194
+ "wires": [
1195
+ [
1196
+ "53a07b9d2362c8bc"
1197
+ ]
1198
+ ]
1199
+ },
1200
+ {
1201
+ "id": "d2377adc3074905b",
1202
+ "type": "comment",
1203
+ "z": "a23d2e782beb66f4",
1204
+ "g": "02fef81e2129ea71",
1205
+ "name": "Sample",
1206
+ "info": "",
1207
+ "x": 330,
1208
+ "y": 240,
1209
+ "wires": []
1210
+ },
1211
+ {
1212
+ "id": "53a07b9d2362c8bc",
1213
+ "type": "debug",
1214
+ "z": "a23d2e782beb66f4",
1215
+ "g": "02fef81e2129ea71",
1216
+ "name": "debug 17",
1217
+ "active": true,
1218
+ "tosidebar": true,
1219
+ "console": false,
1220
+ "tostatus": false,
1221
+ "complete": "false",
1222
+ "statusVal": "",
1223
+ "statusType": "auto",
1224
+ "x": 770,
1225
+ "y": 260,
1226
+ "wires": []
1227
+ },
1228
+ {
1229
+ "id": "c18723294975e975",
1230
+ "type": "inject",
1231
+ "z": "a23d2e782beb66f4",
1232
+ "name": "",
1233
+ "props": [
1234
+ {
1235
+ "p": "payload"
1236
+ },
1237
+ {
1238
+ "p": "eventName",
1239
+ "v": "sampleEvent",
1240
+ "vt": "str"
1241
+ }
1242
+ ],
1243
+ "repeat": "",
1244
+ "crontab": "",
1245
+ "once": false,
1246
+ "onceDelay": 0.1,
1247
+ "topic": "",
1248
+ "payload": "{\t \t}",
1249
+ "payloadType": "jsonata",
1250
+ "x": 190,
1251
+ "y": 1400,
1252
+ "wires": [
1253
+ [
1254
+ "ddcde0ab7abfb8af"
1255
+ ]
1256
+ ]
1257
+ },
1258
+ {
1259
+ "id": "ddcde0ab7abfb8af",
1260
+ "type": "debug",
1261
+ "z": "a23d2e782beb66f4",
1262
+ "name": "debug 18",
1263
+ "active": true,
1264
+ "tosidebar": true,
1265
+ "console": false,
1266
+ "tostatus": false,
1267
+ "complete": "true",
1268
+ "targetType": "full",
1269
+ "statusVal": "",
1270
+ "statusType": "auto",
1271
+ "x": 480,
1272
+ "y": 1400,
1273
+ "wires": []
1274
+ },
1275
+ {
1276
+ "id": "a019a697b9b7bf74",
1277
+ "type": "http in",
1278
+ "z": "a23d2e782beb66f4",
1279
+ "name": "",
1280
+ "url": "/triggerSampleEvent",
1281
+ "method": "post",
1282
+ "upload": false,
1283
+ "swaggerDoc": "",
1284
+ "x": 170,
1285
+ "y": 1260,
1286
+ "wires": [
1287
+ [
1288
+ "2cc740aa2cee8a3f"
1289
+ ]
1290
+ ]
1291
+ },
1292
+ {
1293
+ "id": "211f090b9da5694c",
1294
+ "type": "openApi-red",
1295
+ "z": "a23d2e782beb66f4",
1296
+ "name": "",
1297
+ "openApiUrl": "http://localhost:8000/atlas_engine/api/v1/swagger",
1298
+ "configUrlNode": "",
1299
+ "api": "Events",
1300
+ "server": "",
1301
+ "keepAuth": false,
1302
+ "alternServer": false,
1303
+ "operation": "post/messages/{eventName}/trigger",
1304
+ "operationData": {
1305
+ "description": "Triggers a MessageEvent by its name.",
1306
+ "tags": [
1307
+ "Events"
1308
+ ],
1309
+ "parameters": [
1310
+ {
1311
+ "name": "eventName",
1312
+ "in": "path",
1313
+ "description": "The name of the MessageEvent to be triggered.",
1314
+ "required": true,
1315
+ "schema": {
1316
+ "type": "string",
1317
+ "example": "myMessageEvent"
1318
+ }
1319
+ },
1320
+ {
1321
+ "name": "processInstanceId",
1322
+ "in": "query",
1323
+ "description": "The ID of the ProcessInstance for which to trigger the MessageEvent.",
1324
+ "required": false,
1325
+ "schema": {
1326
+ "type": "string",
1327
+ "example": "myProcessInstance_12345678"
1328
+ }
1329
+ }
1330
+ ],
1331
+ "requestBody": {
1332
+ "content": {
1333
+ "application/json": {
1334
+ "required": false,
1335
+ "schema": {
1336
+ "type": "object",
1337
+ "properties": {
1338
+ "payload": {
1339
+ "type": "string",
1340
+ "description": "The payload to be sent with the MessageEvent.",
1341
+ "required": false,
1342
+ "example": "myPayload"
1343
+ }
1344
+ }
1345
+ }
1346
+ }
1347
+ }
1348
+ },
1349
+ "responses": {
1350
+ "204": {
1351
+ "description": "Indicates the MessageEvent was successfully triggered."
1352
+ }
1353
+ },
1354
+ "security": [
1355
+ {
1356
+ "bearerAuth": []
1357
+ }
1358
+ ],
1359
+ "operationId": "post/messages/{eventName}/trigger",
1360
+ "withoutOriginalOpId": true,
1361
+ "pathName": "/messages/{eventName}/trigger",
1362
+ "method": "post",
1363
+ "path": "/messages/{eventName}/trigger"
1364
+ },
1365
+ "errorHandling": "Standard",
1366
+ "internalErrors": {
1367
+ "readUrl": false,
1368
+ "parameters": false
1369
+ },
1370
+ "parameters": [
1371
+ {
1372
+ "id": "requestBody",
1373
+ "name": "Request body",
1374
+ "in": "",
1375
+ "schema": {
1376
+ "type": "object",
1377
+ "properties": {
1378
+ "payload": {
1379
+ "type": "string",
1380
+ "description": "The payload to be sent with the MessageEvent.",
1381
+ "required": false,
1382
+ "example": "myPayload"
1383
+ }
1384
+ }
1385
+ },
1386
+ "value": "payload",
1387
+ "required": false,
1388
+ "isActive": true,
1389
+ "description": "-",
1390
+ "type": "msg",
1391
+ "allowedTypes": [
1392
+ "json",
1393
+ "jsonata",
1394
+ "msg",
1395
+ "flow",
1396
+ "global"
1397
+ ],
1398
+ "keys": [
1399
+ "payload"
1400
+ ]
1401
+ },
1402
+ {
1403
+ "id": "eventNamepath",
1404
+ "name": "eventName",
1405
+ "in": "path",
1406
+ "required": true,
1407
+ "value": "eventName",
1408
+ "isActive": true,
1409
+ "type": "msg",
1410
+ "allowedTypes": [
1411
+ "str",
1412
+ "json",
1413
+ "jsonata",
1414
+ "msg",
1415
+ "flow",
1416
+ "global"
1417
+ ],
1418
+ "description": "The name of the MessageEvent to be triggered.",
1419
+ "schema": {
1420
+ "type": "string",
1421
+ "example": "myMessageEvent"
1422
+ },
1423
+ "keys": null
1424
+ },
1425
+ {
1426
+ "id": "processInstanceIdquery",
1427
+ "name": "processInstanceId",
1428
+ "in": "query",
1429
+ "required": false,
1430
+ "value": "",
1431
+ "isActive": false,
1432
+ "type": "str",
1433
+ "allowedTypes": [
1434
+ "str",
1435
+ "json",
1436
+ "jsonata",
1437
+ "msg",
1438
+ "flow",
1439
+ "global"
1440
+ ],
1441
+ "description": "The ID of the ProcessInstance for which to trigger the MessageEvent.",
1442
+ "schema": {
1443
+ "type": "string",
1444
+ "example": "myProcessInstance_12345678"
1445
+ },
1446
+ "keys": null
1447
+ }
1448
+ ],
1449
+ "requestContentType": "application/json",
1450
+ "responseContentType": "",
1451
+ "showDescription": true,
1452
+ "devMode": false,
1453
+ "outputs": 1,
1454
+ "_version": "1.2.5",
1455
+ "x": 670,
1456
+ "y": 1260,
1457
+ "wires": [
1458
+ [
1459
+ "7c2a437046aa04a4"
1460
+ ]
1461
+ ]
1462
+ },
1463
+ {
1464
+ "id": "7c2a437046aa04a4",
1465
+ "type": "http response",
1466
+ "z": "a23d2e782beb66f4",
1467
+ "name": "",
1468
+ "statusCode": "200",
1469
+ "headers": {},
1470
+ "x": 900,
1471
+ "y": 1260,
1472
+ "wires": []
1473
+ },
1474
+ {
1475
+ "id": "2cc740aa2cee8a3f",
1476
+ "type": "function",
1477
+ "z": "a23d2e782beb66f4",
1478
+ "name": "set values",
1479
+ "func": "msg.openApiToken = \"ZHVtbXlfdG9rZW4=\";\nmsg.eventName = \"SampleEvent\";\nreturn msg;",
1480
+ "outputs": 1,
1481
+ "timeout": 0,
1482
+ "noerr": 0,
1483
+ "initialize": "",
1484
+ "finalize": "",
1485
+ "libs": [],
1486
+ "x": 380,
1487
+ "y": 1260,
1488
+ "wires": [
1489
+ [
1490
+ "211f090b9da5694c"
1491
+ ]
1492
+ ]
1493
+ },
1101
1494
  {
1102
1495
  "id": "ec0be0ef92746967",
1103
1496
  "type": "usertask-input",
1104
1497
  "z": "fd3c725340de4f74",
1105
1498
  "g": "405f8c703368777c",
1106
1499
  "name": "",
1107
- "engine": "d042a4c68f51d6ab",
1500
+ "engine": "42e6796dddd9d4db",
1108
1501
  "multisend": false,
1109
1502
  "x": 540,
1110
1503
  "y": 140,
@@ -1163,7 +1556,9 @@
1163
1556
  "engine": "d042a4c68f51d6ab",
1164
1557
  "x": 1020,
1165
1558
  "y": 140,
1166
- "wires": []
1559
+ "wires": [
1560
+ []
1561
+ ]
1167
1562
  },
1168
1563
  {
1169
1564
  "id": "68cf69be67688af6",
@@ -1199,7 +1594,7 @@
1199
1594
  "z": "fd3c725340de4f74",
1200
1595
  "g": "f29182f397cab86b",
1201
1596
  "name": "",
1202
- "engine": "d042a4c68f51d6ab",
1597
+ "engine": "42e6796dddd9d4db",
1203
1598
  "multisend": false,
1204
1599
  "x": 160,
1205
1600
  "y": 500,
@@ -1351,7 +1746,8 @@
1351
1746
  "id": "5cc47f646e818d1e",
1352
1747
  "type": "inject",
1353
1748
  "z": "fd3c725340de4f74",
1354
- "name": "",
1749
+ "g": "b60e94a5f1ee2790",
1750
+ "name": "Parameter setzen",
1355
1751
  "props": [
1356
1752
  {
1357
1753
  "p": "payload"
@@ -1364,8 +1760,8 @@
1364
1760
  "topic": "",
1365
1761
  "payload": "{\t \"state\": \"suspended\"\t}",
1366
1762
  "payloadType": "jsonata",
1367
- "x": 110,
1368
- "y": 640,
1763
+ "x": 160,
1764
+ "y": 660,
1369
1765
  "wires": [
1370
1766
  [
1371
1767
  "66b90cf83a531a75"
@@ -1376,11 +1772,12 @@
1376
1772
  "id": "66b90cf83a531a75",
1377
1773
  "type": "usertask-input",
1378
1774
  "z": "fd3c725340de4f74",
1775
+ "g": "b60e94a5f1ee2790",
1379
1776
  "name": "",
1380
1777
  "engine": "d042a4c68f51d6ab",
1381
1778
  "multisend": false,
1382
- "x": 380,
1383
- "y": 640,
1779
+ "x": 400,
1780
+ "y": 660,
1384
1781
  "wires": [
1385
1782
  [
1386
1783
  "e002a108a6c7df75"
@@ -1391,6 +1788,7 @@
1391
1788
  "id": "e002a108a6c7df75",
1392
1789
  "type": "debug",
1393
1790
  "z": "fd3c725340de4f74",
1791
+ "g": "b60e94a5f1ee2790",
1394
1792
  "name": "debug 15",
1395
1793
  "active": true,
1396
1794
  "tosidebar": true,
@@ -1399,8 +1797,19 @@
1399
1797
  "complete": "false",
1400
1798
  "statusVal": "",
1401
1799
  "statusType": "auto",
1402
- "x": 620,
1403
- "y": 640,
1800
+ "x": 640,
1801
+ "y": 660,
1802
+ "wires": []
1803
+ },
1804
+ {
1805
+ "id": "2851b83de5fb070d",
1806
+ "type": "comment",
1807
+ "z": "fd3c725340de4f74",
1808
+ "g": "b60e94a5f1ee2790",
1809
+ "name": "Abfragen von UserTasks",
1810
+ "info": "",
1811
+ "x": 170,
1812
+ "y": 600,
1404
1813
  "wires": []
1405
1814
  },
1406
1815
  {
@@ -1585,23 +1994,6 @@
1585
1994
  ]
1586
1995
  ]
1587
1996
  },
1588
- {
1589
- "id": "1224ebb8edb477d2",
1590
- "type": "debug",
1591
- "z": "b195bc3ca2e1a665",
1592
- "g": "ec36901abb138306",
1593
- "name": "debug 3",
1594
- "active": true,
1595
- "tosidebar": true,
1596
- "console": false,
1597
- "tostatus": false,
1598
- "complete": "false",
1599
- "statusVal": "",
1600
- "statusType": "auto",
1601
- "x": 860,
1602
- "y": 520,
1603
- "wires": []
1604
- },
1605
1997
  {
1606
1998
  "id": "6ce155bbaaba083f",
1607
1999
  "type": "comment",
@@ -1712,36 +2104,6 @@
1712
2104
  ]
1713
2105
  ]
1714
2106
  },
1715
- {
1716
- "id": "5a61ca5b5a13aa8d",
1717
- "type": "inject",
1718
- "z": "b195bc3ca2e1a665",
1719
- "g": "ec36901abb138306",
1720
- "name": "",
1721
- "props": [
1722
- {
1723
- "p": "payload"
1724
- },
1725
- {
1726
- "p": "topic",
1727
- "vt": "str"
1728
- }
1729
- ],
1730
- "repeat": "",
1731
- "crontab": "",
1732
- "once": false,
1733
- "onceDelay": 0.1,
1734
- "topic": "",
1735
- "payload": "",
1736
- "payloadType": "date",
1737
- "x": 120,
1738
- "y": 660,
1739
- "wires": [
1740
- [
1741
- "1497b762d2ac1723"
1742
- ]
1743
- ]
1744
- },
1745
2107
  {
1746
2108
  "id": "1497b762d2ac1723",
1747
2109
  "type": "function",
@@ -1755,12 +2117,11 @@
1755
2117
  "initialize": "",
1756
2118
  "finalize": "",
1757
2119
  "libs": [],
1758
- "x": 310,
1759
- "y": 660,
2120
+ "x": 570,
2121
+ "y": 520,
1760
2122
  "wires": [
1761
2123
  [
1762
- "eee38d2764bac337",
1763
- "5d8b5657929f658a"
2124
+ "eee38d2764bac337"
1764
2125
  ]
1765
2126
  ]
1766
2127
  },
@@ -1771,8 +2132,8 @@
1771
2132
  "g": "ec36901abb138306",
1772
2133
  "ui": "26a45d43c064bdb6",
1773
2134
  "name": "",
1774
- "x": 120,
1775
- "y": 600,
2135
+ "x": 100,
2136
+ "y": 520,
1776
2137
  "wires": [
1777
2138
  [
1778
2139
  "a4d741804929ba73"
@@ -1797,8 +2158,8 @@
1797
2158
  "checkall": "true",
1798
2159
  "repair": false,
1799
2160
  "outputs": 1,
1800
- "x": 560,
1801
- "y": 600,
2161
+ "x": 300,
2162
+ "y": 580,
1802
2163
  "wires": [
1803
2164
  [
1804
2165
  "1497b762d2ac1723"
@@ -1819,80 +2180,176 @@
1819
2180
  "cancel_title": "Cancel your task",
1820
2181
  "width": 0,
1821
2182
  "height": 0,
1822
- "x": 600,
2183
+ "x": 820,
1823
2184
  "y": 520,
1824
2185
  "wires": [
1825
2186
  [
1826
- "1224ebb8edb477d2"
2187
+ "915816cdb895af14"
1827
2188
  ]
1828
2189
  ]
1829
2190
  },
1830
2191
  {
1831
- "id": "c06d872a4718b6da",
1832
- "type": "inject",
2192
+ "id": "eee38d2764bac337",
2193
+ "type": "usertask-input",
1833
2194
  "z": "b195bc3ca2e1a665",
1834
2195
  "g": "ec36901abb138306",
1835
2196
  "name": "",
1836
- "props": [
2197
+ "engine": "d042a4c68f51d6ab",
2198
+ "multisend": false,
2199
+ "x": 560,
2200
+ "y": 580,
2201
+ "wires": [
2202
+ [
2203
+ "8e2a2f993ee7156a"
2204
+ ]
2205
+ ]
2206
+ },
2207
+ {
2208
+ "id": "a4d741804929ba73",
2209
+ "type": "switch",
2210
+ "z": "b195bc3ca2e1a665",
2211
+ "g": "ec36901abb138306",
2212
+ "name": "Seite sichtbar",
2213
+ "property": "topic",
2214
+ "propertyType": "msg",
2215
+ "rules": [
1837
2216
  {
1838
- "p": "payload"
2217
+ "t": "eq",
2218
+ "v": "$pageview",
2219
+ "vt": "str"
1839
2220
  }
1840
2221
  ],
1841
- "repeat": "",
1842
- "crontab": "",
1843
- "once": false,
1844
- "onceDelay": 0.1,
1845
- "topic": "",
1846
- "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\"}]}}}",
1847
- "payloadType": "json",
1848
- "x": 250,
2222
+ "checkall": "true",
2223
+ "repair": false,
2224
+ "outputs": 1,
2225
+ "x": 280,
1849
2226
  "y": 520,
1850
2227
  "wires": [
1851
2228
  [
1852
- "8e2a2f993ee7156a"
2229
+ "34984ae3f4e83b0b"
1853
2230
  ]
1854
2231
  ]
1855
2232
  },
1856
2233
  {
1857
- "id": "eee38d2764bac337",
1858
- "type": "usertask-input",
2234
+ "id": "111c8606ea343c1f",
2235
+ "type": "switch",
1859
2236
  "z": "b195bc3ca2e1a665",
1860
- "g": "ec36901abb138306",
2237
+ "g": "09cdc14cfb8ad687",
2238
+ "name": "Seite sichtbar",
2239
+ "property": "topic",
2240
+ "propertyType": "msg",
2241
+ "rules": [
2242
+ {
2243
+ "t": "eq",
2244
+ "v": "$pageview",
2245
+ "vt": "str"
2246
+ }
2247
+ ],
2248
+ "checkall": "true",
2249
+ "repair": false,
2250
+ "outputs": 1,
2251
+ "x": 280,
2252
+ "y": 360,
2253
+ "wires": [
2254
+ [
2255
+ "2b3f33b7a9dceb49"
2256
+ ]
2257
+ ]
2258
+ },
2259
+ {
2260
+ "id": "3ad37ecdb59b7314",
2261
+ "type": "comment",
2262
+ "z": "b195bc3ca2e1a665",
2263
+ "g": "bd2bef99e757d7bf",
2264
+ "name": "Message für neue UserTasks",
2265
+ "info": "",
2266
+ "x": 160,
2267
+ "y": 680,
2268
+ "wires": []
2269
+ },
2270
+ {
2271
+ "id": "54a2572d4a48cf34",
2272
+ "type": "usertask-new-listener",
2273
+ "z": "b195bc3ca2e1a665",
2274
+ "g": "bd2bef99e757d7bf",
1861
2275
  "name": "",
1862
2276
  "engine": "d042a4c68f51d6ab",
1863
2277
  "multisend": false,
1864
- "x": 600,
1865
- "y": 660,
2278
+ "x": 140,
2279
+ "y": 760,
1866
2280
  "wires": [
1867
2281
  [
1868
- "da518322186bd83b",
1869
- "8e2a2f993ee7156a"
2282
+ "4813eab6c5a5faf9"
1870
2283
  ]
1871
2284
  ]
1872
2285
  },
1873
2286
  {
1874
- "id": "da518322186bd83b",
1875
- "type": "debug",
2287
+ "id": "4f4ff5d35037207a",
2288
+ "type": "ui-notification",
1876
2289
  "z": "b195bc3ca2e1a665",
1877
- "g": "ec36901abb138306",
1878
- "name": "debug 13",
1879
- "active": true,
1880
- "tosidebar": true,
1881
- "console": false,
1882
- "tostatus": false,
1883
- "complete": "false",
1884
- "statusVal": "",
1885
- "statusType": "auto",
1886
- "x": 860,
1887
- "y": 660,
1888
- "wires": []
2290
+ "g": "bd2bef99e757d7bf",
2291
+ "ui": "26a45d43c064bdb6",
2292
+ "position": "top right",
2293
+ "colorDefault": true,
2294
+ "color": "#000000",
2295
+ "displayTime": "5",
2296
+ "showCountdown": true,
2297
+ "outputs": 1,
2298
+ "allowDismiss": true,
2299
+ "dismissText": "Close",
2300
+ "raw": true,
2301
+ "className": "",
2302
+ "name": "",
2303
+ "x": 750,
2304
+ "y": 760,
2305
+ "wires": [
2306
+ []
2307
+ ]
2308
+ },
2309
+ {
2310
+ "id": "1a237533ba8a9376",
2311
+ "type": "function",
2312
+ "z": "b195bc3ca2e1a665",
2313
+ "g": "bd2bef99e757d7bf",
2314
+ "name": "prepare info",
2315
+ "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;",
2316
+ "outputs": 1,
2317
+ "timeout": 0,
2318
+ "noerr": 0,
2319
+ "initialize": "",
2320
+ "finalize": "",
2321
+ "libs": [],
2322
+ "x": 550,
2323
+ "y": 760,
2324
+ "wires": [
2325
+ [
2326
+ "4f4ff5d35037207a"
2327
+ ]
2328
+ ]
2329
+ },
2330
+ {
2331
+ "id": "4813eab6c5a5faf9",
2332
+ "type": "usertask-input",
2333
+ "z": "b195bc3ca2e1a665",
2334
+ "g": "bd2bef99e757d7bf",
2335
+ "name": "",
2336
+ "engine": "d042a4c68f51d6ab",
2337
+ "multisend": false,
2338
+ "x": 360,
2339
+ "y": 760,
2340
+ "wires": [
2341
+ [
2342
+ "1a237533ba8a9376",
2343
+ "19184f75b76893d0"
2344
+ ]
2345
+ ]
1889
2346
  },
1890
2347
  {
1891
- "id": "5d8b5657929f658a",
2348
+ "id": "19184f75b76893d0",
1892
2349
  "type": "debug",
1893
2350
  "z": "b195bc3ca2e1a665",
1894
- "g": "ec36901abb138306",
1895
- "name": "debug 14",
2351
+ "g": "bd2bef99e757d7bf",
2352
+ "name": "debug 16",
1896
2353
  "active": true,
1897
2354
  "tosidebar": true,
1898
2355
  "console": false,
@@ -1900,60 +2357,84 @@
1900
2357
  "complete": "false",
1901
2358
  "statusVal": "",
1902
2359
  "statusType": "auto",
1903
- "x": 580,
1904
- "y": 720,
2360
+ "x": 540,
2361
+ "y": 700,
1905
2362
  "wires": []
1906
2363
  },
1907
2364
  {
1908
- "id": "a4d741804929ba73",
2365
+ "id": "915816cdb895af14",
1909
2366
  "type": "switch",
1910
2367
  "z": "b195bc3ca2e1a665",
1911
2368
  "g": "ec36901abb138306",
1912
- "name": "Seite sichtbar",
1913
- "property": "topic",
2369
+ "name": "action == submit",
2370
+ "property": "payload.action",
1914
2371
  "propertyType": "msg",
1915
2372
  "rules": [
1916
2373
  {
1917
2374
  "t": "eq",
1918
- "v": "$pageview",
2375
+ "v": "submit",
1919
2376
  "vt": "str"
1920
2377
  }
1921
2378
  ],
1922
2379
  "checkall": "true",
1923
2380
  "repair": false,
1924
2381
  "outputs": 1,
1925
- "x": 320,
1926
- "y": 600,
2382
+ "x": 950,
2383
+ "y": 580,
1927
2384
  "wires": [
1928
2385
  [
1929
- "34984ae3f4e83b0b"
2386
+ "51324058434239ba"
1930
2387
  ]
1931
2388
  ]
1932
2389
  },
1933
2390
  {
1934
- "id": "111c8606ea343c1f",
1935
- "type": "switch",
2391
+ "id": "51324058434239ba",
2392
+ "type": "usertask-output",
1936
2393
  "z": "b195bc3ca2e1a665",
1937
- "g": "09cdc14cfb8ad687",
1938
- "name": "Seite sichtbar",
1939
- "property": "topic",
1940
- "propertyType": "msg",
1941
- "rules": [
1942
- {
1943
- "t": "eq",
1944
- "v": "$pageview",
1945
- "vt": "str"
1946
- }
1947
- ],
1948
- "checkall": "true",
1949
- "repair": false,
2394
+ "g": "ec36901abb138306",
2395
+ "name": "",
2396
+ "engine": "d042a4c68f51d6ab",
2397
+ "x": 1060,
2398
+ "y": 520,
2399
+ "wires": [
2400
+ [
2401
+ "814ff7cf02987e14"
2402
+ ]
2403
+ ]
2404
+ },
2405
+ {
2406
+ "id": "814ff7cf02987e14",
2407
+ "type": "function",
2408
+ "z": "b195bc3ca2e1a665",
2409
+ "g": "ec36901abb138306",
2410
+ "name": "Seite Prozessliste",
2411
+ "func": "msg.payload = {\n page: \"Prozessliste\"\n};\nreturn msg;\n",
1950
2412
  "outputs": 1,
1951
- "x": 280,
1952
- "y": 360,
2413
+ "timeout": 0,
2414
+ "noerr": 0,
2415
+ "initialize": "",
2416
+ "finalize": "",
2417
+ "libs": [],
2418
+ "x": 1270,
2419
+ "y": 520,
1953
2420
  "wires": [
1954
2421
  [
1955
- "2b3f33b7a9dceb49"
2422
+ "0add5e307323845e"
1956
2423
  ]
1957
2424
  ]
2425
+ },
2426
+ {
2427
+ "id": "0add5e307323845e",
2428
+ "type": "ui-control",
2429
+ "z": "b195bc3ca2e1a665",
2430
+ "g": "ec36901abb138306",
2431
+ "name": "Seite navigation",
2432
+ "ui": "26a45d43c064bdb6",
2433
+ "events": "all",
2434
+ "x": 1480,
2435
+ "y": 520,
2436
+ "wires": [
2437
+ []
2438
+ ]
1958
2439
  }
1959
2440
  ]