fix(core): Fix issue with restarting waiting executions (#3531)

This commit is contained in:
Jan Oberhauser 2022-06-16 11:19:28 -07:00 committed by GitHub
parent a6399662b0
commit c9273bcd38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {