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