@5minds/node-red-contrib-processcube 0.3.5-feature-3e7fb8-lxi56r4q → 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,
|
@@ -1347,6 +1403,76 @@
|
|
1347
1403
|
"y": 440,
|
1348
1404
|
"wires": []
|
1349
1405
|
},
|
1406
|
+
{
|
1407
|
+
"id": "5cc47f646e818d1e",
|
1408
|
+
"type": "inject",
|
1409
|
+
"z": "fd3c725340de4f74",
|
1410
|
+
"g": "b60e94a5f1ee2790",
|
1411
|
+
"name": "Parameter setzen",
|
1412
|
+
"props": [
|
1413
|
+
{
|
1414
|
+
"p": "payload"
|
1415
|
+
}
|
1416
|
+
],
|
1417
|
+
"repeat": "",
|
1418
|
+
"crontab": "",
|
1419
|
+
"once": false,
|
1420
|
+
"onceDelay": 0.1,
|
1421
|
+
"topic": "",
|
1422
|
+
"payload": "{\t \"state\": \"suspended\"\t}",
|
1423
|
+
"payloadType": "jsonata",
|
1424
|
+
"x": 160,
|
1425
|
+
"y": 660,
|
1426
|
+
"wires": [
|
1427
|
+
[
|
1428
|
+
"66b90cf83a531a75"
|
1429
|
+
]
|
1430
|
+
]
|
1431
|
+
},
|
1432
|
+
{
|
1433
|
+
"id": "66b90cf83a531a75",
|
1434
|
+
"type": "usertask-input",
|
1435
|
+
"z": "fd3c725340de4f74",
|
1436
|
+
"g": "b60e94a5f1ee2790",
|
1437
|
+
"name": "",
|
1438
|
+
"engine": "d042a4c68f51d6ab",
|
1439
|
+
"multisend": true,
|
1440
|
+
"x": 400,
|
1441
|
+
"y": 660,
|
1442
|
+
"wires": [
|
1443
|
+
[
|
1444
|
+
"e002a108a6c7df75"
|
1445
|
+
]
|
1446
|
+
]
|
1447
|
+
},
|
1448
|
+
{
|
1449
|
+
"id": "e002a108a6c7df75",
|
1450
|
+
"type": "debug",
|
1451
|
+
"z": "fd3c725340de4f74",
|
1452
|
+
"g": "b60e94a5f1ee2790",
|
1453
|
+
"name": "debug 15",
|
1454
|
+
"active": true,
|
1455
|
+
"tosidebar": true,
|
1456
|
+
"console": false,
|
1457
|
+
"tostatus": false,
|
1458
|
+
"complete": "false",
|
1459
|
+
"statusVal": "",
|
1460
|
+
"statusType": "auto",
|
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,
|
1474
|
+
"wires": []
|
1475
|
+
},
|
1350
1476
|
{
|
1351
1477
|
"id": "0f5978f327b01bfb",
|
1352
1478
|
"type": "ui-table",
|
@@ -1529,23 +1655,6 @@
|
|
1529
1655
|
]
|
1530
1656
|
]
|
1531
1657
|
},
|
1532
|
-
{
|
1533
|
-
"id": "1224ebb8edb477d2",
|
1534
|
-
"type": "debug",
|
1535
|
-
"z": "b195bc3ca2e1a665",
|
1536
|
-
"g": "ec36901abb138306",
|
1537
|
-
"name": "debug 3",
|
1538
|
-
"active": true,
|
1539
|
-
"tosidebar": true,
|
1540
|
-
"console": false,
|
1541
|
-
"tostatus": false,
|
1542
|
-
"complete": "false",
|
1543
|
-
"statusVal": "",
|
1544
|
-
"statusType": "auto",
|
1545
|
-
"x": 860,
|
1546
|
-
"y": 520,
|
1547
|
-
"wires": []
|
1548
|
-
},
|
1549
1658
|
{
|
1550
1659
|
"id": "6ce155bbaaba083f",
|
1551
1660
|
"type": "comment",
|
@@ -1656,36 +1765,6 @@
|
|
1656
1765
|
]
|
1657
1766
|
]
|
1658
1767
|
},
|
1659
|
-
{
|
1660
|
-
"id": "5a61ca5b5a13aa8d",
|
1661
|
-
"type": "inject",
|
1662
|
-
"z": "b195bc3ca2e1a665",
|
1663
|
-
"g": "ec36901abb138306",
|
1664
|
-
"name": "",
|
1665
|
-
"props": [
|
1666
|
-
{
|
1667
|
-
"p": "payload"
|
1668
|
-
},
|
1669
|
-
{
|
1670
|
-
"p": "topic",
|
1671
|
-
"vt": "str"
|
1672
|
-
}
|
1673
|
-
],
|
1674
|
-
"repeat": "",
|
1675
|
-
"crontab": "",
|
1676
|
-
"once": false,
|
1677
|
-
"onceDelay": 0.1,
|
1678
|
-
"topic": "",
|
1679
|
-
"payload": "",
|
1680
|
-
"payloadType": "date",
|
1681
|
-
"x": 120,
|
1682
|
-
"y": 660,
|
1683
|
-
"wires": [
|
1684
|
-
[
|
1685
|
-
"1497b762d2ac1723"
|
1686
|
-
]
|
1687
|
-
]
|
1688
|
-
},
|
1689
1768
|
{
|
1690
1769
|
"id": "1497b762d2ac1723",
|
1691
1770
|
"type": "function",
|
@@ -1699,12 +1778,11 @@
|
|
1699
1778
|
"initialize": "",
|
1700
1779
|
"finalize": "",
|
1701
1780
|
"libs": [],
|
1702
|
-
"x":
|
1703
|
-
"y":
|
1781
|
+
"x": 570,
|
1782
|
+
"y": 520,
|
1704
1783
|
"wires": [
|
1705
1784
|
[
|
1706
|
-
"eee38d2764bac337"
|
1707
|
-
"5d8b5657929f658a"
|
1785
|
+
"eee38d2764bac337"
|
1708
1786
|
]
|
1709
1787
|
]
|
1710
1788
|
},
|
@@ -1715,8 +1793,8 @@
|
|
1715
1793
|
"g": "ec36901abb138306",
|
1716
1794
|
"ui": "26a45d43c064bdb6",
|
1717
1795
|
"name": "",
|
1718
|
-
"x":
|
1719
|
-
"y":
|
1796
|
+
"x": 100,
|
1797
|
+
"y": 520,
|
1720
1798
|
"wires": [
|
1721
1799
|
[
|
1722
1800
|
"a4d741804929ba73"
|
@@ -1741,8 +1819,8 @@
|
|
1741
1819
|
"checkall": "true",
|
1742
1820
|
"repair": false,
|
1743
1821
|
"outputs": 1,
|
1744
|
-
"x":
|
1745
|
-
"y":
|
1822
|
+
"x": 300,
|
1823
|
+
"y": 580,
|
1746
1824
|
"wires": [
|
1747
1825
|
[
|
1748
1826
|
"1497b762d2ac1723"
|
@@ -1763,79 +1841,176 @@
|
|
1763
1841
|
"cancel_title": "Cancel your task",
|
1764
1842
|
"width": 0,
|
1765
1843
|
"height": 0,
|
1766
|
-
"x":
|
1844
|
+
"x": 820,
|
1767
1845
|
"y": 520,
|
1768
1846
|
"wires": [
|
1769
1847
|
[
|
1770
|
-
"
|
1848
|
+
"915816cdb895af14"
|
1771
1849
|
]
|
1772
1850
|
]
|
1773
1851
|
},
|
1774
1852
|
{
|
1775
|
-
"id": "
|
1776
|
-
"type": "
|
1853
|
+
"id": "eee38d2764bac337",
|
1854
|
+
"type": "usertask-input",
|
1777
1855
|
"z": "b195bc3ca2e1a665",
|
1778
1856
|
"g": "ec36901abb138306",
|
1779
1857
|
"name": "",
|
1780
|
-
"
|
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": [
|
1781
1877
|
{
|
1782
|
-
"
|
1878
|
+
"t": "eq",
|
1879
|
+
"v": "$pageview",
|
1880
|
+
"vt": "str"
|
1783
1881
|
}
|
1784
1882
|
],
|
1785
|
-
"
|
1786
|
-
"
|
1787
|
-
"
|
1788
|
-
"
|
1789
|
-
"topic": "",
|
1790
|
-
"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\"}]}}}",
|
1791
|
-
"payloadType": "json",
|
1792
|
-
"x": 250,
|
1883
|
+
"checkall": "true",
|
1884
|
+
"repair": false,
|
1885
|
+
"outputs": 1,
|
1886
|
+
"x": 280,
|
1793
1887
|
"y": 520,
|
1794
1888
|
"wires": [
|
1795
1889
|
[
|
1796
|
-
"
|
1890
|
+
"34984ae3f4e83b0b"
|
1797
1891
|
]
|
1798
1892
|
]
|
1799
1893
|
},
|
1800
1894
|
{
|
1801
|
-
"id": "
|
1802
|
-
"type": "
|
1895
|
+
"id": "111c8606ea343c1f",
|
1896
|
+
"type": "switch",
|
1803
1897
|
"z": "b195bc3ca2e1a665",
|
1804
|
-
"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",
|
1805
1936
|
"name": "",
|
1806
1937
|
"engine": "d042a4c68f51d6ab",
|
1807
1938
|
"multisend": false,
|
1808
|
-
"x":
|
1809
|
-
"y":
|
1939
|
+
"x": 140,
|
1940
|
+
"y": 760,
|
1810
1941
|
"wires": [
|
1811
1942
|
[
|
1812
|
-
"
|
1943
|
+
"4813eab6c5a5faf9"
|
1813
1944
|
]
|
1814
1945
|
]
|
1815
1946
|
},
|
1816
1947
|
{
|
1817
|
-
"id": "
|
1818
|
-
"type": "
|
1948
|
+
"id": "4f4ff5d35037207a",
|
1949
|
+
"type": "ui-notification",
|
1819
1950
|
"z": "b195bc3ca2e1a665",
|
1820
|
-
"g": "
|
1821
|
-
"
|
1822
|
-
"
|
1823
|
-
"
|
1824
|
-
"
|
1825
|
-
"
|
1826
|
-
"
|
1827
|
-
"
|
1828
|
-
"
|
1829
|
-
"
|
1830
|
-
"
|
1831
|
-
"
|
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
|
+
]
|
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": 630,
|
1984
|
+
"y": 760,
|
1985
|
+
"wires": [
|
1986
|
+
[
|
1987
|
+
"4f4ff5d35037207a"
|
1988
|
+
]
|
1989
|
+
]
|
1832
1990
|
},
|
1833
1991
|
{
|
1834
|
-
"id": "
|
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",
|
1835
2010
|
"type": "debug",
|
1836
2011
|
"z": "b195bc3ca2e1a665",
|
1837
|
-
"g": "
|
1838
|
-
"name": "debug
|
2012
|
+
"g": "bd2bef99e757d7bf",
|
2013
|
+
"name": "debug 16",
|
1839
2014
|
"active": true,
|
1840
2015
|
"tosidebar": true,
|
1841
2016
|
"console": false,
|
@@ -1843,60 +2018,84 @@
|
|
1843
2018
|
"complete": "false",
|
1844
2019
|
"statusVal": "",
|
1845
2020
|
"statusType": "auto",
|
1846
|
-
"x":
|
1847
|
-
"y":
|
2021
|
+
"x": 620,
|
2022
|
+
"y": 700,
|
1848
2023
|
"wires": []
|
1849
2024
|
},
|
1850
2025
|
{
|
1851
|
-
"id": "
|
2026
|
+
"id": "915816cdb895af14",
|
1852
2027
|
"type": "switch",
|
1853
2028
|
"z": "b195bc3ca2e1a665",
|
1854
2029
|
"g": "ec36901abb138306",
|
1855
|
-
"name": "
|
1856
|
-
"property": "
|
2030
|
+
"name": "action == submit",
|
2031
|
+
"property": "payload.action",
|
1857
2032
|
"propertyType": "msg",
|
1858
2033
|
"rules": [
|
1859
2034
|
{
|
1860
2035
|
"t": "eq",
|
1861
|
-
"v": "
|
2036
|
+
"v": "submit",
|
1862
2037
|
"vt": "str"
|
1863
2038
|
}
|
1864
2039
|
],
|
1865
2040
|
"checkall": "true",
|
1866
2041
|
"repair": false,
|
1867
2042
|
"outputs": 1,
|
1868
|
-
"x":
|
1869
|
-
"y":
|
2043
|
+
"x": 950,
|
2044
|
+
"y": 580,
|
1870
2045
|
"wires": [
|
1871
2046
|
[
|
1872
|
-
"
|
2047
|
+
"51324058434239ba"
|
1873
2048
|
]
|
1874
2049
|
]
|
1875
2050
|
},
|
1876
2051
|
{
|
1877
|
-
"id": "
|
1878
|
-
"type": "
|
2052
|
+
"id": "51324058434239ba",
|
2053
|
+
"type": "usertask-output",
|
1879
2054
|
"z": "b195bc3ca2e1a665",
|
1880
|
-
"g": "
|
1881
|
-
"name": "
|
1882
|
-
"
|
1883
|
-
"
|
1884
|
-
"
|
1885
|
-
|
1886
|
-
|
1887
|
-
"
|
1888
|
-
|
1889
|
-
|
1890
|
-
|
1891
|
-
|
1892
|
-
"
|
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",
|
1893
2073
|
"outputs": 1,
|
1894
|
-
"
|
1895
|
-
"
|
2074
|
+
"timeout": 0,
|
2075
|
+
"noerr": 0,
|
2076
|
+
"initialize": "",
|
2077
|
+
"finalize": "",
|
2078
|
+
"libs": [],
|
2079
|
+
"x": 1270,
|
2080
|
+
"y": 520,
|
1896
2081
|
"wires": [
|
1897
2082
|
[
|
1898
|
-
"
|
2083
|
+
"0add5e307323845e"
|
1899
2084
|
]
|
1900
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
|
+
]
|
1901
2100
|
}
|
1902
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",
|
@@ -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": 852,
|
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,
|
@@ -1347,6 +1403,76 @@
|
|
1347
1403
|
"y": 440,
|
1348
1404
|
"wires": []
|
1349
1405
|
},
|
1406
|
+
{
|
1407
|
+
"id": "5cc47f646e818d1e",
|
1408
|
+
"type": "inject",
|
1409
|
+
"z": "fd3c725340de4f74",
|
1410
|
+
"g": "b60e94a5f1ee2790",
|
1411
|
+
"name": "Parameter setzen",
|
1412
|
+
"props": [
|
1413
|
+
{
|
1414
|
+
"p": "payload"
|
1415
|
+
}
|
1416
|
+
],
|
1417
|
+
"repeat": "",
|
1418
|
+
"crontab": "",
|
1419
|
+
"once": false,
|
1420
|
+
"onceDelay": 0.1,
|
1421
|
+
"topic": "",
|
1422
|
+
"payload": "{\t \"state\": \"suspended\"\t}",
|
1423
|
+
"payloadType": "jsonata",
|
1424
|
+
"x": 160,
|
1425
|
+
"y": 660,
|
1426
|
+
"wires": [
|
1427
|
+
[
|
1428
|
+
"66b90cf83a531a75"
|
1429
|
+
]
|
1430
|
+
]
|
1431
|
+
},
|
1432
|
+
{
|
1433
|
+
"id": "66b90cf83a531a75",
|
1434
|
+
"type": "usertask-input",
|
1435
|
+
"z": "fd3c725340de4f74",
|
1436
|
+
"g": "b60e94a5f1ee2790",
|
1437
|
+
"name": "",
|
1438
|
+
"engine": "d042a4c68f51d6ab",
|
1439
|
+
"multisend": true,
|
1440
|
+
"x": 400,
|
1441
|
+
"y": 660,
|
1442
|
+
"wires": [
|
1443
|
+
[
|
1444
|
+
"e002a108a6c7df75"
|
1445
|
+
]
|
1446
|
+
]
|
1447
|
+
},
|
1448
|
+
{
|
1449
|
+
"id": "e002a108a6c7df75",
|
1450
|
+
"type": "debug",
|
1451
|
+
"z": "fd3c725340de4f74",
|
1452
|
+
"g": "b60e94a5f1ee2790",
|
1453
|
+
"name": "debug 15",
|
1454
|
+
"active": true,
|
1455
|
+
"tosidebar": true,
|
1456
|
+
"console": false,
|
1457
|
+
"tostatus": false,
|
1458
|
+
"complete": "false",
|
1459
|
+
"statusVal": "",
|
1460
|
+
"statusType": "auto",
|
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,
|
1474
|
+
"wires": []
|
1475
|
+
},
|
1350
1476
|
{
|
1351
1477
|
"id": "0f5978f327b01bfb",
|
1352
1478
|
"type": "ui-table",
|
@@ -1529,23 +1655,6 @@
|
|
1529
1655
|
]
|
1530
1656
|
]
|
1531
1657
|
},
|
1532
|
-
{
|
1533
|
-
"id": "1224ebb8edb477d2",
|
1534
|
-
"type": "debug",
|
1535
|
-
"z": "b195bc3ca2e1a665",
|
1536
|
-
"g": "ec36901abb138306",
|
1537
|
-
"name": "debug 3",
|
1538
|
-
"active": true,
|
1539
|
-
"tosidebar": true,
|
1540
|
-
"console": false,
|
1541
|
-
"tostatus": false,
|
1542
|
-
"complete": "false",
|
1543
|
-
"statusVal": "",
|
1544
|
-
"statusType": "auto",
|
1545
|
-
"x": 860,
|
1546
|
-
"y": 520,
|
1547
|
-
"wires": []
|
1548
|
-
},
|
1549
1658
|
{
|
1550
1659
|
"id": "6ce155bbaaba083f",
|
1551
1660
|
"type": "comment",
|
@@ -1656,36 +1765,6 @@
|
|
1656
1765
|
]
|
1657
1766
|
]
|
1658
1767
|
},
|
1659
|
-
{
|
1660
|
-
"id": "5a61ca5b5a13aa8d",
|
1661
|
-
"type": "inject",
|
1662
|
-
"z": "b195bc3ca2e1a665",
|
1663
|
-
"g": "ec36901abb138306",
|
1664
|
-
"name": "",
|
1665
|
-
"props": [
|
1666
|
-
{
|
1667
|
-
"p": "payload"
|
1668
|
-
},
|
1669
|
-
{
|
1670
|
-
"p": "topic",
|
1671
|
-
"vt": "str"
|
1672
|
-
}
|
1673
|
-
],
|
1674
|
-
"repeat": "",
|
1675
|
-
"crontab": "",
|
1676
|
-
"once": false,
|
1677
|
-
"onceDelay": 0.1,
|
1678
|
-
"topic": "",
|
1679
|
-
"payload": "",
|
1680
|
-
"payloadType": "date",
|
1681
|
-
"x": 120,
|
1682
|
-
"y": 660,
|
1683
|
-
"wires": [
|
1684
|
-
[
|
1685
|
-
"1497b762d2ac1723"
|
1686
|
-
]
|
1687
|
-
]
|
1688
|
-
},
|
1689
1768
|
{
|
1690
1769
|
"id": "1497b762d2ac1723",
|
1691
1770
|
"type": "function",
|
@@ -1699,12 +1778,11 @@
|
|
1699
1778
|
"initialize": "",
|
1700
1779
|
"finalize": "",
|
1701
1780
|
"libs": [],
|
1702
|
-
"x":
|
1703
|
-
"y":
|
1781
|
+
"x": 570,
|
1782
|
+
"y": 520,
|
1704
1783
|
"wires": [
|
1705
1784
|
[
|
1706
|
-
"eee38d2764bac337"
|
1707
|
-
"5d8b5657929f658a"
|
1785
|
+
"eee38d2764bac337"
|
1708
1786
|
]
|
1709
1787
|
]
|
1710
1788
|
},
|
@@ -1715,8 +1793,8 @@
|
|
1715
1793
|
"g": "ec36901abb138306",
|
1716
1794
|
"ui": "26a45d43c064bdb6",
|
1717
1795
|
"name": "",
|
1718
|
-
"x":
|
1719
|
-
"y":
|
1796
|
+
"x": 100,
|
1797
|
+
"y": 520,
|
1720
1798
|
"wires": [
|
1721
1799
|
[
|
1722
1800
|
"a4d741804929ba73"
|
@@ -1741,8 +1819,8 @@
|
|
1741
1819
|
"checkall": "true",
|
1742
1820
|
"repair": false,
|
1743
1821
|
"outputs": 1,
|
1744
|
-
"x":
|
1745
|
-
"y":
|
1822
|
+
"x": 300,
|
1823
|
+
"y": 580,
|
1746
1824
|
"wires": [
|
1747
1825
|
[
|
1748
1826
|
"1497b762d2ac1723"
|
@@ -1763,80 +1841,176 @@
|
|
1763
1841
|
"cancel_title": "Cancel your task",
|
1764
1842
|
"width": 0,
|
1765
1843
|
"height": 0,
|
1766
|
-
"x":
|
1844
|
+
"x": 820,
|
1767
1845
|
"y": 520,
|
1768
1846
|
"wires": [
|
1769
1847
|
[
|
1770
|
-
"
|
1848
|
+
"915816cdb895af14"
|
1771
1849
|
]
|
1772
1850
|
]
|
1773
1851
|
},
|
1774
1852
|
{
|
1775
|
-
"id": "
|
1776
|
-
"type": "
|
1853
|
+
"id": "eee38d2764bac337",
|
1854
|
+
"type": "usertask-input",
|
1777
1855
|
"z": "b195bc3ca2e1a665",
|
1778
1856
|
"g": "ec36901abb138306",
|
1779
1857
|
"name": "",
|
1780
|
-
"
|
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": [
|
1781
1877
|
{
|
1782
|
-
"
|
1878
|
+
"t": "eq",
|
1879
|
+
"v": "$pageview",
|
1880
|
+
"vt": "str"
|
1783
1881
|
}
|
1784
1882
|
],
|
1785
|
-
"
|
1786
|
-
"
|
1787
|
-
"
|
1788
|
-
"
|
1789
|
-
"topic": "",
|
1790
|
-
"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\"}]}}}",
|
1791
|
-
"payloadType": "json",
|
1792
|
-
"x": 250,
|
1883
|
+
"checkall": "true",
|
1884
|
+
"repair": false,
|
1885
|
+
"outputs": 1,
|
1886
|
+
"x": 280,
|
1793
1887
|
"y": 520,
|
1794
1888
|
"wires": [
|
1795
1889
|
[
|
1796
|
-
"
|
1890
|
+
"34984ae3f4e83b0b"
|
1797
1891
|
]
|
1798
1892
|
]
|
1799
1893
|
},
|
1800
1894
|
{
|
1801
|
-
"id": "
|
1802
|
-
"type": "
|
1895
|
+
"id": "111c8606ea343c1f",
|
1896
|
+
"type": "switch",
|
1803
1897
|
"z": "b195bc3ca2e1a665",
|
1804
|
-
"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",
|
1805
1936
|
"name": "",
|
1806
1937
|
"engine": "d042a4c68f51d6ab",
|
1807
1938
|
"multisend": false,
|
1808
|
-
"x":
|
1809
|
-
"y":
|
1939
|
+
"x": 140,
|
1940
|
+
"y": 760,
|
1810
1941
|
"wires": [
|
1811
1942
|
[
|
1812
|
-
"
|
1813
|
-
"8e2a2f993ee7156a"
|
1943
|
+
"4813eab6c5a5faf9"
|
1814
1944
|
]
|
1815
1945
|
]
|
1816
1946
|
},
|
1817
1947
|
{
|
1818
|
-
"id": "
|
1819
|
-
"type": "
|
1948
|
+
"id": "4f4ff5d35037207a",
|
1949
|
+
"type": "ui-notification",
|
1820
1950
|
"z": "b195bc3ca2e1a665",
|
1821
|
-
"g": "
|
1822
|
-
"
|
1823
|
-
"
|
1824
|
-
"
|
1825
|
-
"
|
1826
|
-
"
|
1827
|
-
"
|
1828
|
-
"
|
1829
|
-
"
|
1830
|
-
"
|
1831
|
-
"
|
1832
|
-
"
|
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
|
+
]
|
1833
1990
|
},
|
1834
1991
|
{
|
1835
|
-
"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",
|
1836
2010
|
"type": "debug",
|
1837
2011
|
"z": "b195bc3ca2e1a665",
|
1838
|
-
"g": "
|
1839
|
-
"name": "debug
|
2012
|
+
"g": "bd2bef99e757d7bf",
|
2013
|
+
"name": "debug 16",
|
1840
2014
|
"active": true,
|
1841
2015
|
"tosidebar": true,
|
1842
2016
|
"console": false,
|
@@ -1844,60 +2018,84 @@
|
|
1844
2018
|
"complete": "false",
|
1845
2019
|
"statusVal": "",
|
1846
2020
|
"statusType": "auto",
|
1847
|
-
"x":
|
1848
|
-
"y":
|
2021
|
+
"x": 540,
|
2022
|
+
"y": 700,
|
1849
2023
|
"wires": []
|
1850
2024
|
},
|
1851
2025
|
{
|
1852
|
-
"id": "
|
2026
|
+
"id": "915816cdb895af14",
|
1853
2027
|
"type": "switch",
|
1854
2028
|
"z": "b195bc3ca2e1a665",
|
1855
2029
|
"g": "ec36901abb138306",
|
1856
|
-
"name": "
|
1857
|
-
"property": "
|
2030
|
+
"name": "action == submit",
|
2031
|
+
"property": "payload.action",
|
1858
2032
|
"propertyType": "msg",
|
1859
2033
|
"rules": [
|
1860
2034
|
{
|
1861
2035
|
"t": "eq",
|
1862
|
-
"v": "
|
2036
|
+
"v": "submit",
|
1863
2037
|
"vt": "str"
|
1864
2038
|
}
|
1865
2039
|
],
|
1866
2040
|
"checkall": "true",
|
1867
2041
|
"repair": false,
|
1868
2042
|
"outputs": 1,
|
1869
|
-
"x":
|
1870
|
-
"y":
|
2043
|
+
"x": 950,
|
2044
|
+
"y": 580,
|
1871
2045
|
"wires": [
|
1872
2046
|
[
|
1873
|
-
"
|
2047
|
+
"51324058434239ba"
|
1874
2048
|
]
|
1875
2049
|
]
|
1876
2050
|
},
|
1877
2051
|
{
|
1878
|
-
"id": "
|
1879
|
-
"type": "
|
2052
|
+
"id": "51324058434239ba",
|
2053
|
+
"type": "usertask-output",
|
1880
2054
|
"z": "b195bc3ca2e1a665",
|
1881
|
-
"g": "
|
1882
|
-
"name": "
|
1883
|
-
"
|
1884
|
-
"
|
1885
|
-
"
|
1886
|
-
|
1887
|
-
|
1888
|
-
"
|
1889
|
-
|
1890
|
-
|
1891
|
-
|
1892
|
-
|
1893
|
-
"
|
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",
|
1894
2073
|
"outputs": 1,
|
1895
|
-
"
|
1896
|
-
"
|
2074
|
+
"timeout": 0,
|
2075
|
+
"noerr": 0,
|
2076
|
+
"initialize": "",
|
2077
|
+
"finalize": "",
|
2078
|
+
"libs": [],
|
2079
|
+
"x": 1270,
|
2080
|
+
"y": 520,
|
1897
2081
|
"wires": [
|
1898
2082
|
[
|
1899
|
-
"
|
2083
|
+
"0add5e307323845e"
|
1900
2084
|
]
|
1901
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
|
+
]
|
1902
2100
|
}
|
1903
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)}`);
|