mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
fix(core): fix canvas node execution skipping parent nodes (#4438)
🔥 Remove pindata check
This commit is contained in:
@@ -361,12 +361,11 @@ export class WorkflowRunnerProcess {
|
||||
) {
|
||||
// Execute all nodes
|
||||
|
||||
const pinDataKeys = this.data?.pinData ? Object.keys(this.data.pinData) : [];
|
||||
const noPinData = pinDataKeys.length === 0;
|
||||
const isPinned = (nodeName: string) => pinDataKeys.includes(nodeName);
|
||||
|
||||
let startNode;
|
||||
if (this.data.startNodes?.length === 1 && (noPinData || isPinned(this.data.startNodes[0]))) {
|
||||
if (
|
||||
this.data.startNodes?.length === 1 &&
|
||||
Object.keys(this.data.pinData ?? {}).includes(this.data.startNodes[0])
|
||||
) {
|
||||
startNode = this.workflow.getNode(this.data.startNodes[0]) ?? undefined;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user