Skip to content

Commit

Permalink
fix(API): Fire workflowExecuteBefore hook in runMainProcess (no-chang…
Browse files Browse the repository at this point in the history
…elog) (#8601)
  • Loading branch information
OlegIvaniv authored Feb 9, 2024
1 parent 7501ad8 commit 5ab34fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/cli/src/WorkflowRunner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5ab34fe

Please sign in to comment.