fix(API): Fire workflowExecuteBefore hook in runMainProcess (no-changelog) (#8601)

This commit is contained in:
oleg 2024-02-09 13:23:00 +01:00 committed by GitHub
parent 7501ad8f3c
commit 5ab34fe335
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -303,6 +303,7 @@ export class WorkflowRunner {
sessionId: data.sessionId,
});
await additionalData.hooks.executeHookFunctions('workflowExecuteBefore', []);
if (data.executionData !== undefined) {
this.logger.debug(`Execution ID ${executionId} had Execution data. Running with payload.`, {
executionId,