mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 18:41:14 +00:00
feat(core): Parent workflows should wait for sub-workflows to finish (#11985)
This commit is contained in:
committed by
GitHub
parent
956b11a560
commit
60b3dccf93
@@ -709,6 +709,7 @@ export async function getRunData(
|
||||
waitingExecution: {},
|
||||
waitingExecutionSource: {},
|
||||
},
|
||||
parentExecution,
|
||||
};
|
||||
|
||||
return {
|
||||
@@ -944,6 +945,7 @@ async function startExecution(
|
||||
return {
|
||||
executionId,
|
||||
data: returnData!.data!.main,
|
||||
waitTill: data.waitTill,
|
||||
};
|
||||
}
|
||||
activeExecutions.finalizeExecution(executionId, data);
|
||||
|
||||
Reference in New Issue
Block a user