Add executionId workflow.postExecute external hook (#2569)

Co-authored-by: Jan Oberhauser <janober@users.noreply.github.com>
This commit is contained in:
Vahid Sebto
2021-12-25 16:12:17 +03:30
committed by GitHub
parent 522de66583
commit 8f9dbb7163
3 changed files with 3 additions and 3 deletions

View File

@@ -918,7 +918,7 @@ export async function executeWorkflow(
};
}
await externalHooks.run('workflow.postExecute', [data, workflowData]);
await externalHooks.run('workflow.postExecute', [data, workflowData, executionId]);
void InternalHooksManager.getInstance().onWorkflowPostExecute(executionId, workflowData, data);
if (data.finished === true) {