We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b70568 commit 18c107aCopy full SHA for 18c107a
2 files changed
OpenFlowNodeRED/src/nodered/nodes/workflow_nodes.ts
@@ -185,7 +185,13 @@ export class workflow_in_node {
185
// Logger.instanse.info("workflow in activated creating a new workflow instance with id " + res2._id);
186
// OpenFlow Controller.ts needs the id, when creating a new intance !
187
data._id = res2._id;
188
- data.payload._id = res2._id;
+ if (data.payload !== null || data.payload != undefined) {
189
+ try {
190
+ data.payload._id = res2._id;
191
+ } catch (error) {
192
+ Logger.instanse.warn(error);
193
+ }
194
195
// result = this.nestedassign(res2, result);
196
data = Object.assign(res2, data);
197
}
VERSION
@@ -1 +1 @@
1
-0.0.491
+0.0.492
0 commit comments