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

@@ -268,7 +268,7 @@ export class WorkflowRunnerProcess {
this.childExecutions[executionId] = executeWorkflowFunctionOutput;
const { workflow } = executeWorkflowFunctionOutput;
result = await workflowExecute.processRunExecutionData(workflow);
await externalHooks.run('workflow.postExecute', [result, workflowData]);
await externalHooks.run('workflow.postExecute', [result, workflowData, executionId]);
void InternalHooksManager.getInstance().onWorkflowPostExecute(
executionId,
workflowData,