mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
fix: Workflows executed from other workflows not stopping (#9010)
This commit is contained in:
parent
71c54cba52
commit
0ac985133b
|
@ -851,7 +851,9 @@ async function executeWorkflow(
|
||||||
workflowExecute,
|
workflowExecute,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
data = await workflowExecute.processRunExecutionData(workflow);
|
const execution = workflowExecute.processRunExecutionData(workflow);
|
||||||
|
activeExecutions.attachWorkflowExecution(executionId, execution);
|
||||||
|
data = await execution;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
const executionError = error ? (error as ExecutionError) : undefined;
|
const executionError = error ? (error as ExecutionError) : undefined;
|
||||||
const fullRunData: IRun = {
|
const fullRunData: IRun = {
|
||||||
|
|
Loading…
Reference in a new issue