Skip to content

Commit 96c5218

Browse files
committed
save id
1 parent f417899 commit 96c5218

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

OpenFlowNodeRED/src/nodered/nodes/workflow_nodes.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,7 @@ export class run_workflow_node {
445445

446446
result = res[0];
447447
result.payload = data.payload;
448+
result._id = result._originalid;
448449

449450
this.node.send([null, result]); // ???? why does this not work ?????
450451
// this.node.send([null, null, result]);
@@ -498,6 +499,7 @@ export class run_workflow_node {
498499
this.node.status({ fill: "red", shape: "dot", text: "Unknown workflow " + workflowid });
499500
return;
500501
}
502+
msg._originalid = msg._id;
501503
var _id = msg._id;
502504
var queue: string = workflow.queue;
503505
delete msg._id;

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.470
1+
0.0.471

0 commit comments

Comments
 (0)