diff --git a/packages/core/src/WorkflowExecute.ts b/packages/core/src/WorkflowExecute.ts index 3bd64566e0..3f67e11334 100644 --- a/packages/core/src/WorkflowExecute.ts +++ b/packages/core/src/WorkflowExecute.ts @@ -1013,10 +1013,11 @@ export class WorkflowExecute { if (!this.runExecutionData.resultData.runData.hasOwnProperty(executionNode.name)) { this.runExecutionData.resultData.runData[executionNode.name] = []; } + taskData = { startTime, executionTime: new Date().getTime() - startTime, - source: executionData.source === null ? [] : executionData.source.main, + source: !executionData.source ? [] : executionData.source.main, }; if (executionError !== undefined) {