@5minds/node-red-contrib-processcube 1.5.9-develop-e4240b-m3r9vuvw → 1.5.9-develop-f0eb42-m3vmjlnn
Sign up to get free protection for your applications and to get access to all the features.
- package/nodered/flows.json +102 -7
- package/package.json +1 -1
- package/process-event-listener.js +9 -0
package/nodered/flows.json
CHANGED
@@ -497,7 +497,6 @@
|
|
497
497
|
"color": "#a4a4a4"
|
498
498
|
},
|
499
499
|
"nodes": [
|
500
|
-
|
501
500
|
"2fadb4c4667ecaf2",
|
502
501
|
"93331783b7ef3fc5",
|
503
502
|
"bc26f9821540f097",
|
@@ -2116,7 +2115,6 @@
|
|
2116
2115
|
"id": "930624edc6169c55",
|
2117
2116
|
"type": "process-event-listener",
|
2118
2117
|
"z": "76c047e0d8770a20",
|
2119
|
-
"g": "865723b71ced9418",
|
2120
2118
|
"name": "",
|
2121
2119
|
"engine": "42e6796dddd9d4db",
|
2122
2120
|
"processmodel": "External-Task-Sample_Process",
|
@@ -2135,7 +2133,6 @@
|
|
2135
2133
|
"id": "2f2ec1cc0213eab5",
|
2136
2134
|
"type": "debug",
|
2137
2135
|
"z": "76c047e0d8770a20",
|
2138
|
-
"g": "865723b71ced9418",
|
2139
2136
|
"name": "debug 34",
|
2140
2137
|
"active": true,
|
2141
2138
|
"tosidebar": true,
|
@@ -2152,18 +2149,118 @@
|
|
2152
2149
|
"id": "bde205e77cd20558",
|
2153
2150
|
"type": "comment",
|
2154
2151
|
"z": "76c047e0d8770a20",
|
2155
|
-
"g": "865723b71ced9418",
|
2156
2152
|
"name": "Hört auf die Events der Processe",
|
2157
2153
|
"info": "",
|
2158
2154
|
"x": 190,
|
2159
2155
|
"y": 80,
|
2160
2156
|
"wires": []
|
2161
2157
|
},
|
2158
|
+
{
|
2159
|
+
"id": "798de686e9cec9e3",
|
2160
|
+
"type": "process-event-listener",
|
2161
|
+
"z": "76c047e0d8770a20",
|
2162
|
+
"name": "deployed",
|
2163
|
+
"engine": "42e6796dddd9d4db",
|
2164
|
+
"processmodel": "",
|
2165
|
+
"eventtype": "deployed",
|
2166
|
+
"query": "{}",
|
2167
|
+
"query_type": "json",
|
2168
|
+
"x": 120,
|
2169
|
+
"y": 220,
|
2170
|
+
"wires": [
|
2171
|
+
[
|
2172
|
+
"75af9579297b63ce"
|
2173
|
+
]
|
2174
|
+
]
|
2175
|
+
},
|
2176
|
+
{
|
2177
|
+
"id": "75af9579297b63ce",
|
2178
|
+
"type": "debug",
|
2179
|
+
"z": "76c047e0d8770a20",
|
2180
|
+
"name": "debug 36",
|
2181
|
+
"active": true,
|
2182
|
+
"tosidebar": true,
|
2183
|
+
"console": false,
|
2184
|
+
"tostatus": false,
|
2185
|
+
"complete": "false",
|
2186
|
+
"statusVal": "",
|
2187
|
+
"statusType": "auto",
|
2188
|
+
"x": 370,
|
2189
|
+
"y": 220,
|
2190
|
+
"wires": []
|
2191
|
+
},
|
2192
|
+
{
|
2193
|
+
"id": "78dd82dbc5fe824e",
|
2194
|
+
"type": "process-event-listener",
|
2195
|
+
"z": "76c047e0d8770a20",
|
2196
|
+
"name": "undeployed",
|
2197
|
+
"engine": "42e6796dddd9d4db",
|
2198
|
+
"processmodel": "",
|
2199
|
+
"eventtype": "undeployed",
|
2200
|
+
"query": "{}",
|
2201
|
+
"query_type": "json",
|
2202
|
+
"x": 130,
|
2203
|
+
"y": 300,
|
2204
|
+
"wires": [
|
2205
|
+
[
|
2206
|
+
"341e4f4a311175e2"
|
2207
|
+
]
|
2208
|
+
]
|
2209
|
+
},
|
2210
|
+
{
|
2211
|
+
"id": "341e4f4a311175e2",
|
2212
|
+
"type": "debug",
|
2213
|
+
"z": "76c047e0d8770a20",
|
2214
|
+
"name": "debug 37",
|
2215
|
+
"active": true,
|
2216
|
+
"tosidebar": true,
|
2217
|
+
"console": false,
|
2218
|
+
"tostatus": false,
|
2219
|
+
"complete": "false",
|
2220
|
+
"statusVal": "",
|
2221
|
+
"statusType": "auto",
|
2222
|
+
"x": 310,
|
2223
|
+
"y": 300,
|
2224
|
+
"wires": []
|
2225
|
+
},
|
2226
|
+
{
|
2227
|
+
"id": "6b1eeb91a71c7bcb",
|
2228
|
+
"type": "process-event-listener",
|
2229
|
+
"z": "76c047e0d8770a20",
|
2230
|
+
"name": "is-exeutable-changed",
|
2231
|
+
"engine": "42e6796dddd9d4db",
|
2232
|
+
"processmodel": "",
|
2233
|
+
"eventtype": "is-executable-changed",
|
2234
|
+
"query": "{}",
|
2235
|
+
"query_type": "json",
|
2236
|
+
"x": 160,
|
2237
|
+
"y": 380,
|
2238
|
+
"wires": [
|
2239
|
+
[
|
2240
|
+
"5a2e8be2d8f3a1be"
|
2241
|
+
]
|
2242
|
+
]
|
2243
|
+
},
|
2244
|
+
{
|
2245
|
+
"id": "5a2e8be2d8f3a1be",
|
2246
|
+
"type": "debug",
|
2247
|
+
"z": "76c047e0d8770a20",
|
2248
|
+
"name": "debug 38",
|
2249
|
+
"active": true,
|
2250
|
+
"tosidebar": true,
|
2251
|
+
"console": false,
|
2252
|
+
"tostatus": false,
|
2253
|
+
"complete": "false",
|
2254
|
+
"statusVal": "",
|
2255
|
+
"statusType": "auto",
|
2256
|
+
"x": 350,
|
2257
|
+
"y": 380,
|
2258
|
+
"wires": []
|
2259
|
+
},
|
2162
2260
|
{
|
2163
2261
|
"id": "03ac7bc273197c45",
|
2164
2262
|
"type": "process-terminate",
|
2165
2263
|
"z": "2766c40d84283368",
|
2166
|
-
"g": "9081b057a931f0cf",
|
2167
2264
|
"name": "",
|
2168
2265
|
"engine": "42e6796dddd9d4db",
|
2169
2266
|
"x": 170,
|
@@ -2178,7 +2275,6 @@
|
|
2178
2275
|
"id": "bb734a85d4b37728",
|
2179
2276
|
"type": "debug",
|
2180
2277
|
"z": "2766c40d84283368",
|
2181
|
-
"g": "9081b057a931f0cf",
|
2182
2278
|
"name": "debug 35",
|
2183
2279
|
"active": true,
|
2184
2280
|
"tosidebar": true,
|
@@ -2195,7 +2291,6 @@
|
|
2195
2291
|
"id": "3d03550f7d93bfd3",
|
2196
2292
|
"type": "comment",
|
2197
2293
|
"z": "2766c40d84283368",
|
2198
|
-
"g": "9081b057a931f0cf",
|
2199
2294
|
"name": "Event for Terminating a Process",
|
2200
2295
|
"info": "",
|
2201
2296
|
"x": 210,
|
package/package.json
CHANGED
@@ -363,6 +363,9 @@ module.exports = function (RED) {
|
|
363
363
|
case 'is-executable-changed':
|
364
364
|
return await client.notification.onProcessIsExecutableChanged(
|
365
365
|
(processNotification) => {
|
366
|
+
|
367
|
+
node.log('processNotification (is-executable-changed): ' + JSON.stringify(processNotification));
|
368
|
+
|
366
369
|
if (
|
367
370
|
config.processmodel != '' &&
|
368
371
|
config.processmodel != processNotification.processModelId
|
@@ -381,6 +384,9 @@ module.exports = function (RED) {
|
|
381
384
|
case 'deployed':
|
382
385
|
return await client.notification.onProcessDeployed(
|
383
386
|
(processNotification) => {
|
387
|
+
|
388
|
+
node.log('processNotification (deployed): ' + JSON.stringify(processNotification));
|
389
|
+
|
384
390
|
if (
|
385
391
|
config.processmodel != '' &&
|
386
392
|
config.processmodel != processNotification.processModelId
|
@@ -399,6 +405,9 @@ module.exports = function (RED) {
|
|
399
405
|
case 'undeployed':
|
400
406
|
return await client.notification.onProcessUndeployed(
|
401
407
|
(processNotification) => {
|
408
|
+
|
409
|
+
node.log('processNotification (undeployed): ' + JSON.stringify(processNotification));
|
410
|
+
|
402
411
|
if (
|
403
412
|
config.processmodel != '' &&
|
404
413
|
config.processmodel != processNotification.processModelId
|