⚡ Add executionId workflow.postExecute external hook (#2569)
Co-authored-by: Jan Oberhauser <janober@users.noreply.github.com>
This commit is contained in:
@@ -186,7 +186,7 @@ export class WorkflowRunner {
|
||||
if (externalHooks.exists('workflow.postExecute')) {
|
||||
postExecutePromise
|
||||
.then(async (executionData) => {
|
||||
await externalHooks.run('workflow.postExecute', [executionData, data.workflowData]);
|
||||
await externalHooks.run('workflow.postExecute', [executionData, data.workflowData, executionId]);
|
||||
})
|
||||
.catch((error) => {
|
||||
console.error('There was a problem running hook "workflow.postExecute"', error);
|
||||
|
||||
Reference in New Issue
Block a user