@5minds/node-red-contrib-processcube 1.6.0 → 1.6.1-feature-f0787c-m580cmj4
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.
- package/externaltask-input.js +5 -1
- package/package.json +1 -1
package/externaltask-input.js
CHANGED
@@ -53,8 +53,12 @@ module.exports = function (RED) {
|
|
53
53
|
const handleFinishTask = (msg) => {
|
54
54
|
let result = RED.util.encodeObject(msg.payload);
|
55
55
|
|
56
|
+
// remote msg and format from result
|
57
|
+
delete result.format;
|
58
|
+
delete result.msg;
|
59
|
+
|
56
60
|
node.log(
|
57
|
-
`handle event for *external task flowNodeInstanceId* '${externalTask.flowNodeInstanceId}' and *processInstanceId* ${externalTask.processInstanceId} with result ${result} on msg._msgid ${msg._msgid}.`
|
61
|
+
`handle event for *external task flowNodeInstanceId* '${externalTask.flowNodeInstanceId}' and *processInstanceId* ${externalTask.processInstanceId} with result ${JSON.stringify(result)} on msg._msgid ${msg._msgid}.`
|
58
62
|
);
|
59
63
|
|
60
64
|
if (externalTask.flowNodeInstanceId) {
|