fix(core): Prefer triggers with run data during partial executions (#14691)

This commit is contained in:
Danny Martini
2025-04-17 11:09:54 +02:00
committed by GitHub
parent 048df28d5f
commit ddfe594cf0
3 changed files with 37 additions and 8 deletions

View File

@@ -394,7 +394,7 @@ export class WorkflowExecute {
}
// 1. Find the Trigger
const trigger = findTriggerForPartialExecution(workflow, destinationNodeName);
const trigger = findTriggerForPartialExecution(workflow, destinationNodeName, runData);
if (trigger === undefined) {
throw new UserError('Connect a trigger to run this node');
}