Save also static data after Trigger-emit

This commit is contained in:
Jan Oberhauser 2020-05-09 00:55:47 +02:00
parent 906ef1a482
commit 231bd9f5c7

View file

@ -315,6 +315,7 @@ export class ActiveWorkflowRunner {
return ((workflow: Workflow, node: INode) => {
const returnFunctions = NodeExecuteFunctions.getExecuteTriggerFunctions(workflow, node, additionalData, mode);
returnFunctions.emit = (data: INodeExecutionData[][]): void => {
WorkflowHelpers.saveStaticData(workflow);
this.runWorkflow(workflowData, node, data, additionalData, mode);
};
return returnFunctions;