@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.
- package/nodered/.node-red-contrib-processcube-flows.json.backup +624 -143
- package/nodered/node-red-contrib-processcube-flows.json +598 -138
- package/package.json +1 -1
- package/processes/HelloWorld.bpmn +66 -19
- package/processes/SampleEvent.bpmn +73 -0
- package/usertask-input.js +0 -2
- package/usertask-output.html +1 -1
- package/usertask-output.js +2 -0
@@ -10,7 +10,7 @@
|
|
10
10
|
{
|
11
11
|
"id": "fd3c725340de4f74",
|
12
12
|
"type": "tab",
|
13
|
-
"label": "
|
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
|
-
"
|
114
|
-
"
|
115
|
-
"
|
110
|
+
"a4d741804929ba73",
|
111
|
+
"915816cdb895af14",
|
112
|
+
"51324058434239ba",
|
113
|
+
"814ff7cf02987e14",
|
114
|
+
"0add5e307323845e"
|
116
115
|
],
|
117
116
|
"x": 14,
|
118
117
|
"y": 419,
|
119
|
-
"w":
|
120
|
-
"h":
|
118
|
+
"w": 1572,
|
119
|
+
"h": 202
|
121
120
|
},
|
122
121
|
{
|
123
122
|
"id": "f29182f397cab86b",
|
@@ -167,6 +166,58 @@
|
|
167
166
|
"w": 712,
|
168
167
|
"h": 142
|
169
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
|
+
},
|
170
221
|
{
|
171
222
|
"id": "d042a4c68f51d6ab",
|
172
223
|
"type": "processcube-engine-config",
|
@@ -258,10 +309,16 @@
|
|
258
309
|
"widgetGap": "12px"
|
259
310
|
}
|
260
311
|
},
|
312
|
+
{
|
313
|
+
"id": "42e6796dddd9d4db",
|
314
|
+
"type": "processcube-engine-config",
|
315
|
+
"url": "http://engine:8000"
|
316
|
+
},
|
261
317
|
{
|
262
318
|
"id": "84f18cf9bf25b858",
|
263
319
|
"type": "openApi-red",
|
264
320
|
"z": "a23d2e782beb66f4",
|
321
|
+
"g": "02fef81e2129ea71",
|
265
322
|
"name": "Engine",
|
266
323
|
"openApiUrl": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger",
|
267
324
|
"configUrlNode": "",
|
@@ -320,7 +377,7 @@
|
|
320
377
|
"devMode": false,
|
321
378
|
"outputs": 1,
|
322
379
|
"_version": "1.2.5",
|
323
|
-
"x":
|
380
|
+
"x": 590,
|
324
381
|
"y": 360,
|
325
382
|
"wires": [
|
326
383
|
[
|
@@ -332,6 +389,7 @@
|
|
332
389
|
"id": "ee2e9eb1d613da90",
|
333
390
|
"type": "debug",
|
334
391
|
"z": "a23d2e782beb66f4",
|
392
|
+
"g": "02fef81e2129ea71",
|
335
393
|
"name": "debug 2",
|
336
394
|
"active": true,
|
337
395
|
"tosidebar": true,
|
@@ -340,7 +398,7 @@
|
|
340
398
|
"complete": "false",
|
341
399
|
"statusVal": "",
|
342
400
|
"statusType": "auto",
|
343
|
-
"x":
|
401
|
+
"x": 780,
|
344
402
|
"y": 360,
|
345
403
|
"wires": []
|
346
404
|
},
|
@@ -348,6 +406,7 @@
|
|
348
406
|
"id": "2d115b489271921f",
|
349
407
|
"type": "inject",
|
350
408
|
"z": "a23d2e782beb66f4",
|
409
|
+
"g": "02fef81e2129ea71",
|
351
410
|
"name": "",
|
352
411
|
"props": [
|
353
412
|
{
|
@@ -370,7 +429,7 @@
|
|
370
429
|
"topic": "",
|
371
430
|
"payload": "go",
|
372
431
|
"payloadType": "str",
|
373
|
-
"x":
|
432
|
+
"x": 370,
|
374
433
|
"y": 360,
|
375
434
|
"wires": [
|
376
435
|
[
|
@@ -1122,13 +1181,340 @@
|
|
1122
1181
|
"y": 840,
|
1123
1182
|
"wires": []
|
1124
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
|
+
"d08b19a18287f7b3"
|
1461
|
+
]
|
1462
|
+
]
|
1463
|
+
},
|
1464
|
+
{
|
1465
|
+
"id": "7c2a437046aa04a4",
|
1466
|
+
"type": "http response",
|
1467
|
+
"z": "a23d2e782beb66f4",
|
1468
|
+
"name": "",
|
1469
|
+
"statusCode": "",
|
1470
|
+
"headers": {},
|
1471
|
+
"x": 970,
|
1472
|
+
"y": 1260,
|
1473
|
+
"wires": []
|
1474
|
+
},
|
1475
|
+
{
|
1476
|
+
"id": "2cc740aa2cee8a3f",
|
1477
|
+
"type": "function",
|
1478
|
+
"z": "a23d2e782beb66f4",
|
1479
|
+
"name": "set values",
|
1480
|
+
"func": "msg.openApiToken = \"ZHVtbXlfdG9rZW4=\";\nmsg.eventName = \"SampleEvent\";\nreturn msg;",
|
1481
|
+
"outputs": 1,
|
1482
|
+
"timeout": 0,
|
1483
|
+
"noerr": 0,
|
1484
|
+
"initialize": "",
|
1485
|
+
"finalize": "",
|
1486
|
+
"libs": [],
|
1487
|
+
"x": 380,
|
1488
|
+
"y": 1260,
|
1489
|
+
"wires": [
|
1490
|
+
[
|
1491
|
+
"211f090b9da5694c"
|
1492
|
+
]
|
1493
|
+
]
|
1494
|
+
},
|
1495
|
+
{
|
1496
|
+
"id": "d08b19a18287f7b3",
|
1497
|
+
"type": "debug",
|
1498
|
+
"z": "a23d2e782beb66f4",
|
1499
|
+
"name": "debug 19",
|
1500
|
+
"active": true,
|
1501
|
+
"tosidebar": true,
|
1502
|
+
"console": false,
|
1503
|
+
"tostatus": false,
|
1504
|
+
"complete": "false",
|
1505
|
+
"statusVal": "",
|
1506
|
+
"statusType": "auto",
|
1507
|
+
"x": 980,
|
1508
|
+
"y": 1300,
|
1509
|
+
"wires": []
|
1510
|
+
},
|
1125
1511
|
{
|
1126
1512
|
"id": "ec0be0ef92746967",
|
1127
1513
|
"type": "usertask-input",
|
1128
1514
|
"z": "fd3c725340de4f74",
|
1129
1515
|
"g": "405f8c703368777c",
|
1130
1516
|
"name": "",
|
1131
|
-
"engine": "
|
1517
|
+
"engine": "42e6796dddd9d4db",
|
1132
1518
|
"multisend": false,
|
1133
1519
|
"x": 540,
|
1134
1520
|
"y": 140,
|
@@ -1187,7 +1573,9 @@
|
|
1187
1573
|
"engine": "d042a4c68f51d6ab",
|
1188
1574
|
"x": 1020,
|
1189
1575
|
"y": 140,
|
1190
|
-
"wires": [
|
1576
|
+
"wires": [
|
1577
|
+
[]
|
1578
|
+
]
|
1191
1579
|
},
|
1192
1580
|
{
|
1193
1581
|
"id": "68cf69be67688af6",
|
@@ -1223,7 +1611,7 @@
|
|
1223
1611
|
"z": "fd3c725340de4f74",
|
1224
1612
|
"g": "f29182f397cab86b",
|
1225
1613
|
"name": "",
|
1226
|
-
"engine": "
|
1614
|
+
"engine": "42e6796dddd9d4db",
|
1227
1615
|
"multisend": false,
|
1228
1616
|
"x": 160,
|
1229
1617
|
"y": 500,
|
@@ -1435,9 +1823,9 @@
|
|
1435
1823
|
"type": "comment",
|
1436
1824
|
"z": "fd3c725340de4f74",
|
1437
1825
|
"g": "b60e94a5f1ee2790",
|
1438
|
-
"name": "Abfragen von UserTasks
|
1826
|
+
"name": "Abfragen von UserTasks",
|
1439
1827
|
"info": "",
|
1440
|
-
"x":
|
1828
|
+
"x": 170,
|
1441
1829
|
"y": 600,
|
1442
1830
|
"wires": []
|
1443
1831
|
},
|
@@ -1623,23 +2011,6 @@
|
|
1623
2011
|
]
|
1624
2012
|
]
|
1625
2013
|
},
|
1626
|
-
{
|
1627
|
-
"id": "1224ebb8edb477d2",
|
1628
|
-
"type": "debug",
|
1629
|
-
"z": "b195bc3ca2e1a665",
|
1630
|
-
"g": "ec36901abb138306",
|
1631
|
-
"name": "debug 3",
|
1632
|
-
"active": true,
|
1633
|
-
"tosidebar": true,
|
1634
|
-
"console": false,
|
1635
|
-
"tostatus": false,
|
1636
|
-
"complete": "false",
|
1637
|
-
"statusVal": "",
|
1638
|
-
"statusType": "auto",
|
1639
|
-
"x": 860,
|
1640
|
-
"y": 520,
|
1641
|
-
"wires": []
|
1642
|
-
},
|
1643
2014
|
{
|
1644
2015
|
"id": "6ce155bbaaba083f",
|
1645
2016
|
"type": "comment",
|
@@ -1750,36 +2121,6 @@
|
|
1750
2121
|
]
|
1751
2122
|
]
|
1752
2123
|
},
|
1753
|
-
{
|
1754
|
-
"id": "5a61ca5b5a13aa8d",
|
1755
|
-
"type": "inject",
|
1756
|
-
"z": "b195bc3ca2e1a665",
|
1757
|
-
"g": "ec36901abb138306",
|
1758
|
-
"name": "",
|
1759
|
-
"props": [
|
1760
|
-
{
|
1761
|
-
"p": "payload"
|
1762
|
-
},
|
1763
|
-
{
|
1764
|
-
"p": "topic",
|
1765
|
-
"vt": "str"
|
1766
|
-
}
|
1767
|
-
],
|
1768
|
-
"repeat": "",
|
1769
|
-
"crontab": "",
|
1770
|
-
"once": false,
|
1771
|
-
"onceDelay": 0.1,
|
1772
|
-
"topic": "",
|
1773
|
-
"payload": "",
|
1774
|
-
"payloadType": "date",
|
1775
|
-
"x": 120,
|
1776
|
-
"y": 660,
|
1777
|
-
"wires": [
|
1778
|
-
[
|
1779
|
-
"1497b762d2ac1723"
|
1780
|
-
]
|
1781
|
-
]
|
1782
|
-
},
|
1783
2124
|
{
|
1784
2125
|
"id": "1497b762d2ac1723",
|
1785
2126
|
"type": "function",
|
@@ -1793,12 +2134,11 @@
|
|
1793
2134
|
"initialize": "",
|
1794
2135
|
"finalize": "",
|
1795
2136
|
"libs": [],
|
1796
|
-
"x":
|
1797
|
-
"y":
|
2137
|
+
"x": 570,
|
2138
|
+
"y": 520,
|
1798
2139
|
"wires": [
|
1799
2140
|
[
|
1800
|
-
"eee38d2764bac337"
|
1801
|
-
"5d8b5657929f658a"
|
2141
|
+
"eee38d2764bac337"
|
1802
2142
|
]
|
1803
2143
|
]
|
1804
2144
|
},
|
@@ -1809,8 +2149,8 @@
|
|
1809
2149
|
"g": "ec36901abb138306",
|
1810
2150
|
"ui": "26a45d43c064bdb6",
|
1811
2151
|
"name": "",
|
1812
|
-
"x":
|
1813
|
-
"y":
|
2152
|
+
"x": 100,
|
2153
|
+
"y": 520,
|
1814
2154
|
"wires": [
|
1815
2155
|
[
|
1816
2156
|
"a4d741804929ba73"
|
@@ -1835,8 +2175,8 @@
|
|
1835
2175
|
"checkall": "true",
|
1836
2176
|
"repair": false,
|
1837
2177
|
"outputs": 1,
|
1838
|
-
"x":
|
1839
|
-
"y":
|
2178
|
+
"x": 300,
|
2179
|
+
"y": 580,
|
1840
2180
|
"wires": [
|
1841
2181
|
[
|
1842
2182
|
"1497b762d2ac1723"
|
@@ -1857,80 +2197,176 @@
|
|
1857
2197
|
"cancel_title": "Cancel your task",
|
1858
2198
|
"width": 0,
|
1859
2199
|
"height": 0,
|
1860
|
-
"x":
|
2200
|
+
"x": 820,
|
1861
2201
|
"y": 520,
|
1862
2202
|
"wires": [
|
1863
2203
|
[
|
1864
|
-
"
|
2204
|
+
"915816cdb895af14"
|
1865
2205
|
]
|
1866
2206
|
]
|
1867
2207
|
},
|
1868
2208
|
{
|
1869
|
-
"id": "
|
1870
|
-
"type": "
|
2209
|
+
"id": "eee38d2764bac337",
|
2210
|
+
"type": "usertask-input",
|
1871
2211
|
"z": "b195bc3ca2e1a665",
|
1872
2212
|
"g": "ec36901abb138306",
|
1873
2213
|
"name": "",
|
1874
|
-
"
|
2214
|
+
"engine": "d042a4c68f51d6ab",
|
2215
|
+
"multisend": false,
|
2216
|
+
"x": 560,
|
2217
|
+
"y": 580,
|
2218
|
+
"wires": [
|
2219
|
+
[
|
2220
|
+
"8e2a2f993ee7156a"
|
2221
|
+
]
|
2222
|
+
]
|
2223
|
+
},
|
2224
|
+
{
|
2225
|
+
"id": "a4d741804929ba73",
|
2226
|
+
"type": "switch",
|
2227
|
+
"z": "b195bc3ca2e1a665",
|
2228
|
+
"g": "ec36901abb138306",
|
2229
|
+
"name": "Seite sichtbar",
|
2230
|
+
"property": "topic",
|
2231
|
+
"propertyType": "msg",
|
2232
|
+
"rules": [
|
1875
2233
|
{
|
1876
|
-
"
|
2234
|
+
"t": "eq",
|
2235
|
+
"v": "$pageview",
|
2236
|
+
"vt": "str"
|
1877
2237
|
}
|
1878
2238
|
],
|
1879
|
-
"
|
1880
|
-
"
|
1881
|
-
"
|
1882
|
-
"
|
1883
|
-
"topic": "",
|
1884
|
-
"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\"}]}}}",
|
1885
|
-
"payloadType": "json",
|
1886
|
-
"x": 250,
|
2239
|
+
"checkall": "true",
|
2240
|
+
"repair": false,
|
2241
|
+
"outputs": 1,
|
2242
|
+
"x": 280,
|
1887
2243
|
"y": 520,
|
1888
2244
|
"wires": [
|
1889
2245
|
[
|
1890
|
-
"
|
2246
|
+
"34984ae3f4e83b0b"
|
1891
2247
|
]
|
1892
2248
|
]
|
1893
2249
|
},
|
1894
2250
|
{
|
1895
|
-
"id": "
|
1896
|
-
"type": "
|
2251
|
+
"id": "111c8606ea343c1f",
|
2252
|
+
"type": "switch",
|
1897
2253
|
"z": "b195bc3ca2e1a665",
|
1898
|
-
"g": "
|
2254
|
+
"g": "09cdc14cfb8ad687",
|
2255
|
+
"name": "Seite sichtbar",
|
2256
|
+
"property": "topic",
|
2257
|
+
"propertyType": "msg",
|
2258
|
+
"rules": [
|
2259
|
+
{
|
2260
|
+
"t": "eq",
|
2261
|
+
"v": "$pageview",
|
2262
|
+
"vt": "str"
|
2263
|
+
}
|
2264
|
+
],
|
2265
|
+
"checkall": "true",
|
2266
|
+
"repair": false,
|
2267
|
+
"outputs": 1,
|
2268
|
+
"x": 280,
|
2269
|
+
"y": 360,
|
2270
|
+
"wires": [
|
2271
|
+
[
|
2272
|
+
"2b3f33b7a9dceb49"
|
2273
|
+
]
|
2274
|
+
]
|
2275
|
+
},
|
2276
|
+
{
|
2277
|
+
"id": "3ad37ecdb59b7314",
|
2278
|
+
"type": "comment",
|
2279
|
+
"z": "b195bc3ca2e1a665",
|
2280
|
+
"g": "bd2bef99e757d7bf",
|
2281
|
+
"name": "Message für neue UserTasks",
|
2282
|
+
"info": "",
|
2283
|
+
"x": 160,
|
2284
|
+
"y": 680,
|
2285
|
+
"wires": []
|
2286
|
+
},
|
2287
|
+
{
|
2288
|
+
"id": "54a2572d4a48cf34",
|
2289
|
+
"type": "usertask-new-listener",
|
2290
|
+
"z": "b195bc3ca2e1a665",
|
2291
|
+
"g": "bd2bef99e757d7bf",
|
1899
2292
|
"name": "",
|
1900
2293
|
"engine": "d042a4c68f51d6ab",
|
1901
2294
|
"multisend": false,
|
1902
|
-
"x":
|
1903
|
-
"y":
|
2295
|
+
"x": 140,
|
2296
|
+
"y": 760,
|
1904
2297
|
"wires": [
|
1905
2298
|
[
|
1906
|
-
"
|
1907
|
-
"8e2a2f993ee7156a"
|
2299
|
+
"4813eab6c5a5faf9"
|
1908
2300
|
]
|
1909
2301
|
]
|
1910
2302
|
},
|
1911
2303
|
{
|
1912
|
-
"id": "
|
1913
|
-
"type": "
|
2304
|
+
"id": "4f4ff5d35037207a",
|
2305
|
+
"type": "ui-notification",
|
1914
2306
|
"z": "b195bc3ca2e1a665",
|
1915
|
-
"g": "
|
1916
|
-
"
|
1917
|
-
"
|
1918
|
-
"
|
1919
|
-
"
|
1920
|
-
"
|
1921
|
-
"
|
1922
|
-
"
|
1923
|
-
"
|
1924
|
-
"
|
1925
|
-
"
|
1926
|
-
"
|
2307
|
+
"g": "bd2bef99e757d7bf",
|
2308
|
+
"ui": "26a45d43c064bdb6",
|
2309
|
+
"position": "top right",
|
2310
|
+
"colorDefault": true,
|
2311
|
+
"color": "#000000",
|
2312
|
+
"displayTime": "5",
|
2313
|
+
"showCountdown": true,
|
2314
|
+
"outputs": 1,
|
2315
|
+
"allowDismiss": true,
|
2316
|
+
"dismissText": "Close",
|
2317
|
+
"raw": true,
|
2318
|
+
"className": "",
|
2319
|
+
"name": "",
|
2320
|
+
"x": 750,
|
2321
|
+
"y": 760,
|
2322
|
+
"wires": [
|
2323
|
+
[]
|
2324
|
+
]
|
1927
2325
|
},
|
1928
2326
|
{
|
1929
|
-
"id": "
|
2327
|
+
"id": "1a237533ba8a9376",
|
2328
|
+
"type": "function",
|
2329
|
+
"z": "b195bc3ca2e1a665",
|
2330
|
+
"g": "bd2bef99e757d7bf",
|
2331
|
+
"name": "prepare info",
|
2332
|
+
"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;",
|
2333
|
+
"outputs": 1,
|
2334
|
+
"timeout": 0,
|
2335
|
+
"noerr": 0,
|
2336
|
+
"initialize": "",
|
2337
|
+
"finalize": "",
|
2338
|
+
"libs": [],
|
2339
|
+
"x": 550,
|
2340
|
+
"y": 760,
|
2341
|
+
"wires": [
|
2342
|
+
[
|
2343
|
+
"4f4ff5d35037207a"
|
2344
|
+
]
|
2345
|
+
]
|
2346
|
+
},
|
2347
|
+
{
|
2348
|
+
"id": "4813eab6c5a5faf9",
|
2349
|
+
"type": "usertask-input",
|
2350
|
+
"z": "b195bc3ca2e1a665",
|
2351
|
+
"g": "bd2bef99e757d7bf",
|
2352
|
+
"name": "",
|
2353
|
+
"engine": "d042a4c68f51d6ab",
|
2354
|
+
"multisend": false,
|
2355
|
+
"x": 360,
|
2356
|
+
"y": 760,
|
2357
|
+
"wires": [
|
2358
|
+
[
|
2359
|
+
"1a237533ba8a9376",
|
2360
|
+
"19184f75b76893d0"
|
2361
|
+
]
|
2362
|
+
]
|
2363
|
+
},
|
2364
|
+
{
|
2365
|
+
"id": "19184f75b76893d0",
|
1930
2366
|
"type": "debug",
|
1931
2367
|
"z": "b195bc3ca2e1a665",
|
1932
|
-
"g": "
|
1933
|
-
"name": "debug
|
2368
|
+
"g": "bd2bef99e757d7bf",
|
2369
|
+
"name": "debug 16",
|
1934
2370
|
"active": true,
|
1935
2371
|
"tosidebar": true,
|
1936
2372
|
"console": false,
|
@@ -1938,60 +2374,84 @@
|
|
1938
2374
|
"complete": "false",
|
1939
2375
|
"statusVal": "",
|
1940
2376
|
"statusType": "auto",
|
1941
|
-
"x":
|
1942
|
-
"y":
|
2377
|
+
"x": 540,
|
2378
|
+
"y": 700,
|
1943
2379
|
"wires": []
|
1944
2380
|
},
|
1945
2381
|
{
|
1946
|
-
"id": "
|
2382
|
+
"id": "915816cdb895af14",
|
1947
2383
|
"type": "switch",
|
1948
2384
|
"z": "b195bc3ca2e1a665",
|
1949
2385
|
"g": "ec36901abb138306",
|
1950
|
-
"name": "
|
1951
|
-
"property": "
|
2386
|
+
"name": "action == submit",
|
2387
|
+
"property": "payload.action",
|
1952
2388
|
"propertyType": "msg",
|
1953
2389
|
"rules": [
|
1954
2390
|
{
|
1955
2391
|
"t": "eq",
|
1956
|
-
"v": "
|
2392
|
+
"v": "submit",
|
1957
2393
|
"vt": "str"
|
1958
2394
|
}
|
1959
2395
|
],
|
1960
2396
|
"checkall": "true",
|
1961
2397
|
"repair": false,
|
1962
2398
|
"outputs": 1,
|
1963
|
-
"x":
|
1964
|
-
"y":
|
2399
|
+
"x": 950,
|
2400
|
+
"y": 580,
|
1965
2401
|
"wires": [
|
1966
2402
|
[
|
1967
|
-
"
|
2403
|
+
"51324058434239ba"
|
1968
2404
|
]
|
1969
2405
|
]
|
1970
2406
|
},
|
1971
2407
|
{
|
1972
|
-
"id": "
|
1973
|
-
"type": "
|
2408
|
+
"id": "51324058434239ba",
|
2409
|
+
"type": "usertask-output",
|
1974
2410
|
"z": "b195bc3ca2e1a665",
|
1975
|
-
"g": "
|
1976
|
-
"name": "
|
1977
|
-
"
|
1978
|
-
"
|
1979
|
-
"
|
1980
|
-
|
1981
|
-
|
1982
|
-
"
|
1983
|
-
|
1984
|
-
|
1985
|
-
|
1986
|
-
|
1987
|
-
"
|
2411
|
+
"g": "ec36901abb138306",
|
2412
|
+
"name": "",
|
2413
|
+
"engine": "d042a4c68f51d6ab",
|
2414
|
+
"x": 1060,
|
2415
|
+
"y": 520,
|
2416
|
+
"wires": [
|
2417
|
+
[
|
2418
|
+
"814ff7cf02987e14"
|
2419
|
+
]
|
2420
|
+
]
|
2421
|
+
},
|
2422
|
+
{
|
2423
|
+
"id": "814ff7cf02987e14",
|
2424
|
+
"type": "function",
|
2425
|
+
"z": "b195bc3ca2e1a665",
|
2426
|
+
"g": "ec36901abb138306",
|
2427
|
+
"name": "Seite Prozessliste",
|
2428
|
+
"func": "msg.payload = {\n page: \"Prozessliste\"\n};\nreturn msg;\n",
|
1988
2429
|
"outputs": 1,
|
1989
|
-
"
|
1990
|
-
"
|
2430
|
+
"timeout": 0,
|
2431
|
+
"noerr": 0,
|
2432
|
+
"initialize": "",
|
2433
|
+
"finalize": "",
|
2434
|
+
"libs": [],
|
2435
|
+
"x": 1270,
|
2436
|
+
"y": 520,
|
1991
2437
|
"wires": [
|
1992
2438
|
[
|
1993
|
-
"
|
2439
|
+
"0add5e307323845e"
|
1994
2440
|
]
|
1995
2441
|
]
|
2442
|
+
},
|
2443
|
+
{
|
2444
|
+
"id": "0add5e307323845e",
|
2445
|
+
"type": "ui-control",
|
2446
|
+
"z": "b195bc3ca2e1a665",
|
2447
|
+
"g": "ec36901abb138306",
|
2448
|
+
"name": "Seite navigation",
|
2449
|
+
"ui": "26a45d43c064bdb6",
|
2450
|
+
"events": "all",
|
2451
|
+
"x": 1480,
|
2452
|
+
"y": 520,
|
2453
|
+
"wires": [
|
2454
|
+
[]
|
2455
|
+
]
|
1996
2456
|
}
|
1997
2457
|
]
|