🐛 Fix that static data did not always get load on execution

This commit is contained in:
Jan Oberhauser
2019-10-15 07:36:53 +02:00
parent 369e8084d3
commit 542ae1e785
5 changed files with 32 additions and 5 deletions

View File

@@ -224,7 +224,7 @@ export function getWorkflowWebhooks(workflow: Workflow, additionalData: IWorkflo
// Start now to run the workflow
const workflowRunner = new WorkflowRunner();
const executionId = await workflowRunner.run(runData);
const executionId = await workflowRunner.run(runData, true);
// Get a promise which resolves when the workflow did execute and send then response
const executePromise = activeExecutions.getPostExecutePromise(executionId) as Promise<IExecutionDb | undefined>;