Skip to content
This repository was archived by the owner on Jan 7, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion externaltask-input.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,12 @@ module.exports = function (RED) {
const handleFinishTask = (msg) => {
let result = RED.util.encodeObject(msg.payload);

// remote msg and format from result
delete result.format;
delete result.msg;

node.log(
`handle event for *external task flowNodeInstanceId* '${externalTask.flowNodeInstanceId}' and *processInstanceId* ${externalTask.processInstanceId} with result ${result} on msg._msgid ${msg._msgid}.`
`handle event for *external task flowNodeInstanceId* '${externalTask.flowNodeInstanceId}' and *processInstanceId* ${externalTask.processInstanceId} with result ${JSON.stringify(result)} on msg._msgid ${msg._msgid}.`
);

if (externalTask.flowNodeInstanceId) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@5minds/node-red-contrib-processcube",
"version": "1.6.0",
"version": "1.6.1",
"license": "MIT",
"description": "Node-RED nodes for ProcessCube",
"scripts": {
Expand Down