@5minds/node-red-contrib-processcube 0.3.5-feature-a2045d-lximtnpj → 0.3.5-feature-c01acd-lxiptxn6
Sign up to get free protection for your applications and to get access to all the features.
@@ -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",
|
@@ -143,6 +142,56 @@
|
|
143
142
|
"w": 482,
|
144
143
|
"h": 162
|
145
144
|
},
|
145
|
+
{
|
146
|
+
"id": "b60e94a5f1ee2790",
|
147
|
+
"type": "group",
|
148
|
+
"z": "fd3c725340de4f74",
|
149
|
+
"style": {
|
150
|
+
"stroke": "#999999",
|
151
|
+
"stroke-opacity": "1",
|
152
|
+
"fill": "none",
|
153
|
+
"fill-opacity": "1",
|
154
|
+
"label": true,
|
155
|
+
"label-position": "nw",
|
156
|
+
"color": "#a4a4a4"
|
157
|
+
},
|
158
|
+
"nodes": [
|
159
|
+
"5cc47f646e818d1e",
|
160
|
+
"66b90cf83a531a75",
|
161
|
+
"e002a108a6c7df75",
|
162
|
+
"2851b83de5fb070d"
|
163
|
+
],
|
164
|
+
"x": 34,
|
165
|
+
"y": 559,
|
166
|
+
"w": 712,
|
167
|
+
"h": 142
|
168
|
+
},
|
169
|
+
{
|
170
|
+
"id": "bd2bef99e757d7bf",
|
171
|
+
"type": "group",
|
172
|
+
"z": "b195bc3ca2e1a665",
|
173
|
+
"style": {
|
174
|
+
"stroke": "#999999",
|
175
|
+
"stroke-opacity": "1",
|
176
|
+
"fill": "none",
|
177
|
+
"fill-opacity": "1",
|
178
|
+
"label": true,
|
179
|
+
"label-position": "nw",
|
180
|
+
"color": "#a4a4a4"
|
181
|
+
},
|
182
|
+
"nodes": [
|
183
|
+
"3ad37ecdb59b7314",
|
184
|
+
"54a2572d4a48cf34",
|
185
|
+
"4f4ff5d35037207a",
|
186
|
+
"1a237533ba8a9376",
|
187
|
+
"4813eab6c5a5faf9",
|
188
|
+
"19184f75b76893d0"
|
189
|
+
],
|
190
|
+
"x": 14,
|
191
|
+
"y": 639,
|
192
|
+
"w": 952,
|
193
|
+
"h": 162
|
194
|
+
},
|
146
195
|
{
|
147
196
|
"id": "d042a4c68f51d6ab",
|
148
197
|
"type": "processcube-engine-config",
|
@@ -234,6 +283,11 @@
|
|
234
283
|
"widgetGap": "12px"
|
235
284
|
}
|
236
285
|
},
|
286
|
+
{
|
287
|
+
"id": "42e6796dddd9d4db",
|
288
|
+
"type": "processcube-engine-config",
|
289
|
+
"url": "http://engine:8000"
|
290
|
+
},
|
237
291
|
{
|
238
292
|
"id": "84f18cf9bf25b858",
|
239
293
|
"type": "openApi-red",
|
@@ -1163,7 +1217,9 @@
|
|
1163
1217
|
"engine": "d042a4c68f51d6ab",
|
1164
1218
|
"x": 1020,
|
1165
1219
|
"y": 140,
|
1166
|
-
"wires": [
|
1220
|
+
"wires": [
|
1221
|
+
[]
|
1222
|
+
]
|
1167
1223
|
},
|
1168
1224
|
{
|
1169
1225
|
"id": "68cf69be67688af6",
|
@@ -1199,7 +1255,7 @@
|
|
1199
1255
|
"z": "fd3c725340de4f74",
|
1200
1256
|
"g": "f29182f397cab86b",
|
1201
1257
|
"name": "",
|
1202
|
-
"engine": "
|
1258
|
+
"engine": "42e6796dddd9d4db",
|
1203
1259
|
"multisend": false,
|
1204
1260
|
"x": 160,
|
1205
1261
|
"y": 500,
|
@@ -1351,7 +1407,8 @@
|
|
1351
1407
|
"id": "5cc47f646e818d1e",
|
1352
1408
|
"type": "inject",
|
1353
1409
|
"z": "fd3c725340de4f74",
|
1354
|
-
"
|
1410
|
+
"g": "b60e94a5f1ee2790",
|
1411
|
+
"name": "Parameter setzen",
|
1355
1412
|
"props": [
|
1356
1413
|
{
|
1357
1414
|
"p": "payload"
|
@@ -1364,8 +1421,8 @@
|
|
1364
1421
|
"topic": "",
|
1365
1422
|
"payload": "{\t \"state\": \"suspended\"\t}",
|
1366
1423
|
"payloadType": "jsonata",
|
1367
|
-
"x":
|
1368
|
-
"y":
|
1424
|
+
"x": 160,
|
1425
|
+
"y": 660,
|
1369
1426
|
"wires": [
|
1370
1427
|
[
|
1371
1428
|
"66b90cf83a531a75"
|
@@ -1376,11 +1433,12 @@
|
|
1376
1433
|
"id": "66b90cf83a531a75",
|
1377
1434
|
"type": "usertask-input",
|
1378
1435
|
"z": "fd3c725340de4f74",
|
1436
|
+
"g": "b60e94a5f1ee2790",
|
1379
1437
|
"name": "",
|
1380
1438
|
"engine": "d042a4c68f51d6ab",
|
1381
|
-
"multisend":
|
1382
|
-
"x":
|
1383
|
-
"y":
|
1439
|
+
"multisend": true,
|
1440
|
+
"x": 400,
|
1441
|
+
"y": 660,
|
1384
1442
|
"wires": [
|
1385
1443
|
[
|
1386
1444
|
"e002a108a6c7df75"
|
@@ -1391,6 +1449,7 @@
|
|
1391
1449
|
"id": "e002a108a6c7df75",
|
1392
1450
|
"type": "debug",
|
1393
1451
|
"z": "fd3c725340de4f74",
|
1452
|
+
"g": "b60e94a5f1ee2790",
|
1394
1453
|
"name": "debug 15",
|
1395
1454
|
"active": true,
|
1396
1455
|
"tosidebar": true,
|
@@ -1399,8 +1458,19 @@
|
|
1399
1458
|
"complete": "false",
|
1400
1459
|
"statusVal": "",
|
1401
1460
|
"statusType": "auto",
|
1402
|
-
"x":
|
1403
|
-
"y":
|
1461
|
+
"x": 640,
|
1462
|
+
"y": 660,
|
1463
|
+
"wires": []
|
1464
|
+
},
|
1465
|
+
{
|
1466
|
+
"id": "2851b83de5fb070d",
|
1467
|
+
"type": "comment",
|
1468
|
+
"z": "fd3c725340de4f74",
|
1469
|
+
"g": "b60e94a5f1ee2790",
|
1470
|
+
"name": "Abfragen von UserTasks (Made with beer)",
|
1471
|
+
"info": "",
|
1472
|
+
"x": 220,
|
1473
|
+
"y": 600,
|
1404
1474
|
"wires": []
|
1405
1475
|
},
|
1406
1476
|
{
|
@@ -1585,23 +1655,6 @@
|
|
1585
1655
|
]
|
1586
1656
|
]
|
1587
1657
|
},
|
1588
|
-
{
|
1589
|
-
"id": "1224ebb8edb477d2",
|
1590
|
-
"type": "debug",
|
1591
|
-
"z": "b195bc3ca2e1a665",
|
1592
|
-
"g": "ec36901abb138306",
|
1593
|
-
"name": "debug 3",
|
1594
|
-
"active": true,
|
1595
|
-
"tosidebar": true,
|
1596
|
-
"console": false,
|
1597
|
-
"tostatus": false,
|
1598
|
-
"complete": "false",
|
1599
|
-
"statusVal": "",
|
1600
|
-
"statusType": "auto",
|
1601
|
-
"x": 860,
|
1602
|
-
"y": 520,
|
1603
|
-
"wires": []
|
1604
|
-
},
|
1605
1658
|
{
|
1606
1659
|
"id": "6ce155bbaaba083f",
|
1607
1660
|
"type": "comment",
|
@@ -1712,36 +1765,6 @@
|
|
1712
1765
|
]
|
1713
1766
|
]
|
1714
1767
|
},
|
1715
|
-
{
|
1716
|
-
"id": "5a61ca5b5a13aa8d",
|
1717
|
-
"type": "inject",
|
1718
|
-
"z": "b195bc3ca2e1a665",
|
1719
|
-
"g": "ec36901abb138306",
|
1720
|
-
"name": "",
|
1721
|
-
"props": [
|
1722
|
-
{
|
1723
|
-
"p": "payload"
|
1724
|
-
},
|
1725
|
-
{
|
1726
|
-
"p": "topic",
|
1727
|
-
"vt": "str"
|
1728
|
-
}
|
1729
|
-
],
|
1730
|
-
"repeat": "",
|
1731
|
-
"crontab": "",
|
1732
|
-
"once": false,
|
1733
|
-
"onceDelay": 0.1,
|
1734
|
-
"topic": "",
|
1735
|
-
"payload": "",
|
1736
|
-
"payloadType": "date",
|
1737
|
-
"x": 120,
|
1738
|
-
"y": 660,
|
1739
|
-
"wires": [
|
1740
|
-
[
|
1741
|
-
"1497b762d2ac1723"
|
1742
|
-
]
|
1743
|
-
]
|
1744
|
-
},
|
1745
1768
|
{
|
1746
1769
|
"id": "1497b762d2ac1723",
|
1747
1770
|
"type": "function",
|
@@ -1755,12 +1778,11 @@
|
|
1755
1778
|
"initialize": "",
|
1756
1779
|
"finalize": "",
|
1757
1780
|
"libs": [],
|
1758
|
-
"x":
|
1759
|
-
"y":
|
1781
|
+
"x": 570,
|
1782
|
+
"y": 520,
|
1760
1783
|
"wires": [
|
1761
1784
|
[
|
1762
|
-
"eee38d2764bac337"
|
1763
|
-
"5d8b5657929f658a"
|
1785
|
+
"eee38d2764bac337"
|
1764
1786
|
]
|
1765
1787
|
]
|
1766
1788
|
},
|
@@ -1771,8 +1793,8 @@
|
|
1771
1793
|
"g": "ec36901abb138306",
|
1772
1794
|
"ui": "26a45d43c064bdb6",
|
1773
1795
|
"name": "",
|
1774
|
-
"x":
|
1775
|
-
"y":
|
1796
|
+
"x": 100,
|
1797
|
+
"y": 520,
|
1776
1798
|
"wires": [
|
1777
1799
|
[
|
1778
1800
|
"a4d741804929ba73"
|
@@ -1797,8 +1819,8 @@
|
|
1797
1819
|
"checkall": "true",
|
1798
1820
|
"repair": false,
|
1799
1821
|
"outputs": 1,
|
1800
|
-
"x":
|
1801
|
-
"y":
|
1822
|
+
"x": 300,
|
1823
|
+
"y": 580,
|
1802
1824
|
"wires": [
|
1803
1825
|
[
|
1804
1826
|
"1497b762d2ac1723"
|
@@ -1819,80 +1841,176 @@
|
|
1819
1841
|
"cancel_title": "Cancel your task",
|
1820
1842
|
"width": 0,
|
1821
1843
|
"height": 0,
|
1822
|
-
"x":
|
1844
|
+
"x": 820,
|
1823
1845
|
"y": 520,
|
1824
1846
|
"wires": [
|
1825
1847
|
[
|
1826
|
-
"
|
1848
|
+
"915816cdb895af14"
|
1827
1849
|
]
|
1828
1850
|
]
|
1829
1851
|
},
|
1830
1852
|
{
|
1831
|
-
"id": "
|
1832
|
-
"type": "
|
1853
|
+
"id": "eee38d2764bac337",
|
1854
|
+
"type": "usertask-input",
|
1833
1855
|
"z": "b195bc3ca2e1a665",
|
1834
1856
|
"g": "ec36901abb138306",
|
1835
1857
|
"name": "",
|
1836
|
-
"
|
1858
|
+
"engine": "d042a4c68f51d6ab",
|
1859
|
+
"multisend": false,
|
1860
|
+
"x": 560,
|
1861
|
+
"y": 580,
|
1862
|
+
"wires": [
|
1863
|
+
[
|
1864
|
+
"8e2a2f993ee7156a"
|
1865
|
+
]
|
1866
|
+
]
|
1867
|
+
},
|
1868
|
+
{
|
1869
|
+
"id": "a4d741804929ba73",
|
1870
|
+
"type": "switch",
|
1871
|
+
"z": "b195bc3ca2e1a665",
|
1872
|
+
"g": "ec36901abb138306",
|
1873
|
+
"name": "Seite sichtbar",
|
1874
|
+
"property": "topic",
|
1875
|
+
"propertyType": "msg",
|
1876
|
+
"rules": [
|
1837
1877
|
{
|
1838
|
-
"
|
1878
|
+
"t": "eq",
|
1879
|
+
"v": "$pageview",
|
1880
|
+
"vt": "str"
|
1839
1881
|
}
|
1840
1882
|
],
|
1841
|
-
"
|
1842
|
-
"
|
1843
|
-
"
|
1844
|
-
"
|
1845
|
-
"topic": "",
|
1846
|
-
"payload": "{\"userTask\":{\"flowNodeInstanceId\":\"3b3102c5-102d-4e52-ab27-40602cc5fd86\",\"flowNodeId\":\"Activity_0ljiko7\",\"flowNodeName\":\"Hello world\",\"flowNodeLane\":\"Lane\",\"flowNodeType\":\"bpmn:UserTask\",\"previousFlowNodeInstanceId\":\"2ebcb278-d90c-4b2b-98ee-c9847dcaf461\",\"parentProcessInstanceId\":null,\"processDefinitionId\":\"SampleUserTask_Definition\",\"processModelId\":\"SampleUserTask_Process\",\"processInstanceId\":\"8a8ab5a7-fbef-4bf0-9905-1937defb8cd8\",\"correlationId\":\"61845380-2bd3-4bc9-b3bf-60933d05121b\",\"state\":\"suspended\",\"tokens\":[],\"startToken\":{},\"endToken\":{},\"ownerId\":\"dummy_token\",\"startedAt\":\"2024-06-16T19:18:38.580Z\",\"assignedUserIds\":null,\"actualOwnerId\":null,\"finishedByUserId\":null,\"userTaskConfig\":{\"formFields\":[{\"id\":\"text_id\",\"label\":\"Text Label\",\"type\":\"string\"},{\"id\":\"number_id\",\"label\":\"Number Label\",\"type\":\"long\",\"defaultValue\":\"undefined\",\"customForm\":\"{\\\"hint\\\":\\\"Sample\\\"}\"},{\"id\":\"date_id\",\"label\":\"Date Label\",\"type\":\"date\"},{\"id\":\"select_id\",\"label\":\"Select Label\",\"type\":\"enum\",\"enumValues\":[{\"id\":\"value_01\",\"name\":\"Value 01\"},{\"id\":\"value_02\",\"name\":\"Value 02\"}]},{\"id\":\"boolean_id\",\"label\":\"Boolean Label\",\"type\":\"boolean\"},{\"id\":\"customer_01\",\"label\":\"Custom_01\",\"type\":\"v-text-field\"}]},\"userTaskConfigModel\":{\"formFields\":[{\"id\":\"text_id\",\"label\":\"Text Label\",\"type\":\"string\"},{\"id\":\"number_id\",\"label\":\"Number Label\",\"type\":\"long\",\"defaultValue\":\"${token.current.sample}\",\"customForm\":\"{\\\"hint\\\":\\\"Sample\\\"}\"},{\"id\":\"date_id\",\"label\":\"Date Label\",\"type\":\"date\"},{\"id\":\"select_id\",\"label\":\"Select Label\",\"type\":\"enum\",\"enumValues\":[{\"id\":\"value_01\",\"name\":\"Value 01\"},{\"id\":\"value_02\",\"name\":\"Value 02\"}]},{\"id\":\"boolean_id\",\"label\":\"Boolean Label\",\"type\":\"boolean\"},{\"id\":\"customer_01\",\"label\":\"Custom_01\",\"type\":\"v-text-field\"}]}}}",
|
1847
|
-
"payloadType": "json",
|
1848
|
-
"x": 250,
|
1883
|
+
"checkall": "true",
|
1884
|
+
"repair": false,
|
1885
|
+
"outputs": 1,
|
1886
|
+
"x": 280,
|
1849
1887
|
"y": 520,
|
1850
1888
|
"wires": [
|
1851
1889
|
[
|
1852
|
-
"
|
1890
|
+
"34984ae3f4e83b0b"
|
1853
1891
|
]
|
1854
1892
|
]
|
1855
1893
|
},
|
1856
1894
|
{
|
1857
|
-
"id": "
|
1858
|
-
"type": "
|
1895
|
+
"id": "111c8606ea343c1f",
|
1896
|
+
"type": "switch",
|
1859
1897
|
"z": "b195bc3ca2e1a665",
|
1860
|
-
"g": "
|
1898
|
+
"g": "09cdc14cfb8ad687",
|
1899
|
+
"name": "Seite sichtbar",
|
1900
|
+
"property": "topic",
|
1901
|
+
"propertyType": "msg",
|
1902
|
+
"rules": [
|
1903
|
+
{
|
1904
|
+
"t": "eq",
|
1905
|
+
"v": "$pageview",
|
1906
|
+
"vt": "str"
|
1907
|
+
}
|
1908
|
+
],
|
1909
|
+
"checkall": "true",
|
1910
|
+
"repair": false,
|
1911
|
+
"outputs": 1,
|
1912
|
+
"x": 280,
|
1913
|
+
"y": 360,
|
1914
|
+
"wires": [
|
1915
|
+
[
|
1916
|
+
"2b3f33b7a9dceb49"
|
1917
|
+
]
|
1918
|
+
]
|
1919
|
+
},
|
1920
|
+
{
|
1921
|
+
"id": "3ad37ecdb59b7314",
|
1922
|
+
"type": "comment",
|
1923
|
+
"z": "b195bc3ca2e1a665",
|
1924
|
+
"g": "bd2bef99e757d7bf",
|
1925
|
+
"name": "Message für neue UserTasks",
|
1926
|
+
"info": "",
|
1927
|
+
"x": 160,
|
1928
|
+
"y": 680,
|
1929
|
+
"wires": []
|
1930
|
+
},
|
1931
|
+
{
|
1932
|
+
"id": "54a2572d4a48cf34",
|
1933
|
+
"type": "usertask-new-listener",
|
1934
|
+
"z": "b195bc3ca2e1a665",
|
1935
|
+
"g": "bd2bef99e757d7bf",
|
1861
1936
|
"name": "",
|
1862
1937
|
"engine": "d042a4c68f51d6ab",
|
1863
1938
|
"multisend": false,
|
1864
|
-
"x":
|
1865
|
-
"y":
|
1939
|
+
"x": 140,
|
1940
|
+
"y": 760,
|
1866
1941
|
"wires": [
|
1867
1942
|
[
|
1868
|
-
"
|
1869
|
-
"8e2a2f993ee7156a"
|
1943
|
+
"4813eab6c5a5faf9"
|
1870
1944
|
]
|
1871
1945
|
]
|
1872
1946
|
},
|
1873
1947
|
{
|
1874
|
-
"id": "
|
1875
|
-
"type": "
|
1948
|
+
"id": "4f4ff5d35037207a",
|
1949
|
+
"type": "ui-notification",
|
1876
1950
|
"z": "b195bc3ca2e1a665",
|
1877
|
-
"g": "
|
1878
|
-
"
|
1879
|
-
"
|
1880
|
-
"
|
1881
|
-
"
|
1882
|
-
"
|
1883
|
-
"
|
1884
|
-
"
|
1885
|
-
"
|
1886
|
-
"
|
1887
|
-
"
|
1888
|
-
"
|
1951
|
+
"g": "bd2bef99e757d7bf",
|
1952
|
+
"ui": "26a45d43c064bdb6",
|
1953
|
+
"position": "top right",
|
1954
|
+
"colorDefault": true,
|
1955
|
+
"color": "#000000",
|
1956
|
+
"displayTime": "5",
|
1957
|
+
"showCountdown": true,
|
1958
|
+
"outputs": 1,
|
1959
|
+
"allowDismiss": true,
|
1960
|
+
"dismissText": "Close",
|
1961
|
+
"raw": true,
|
1962
|
+
"className": "",
|
1963
|
+
"name": "",
|
1964
|
+
"x": 850,
|
1965
|
+
"y": 760,
|
1966
|
+
"wires": [
|
1967
|
+
[]
|
1968
|
+
]
|
1889
1969
|
},
|
1890
1970
|
{
|
1891
|
-
"id": "
|
1971
|
+
"id": "1a237533ba8a9376",
|
1972
|
+
"type": "function",
|
1973
|
+
"z": "b195bc3ca2e1a665",
|
1974
|
+
"g": "bd2bef99e757d7bf",
|
1975
|
+
"name": "prepare info",
|
1976
|
+
"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;",
|
1977
|
+
"outputs": 1,
|
1978
|
+
"timeout": 0,
|
1979
|
+
"noerr": 0,
|
1980
|
+
"initialize": "",
|
1981
|
+
"finalize": "",
|
1982
|
+
"libs": [],
|
1983
|
+
"x": 630,
|
1984
|
+
"y": 760,
|
1985
|
+
"wires": [
|
1986
|
+
[
|
1987
|
+
"4f4ff5d35037207a"
|
1988
|
+
]
|
1989
|
+
]
|
1990
|
+
},
|
1991
|
+
{
|
1992
|
+
"id": "4813eab6c5a5faf9",
|
1993
|
+
"type": "usertask-input",
|
1994
|
+
"z": "b195bc3ca2e1a665",
|
1995
|
+
"g": "bd2bef99e757d7bf",
|
1996
|
+
"name": "",
|
1997
|
+
"engine": "d042a4c68f51d6ab",
|
1998
|
+
"multisend": false,
|
1999
|
+
"x": 400,
|
2000
|
+
"y": 760,
|
2001
|
+
"wires": [
|
2002
|
+
[
|
2003
|
+
"1a237533ba8a9376",
|
2004
|
+
"19184f75b76893d0"
|
2005
|
+
]
|
2006
|
+
]
|
2007
|
+
},
|
2008
|
+
{
|
2009
|
+
"id": "19184f75b76893d0",
|
1892
2010
|
"type": "debug",
|
1893
2011
|
"z": "b195bc3ca2e1a665",
|
1894
|
-
"g": "
|
1895
|
-
"name": "debug
|
2012
|
+
"g": "bd2bef99e757d7bf",
|
2013
|
+
"name": "debug 16",
|
1896
2014
|
"active": true,
|
1897
2015
|
"tosidebar": true,
|
1898
2016
|
"console": false,
|
@@ -1900,60 +2018,84 @@
|
|
1900
2018
|
"complete": "false",
|
1901
2019
|
"statusVal": "",
|
1902
2020
|
"statusType": "auto",
|
1903
|
-
"x":
|
1904
|
-
"y":
|
2021
|
+
"x": 620,
|
2022
|
+
"y": 700,
|
1905
2023
|
"wires": []
|
1906
2024
|
},
|
1907
2025
|
{
|
1908
|
-
"id": "
|
2026
|
+
"id": "915816cdb895af14",
|
1909
2027
|
"type": "switch",
|
1910
2028
|
"z": "b195bc3ca2e1a665",
|
1911
2029
|
"g": "ec36901abb138306",
|
1912
|
-
"name": "
|
1913
|
-
"property": "
|
2030
|
+
"name": "action == submit",
|
2031
|
+
"property": "payload.action",
|
1914
2032
|
"propertyType": "msg",
|
1915
2033
|
"rules": [
|
1916
2034
|
{
|
1917
2035
|
"t": "eq",
|
1918
|
-
"v": "
|
2036
|
+
"v": "submit",
|
1919
2037
|
"vt": "str"
|
1920
2038
|
}
|
1921
2039
|
],
|
1922
2040
|
"checkall": "true",
|
1923
2041
|
"repair": false,
|
1924
2042
|
"outputs": 1,
|
1925
|
-
"x":
|
1926
|
-
"y":
|
2043
|
+
"x": 950,
|
2044
|
+
"y": 580,
|
1927
2045
|
"wires": [
|
1928
2046
|
[
|
1929
|
-
"
|
2047
|
+
"51324058434239ba"
|
1930
2048
|
]
|
1931
2049
|
]
|
1932
2050
|
},
|
1933
2051
|
{
|
1934
|
-
"id": "
|
1935
|
-
"type": "
|
2052
|
+
"id": "51324058434239ba",
|
2053
|
+
"type": "usertask-output",
|
1936
2054
|
"z": "b195bc3ca2e1a665",
|
1937
|
-
"g": "
|
1938
|
-
"name": "
|
1939
|
-
"
|
1940
|
-
"
|
1941
|
-
"
|
1942
|
-
|
1943
|
-
|
1944
|
-
"
|
1945
|
-
|
1946
|
-
|
1947
|
-
|
1948
|
-
|
1949
|
-
"
|
2055
|
+
"g": "ec36901abb138306",
|
2056
|
+
"name": "",
|
2057
|
+
"engine": "d042a4c68f51d6ab",
|
2058
|
+
"x": 1060,
|
2059
|
+
"y": 520,
|
2060
|
+
"wires": [
|
2061
|
+
[
|
2062
|
+
"814ff7cf02987e14"
|
2063
|
+
]
|
2064
|
+
]
|
2065
|
+
},
|
2066
|
+
{
|
2067
|
+
"id": "814ff7cf02987e14",
|
2068
|
+
"type": "function",
|
2069
|
+
"z": "b195bc3ca2e1a665",
|
2070
|
+
"g": "ec36901abb138306",
|
2071
|
+
"name": "Seite Prozessliste",
|
2072
|
+
"func": "msg.payload = {\n page: \"Prozessliste\"\n};\nreturn msg;\n",
|
1950
2073
|
"outputs": 1,
|
1951
|
-
"
|
1952
|
-
"
|
2074
|
+
"timeout": 0,
|
2075
|
+
"noerr": 0,
|
2076
|
+
"initialize": "",
|
2077
|
+
"finalize": "",
|
2078
|
+
"libs": [],
|
2079
|
+
"x": 1270,
|
2080
|
+
"y": 520,
|
1953
2081
|
"wires": [
|
1954
2082
|
[
|
1955
|
-
"
|
2083
|
+
"0add5e307323845e"
|
1956
2084
|
]
|
1957
2085
|
]
|
2086
|
+
},
|
2087
|
+
{
|
2088
|
+
"id": "0add5e307323845e",
|
2089
|
+
"type": "ui-control",
|
2090
|
+
"z": "b195bc3ca2e1a665",
|
2091
|
+
"g": "ec36901abb138306",
|
2092
|
+
"name": "Seite navigation",
|
2093
|
+
"ui": "26a45d43c064bdb6",
|
2094
|
+
"events": "all",
|
2095
|
+
"x": 1480,
|
2096
|
+
"y": 520,
|
2097
|
+
"wires": [
|
2098
|
+
[]
|
2099
|
+
]
|
1958
2100
|
}
|
1959
2101
|
]
|
@@ -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,32 @@
|
|
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
|
+
},
|
170
195
|
{
|
171
196
|
"id": "d042a4c68f51d6ab",
|
172
197
|
"type": "processcube-engine-config",
|
@@ -258,6 +283,11 @@
|
|
258
283
|
"widgetGap": "12px"
|
259
284
|
}
|
260
285
|
},
|
286
|
+
{
|
287
|
+
"id": "42e6796dddd9d4db",
|
288
|
+
"type": "processcube-engine-config",
|
289
|
+
"url": "http://engine:8000"
|
290
|
+
},
|
261
291
|
{
|
262
292
|
"id": "84f18cf9bf25b858",
|
263
293
|
"type": "openApi-red",
|
@@ -1187,7 +1217,9 @@
|
|
1187
1217
|
"engine": "d042a4c68f51d6ab",
|
1188
1218
|
"x": 1020,
|
1189
1219
|
"y": 140,
|
1190
|
-
"wires": [
|
1220
|
+
"wires": [
|
1221
|
+
[]
|
1222
|
+
]
|
1191
1223
|
},
|
1192
1224
|
{
|
1193
1225
|
"id": "68cf69be67688af6",
|
@@ -1223,7 +1255,7 @@
|
|
1223
1255
|
"z": "fd3c725340de4f74",
|
1224
1256
|
"g": "f29182f397cab86b",
|
1225
1257
|
"name": "",
|
1226
|
-
"engine": "
|
1258
|
+
"engine": "42e6796dddd9d4db",
|
1227
1259
|
"multisend": false,
|
1228
1260
|
"x": 160,
|
1229
1261
|
"y": 500,
|
@@ -1404,7 +1436,7 @@
|
|
1404
1436
|
"g": "b60e94a5f1ee2790",
|
1405
1437
|
"name": "",
|
1406
1438
|
"engine": "d042a4c68f51d6ab",
|
1407
|
-
"multisend":
|
1439
|
+
"multisend": true,
|
1408
1440
|
"x": 400,
|
1409
1441
|
"y": 660,
|
1410
1442
|
"wires": [
|
@@ -1623,23 +1655,6 @@
|
|
1623
1655
|
]
|
1624
1656
|
]
|
1625
1657
|
},
|
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
1658
|
{
|
1644
1659
|
"id": "6ce155bbaaba083f",
|
1645
1660
|
"type": "comment",
|
@@ -1750,36 +1765,6 @@
|
|
1750
1765
|
]
|
1751
1766
|
]
|
1752
1767
|
},
|
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
1768
|
{
|
1784
1769
|
"id": "1497b762d2ac1723",
|
1785
1770
|
"type": "function",
|
@@ -1793,12 +1778,11 @@
|
|
1793
1778
|
"initialize": "",
|
1794
1779
|
"finalize": "",
|
1795
1780
|
"libs": [],
|
1796
|
-
"x":
|
1797
|
-
"y":
|
1781
|
+
"x": 570,
|
1782
|
+
"y": 520,
|
1798
1783
|
"wires": [
|
1799
1784
|
[
|
1800
|
-
"eee38d2764bac337"
|
1801
|
-
"5d8b5657929f658a"
|
1785
|
+
"eee38d2764bac337"
|
1802
1786
|
]
|
1803
1787
|
]
|
1804
1788
|
},
|
@@ -1809,8 +1793,8 @@
|
|
1809
1793
|
"g": "ec36901abb138306",
|
1810
1794
|
"ui": "26a45d43c064bdb6",
|
1811
1795
|
"name": "",
|
1812
|
-
"x":
|
1813
|
-
"y":
|
1796
|
+
"x": 100,
|
1797
|
+
"y": 520,
|
1814
1798
|
"wires": [
|
1815
1799
|
[
|
1816
1800
|
"a4d741804929ba73"
|
@@ -1835,8 +1819,8 @@
|
|
1835
1819
|
"checkall": "true",
|
1836
1820
|
"repair": false,
|
1837
1821
|
"outputs": 1,
|
1838
|
-
"x":
|
1839
|
-
"y":
|
1822
|
+
"x": 300,
|
1823
|
+
"y": 580,
|
1840
1824
|
"wires": [
|
1841
1825
|
[
|
1842
1826
|
"1497b762d2ac1723"
|
@@ -1857,80 +1841,176 @@
|
|
1857
1841
|
"cancel_title": "Cancel your task",
|
1858
1842
|
"width": 0,
|
1859
1843
|
"height": 0,
|
1860
|
-
"x":
|
1844
|
+
"x": 820,
|
1861
1845
|
"y": 520,
|
1862
1846
|
"wires": [
|
1863
1847
|
[
|
1864
|
-
"
|
1848
|
+
"915816cdb895af14"
|
1865
1849
|
]
|
1866
1850
|
]
|
1867
1851
|
},
|
1868
1852
|
{
|
1869
|
-
"id": "
|
1870
|
-
"type": "
|
1853
|
+
"id": "eee38d2764bac337",
|
1854
|
+
"type": "usertask-input",
|
1871
1855
|
"z": "b195bc3ca2e1a665",
|
1872
1856
|
"g": "ec36901abb138306",
|
1873
1857
|
"name": "",
|
1874
|
-
"
|
1858
|
+
"engine": "d042a4c68f51d6ab",
|
1859
|
+
"multisend": false,
|
1860
|
+
"x": 560,
|
1861
|
+
"y": 580,
|
1862
|
+
"wires": [
|
1863
|
+
[
|
1864
|
+
"8e2a2f993ee7156a"
|
1865
|
+
]
|
1866
|
+
]
|
1867
|
+
},
|
1868
|
+
{
|
1869
|
+
"id": "a4d741804929ba73",
|
1870
|
+
"type": "switch",
|
1871
|
+
"z": "b195bc3ca2e1a665",
|
1872
|
+
"g": "ec36901abb138306",
|
1873
|
+
"name": "Seite sichtbar",
|
1874
|
+
"property": "topic",
|
1875
|
+
"propertyType": "msg",
|
1876
|
+
"rules": [
|
1875
1877
|
{
|
1876
|
-
"
|
1878
|
+
"t": "eq",
|
1879
|
+
"v": "$pageview",
|
1880
|
+
"vt": "str"
|
1877
1881
|
}
|
1878
1882
|
],
|
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,
|
1883
|
+
"checkall": "true",
|
1884
|
+
"repair": false,
|
1885
|
+
"outputs": 1,
|
1886
|
+
"x": 280,
|
1887
1887
|
"y": 520,
|
1888
1888
|
"wires": [
|
1889
1889
|
[
|
1890
|
-
"
|
1890
|
+
"34984ae3f4e83b0b"
|
1891
1891
|
]
|
1892
1892
|
]
|
1893
1893
|
},
|
1894
1894
|
{
|
1895
|
-
"id": "
|
1896
|
-
"type": "
|
1895
|
+
"id": "111c8606ea343c1f",
|
1896
|
+
"type": "switch",
|
1897
1897
|
"z": "b195bc3ca2e1a665",
|
1898
|
-
"g": "
|
1898
|
+
"g": "09cdc14cfb8ad687",
|
1899
|
+
"name": "Seite sichtbar",
|
1900
|
+
"property": "topic",
|
1901
|
+
"propertyType": "msg",
|
1902
|
+
"rules": [
|
1903
|
+
{
|
1904
|
+
"t": "eq",
|
1905
|
+
"v": "$pageview",
|
1906
|
+
"vt": "str"
|
1907
|
+
}
|
1908
|
+
],
|
1909
|
+
"checkall": "true",
|
1910
|
+
"repair": false,
|
1911
|
+
"outputs": 1,
|
1912
|
+
"x": 280,
|
1913
|
+
"y": 360,
|
1914
|
+
"wires": [
|
1915
|
+
[
|
1916
|
+
"2b3f33b7a9dceb49"
|
1917
|
+
]
|
1918
|
+
]
|
1919
|
+
},
|
1920
|
+
{
|
1921
|
+
"id": "3ad37ecdb59b7314",
|
1922
|
+
"type": "comment",
|
1923
|
+
"z": "b195bc3ca2e1a665",
|
1924
|
+
"g": "bd2bef99e757d7bf",
|
1925
|
+
"name": "Message für neue UserTasks",
|
1926
|
+
"info": "",
|
1927
|
+
"x": 160,
|
1928
|
+
"y": 680,
|
1929
|
+
"wires": []
|
1930
|
+
},
|
1931
|
+
{
|
1932
|
+
"id": "54a2572d4a48cf34",
|
1933
|
+
"type": "usertask-new-listener",
|
1934
|
+
"z": "b195bc3ca2e1a665",
|
1935
|
+
"g": "bd2bef99e757d7bf",
|
1899
1936
|
"name": "",
|
1900
1937
|
"engine": "d042a4c68f51d6ab",
|
1901
1938
|
"multisend": false,
|
1902
|
-
"x":
|
1903
|
-
"y":
|
1939
|
+
"x": 140,
|
1940
|
+
"y": 760,
|
1904
1941
|
"wires": [
|
1905
1942
|
[
|
1906
|
-
"
|
1907
|
-
"8e2a2f993ee7156a"
|
1943
|
+
"4813eab6c5a5faf9"
|
1908
1944
|
]
|
1909
1945
|
]
|
1910
1946
|
},
|
1911
1947
|
{
|
1912
|
-
"id": "
|
1913
|
-
"type": "
|
1948
|
+
"id": "4f4ff5d35037207a",
|
1949
|
+
"type": "ui-notification",
|
1914
1950
|
"z": "b195bc3ca2e1a665",
|
1915
|
-
"g": "
|
1916
|
-
"
|
1917
|
-
"
|
1918
|
-
"
|
1919
|
-
"
|
1920
|
-
"
|
1921
|
-
"
|
1922
|
-
"
|
1923
|
-
"
|
1924
|
-
"
|
1925
|
-
"
|
1926
|
-
"
|
1951
|
+
"g": "bd2bef99e757d7bf",
|
1952
|
+
"ui": "26a45d43c064bdb6",
|
1953
|
+
"position": "top right",
|
1954
|
+
"colorDefault": true,
|
1955
|
+
"color": "#000000",
|
1956
|
+
"displayTime": "5",
|
1957
|
+
"showCountdown": true,
|
1958
|
+
"outputs": 1,
|
1959
|
+
"allowDismiss": true,
|
1960
|
+
"dismissText": "Close",
|
1961
|
+
"raw": true,
|
1962
|
+
"className": "",
|
1963
|
+
"name": "",
|
1964
|
+
"x": 750,
|
1965
|
+
"y": 760,
|
1966
|
+
"wires": [
|
1967
|
+
[]
|
1968
|
+
]
|
1969
|
+
},
|
1970
|
+
{
|
1971
|
+
"id": "1a237533ba8a9376",
|
1972
|
+
"type": "function",
|
1973
|
+
"z": "b195bc3ca2e1a665",
|
1974
|
+
"g": "bd2bef99e757d7bf",
|
1975
|
+
"name": "prepare info",
|
1976
|
+
"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;",
|
1977
|
+
"outputs": 1,
|
1978
|
+
"timeout": 0,
|
1979
|
+
"noerr": 0,
|
1980
|
+
"initialize": "",
|
1981
|
+
"finalize": "",
|
1982
|
+
"libs": [],
|
1983
|
+
"x": 550,
|
1984
|
+
"y": 760,
|
1985
|
+
"wires": [
|
1986
|
+
[
|
1987
|
+
"4f4ff5d35037207a"
|
1988
|
+
]
|
1989
|
+
]
|
1927
1990
|
},
|
1928
1991
|
{
|
1929
|
-
"id": "
|
1992
|
+
"id": "4813eab6c5a5faf9",
|
1993
|
+
"type": "usertask-input",
|
1994
|
+
"z": "b195bc3ca2e1a665",
|
1995
|
+
"g": "bd2bef99e757d7bf",
|
1996
|
+
"name": "",
|
1997
|
+
"engine": "d042a4c68f51d6ab",
|
1998
|
+
"multisend": false,
|
1999
|
+
"x": 360,
|
2000
|
+
"y": 760,
|
2001
|
+
"wires": [
|
2002
|
+
[
|
2003
|
+
"1a237533ba8a9376",
|
2004
|
+
"19184f75b76893d0"
|
2005
|
+
]
|
2006
|
+
]
|
2007
|
+
},
|
2008
|
+
{
|
2009
|
+
"id": "19184f75b76893d0",
|
1930
2010
|
"type": "debug",
|
1931
2011
|
"z": "b195bc3ca2e1a665",
|
1932
|
-
"g": "
|
1933
|
-
"name": "debug
|
2012
|
+
"g": "bd2bef99e757d7bf",
|
2013
|
+
"name": "debug 16",
|
1934
2014
|
"active": true,
|
1935
2015
|
"tosidebar": true,
|
1936
2016
|
"console": false,
|
@@ -1938,60 +2018,84 @@
|
|
1938
2018
|
"complete": "false",
|
1939
2019
|
"statusVal": "",
|
1940
2020
|
"statusType": "auto",
|
1941
|
-
"x":
|
1942
|
-
"y":
|
2021
|
+
"x": 540,
|
2022
|
+
"y": 700,
|
1943
2023
|
"wires": []
|
1944
2024
|
},
|
1945
2025
|
{
|
1946
|
-
"id": "
|
2026
|
+
"id": "915816cdb895af14",
|
1947
2027
|
"type": "switch",
|
1948
2028
|
"z": "b195bc3ca2e1a665",
|
1949
2029
|
"g": "ec36901abb138306",
|
1950
|
-
"name": "
|
1951
|
-
"property": "
|
2030
|
+
"name": "action == submit",
|
2031
|
+
"property": "payload.action",
|
1952
2032
|
"propertyType": "msg",
|
1953
2033
|
"rules": [
|
1954
2034
|
{
|
1955
2035
|
"t": "eq",
|
1956
|
-
"v": "
|
2036
|
+
"v": "submit",
|
1957
2037
|
"vt": "str"
|
1958
2038
|
}
|
1959
2039
|
],
|
1960
2040
|
"checkall": "true",
|
1961
2041
|
"repair": false,
|
1962
2042
|
"outputs": 1,
|
1963
|
-
"x":
|
1964
|
-
"y":
|
2043
|
+
"x": 950,
|
2044
|
+
"y": 580,
|
1965
2045
|
"wires": [
|
1966
2046
|
[
|
1967
|
-
"
|
2047
|
+
"51324058434239ba"
|
1968
2048
|
]
|
1969
2049
|
]
|
1970
2050
|
},
|
1971
2051
|
{
|
1972
|
-
"id": "
|
1973
|
-
"type": "
|
2052
|
+
"id": "51324058434239ba",
|
2053
|
+
"type": "usertask-output",
|
1974
2054
|
"z": "b195bc3ca2e1a665",
|
1975
|
-
"g": "
|
1976
|
-
"name": "
|
1977
|
-
"
|
1978
|
-
"
|
1979
|
-
"
|
1980
|
-
|
1981
|
-
|
1982
|
-
"
|
1983
|
-
|
1984
|
-
|
1985
|
-
|
1986
|
-
|
1987
|
-
"
|
2055
|
+
"g": "ec36901abb138306",
|
2056
|
+
"name": "",
|
2057
|
+
"engine": "d042a4c68f51d6ab",
|
2058
|
+
"x": 1060,
|
2059
|
+
"y": 520,
|
2060
|
+
"wires": [
|
2061
|
+
[
|
2062
|
+
"814ff7cf02987e14"
|
2063
|
+
]
|
2064
|
+
]
|
2065
|
+
},
|
2066
|
+
{
|
2067
|
+
"id": "814ff7cf02987e14",
|
2068
|
+
"type": "function",
|
2069
|
+
"z": "b195bc3ca2e1a665",
|
2070
|
+
"g": "ec36901abb138306",
|
2071
|
+
"name": "Seite Prozessliste",
|
2072
|
+
"func": "msg.payload = {\n page: \"Prozessliste\"\n};\nreturn msg;\n",
|
1988
2073
|
"outputs": 1,
|
1989
|
-
"
|
1990
|
-
"
|
2074
|
+
"timeout": 0,
|
2075
|
+
"noerr": 0,
|
2076
|
+
"initialize": "",
|
2077
|
+
"finalize": "",
|
2078
|
+
"libs": [],
|
2079
|
+
"x": 1270,
|
2080
|
+
"y": 520,
|
1991
2081
|
"wires": [
|
1992
2082
|
[
|
1993
|
-
"
|
2083
|
+
"0add5e307323845e"
|
1994
2084
|
]
|
1995
2085
|
]
|
2086
|
+
},
|
2087
|
+
{
|
2088
|
+
"id": "0add5e307323845e",
|
2089
|
+
"type": "ui-control",
|
2090
|
+
"z": "b195bc3ca2e1a665",
|
2091
|
+
"g": "ec36901abb138306",
|
2092
|
+
"name": "Seite navigation",
|
2093
|
+
"ui": "26a45d43c064bdb6",
|
2094
|
+
"events": "all",
|
2095
|
+
"x": 1480,
|
2096
|
+
"y": 520,
|
2097
|
+
"wires": [
|
2098
|
+
[]
|
2099
|
+
]
|
1996
2100
|
}
|
1997
2101
|
]
|
package/package.json
CHANGED
package/usertask-input.js
CHANGED
@@ -47,8 +47,6 @@ module.exports = function(RED) {
|
|
47
47
|
|
48
48
|
let query = msg.payload;
|
49
49
|
|
50
|
-
console.log(`UserTaskInput query: ${JSON.stringify(query)}`);
|
51
|
-
|
52
50
|
client.userTasks.query(query).then((matchingFlowNodes) => {
|
53
51
|
|
54
52
|
console.log(`UserTaskInput query result: ${JSON.stringify(matchingFlowNodes)}`);
|
package/usertask-output.html
CHANGED
package/usertask-output.js
CHANGED
@@ -39,6 +39,8 @@ module.exports = function(RED) {
|
|
39
39
|
|
40
40
|
client.userTasks.finishUserTask(flowNodeInstanceId, userTaskResult).then(() => {
|
41
41
|
console.log(`UserTask with id ${flowNodeInstanceId} finished.`);
|
42
|
+
|
43
|
+
node.send(msg);
|
42
44
|
});
|
43
45
|
} else {
|
44
46
|
console.log(`No UserTask found in message: ${JSON.stringify(msg.payload)}`);
|