@5minds/node-red-contrib-processcube 0.3.5-feature-c01acd-lxiptxn6 → 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": []
@@ -189,9 +189,35 @@
189
189
  ],
190
190
  "x": 14,
191
191
  "y": 639,
192
- "w": 952,
192
+ "w": 852,
193
193
  "h": 162
194
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
+ },
195
221
  {
196
222
  "id": "d042a4c68f51d6ab",
197
223
  "type": "processcube-engine-config",
@@ -292,6 +318,7 @@
292
318
  "id": "84f18cf9bf25b858",
293
319
  "type": "openApi-red",
294
320
  "z": "a23d2e782beb66f4",
321
+ "g": "02fef81e2129ea71",
295
322
  "name": "Engine",
296
323
  "openApiUrl": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger",
297
324
  "configUrlNode": "",
@@ -350,7 +377,7 @@
350
377
  "devMode": false,
351
378
  "outputs": 1,
352
379
  "_version": "1.2.5",
353
- "x": 310,
380
+ "x": 590,
354
381
  "y": 360,
355
382
  "wires": [
356
383
  [
@@ -362,6 +389,7 @@
362
389
  "id": "ee2e9eb1d613da90",
363
390
  "type": "debug",
364
391
  "z": "a23d2e782beb66f4",
392
+ "g": "02fef81e2129ea71",
365
393
  "name": "debug 2",
366
394
  "active": true,
367
395
  "tosidebar": true,
@@ -370,7 +398,7 @@
370
398
  "complete": "false",
371
399
  "statusVal": "",
372
400
  "statusType": "auto",
373
- "x": 500,
401
+ "x": 780,
374
402
  "y": 360,
375
403
  "wires": []
376
404
  },
@@ -378,6 +406,7 @@
378
406
  "id": "2d115b489271921f",
379
407
  "type": "inject",
380
408
  "z": "a23d2e782beb66f4",
409
+ "g": "02fef81e2129ea71",
381
410
  "name": "",
382
411
  "props": [
383
412
  {
@@ -400,7 +429,7 @@
400
429
  "topic": "",
401
430
  "payload": "go",
402
431
  "payloadType": "str",
403
- "x": 90,
432
+ "x": 370,
404
433
  "y": 360,
405
434
  "wires": [
406
435
  [
@@ -1152,13 +1181,323 @@
1152
1181
  "y": 840,
1153
1182
  "wires": []
1154
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
+ },
1155
1494
  {
1156
1495
  "id": "ec0be0ef92746967",
1157
1496
  "type": "usertask-input",
1158
1497
  "z": "fd3c725340de4f74",
1159
1498
  "g": "405f8c703368777c",
1160
1499
  "name": "",
1161
- "engine": "d042a4c68f51d6ab",
1500
+ "engine": "42e6796dddd9d4db",
1162
1501
  "multisend": false,
1163
1502
  "x": 540,
1164
1503
  "y": 140,
@@ -1436,7 +1775,7 @@
1436
1775
  "g": "b60e94a5f1ee2790",
1437
1776
  "name": "",
1438
1777
  "engine": "d042a4c68f51d6ab",
1439
- "multisend": true,
1778
+ "multisend": false,
1440
1779
  "x": 400,
1441
1780
  "y": 660,
1442
1781
  "wires": [
@@ -1467,9 +1806,9 @@
1467
1806
  "type": "comment",
1468
1807
  "z": "fd3c725340de4f74",
1469
1808
  "g": "b60e94a5f1ee2790",
1470
- "name": "Abfragen von UserTasks (Made with beer)",
1809
+ "name": "Abfragen von UserTasks",
1471
1810
  "info": "",
1472
- "x": 220,
1811
+ "x": 170,
1473
1812
  "y": 600,
1474
1813
  "wires": []
1475
1814
  },
@@ -1961,7 +2300,7 @@
1961
2300
  "raw": true,
1962
2301
  "className": "",
1963
2302
  "name": "",
1964
- "x": 850,
2303
+ "x": 750,
1965
2304
  "y": 760,
1966
2305
  "wires": [
1967
2306
  []
@@ -1980,7 +2319,7 @@
1980
2319
  "initialize": "",
1981
2320
  "finalize": "",
1982
2321
  "libs": [],
1983
- "x": 630,
2322
+ "x": 550,
1984
2323
  "y": 760,
1985
2324
  "wires": [
1986
2325
  [
@@ -1996,7 +2335,7 @@
1996
2335
  "name": "",
1997
2336
  "engine": "d042a4c68f51d6ab",
1998
2337
  "multisend": false,
1999
- "x": 400,
2338
+ "x": 360,
2000
2339
  "y": 760,
2001
2340
  "wires": [
2002
2341
  [
@@ -2018,7 +2357,7 @@
2018
2357
  "complete": "false",
2019
2358
  "statusVal": "",
2020
2359
  "statusType": "auto",
2021
- "x": 620,
2360
+ "x": 540,
2022
2361
  "y": 700,
2023
2362
  "wires": []
2024
2363
  },
@@ -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": []
@@ -192,6 +192,32 @@
192
192
  "w": 852,
193
193
  "h": 162
194
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
+ },
195
221
  {
196
222
  "id": "d042a4c68f51d6ab",
197
223
  "type": "processcube-engine-config",
@@ -292,6 +318,7 @@
292
318
  "id": "84f18cf9bf25b858",
293
319
  "type": "openApi-red",
294
320
  "z": "a23d2e782beb66f4",
321
+ "g": "02fef81e2129ea71",
295
322
  "name": "Engine",
296
323
  "openApiUrl": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger",
297
324
  "configUrlNode": "",
@@ -350,7 +377,7 @@
350
377
  "devMode": false,
351
378
  "outputs": 1,
352
379
  "_version": "1.2.5",
353
- "x": 310,
380
+ "x": 590,
354
381
  "y": 360,
355
382
  "wires": [
356
383
  [
@@ -362,6 +389,7 @@
362
389
  "id": "ee2e9eb1d613da90",
363
390
  "type": "debug",
364
391
  "z": "a23d2e782beb66f4",
392
+ "g": "02fef81e2129ea71",
365
393
  "name": "debug 2",
366
394
  "active": true,
367
395
  "tosidebar": true,
@@ -370,7 +398,7 @@
370
398
  "complete": "false",
371
399
  "statusVal": "",
372
400
  "statusType": "auto",
373
- "x": 500,
401
+ "x": 780,
374
402
  "y": 360,
375
403
  "wires": []
376
404
  },
@@ -378,6 +406,7 @@
378
406
  "id": "2d115b489271921f",
379
407
  "type": "inject",
380
408
  "z": "a23d2e782beb66f4",
409
+ "g": "02fef81e2129ea71",
381
410
  "name": "",
382
411
  "props": [
383
412
  {
@@ -400,7 +429,7 @@
400
429
  "topic": "",
401
430
  "payload": "go",
402
431
  "payloadType": "str",
403
- "x": 90,
432
+ "x": 370,
404
433
  "y": 360,
405
434
  "wires": [
406
435
  [
@@ -1152,13 +1181,340 @@
1152
1181
  "y": 840,
1153
1182
  "wires": []
1154
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
+ },
1155
1511
  {
1156
1512
  "id": "ec0be0ef92746967",
1157
1513
  "type": "usertask-input",
1158
1514
  "z": "fd3c725340de4f74",
1159
1515
  "g": "405f8c703368777c",
1160
1516
  "name": "",
1161
- "engine": "d042a4c68f51d6ab",
1517
+ "engine": "42e6796dddd9d4db",
1162
1518
  "multisend": false,
1163
1519
  "x": 540,
1164
1520
  "y": 140,
@@ -1436,7 +1792,7 @@
1436
1792
  "g": "b60e94a5f1ee2790",
1437
1793
  "name": "",
1438
1794
  "engine": "d042a4c68f51d6ab",
1439
- "multisend": true,
1795
+ "multisend": false,
1440
1796
  "x": 400,
1441
1797
  "y": 660,
1442
1798
  "wires": [
@@ -1467,9 +1823,9 @@
1467
1823
  "type": "comment",
1468
1824
  "z": "fd3c725340de4f74",
1469
1825
  "g": "b60e94a5f1ee2790",
1470
- "name": "Abfragen von UserTasks (Made with beer)",
1826
+ "name": "Abfragen von UserTasks",
1471
1827
  "info": "",
1472
- "x": 220,
1828
+ "x": 170,
1473
1829
  "y": 600,
1474
1830
  "wires": []
1475
1831
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@5minds/node-red-contrib-processcube",
3
- "version": "0.3.5-feature-c01acd-lxiptxn6",
3
+ "version": "0.3.5-feature-d317c3-lxj45fct",
4
4
  "license": "MIT",
5
5
  "description": "Node-RED nodes for ProcessCube",
6
6
  "authors": [
@@ -1,27 +1,25 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="HelloWorld_Definition" targetNamespace="http://bpmn.io/schema/bpmn" exporter="5Minds Studio" exporterVersion="1">
2
+ <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" id="HelloWorld_Definition" targetNamespace="http://bpmn.io/schema/bpmn" exporter="5Minds Studio" exporterVersion="1">
3
3
  <bpmn:collaboration id="Collaboration_1cidyxu" name="">
4
4
  <bpmn:participant id="Participant_0px403d" name="HelloWorld" processRef="HelloWorld_Process" />
5
5
  </bpmn:collaboration>
6
6
  <bpmn:process id="HelloWorld_Process" name="HelloWorld" isExecutable="true">
7
7
  <bpmn:laneSet>
8
8
  <bpmn:lane id="Lane_1xzf0d3" name="Lane">
9
- <bpmn:flowNodeRef>Activity_0qfd2qf</bpmn:flowNodeRef>
10
- <bpmn:flowNodeRef>Event_098kcno</bpmn:flowNodeRef>
9
+ <bpmn:extensionElements>
10
+ <camunda:properties>
11
+ <camunda:property name="datastore" value="localDB" />
12
+ </camunda:properties>
13
+ </bpmn:extensionElements>
11
14
  <bpmn:flowNodeRef>StartEvent_1</bpmn:flowNodeRef>
12
15
  <bpmn:flowNodeRef>StartEvent_2</bpmn:flowNodeRef>
16
+ <bpmn:flowNodeRef>Event_098kcno</bpmn:flowNodeRef>
17
+ <bpmn:flowNodeRef>Event_1dke00u</bpmn:flowNodeRef>
18
+ <bpmn:flowNodeRef>Activity_0qfd2qf</bpmn:flowNodeRef>
13
19
  </bpmn:lane>
14
20
  </bpmn:laneSet>
15
- <bpmn:task id="Activity_0qfd2qf">
16
- <bpmn:incoming>Flow_0gyaiob</bpmn:incoming>
17
- <bpmn:incoming>Flow_02bhdfx</bpmn:incoming>
18
- <bpmn:outgoing>Flow_1vz3m6d</bpmn:outgoing>
19
- </bpmn:task>
20
21
  <bpmn:sequenceFlow id="Flow_0gyaiob" sourceRef="StartEvent_1" targetRef="Activity_0qfd2qf" />
21
- <bpmn:endEvent id="Event_098kcno">
22
- <bpmn:incoming>Flow_1vz3m6d</bpmn:incoming>
23
- </bpmn:endEvent>
24
- <bpmn:sequenceFlow id="Flow_1vz3m6d" sourceRef="Activity_0qfd2qf" targetRef="Event_098kcno" />
22
+ <bpmn:sequenceFlow id="Flow_1vz3m6d" sourceRef="Activity_0qfd2qf" targetRef="Event_1dke00u" />
25
23
  <bpmn:startEvent id="StartEvent_1" name="StartEvent_1">
26
24
  <bpmn:outgoing>Flow_0gyaiob</bpmn:outgoing>
27
25
  </bpmn:startEvent>
@@ -29,7 +27,36 @@
29
27
  <bpmn:outgoing>Flow_02bhdfx</bpmn:outgoing>
30
28
  </bpmn:startEvent>
31
29
  <bpmn:sequenceFlow id="Flow_02bhdfx" sourceRef="StartEvent_2" targetRef="Activity_0qfd2qf" />
30
+ <bpmn:endEvent id="Event_098kcno">
31
+ <bpmn:incoming>Flow_020xdqk</bpmn:incoming>
32
+ </bpmn:endEvent>
33
+ <bpmn:sequenceFlow id="Flow_020xdqk" sourceRef="Event_1dke00u" targetRef="Event_098kcno" />
34
+ <bpmn:intermediateThrowEvent id="Event_1dke00u">
35
+ <bpmn:incoming>Flow_1vz3m6d</bpmn:incoming>
36
+ <bpmn:outgoing>Flow_020xdqk</bpmn:outgoing>
37
+ <bpmn:messageEventDefinition id="MessageEventDefinition_02r4uyb" messageRef="Message_2MNRTsHm" />
38
+ </bpmn:intermediateThrowEvent>
39
+ <bpmn:userTask id="Activity_0qfd2qf">
40
+ <bpmn:extensionElements>
41
+ <camunda:formData>
42
+ <camunda:formField id="FormField_c61nPzPh" type="string" />
43
+ </camunda:formData>
44
+ </bpmn:extensionElements>
45
+ <bpmn:incoming>Flow_0gyaiob</bpmn:incoming>
46
+ <bpmn:incoming>Flow_02bhdfx</bpmn:incoming>
47
+ <bpmn:outgoing>Flow_1vz3m6d</bpmn:outgoing>
48
+ <bpmn:property id="Property_0eew054" name="__targetRef_placeholder" />
49
+ <bpmn:dataInputAssociation id="DataInputAssociation_05huqd1">
50
+ <bpmn:sourceRef>DataStoreReference_12d82du</bpmn:sourceRef>
51
+ <bpmn:targetRef>Property_0eew054</bpmn:targetRef>
52
+ </bpmn:dataInputAssociation>
53
+ <bpmn:dataOutputAssociation id="DataOutputAssociation_0q4exvn">
54
+ <bpmn:targetRef>DataStoreReference_12d82du</bpmn:targetRef>
55
+ </bpmn:dataOutputAssociation>
56
+ </bpmn:userTask>
57
+ <bpmn:dataStoreReference id="DataStoreReference_12d82du" />
32
58
  </bpmn:process>
59
+ <bpmn:message id="Message_2MNRTsHm" name="HelloWorld" />
33
60
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
34
61
  <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1cidyxu">
35
62
  <bpmndi:BPMNShape id="Participant_0px403d_di" bpmnElement="Participant_0px403d" isHorizontal="true">
@@ -38,12 +65,6 @@
38
65
  <bpmndi:BPMNShape id="Lane_1xzf0d3_di" bpmnElement="Lane_1xzf0d3" isHorizontal="true">
39
66
  <dc:Bounds x="35" y="4" width="855" height="346" />
40
67
  </bpmndi:BPMNShape>
41
- <bpmndi:BPMNShape id="Activity_0qfd2qf_di" bpmnElement="Activity_0qfd2qf">
42
- <dc:Bounds x="180" y="130" width="100" height="80" />
43
- </bpmndi:BPMNShape>
44
- <bpmndi:BPMNShape id="Event_098kcno_di" bpmnElement="Event_098kcno">
45
- <dc:Bounds x="332" y="152" width="36" height="36" />
46
- </bpmndi:BPMNShape>
47
68
  <bpmndi:BPMNShape id="StartEvent_1_di" bpmnElement="StartEvent_1">
48
69
  <dc:Bounds x="92" y="82" width="36" height="36" />
49
70
  <bpmndi:BPMNLabel>
@@ -56,6 +77,18 @@
56
77
  <dc:Bounds x="79" y="265" width="64" height="14" />
57
78
  </bpmndi:BPMNLabel>
58
79
  </bpmndi:BPMNShape>
80
+ <bpmndi:BPMNShape id="Event_098kcno_di" bpmnElement="Event_098kcno">
81
+ <dc:Bounds x="472" y="152" width="36" height="36" />
82
+ </bpmndi:BPMNShape>
83
+ <bpmndi:BPMNShape id="Event_00n3l3p_di" bpmnElement="Event_1dke00u">
84
+ <dc:Bounds x="352" y="152" width="36" height="36" />
85
+ </bpmndi:BPMNShape>
86
+ <bpmndi:BPMNShape id="Activity_0jhqvza_di" bpmnElement="Activity_0qfd2qf">
87
+ <dc:Bounds x="180" y="130" width="100" height="80" />
88
+ </bpmndi:BPMNShape>
89
+ <bpmndi:BPMNShape id="DataStoreReference_12d82du_di" bpmnElement="DataStoreReference_12d82du">
90
+ <dc:Bounds x="215" y="265" width="50" height="50" />
91
+ </bpmndi:BPMNShape>
59
92
  <bpmndi:BPMNEdge id="Flow_0gyaiob_di" bpmnElement="Flow_0gyaiob">
60
93
  <di:waypoint x="128" y="100" />
61
94
  <di:waypoint x="154" y="100" />
@@ -64,7 +97,7 @@
64
97
  </bpmndi:BPMNEdge>
65
98
  <bpmndi:BPMNEdge id="Flow_1vz3m6d_di" bpmnElement="Flow_1vz3m6d">
66
99
  <di:waypoint x="280" y="170" />
67
- <di:waypoint x="332" y="170" />
100
+ <di:waypoint x="352" y="170" />
68
101
  </bpmndi:BPMNEdge>
69
102
  <bpmndi:BPMNEdge id="Flow_02bhdfx_di" bpmnElement="Flow_02bhdfx">
70
103
  <di:waypoint x="128" y="240" />
@@ -72,6 +105,20 @@
72
105
  <di:waypoint x="154" y="170" />
73
106
  <di:waypoint x="180" y="170" />
74
107
  </bpmndi:BPMNEdge>
108
+ <bpmndi:BPMNEdge id="Flow_020xdqk_di" bpmnElement="Flow_020xdqk">
109
+ <di:waypoint x="388" y="170" />
110
+ <di:waypoint x="472" y="170" />
111
+ </bpmndi:BPMNEdge>
112
+ <bpmndi:BPMNEdge id="DataInputAssociation_05huqd1_di" bpmnElement="DataInputAssociation_05huqd1">
113
+ <di:waypoint x="225" y="265" />
114
+ <di:waypoint x="210" y="240" />
115
+ <di:waypoint x="219" y="210" />
116
+ </bpmndi:BPMNEdge>
117
+ <bpmndi:BPMNEdge id="DataOutputAssociation_0q4exvn_di" bpmnElement="DataOutputAssociation_0q4exvn">
118
+ <di:waypoint x="250" y="210" />
119
+ <di:waypoint x="260" y="230" />
120
+ <di:waypoint x="250" y="265" />
121
+ </bpmndi:BPMNEdge>
75
122
  </bpmndi:BPMNPlane>
76
123
  </bpmndi:BPMNDiagram>
77
124
  </bpmn:definitions>
@@ -0,0 +1,73 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="SampleEvent_Definition" targetNamespace="http://bpmn.io/schema/bpmn" exporter="5Minds Studio" exporterVersion="1">
3
+ <bpmn:collaboration id="Collaboration_1cidyxu" name="">
4
+ <bpmn:participant id="Participant_0px403d" name="SampleEvent" processRef="SampleEvent_Process" />
5
+ </bpmn:collaboration>
6
+ <bpmn:process id="SampleEvent_Process" name="SampleEvent" isExecutable="true">
7
+ <bpmn:laneSet>
8
+ <bpmn:lane id="Lane_1xzf0d3" name="Lane">
9
+ <bpmn:flowNodeRef>StartEvent_1</bpmn:flowNodeRef>
10
+ <bpmn:flowNodeRef>Event_1jv39pf</bpmn:flowNodeRef>
11
+ <bpmn:flowNodeRef>Activity_18hxefy</bpmn:flowNodeRef>
12
+ <bpmn:flowNodeRef>Event_06jifnk</bpmn:flowNodeRef>
13
+ </bpmn:lane>
14
+ </bpmn:laneSet>
15
+ <bpmn:startEvent id="StartEvent_1" name="Start">
16
+ <bpmn:outgoing>Flow_0uoj46m</bpmn:outgoing>
17
+ </bpmn:startEvent>
18
+ <bpmn:sequenceFlow id="Flow_0uoj46m" sourceRef="StartEvent_1" targetRef="Event_06jifnk" />
19
+ <bpmn:sequenceFlow id="Flow_0wqom58" sourceRef="Event_06jifnk" targetRef="Activity_18hxefy" />
20
+ <bpmn:endEvent id="Event_1jv39pf">
21
+ <bpmn:incoming>Flow_1srscxt</bpmn:incoming>
22
+ </bpmn:endEvent>
23
+ <bpmn:sequenceFlow id="Flow_1srscxt" sourceRef="Activity_18hxefy" targetRef="Event_1jv39pf" />
24
+ <bpmn:task id="Activity_18hxefy" name="wait ;-)">
25
+ <bpmn:incoming>Flow_0wqom58</bpmn:incoming>
26
+ <bpmn:outgoing>Flow_1srscxt</bpmn:outgoing>
27
+ </bpmn:task>
28
+ <bpmn:intermediateCatchEvent id="Event_06jifnk">
29
+ <bpmn:incoming>Flow_0uoj46m</bpmn:incoming>
30
+ <bpmn:outgoing>Flow_0wqom58</bpmn:outgoing>
31
+ <bpmn:messageEventDefinition id="MessageEventDefinition_1jevsas" messageRef="Message_5MhJAzRd" />
32
+ </bpmn:intermediateCatchEvent>
33
+ </bpmn:process>
34
+ <bpmn:message id="Message_5MhJAzRd" name="sampleEvent" />
35
+ <bpmndi:BPMNDiagram id="BPMNDiagram_1">
36
+ <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1cidyxu">
37
+ <bpmndi:BPMNShape id="Participant_0px403d_di" bpmnElement="Participant_0px403d" isHorizontal="true">
38
+ <dc:Bounds x="5" y="4" width="885" height="346" />
39
+ </bpmndi:BPMNShape>
40
+ <bpmndi:BPMNShape id="Lane_1xzf0d3_di" bpmnElement="Lane_1xzf0d3" isHorizontal="true">
41
+ <dc:Bounds x="35" y="4" width="855" height="346" />
42
+ </bpmndi:BPMNShape>
43
+ <bpmndi:BPMNShape id="StartEvent_1_di" bpmnElement="StartEvent_1">
44
+ <dc:Bounds x="92" y="152" width="36" height="36" />
45
+ <bpmndi:BPMNLabel>
46
+ <dc:Bounds x="98" y="195" width="24" height="14" />
47
+ </bpmndi:BPMNLabel>
48
+ </bpmndi:BPMNShape>
49
+ <bpmndi:BPMNShape id="Event_1jv39pf_di" bpmnElement="Event_1jv39pf">
50
+ <dc:Bounds x="442" y="152" width="36" height="36" />
51
+ </bpmndi:BPMNShape>
52
+ <bpmndi:BPMNShape id="Activity_18hxefy_di" bpmnElement="Activity_18hxefy">
53
+ <dc:Bounds x="270" y="130" width="100" height="80" />
54
+ <bpmndi:BPMNLabel />
55
+ </bpmndi:BPMNShape>
56
+ <bpmndi:BPMNShape id="Event_15e6gcf_di" bpmnElement="Event_06jifnk">
57
+ <dc:Bounds x="182" y="152" width="36" height="36" />
58
+ </bpmndi:BPMNShape>
59
+ <bpmndi:BPMNEdge id="Flow_0uoj46m_di" bpmnElement="Flow_0uoj46m">
60
+ <di:waypoint x="128" y="170" />
61
+ <di:waypoint x="182" y="170" />
62
+ </bpmndi:BPMNEdge>
63
+ <bpmndi:BPMNEdge id="Flow_0wqom58_di" bpmnElement="Flow_0wqom58">
64
+ <di:waypoint x="218" y="170" />
65
+ <di:waypoint x="270" y="170" />
66
+ </bpmndi:BPMNEdge>
67
+ <bpmndi:BPMNEdge id="Flow_1srscxt_di" bpmnElement="Flow_1srscxt">
68
+ <di:waypoint x="370" y="170" />
69
+ <di:waypoint x="442" y="170" />
70
+ </bpmndi:BPMNEdge>
71
+ </bpmndi:BPMNPlane>
72
+ </bpmndi:BPMNDiagram>
73
+ </bpmn:definitions>