feat(core): Add closeFunction support to Sub-Nodes (#7708)
Github issue / Community forum post (link here to close automatically): --------- Signed-off-by: Oleg Ivaniv <me@olegivaniv.com> Co-authored-by: Oleg Ivaniv <me@olegivaniv.com>
This commit is contained in:
@@ -37,6 +37,7 @@ import type {
|
||||
NodeParameterValueType,
|
||||
PostReceiveAction,
|
||||
JsonObject,
|
||||
CloseFunction,
|
||||
} from './Interfaces';
|
||||
|
||||
import * as NodeHelpers from './NodeHelpers';
|
||||
@@ -94,6 +95,7 @@ export class RoutingNode {
|
||||
if (nodeType.description.credentials?.length) {
|
||||
credentialType = nodeType.description.credentials[0].name;
|
||||
}
|
||||
const closeFunctions: CloseFunction[] = [];
|
||||
const executeFunctions = nodeExecuteFunctions.getExecuteFunctions(
|
||||
this.workflow,
|
||||
this.runExecutionData,
|
||||
@@ -104,6 +106,7 @@ export class RoutingNode {
|
||||
this.additionalData,
|
||||
executeData,
|
||||
this.mode,
|
||||
closeFunctions,
|
||||
abortSignal,
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user