多分支工作流中的执行顺序#
¥Execution order in multi-branch workflows
n8n 的节点执行顺序取决于你使用的 n8n 版本:
¥n8n's node execution order depends on the version of n8n you're using:
- 对于 1.0 版本之前创建的工作流:n8n 会执行每个分支的第一个节点,然后执行每个分支的第二个节点,依此类推。
¥For workflows created before version 1.0: n8n executes the first node of each branch, then the second node of each branch, and so on.
- 对于 1.0 及更高版本创建的工作流:依次执行每个分支,完成一个分支后再开始另一个分支。n8n 根据分支在 canvas 上的位置,从上到下对分支进行排序。如果两个分支处于同一高度,则最左侧的分支先执行。
¥For workflows created in version 1.0 and above: executes each branch in turn, completing one branch before starting another. n8n orders the branches based on their position on the canvas, from topmost to bottommost. If two branches are at the same height, the leftmost branch executes first.
你可以在 工作流设置 中更改执行顺序。
¥You can change the execution order in your workflow settings.