diff --git a/packages/cli/src/WorkflowExecuteAdditionalData.ts b/packages/cli/src/WorkflowExecuteAdditionalData.ts index a8b0a9ef3e714..7fddf5432d0f0 100644 --- a/packages/cli/src/WorkflowExecuteAdditionalData.ts +++ b/packages/cli/src/WorkflowExecuteAdditionalData.ts @@ -1013,7 +1013,12 @@ async function executeWorkflow( await externalHooks.run('workflow.postExecute', [data, workflowData, executionId]); - void InternalHooksManager.getInstance().onWorkflowBeforeExecute(executionId || '', runData); + void InternalHooksManager.getInstance().onWorkflowPostExecute( + executionId, + workflowData, + data, + additionalData.userId, + ); if (data.finished === true) { // Workflow did finish successfully