@5minds/node-red-contrib-processcube 0.3.5-feature-65fd58-lx819m2o → 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,11 +15,225 @@
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
+ },
26
+ {
27
+ "id": "405f8c703368777c",
28
+ "type": "group",
29
+ "z": "fd3c725340de4f74",
30
+ "style": {
31
+ "stroke": "#999999",
32
+ "stroke-opacity": "1",
33
+ "fill": "none",
34
+ "fill-opacity": "1",
35
+ "label": true,
36
+ "label-position": "nw",
37
+ "color": "#a4a4a4"
38
+ },
39
+ "nodes": [
40
+ "ec0be0ef92746967",
41
+ "090d42845540049c",
42
+ "846c5269df75c7a1",
43
+ "4267576c32c782ec",
44
+ "68cf69be67688af6",
45
+ "bcfb8893adeb57ed",
46
+ "325156d6b8bfc4b6"
47
+ ],
48
+ "x": 34,
49
+ "y": 19,
50
+ "w": 1092,
51
+ "h": 222
52
+ },
53
+ {
54
+ "id": "09cdc14cfb8ad687",
55
+ "type": "group",
56
+ "z": "b195bc3ca2e1a665",
57
+ "style": {
58
+ "stroke": "#999999",
59
+ "stroke-opacity": "1",
60
+ "fill": "none",
61
+ "fill-opacity": "1",
62
+ "label": true,
63
+ "label-position": "nw",
64
+ "color": "#a4a4a4"
65
+ },
66
+ "nodes": [
67
+ "0f5978f327b01bfb",
68
+ "dbec84a2543dbe7e",
69
+ "c73156ccd3cd2a48",
70
+ "7c13c0a3b8824a63",
71
+ "786bf9ed5078de92",
72
+ "69723e56fb97b6c1",
73
+ "d5874ba4dd992935",
74
+ "71196d7ab2204d95",
75
+ "6ce155bbaaba083f",
76
+ "1d5b0759c3226e37",
77
+ "97afbbf01ec1cd88",
78
+ "2b3f33b7a9dceb49",
79
+ "a61cb4c20f79d872"
80
+ ],
81
+ "x": 14,
82
+ "y": 59,
83
+ "w": 1012,
84
+ "h": 282
85
+ },
86
+ {
87
+ "id": "ec36901abb138306",
88
+ "type": "group",
89
+ "z": "b195bc3ca2e1a665",
90
+ "style": {
91
+ "stroke": "#999999",
92
+ "stroke-opacity": "1",
93
+ "fill": "none",
94
+ "fill-opacity": "1",
95
+ "label": true,
96
+ "label-position": "nw",
97
+ "color": "#a4a4a4"
98
+ },
99
+ "nodes": [
100
+ "1224ebb8edb477d2",
101
+ "05284831924ef310",
102
+ "99475ac148f6484b",
103
+ "5a61ca5b5a13aa8d",
104
+ "ebd67a338575690d",
105
+ "1497b762d2ac1723",
106
+ "64068e75e541a72e",
107
+ "b8ac2a6ff7cc5ef1",
108
+ "493500b42d8d0f5b",
109
+ "34984ae3f4e83b0b",
110
+ "8e2a2f993ee7156a",
111
+ "c06d872a4718b6da"
112
+ ],
113
+ "x": 14,
114
+ "y": 379,
115
+ "w": 952,
116
+ "h": 322
117
+ },
118
+ {
119
+ "id": "f29182f397cab86b",
120
+ "type": "group",
121
+ "z": "fd3c725340de4f74",
122
+ "style": {
123
+ "stroke": "#999999",
124
+ "stroke-opacity": "1",
125
+ "fill": "none",
126
+ "fill-opacity": "1",
127
+ "label": true,
128
+ "label-position": "nw",
129
+ "color": "#a4a4a4"
130
+ },
131
+ "nodes": [
132
+ "3011d9be5207350a",
133
+ "aa3ca456ddf1a7bd",
134
+ "a2b09670ce6219e3"
135
+ ],
136
+ "x": 34,
137
+ "y": 259,
138
+ "w": 482,
139
+ "h": 162
140
+ },
18
141
  {
19
142
  "id": "d042a4c68f51d6ab",
20
143
  "type": "processcube-engine-config",
21
144
  "url": "http://engine:8000"
22
145
  },
146
+ {
147
+ "id": "8e2205abbb41495b",
148
+ "type": "ui-group",
149
+ "name": "My Group",
150
+ "page": "b4dcca3f3d895ff7",
151
+ "width": "12",
152
+ "height": "1",
153
+ "order": 1,
154
+ "showTitle": false,
155
+ "className": "",
156
+ "visible": "true",
157
+ "disabled": "false"
158
+ },
159
+ {
160
+ "id": "26a45d43c064bdb6",
161
+ "type": "ui-base",
162
+ "name": "My Dashboard",
163
+ "path": "/dashboard",
164
+ "includeClientData": true,
165
+ "acceptsClientConfig": [
166
+ "ui-notification",
167
+ "ui-control"
168
+ ],
169
+ "showPathInSidebar": true,
170
+ "navigationStyle": "default",
171
+ "titleBarStyle": "default"
172
+ },
173
+ {
174
+ "id": "5403f00c961584ab",
175
+ "type": "ui-group",
176
+ "name": "Meine spezieller Dynamic-Form",
177
+ "page": "540bda48de1fe22d",
178
+ "width": "12",
179
+ "height": "1",
180
+ "order": 1,
181
+ "showTitle": false,
182
+ "className": "",
183
+ "visible": "true",
184
+ "disabled": "false"
185
+ },
186
+ {
187
+ "id": "b4dcca3f3d895ff7",
188
+ "type": "ui-page",
189
+ "name": "Prozessliste",
190
+ "ui": "26a45d43c064bdb6",
191
+ "path": "/Prozessliste",
192
+ "icon": "home",
193
+ "layout": "grid",
194
+ "theme": "7175f012d8e51857",
195
+ "order": 2,
196
+ "className": "",
197
+ "visible": "true",
198
+ "disabled": "false"
199
+ },
200
+ {
201
+ "id": "540bda48de1fe22d",
202
+ "type": "ui-page",
203
+ "name": "UserTask",
204
+ "ui": "26a45d43c064bdb6",
205
+ "path": "/UserTask",
206
+ "icon": "home",
207
+ "layout": "grid",
208
+ "theme": "7175f012d8e51857",
209
+ "order": 1,
210
+ "className": "",
211
+ "visible": true,
212
+ "disabled": "false"
213
+ },
214
+ {
215
+ "id": "7175f012d8e51857",
216
+ "type": "ui-theme",
217
+ "name": "Default Theme",
218
+ "colors": {
219
+ "surface": "#ffffff",
220
+ "primary": "#1f517f",
221
+ "bgPage": "#eeeeee",
222
+ "groupBg": "#ffffff",
223
+ "groupOutline": "#cccccc"
224
+ },
225
+ "sizes": {
226
+ "pagePadding": "12px",
227
+ "groupGap": "12px",
228
+ "groupBorderRadius": "4px",
229
+ "widgetGap": "12px"
230
+ }
231
+ },
232
+ {
233
+ "id": "9d1144e1dd0a70e3",
234
+ "type": "processcube-engine-config",
235
+ "url": "http://localhost:56000"
236
+ },
23
237
  {
24
238
  "id": "84f18cf9bf25b858",
25
239
  "type": "openApi-red",
@@ -888,10 +1102,12 @@
888
1102
  "id": "ec0be0ef92746967",
889
1103
  "type": "usertask-input",
890
1104
  "z": "fd3c725340de4f74",
1105
+ "g": "405f8c703368777c",
891
1106
  "name": "",
892
1107
  "engine": "d042a4c68f51d6ab",
893
- "x": 250,
894
- "y": 120,
1108
+ "multisend": true,
1109
+ "x": 540,
1110
+ "y": 140,
895
1111
  "wires": [
896
1112
  [
897
1113
  "090d42845540049c",
@@ -903,55 +1119,57 @@
903
1119
  "id": "090d42845540049c",
904
1120
  "type": "debug",
905
1121
  "z": "fd3c725340de4f74",
1122
+ "g": "405f8c703368777c",
906
1123
  "name": "debug 10",
907
- "active": false,
1124
+ "active": true,
908
1125
  "tosidebar": true,
909
1126
  "console": false,
910
1127
  "tostatus": false,
911
1128
  "complete": "false",
912
1129
  "statusVal": "",
913
1130
  "statusType": "auto",
914
- "x": 520,
915
- "y": 120,
1131
+ "x": 800,
1132
+ "y": 80,
916
1133
  "wires": []
917
1134
  },
918
1135
  {
919
- "id": "661e71d204ee957d",
920
- "type": "uibuilder",
1136
+ "id": "846c5269df75c7a1",
1137
+ "type": "function",
921
1138
  "z": "fd3c725340de4f74",
922
- "name": "",
923
- "topic": "",
924
- "url": "usertasks",
925
- "okToGo": true,
926
- "fwdInMessages": false,
927
- "allowScripts": false,
928
- "allowStyles": false,
929
- "copyIndex": true,
930
- "templateFolder": "blank",
931
- "extTemplate": "",
932
- "showfolder": false,
933
- "reload": true,
934
- "sourceFolder": "src",
935
- "deployedVersion": "6.8.2",
936
- "showMsgUib": false,
937
- "title": "",
938
- "descr": "",
939
- "x": 410,
940
- "y": 300,
1139
+ "g": "405f8c703368777c",
1140
+ "name": "function 2",
1141
+ "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;",
1142
+ "outputs": 1,
1143
+ "timeout": 0,
1144
+ "noerr": 0,
1145
+ "initialize": "",
1146
+ "finalize": "",
1147
+ "libs": [],
1148
+ "x": 800,
1149
+ "y": 140,
941
1150
  "wires": [
942
1151
  [
943
- "823445c277179d4e",
1152
+ "68cf69be67688af6",
944
1153
  "4267576c32c782ec"
945
- ],
946
- [
947
- "ce674239858cdfa1"
948
1154
  ]
949
1155
  ]
950
1156
  },
951
1157
  {
952
- "id": "823445c277179d4e",
1158
+ "id": "4267576c32c782ec",
1159
+ "type": "usertask-output",
1160
+ "z": "fd3c725340de4f74",
1161
+ "g": "405f8c703368777c",
1162
+ "name": "",
1163
+ "engine": "d042a4c68f51d6ab",
1164
+ "x": 1020,
1165
+ "y": 140,
1166
+ "wires": []
1167
+ },
1168
+ {
1169
+ "id": "68cf69be67688af6",
953
1170
  "type": "debug",
954
1171
  "z": "fd3c725340de4f74",
1172
+ "g": "405f8c703368777c",
955
1173
  "name": "debug 11",
956
1174
  "active": true,
957
1175
  "tosidebar": true,
@@ -960,45 +1178,71 @@
960
1178
  "complete": "false",
961
1179
  "statusVal": "",
962
1180
  "statusType": "auto",
963
- "x": 600,
964
- "y": 220,
1181
+ "x": 1000,
1182
+ "y": 200,
1183
+ "wires": []
1184
+ },
1185
+ {
1186
+ "id": "bcfb8893adeb57ed",
1187
+ "type": "comment",
1188
+ "z": "fd3c725340de4f74",
1189
+ "g": "405f8c703368777c",
1190
+ "name": "Beispiel für UserTask",
1191
+ "info": "",
1192
+ "x": 370,
1193
+ "y": 60,
965
1194
  "wires": []
966
1195
  },
967
1196
  {
968
- "id": "4078e4fb0a080b04",
969
- "type": "uib-element",
1197
+ "id": "3011d9be5207350a",
1198
+ "type": "usertask-new-listener",
970
1199
  "z": "fd3c725340de4f74",
1200
+ "g": "f29182f397cab86b",
971
1201
  "name": "",
972
- "topic": "",
973
- "elementtype": "sform",
974
- "parent": "body",
975
- "parentSource": "",
976
- "parentSourceType": "str",
977
- "elementid": "",
978
- "elementId": "",
979
- "elementIdSourceType": "str",
980
- "heading": "",
981
- "headingSourceType": "str",
982
- "headingLevel": "h2",
983
- "data": "payload",
984
- "dataSourceType": "msg",
985
- "position": "last",
986
- "positionSourceType": "str",
987
- "passthrough": false,
988
- "confData": {},
989
- "x": 390,
990
- "y": 420,
1202
+ "engine": "9d1144e1dd0a70e3",
1203
+ "multisend": false,
1204
+ "x": 160,
1205
+ "y": 380,
991
1206
  "wires": [
992
1207
  [
993
- "c59406be55bd5124"
1208
+ "aa3ca456ddf1a7bd"
994
1209
  ]
995
1210
  ]
996
1211
  },
997
1212
  {
998
- "id": "3b9e8eb5743f557c",
1213
+ "id": "aa3ca456ddf1a7bd",
1214
+ "type": "debug",
1215
+ "z": "fd3c725340de4f74",
1216
+ "g": "f29182f397cab86b",
1217
+ "name": "debug 12",
1218
+ "active": true,
1219
+ "tosidebar": true,
1220
+ "console": false,
1221
+ "tostatus": false,
1222
+ "complete": "false",
1223
+ "statusVal": "",
1224
+ "statusType": "auto",
1225
+ "x": 410,
1226
+ "y": 380,
1227
+ "wires": []
1228
+ },
1229
+ {
1230
+ "id": "a2b09670ce6219e3",
1231
+ "type": "comment",
1232
+ "z": "fd3c725340de4f74",
1233
+ "g": "f29182f397cab86b",
1234
+ "name": "Listener für neue UserTasks",
1235
+ "info": "",
1236
+ "x": 180,
1237
+ "y": 300,
1238
+ "wires": []
1239
+ },
1240
+ {
1241
+ "id": "325156d6b8bfc4b6",
999
1242
  "type": "inject",
1000
1243
  "z": "fd3c725340de4f74",
1001
- "name": "",
1244
+ "g": "405f8c703368777c",
1245
+ "name": "SampleUserTask_Process:Activity_0ljiko7",
1002
1246
  "props": [
1003
1247
  {
1004
1248
  "p": "payload"
@@ -1009,89 +1253,545 @@
1009
1253
  "once": false,
1010
1254
  "onceDelay": 0.1,
1011
1255
  "topic": "",
1012
- "payload": "[{\"id\":\"r1\",\"type\":\"text\",\"required\":false,\"label\":\"Label for form row 1\",\"value\":\"Foo\",\"title\":\"Some helpful text\"},{\"id\":\"r11\",\"type\":\"email\",\"required\":true,\"label\":\"Label for form row 11\",\"title\":\"Some helpful text\"},{\"id\":\"r12\",\"type\":\"month\",\"required\":true,\"label\":\"Label for form row 11\",\"title\":\"Some helpful text\"},{\"id\":\"r14\",\"type\":\"time\",\"required\":true,\"label\":\"Label for form row 11\",\"title\":\"Some helpful text\"},{\"id\":\"r15\",\"type\":\"week\",\"required\":true,\"label\":\"Label for form row 11\",\"title\":\"Some helpful text\"},{\"id\":\"r16\",\"type\":\"password\",\"required\":true,\"label\":\"Label for form row 11\",\"title\":\"Some helpful text\"},{\"id\":\"r2\",\"type\":\"range\",\"required\":true,\"label\":\"Label for form row 1\",\"value\":\"Foo\"},{\"id\":\"r3\",\"type\":\"button\",\"label\":\"Text on button\",\"value\":\"Buttons can have values as well\"}]",
1256
+ "payload": "{\"processModelId\":\"SampleUserTask_Process\",\"flowNodeId\":\"Activity_0ljiko7\",\"flowNodeType\":\"bpmn:UserTask\",\"state\":\"suspended\"}",
1013
1257
  "payloadType": "json",
1014
- "x": 80,
1015
- "y": 400,
1258
+ "x": 240,
1259
+ "y": 140,
1016
1260
  "wires": [
1017
1261
  [
1018
- "4078e4fb0a080b04"
1262
+ "ec0be0ef92746967"
1019
1263
  ]
1020
1264
  ]
1021
1265
  },
1022
1266
  {
1023
- "id": "c59406be55bd5124",
1024
- "type": "link out",
1025
- "z": "fd3c725340de4f74",
1026
- "name": "link out 1",
1027
- "mode": "link",
1028
- "links": [
1029
- "d9edaa2e3c514edc"
1267
+ "id": "0f5978f327b01bfb",
1268
+ "type": "ui-table",
1269
+ "z": "b195bc3ca2e1a665",
1270
+ "g": "09cdc14cfb8ad687",
1271
+ "group": "8e2205abbb41495b",
1272
+ "name": "Auftrage",
1273
+ "label": "text",
1274
+ "order": 1,
1275
+ "width": "0",
1276
+ "height": "0",
1277
+ "maxrows": 0,
1278
+ "passthru": false,
1279
+ "autocols": true,
1280
+ "showSearch": true,
1281
+ "selectionType": "click",
1282
+ "columns": [],
1283
+ "x": 540,
1284
+ "y": 160,
1285
+ "wires": [
1286
+ [
1287
+ "69723e56fb97b6c1"
1288
+ ]
1289
+ ]
1290
+ },
1291
+ {
1292
+ "id": "dbec84a2543dbe7e",
1293
+ "type": "http request",
1294
+ "z": "b195bc3ca2e1a665",
1295
+ "g": "09cdc14cfb8ad687",
1296
+ "name": "",
1297
+ "method": "GET",
1298
+ "ret": "obj",
1299
+ "paytoqs": "ignore",
1300
+ "url": "http://localhost:56000/atlas_engine/api/v1/flow_node_instances?flowNodeType=bpmn%3AUserTask&state=suspended",
1301
+ "tls": "",
1302
+ "persist": false,
1303
+ "proxy": "",
1304
+ "insecureHTTPParser": false,
1305
+ "authType": "bearer",
1306
+ "senderr": false,
1307
+ "headers": [],
1308
+ "x": 290,
1309
+ "y": 220,
1310
+ "wires": [
1311
+ [
1312
+ "c73156ccd3cd2a48"
1313
+ ]
1314
+ ]
1315
+ },
1316
+ {
1317
+ "id": "c73156ccd3cd2a48",
1318
+ "type": "function",
1319
+ "z": "b195bc3ca2e1a665",
1320
+ "g": "09cdc14cfb8ad687",
1321
+ "name": "Felder filtern",
1322
+ "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;",
1323
+ "outputs": 1,
1324
+ "timeout": 0,
1325
+ "noerr": 0,
1326
+ "initialize": "",
1327
+ "finalize": "",
1328
+ "libs": [],
1329
+ "x": 370,
1330
+ "y": 160,
1331
+ "wires": [
1332
+ [
1333
+ "0f5978f327b01bfb"
1334
+ ]
1335
+ ]
1336
+ },
1337
+ {
1338
+ "id": "7c13c0a3b8824a63",
1339
+ "type": "ui-control",
1340
+ "z": "b195bc3ca2e1a665",
1341
+ "g": "09cdc14cfb8ad687",
1342
+ "name": "Seite navigieren",
1343
+ "ui": "26a45d43c064bdb6",
1344
+ "events": "all",
1345
+ "x": 760,
1346
+ "y": 300,
1347
+ "wires": [
1348
+ [
1349
+ "786bf9ed5078de92"
1350
+ ]
1351
+ ]
1352
+ },
1353
+ {
1354
+ "id": "786bf9ed5078de92",
1355
+ "type": "debug",
1356
+ "z": "b195bc3ca2e1a665",
1357
+ "g": "09cdc14cfb8ad687",
1358
+ "name": "debug 4",
1359
+ "active": true,
1360
+ "tosidebar": true,
1361
+ "console": false,
1362
+ "tostatus": false,
1363
+ "complete": "false",
1364
+ "statusVal": "",
1365
+ "statusType": "auto",
1366
+ "x": 920,
1367
+ "y": 300,
1368
+ "wires": []
1369
+ },
1370
+ {
1371
+ "id": "69723e56fb97b6c1",
1372
+ "type": "switch",
1373
+ "z": "b195bc3ca2e1a665",
1374
+ "g": "09cdc14cfb8ad687",
1375
+ "name": "",
1376
+ "property": "payload.action",
1377
+ "propertyType": "msg",
1378
+ "rules": [
1379
+ {
1380
+ "t": "eq",
1381
+ "v": "do it",
1382
+ "vt": "str"
1383
+ }
1030
1384
  ],
1031
- "x": 545,
1032
- "y": 400,
1385
+ "checkall": "true",
1386
+ "repair": false,
1387
+ "outputs": 1,
1388
+ "x": 530,
1389
+ "y": 220,
1390
+ "wires": [
1391
+ [
1392
+ "d5874ba4dd992935",
1393
+ "1d5b0759c3226e37"
1394
+ ]
1395
+ ]
1396
+ },
1397
+ {
1398
+ "id": "d5874ba4dd992935",
1399
+ "type": "function",
1400
+ "z": "b195bc3ca2e1a665",
1401
+ "g": "09cdc14cfb8ad687",
1402
+ "name": "Seite UserTask",
1403
+ "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;",
1404
+ "outputs": 1,
1405
+ "timeout": 0,
1406
+ "noerr": 0,
1407
+ "initialize": "",
1408
+ "finalize": "",
1409
+ "libs": [],
1410
+ "x": 560,
1411
+ "y": 300,
1412
+ "wires": [
1413
+ [
1414
+ "7c13c0a3b8824a63"
1415
+ ]
1416
+ ]
1417
+ },
1418
+ {
1419
+ "id": "71196d7ab2204d95",
1420
+ "type": "ui-button",
1421
+ "z": "b195bc3ca2e1a665",
1422
+ "g": "09cdc14cfb8ad687",
1423
+ "group": "8e2205abbb41495b",
1424
+ "name": "",
1425
+ "label": "Aufgaben laden",
1426
+ "order": 2,
1427
+ "width": 0,
1428
+ "height": 0,
1429
+ "emulateClick": false,
1430
+ "tooltip": "",
1431
+ "color": "",
1432
+ "bgcolor": "",
1433
+ "className": "",
1434
+ "icon": "",
1435
+ "iconPosition": "left",
1436
+ "payload": "",
1437
+ "payloadType": "str",
1438
+ "topic": "topic",
1439
+ "topicType": "msg",
1440
+ "x": 120,
1441
+ "y": 160,
1442
+ "wires": [
1443
+ [
1444
+ "dbec84a2543dbe7e"
1445
+ ]
1446
+ ]
1447
+ },
1448
+ {
1449
+ "id": "1224ebb8edb477d2",
1450
+ "type": "debug",
1451
+ "z": "b195bc3ca2e1a665",
1452
+ "g": "ec36901abb138306",
1453
+ "name": "debug 3",
1454
+ "active": true,
1455
+ "tosidebar": true,
1456
+ "console": false,
1457
+ "tostatus": false,
1458
+ "complete": "false",
1459
+ "statusVal": "",
1460
+ "statusType": "auto",
1461
+ "x": 860,
1462
+ "y": 480,
1033
1463
  "wires": []
1034
1464
  },
1035
1465
  {
1036
- "id": "d9edaa2e3c514edc",
1037
- "type": "link in",
1038
- "z": "fd3c725340de4f74",
1039
- "name": "link in 1",
1040
- "links": [
1041
- "c59406be55bd5124"
1466
+ "id": "6ce155bbaaba083f",
1467
+ "type": "comment",
1468
+ "z": "b195bc3ca2e1a665",
1469
+ "g": "09cdc14cfb8ad687",
1470
+ "name": "Tabelle mit Aufträgen laden",
1471
+ "info": "",
1472
+ "x": 150,
1473
+ "y": 100,
1474
+ "wires": []
1475
+ },
1476
+ {
1477
+ "id": "05284831924ef310",
1478
+ "type": "comment",
1479
+ "z": "b195bc3ca2e1a665",
1480
+ "g": "ec36901abb138306",
1481
+ "name": "Auftrag bearbeiten",
1482
+ "info": "",
1483
+ "x": 130,
1484
+ "y": 420,
1485
+ "wires": []
1486
+ },
1487
+ {
1488
+ "id": "1d5b0759c3226e37",
1489
+ "type": "debug",
1490
+ "z": "b195bc3ca2e1a665",
1491
+ "g": "09cdc14cfb8ad687",
1492
+ "name": "debug 6",
1493
+ "active": true,
1494
+ "tosidebar": true,
1495
+ "console": false,
1496
+ "tostatus": false,
1497
+ "complete": "false",
1498
+ "statusVal": "",
1499
+ "statusType": "auto",
1500
+ "x": 880,
1501
+ "y": 140,
1502
+ "wires": []
1503
+ },
1504
+ {
1505
+ "id": "97afbbf01ec1cd88",
1506
+ "type": "ui-event",
1507
+ "z": "b195bc3ca2e1a665",
1508
+ "g": "09cdc14cfb8ad687",
1509
+ "ui": "26a45d43c064bdb6",
1510
+ "name": "",
1511
+ "x": 100,
1512
+ "y": 300,
1513
+ "wires": [
1514
+ [
1515
+ "2b3f33b7a9dceb49"
1516
+ ]
1517
+ ]
1518
+ },
1519
+ {
1520
+ "id": "2b3f33b7a9dceb49",
1521
+ "type": "switch",
1522
+ "z": "b195bc3ca2e1a665",
1523
+ "g": "09cdc14cfb8ad687",
1524
+ "name": "Seite == \"Prozessliste\"",
1525
+ "property": "payload.page.name",
1526
+ "propertyType": "msg",
1527
+ "rules": [
1528
+ {
1529
+ "t": "eq",
1530
+ "v": "Prozessliste",
1531
+ "vt": "str"
1532
+ }
1042
1533
  ],
1043
- "x": 245,
1534
+ "checkall": "true",
1535
+ "repair": false,
1536
+ "outputs": 1,
1537
+ "x": 280,
1044
1538
  "y": 300,
1045
1539
  "wires": [
1046
1540
  [
1047
- "661e71d204ee957d"
1541
+ "dbec84a2543dbe7e"
1048
1542
  ]
1049
1543
  ]
1050
1544
  },
1051
1545
  {
1052
- "id": "846c5269df75c7a1",
1546
+ "id": "a61cb4c20f79d872",
1547
+ "type": "inject",
1548
+ "z": "b195bc3ca2e1a665",
1549
+ "g": "09cdc14cfb8ad687",
1550
+ "name": "",
1551
+ "props": [
1552
+ {
1553
+ "p": "payload"
1554
+ },
1555
+ {
1556
+ "p": "topic",
1557
+ "vt": "str"
1558
+ }
1559
+ ],
1560
+ "repeat": "",
1561
+ "crontab": "",
1562
+ "once": false,
1563
+ "onceDelay": 0.1,
1564
+ "topic": "",
1565
+ "payload": "",
1566
+ "payloadType": "date",
1567
+ "x": 120,
1568
+ "y": 220,
1569
+ "wires": [
1570
+ [
1571
+ "dbec84a2543dbe7e"
1572
+ ]
1573
+ ]
1574
+ },
1575
+ {
1576
+ "id": "99475ac148f6484b",
1577
+ "type": "http request",
1578
+ "z": "b195bc3ca2e1a665",
1579
+ "g": "ec36901abb138306",
1580
+ "name": "",
1581
+ "method": "GET",
1582
+ "ret": "obj",
1583
+ "paytoqs": "ignore",
1584
+ "url": "http://localhost:56000/atlas_engine/api/v1/flow_node_instances?limit=1&flowNodeInstanceId={{{flowNodeInstanceId}}}&flowNodeType=bpmn%3AUserTask",
1585
+ "tls": "",
1586
+ "persist": false,
1587
+ "proxy": "",
1588
+ "insecureHTTPParser": false,
1589
+ "authType": "bearer",
1590
+ "senderr": false,
1591
+ "headers": [],
1592
+ "x": 490,
1593
+ "y": 620,
1594
+ "wires": [
1595
+ [
1596
+ "ebd67a338575690d",
1597
+ "64068e75e541a72e"
1598
+ ]
1599
+ ]
1600
+ },
1601
+ {
1602
+ "id": "5a61ca5b5a13aa8d",
1603
+ "type": "inject",
1604
+ "z": "b195bc3ca2e1a665",
1605
+ "g": "ec36901abb138306",
1606
+ "name": "",
1607
+ "props": [
1608
+ {
1609
+ "p": "payload"
1610
+ },
1611
+ {
1612
+ "p": "topic",
1613
+ "vt": "str"
1614
+ }
1615
+ ],
1616
+ "repeat": "",
1617
+ "crontab": "",
1618
+ "once": false,
1619
+ "onceDelay": 0.1,
1620
+ "topic": "",
1621
+ "payload": "",
1622
+ "payloadType": "date",
1623
+ "x": 120,
1624
+ "y": 620,
1625
+ "wires": [
1626
+ [
1627
+ "1497b762d2ac1723"
1628
+ ]
1629
+ ]
1630
+ },
1631
+ {
1632
+ "id": "ebd67a338575690d",
1633
+ "type": "debug",
1634
+ "z": "b195bc3ca2e1a665",
1635
+ "g": "ec36901abb138306",
1636
+ "name": "debug 8",
1637
+ "active": true,
1638
+ "tosidebar": true,
1639
+ "console": false,
1640
+ "tostatus": false,
1641
+ "complete": "false",
1642
+ "statusVal": "",
1643
+ "statusType": "auto",
1644
+ "x": 660,
1645
+ "y": 660,
1646
+ "wires": []
1647
+ },
1648
+ {
1649
+ "id": "1497b762d2ac1723",
1053
1650
  "type": "function",
1054
- "z": "fd3c725340de4f74",
1055
- "name": "function 2",
1056
- "func": "msg.payload = msg.payload.formFields;\n\nreturn msg;",
1651
+ "z": "b195bc3ca2e1a665",
1652
+ "g": "ec36901abb138306",
1653
+ "name": "parameter setzen",
1654
+ "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;",
1057
1655
  "outputs": 1,
1058
1656
  "timeout": 0,
1059
1657
  "noerr": 0,
1060
1658
  "initialize": "",
1061
1659
  "finalize": "",
1062
1660
  "libs": [],
1063
- "x": 100,
1064
- "y": 280,
1661
+ "x": 310,
1662
+ "y": 620,
1065
1663
  "wires": [
1066
1664
  [
1067
- "4078e4fb0a080b04"
1665
+ "99475ac148f6484b"
1068
1666
  ]
1069
1667
  ]
1070
1668
  },
1071
1669
  {
1072
- "id": "ce674239858cdfa1",
1670
+ "id": "64068e75e541a72e",
1671
+ "type": "function",
1672
+ "z": "b195bc3ca2e1a665",
1673
+ "g": "ec36901abb138306",
1674
+ "name": "prepare UserTask ",
1675
+ "func": "msg.payload = {\n \"userTask\": msg.payload.flowNodeInstances[0]\n}\n\nreturn msg;",
1676
+ "outputs": 1,
1677
+ "timeout": 0,
1678
+ "noerr": 0,
1679
+ "initialize": "",
1680
+ "finalize": "",
1681
+ "libs": [],
1682
+ "x": 690,
1683
+ "y": 620,
1684
+ "wires": [
1685
+ [
1686
+ "b8ac2a6ff7cc5ef1",
1687
+ "8e2a2f993ee7156a"
1688
+ ]
1689
+ ]
1690
+ },
1691
+ {
1692
+ "id": "b8ac2a6ff7cc5ef1",
1073
1693
  "type": "debug",
1074
- "z": "fd3c725340de4f74",
1075
- "name": "debug 12",
1076
- "active": false,
1694
+ "z": "b195bc3ca2e1a665",
1695
+ "g": "ec36901abb138306",
1696
+ "name": "debug 9",
1697
+ "active": true,
1077
1698
  "tosidebar": true,
1078
1699
  "console": false,
1079
1700
  "tostatus": false,
1080
1701
  "complete": "false",
1081
1702
  "statusVal": "",
1082
1703
  "statusType": "auto",
1083
- "x": 580,
1084
- "y": 320,
1704
+ "x": 860,
1705
+ "y": 620,
1085
1706
  "wires": []
1086
1707
  },
1087
1708
  {
1088
- "id": "4267576c32c782ec",
1089
- "type": "usertask-output",
1090
- "z": "fd3c725340de4f74",
1709
+ "id": "493500b42d8d0f5b",
1710
+ "type": "ui-event",
1711
+ "z": "b195bc3ca2e1a665",
1712
+ "g": "ec36901abb138306",
1713
+ "ui": "26a45d43c064bdb6",
1091
1714
  "name": "",
1092
- "engine": "d042a4c68f51d6ab",
1093
- "x": 740,
1094
- "y": 260,
1095
- "wires": []
1715
+ "x": 120,
1716
+ "y": 560,
1717
+ "wires": [
1718
+ [
1719
+ "34984ae3f4e83b0b"
1720
+ ]
1721
+ ]
1722
+ },
1723
+ {
1724
+ "id": "34984ae3f4e83b0b",
1725
+ "type": "switch",
1726
+ "z": "b195bc3ca2e1a665",
1727
+ "g": "ec36901abb138306",
1728
+ "name": "Seite == \"UserTask\"",
1729
+ "property": "payload.page.name",
1730
+ "propertyType": "msg",
1731
+ "rules": [
1732
+ {
1733
+ "t": "eq",
1734
+ "v": "UserTask",
1735
+ "vt": "str"
1736
+ }
1737
+ ],
1738
+ "checkall": "true",
1739
+ "repair": false,
1740
+ "outputs": 1,
1741
+ "x": 320,
1742
+ "y": 560,
1743
+ "wires": [
1744
+ [
1745
+ "1497b762d2ac1723"
1746
+ ]
1747
+ ]
1748
+ },
1749
+ {
1750
+ "id": "8e2a2f993ee7156a",
1751
+ "type": "dynamic-form",
1752
+ "z": "b195bc3ca2e1a665",
1753
+ "g": "ec36901abb138306",
1754
+ "name": "",
1755
+ "group": "5403f00c961584ab",
1756
+ "order": 0,
1757
+ "waiting_title": "Waiting for Warten auf den Usertask...",
1758
+ "waiting_info": "Der Usertask wird automatisch angezeigt, wenn ein entsprechender Task vorhanden ist.",
1759
+ "submit_title": "Submit your task",
1760
+ "cancel_title": "Cancel your task",
1761
+ "width": 0,
1762
+ "height": 0,
1763
+ "x": 600,
1764
+ "y": 480,
1765
+ "wires": [
1766
+ [
1767
+ "1224ebb8edb477d2"
1768
+ ]
1769
+ ]
1770
+ },
1771
+ {
1772
+ "id": "c06d872a4718b6da",
1773
+ "type": "inject",
1774
+ "z": "b195bc3ca2e1a665",
1775
+ "g": "ec36901abb138306",
1776
+ "name": "",
1777
+ "props": [
1778
+ {
1779
+ "p": "payload"
1780
+ }
1781
+ ],
1782
+ "repeat": "",
1783
+ "crontab": "",
1784
+ "once": false,
1785
+ "onceDelay": 0.1,
1786
+ "topic": "",
1787
+ "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\"}]}}}",
1788
+ "payloadType": "json",
1789
+ "x": 250,
1790
+ "y": 480,
1791
+ "wires": [
1792
+ [
1793
+ "8e2a2f993ee7156a"
1794
+ ]
1795
+ ]
1096
1796
  }
1097
1797
  ]