fix: Workflows executed from other workflows not stopping (#9010)

This commit is contained in:
Val 2024-04-04 10:02:37 +01:00 committed by GitHub
parent 71c54cba52
commit 0ac985133b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -851,7 +851,9 @@ async function executeWorkflow(
workflowExecute,
};
}
data = await workflowExecute.processRunExecutionData(workflow);
const execution = workflowExecute.processRunExecutionData(workflow);
activeExecutions.attachWorkflowExecution(executionId, execution);
data = await execution;
} catch (error) {
const executionError = error ? (error as ExecutionError) : undefined;
const fullRunData: IRun = {