fix: Execute method should be assigned to a Routing node even if it has webhook defined (#13910)

This commit is contained in:
Michael Kret
2025-03-14 10:56:34 +02:00
committed by GitHub
parent 796a58c7e6
commit 3a4247a91c
4 changed files with 86 additions and 12 deletions

View File

@@ -1018,10 +1018,6 @@ export class WorkflowExecute {
private getCustomOperation(node: INode, type: INodeType) {
if (!type.customOperations) return undefined;
if (type.execute) {
throw new UnexpectedError('Node type cannot have both customOperations and execute defined');
}
if (!node.parameters) return undefined;
const { customOperations } = type;