mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
hookFunctionsPreExecute -> hookFunctionsSaveProgress
This commit is contained in:
parent
793ef7a24f
commit
e4ee65fdc5
|
@ -212,7 +212,7 @@ function hookFunctionsExternalHooks(): IWorkflowExecuteHooks {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
function hookFunctionsPreExecute(): IWorkflowExecuteHooks {
|
function hookFunctionsSaveProgress(): IWorkflowExecuteHooks {
|
||||||
return {
|
return {
|
||||||
nodeExecuteAfter: [
|
nodeExecuteAfter: [
|
||||||
async function (
|
async function (
|
||||||
|
@ -477,7 +477,7 @@ export function getWorkflowHooksIntegrated(
|
||||||
hookFunctionsNodeEvents(),
|
hookFunctionsNodeEvents(),
|
||||||
hookFunctionsFinalizeExecutionStatus(),
|
hookFunctionsFinalizeExecutionStatus(),
|
||||||
hookFunctionsSave(),
|
hookFunctionsSave(),
|
||||||
hookFunctionsPreExecute(),
|
hookFunctionsSaveProgress(),
|
||||||
hookFunctionsExternalHooks(),
|
hookFunctionsExternalHooks(),
|
||||||
);
|
);
|
||||||
return new WorkflowHooks(hookFunctions, mode, executionId, workflowData);
|
return new WorkflowHooks(hookFunctions, mode, executionId, workflowData);
|
||||||
|
@ -496,7 +496,7 @@ export function getWorkflowHooksWorkerExecuter(
|
||||||
hookFunctionsNodeEvents(),
|
hookFunctionsNodeEvents(),
|
||||||
hookFunctionsFinalizeExecutionStatus(),
|
hookFunctionsFinalizeExecutionStatus(),
|
||||||
hookFunctionsSaveWorker(),
|
hookFunctionsSaveWorker(),
|
||||||
hookFunctionsPreExecute(),
|
hookFunctionsSaveProgress(),
|
||||||
hookFunctionsExternalHooks(),
|
hookFunctionsExternalHooks(),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -520,7 +520,7 @@ export function getWorkflowHooksWorkerMain(
|
||||||
const executionRepository = Container.get(ExecutionRepository);
|
const executionRepository = Container.get(ExecutionRepository);
|
||||||
const hookFunctions = mergeHookFunctions(
|
const hookFunctions = mergeHookFunctions(
|
||||||
hookFunctionsWorkflowEvents(),
|
hookFunctionsWorkflowEvents(),
|
||||||
hookFunctionsPreExecute(),
|
hookFunctionsSaveProgress(),
|
||||||
hookFunctionsExternalHooks(),
|
hookFunctionsExternalHooks(),
|
||||||
hookFunctionsFinalizeExecutionStatus(),
|
hookFunctionsFinalizeExecutionStatus(),
|
||||||
{
|
{
|
||||||
|
@ -585,7 +585,7 @@ export function getWorkflowHooksMain(
|
||||||
hookFunctionsFinalizeExecutionStatus(),
|
hookFunctionsFinalizeExecutionStatus(),
|
||||||
hookFunctionsSave(),
|
hookFunctionsSave(),
|
||||||
hookFunctionsPush(),
|
hookFunctionsPush(),
|
||||||
hookFunctionsPreExecute(),
|
hookFunctionsSaveProgress(),
|
||||||
hookFunctionsExternalHooks(),
|
hookFunctionsExternalHooks(),
|
||||||
);
|
);
|
||||||
return new WorkflowHooks(hookFunctions, data.executionMode, executionId, data.workflowData, {
|
return new WorkflowHooks(hookFunctions, data.executionMode, executionId, data.workflowData, {
|
||||||
|
|
Loading…
Reference in a new issue