Skip to content

Commit 5c6d578

Browse files
committed
12112
1 parent 7281c02 commit 5c6d578

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
@@ -508,6 +508,7 @@ export class assign_workflow_node {
508508
}
509509
if (_id !== null && _id !== undefined && _id !== "") {
510510
var res = await NoderedUtil.Query("workflow_instances", { "_id": _id }, { parentid: 1 }, null, 1, 0, data.jwt);
511+
console.log("1: " + res.length);
511512
if (res.length == 0) {
512513
NoderedUtil.HandleError(this, "Unknown workflow_instances id " + _id);
513514
if (ack !== null && ack !== undefined) ack();
@@ -517,6 +518,7 @@ export class assign_workflow_node {
517518
var _parentid = res[0].parentid;
518519
if (_parentid !== null && _parentid !== undefined && _parentid !== "") {
519520
res = await NoderedUtil.Query("workflow_instances", { "_id": _parentid }, null, null, 1, 0, null);
521+
console.log("2: " + res.length);
520522
if (res.length == 0) {
521523
NoderedUtil.HandleError(this, "Unknown workflow_instances parentid " + _id);
522524
if (ack !== null && ack !== undefined) ack();

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.511
1+
0.0.512

0 commit comments

Comments
 (0)