⚡ 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 13:42:17 +01:00
committed by GitHub
co-authored by Jan Oberhauser
parent 522de66583
commit 8f9dbb7163
3 changed files with 3 additions and 3 deletions
+1 -1
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,