@5minds/node-red-contrib-processcube 1.8.8-develop-ba5987-m7t2i1uq → 1.8.8-develop-c0e50d-m7te947o
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.
@@ -1254,8 +1254,8 @@
|
|
1254
1254
|
"g": "70d7a70e375b162a",
|
1255
1255
|
"name": "",
|
1256
1256
|
"pauseType": "delay",
|
1257
|
-
"timeout": "
|
1258
|
-
"timeoutUnits": "
|
1257
|
+
"timeout": "2",
|
1258
|
+
"timeoutUnits": "minutes",
|
1259
1259
|
"rate": "1",
|
1260
1260
|
"nbRateUnits": "1",
|
1261
1261
|
"rateUnits": "second",
|
package/externaltask-input.js
CHANGED
@@ -1,6 +1,4 @@
|
|
1
1
|
const EventEmitter = require('node:events');
|
2
|
-
const { send } = require('node:process');
|
3
|
-
|
4
2
|
|
5
3
|
module.exports = function (RED) {
|
6
4
|
function ExternalTaskInput(config) {
|
@@ -178,7 +176,7 @@ module.exports = function (RED) {
|
|
178
176
|
RED.events.emit("processcube:healthcheck:update", {
|
179
177
|
nodeId: node.id,
|
180
178
|
status: status,
|
181
|
-
nodeName: node.
|
179
|
+
nodeName: `topic: ${node.topic}`,
|
182
180
|
nodeType: 'externaltask-input',
|
183
181
|
message: message
|
184
182
|
});
|
@@ -326,6 +324,10 @@ module.exports = function (RED) {
|
|
326
324
|
|
327
325
|
node.setUnsubscribedStatus(error);
|
328
326
|
|
327
|
+
// abort the external task MM: waiting for a fix in the client.ts
|
328
|
+
//externalTaskWorker.abortExternalTaskIfPresent(externalTask.id);
|
329
|
+
//node.log(`Cancel external task flowNodeInstanceId* '${externalTask.flowNodeInstanceId}' and *processInstanceId* '${externalTask.processInstanceId}'.`)
|
330
|
+
|
329
331
|
break;
|
330
332
|
case 'fetchAndLock':
|
331
333
|
node.setUnsubscribedStatus(error);
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@5minds/node-red-contrib-processcube",
|
3
|
-
"version": "1.8.8-develop-
|
3
|
+
"version": "1.8.8-develop-c0e50d-m7te947o",
|
4
4
|
"license": "MIT",
|
5
5
|
"description": "Node-RED nodes for ProcessCube",
|
6
6
|
"scripts": {
|
@@ -59,7 +59,7 @@
|
|
59
59
|
"examples": "examples"
|
60
60
|
},
|
61
61
|
"dependencies": {
|
62
|
-
"@5minds/processcube_engine_client": "5.
|
62
|
+
"@5minds/processcube_engine_client": "5.2.0",
|
63
63
|
"jwt-decode": "^4.0.0",
|
64
64
|
"openid-client": "^5.5.0"
|
65
65
|
},
|