From 2515e13c837da4c2b0a6728b9140199e692e7245 Mon Sep 17 00:00:00 2001
From: Th1rtynine <18004970788@163.com>
Date: Tue, 18 Aug 2026 15:05:06 +0800
Subject: [PATCH] docs: clarify loop variable setup and scope in loop node
guide
---
en/cloud/use-dify/nodes/loop.mdx | 2 ++
en/self-host/use-dify/nodes/loop.mdx | 2 ++
ja/cloud/use-dify/nodes/loop.mdx | 2 ++
ja/self-host/use-dify/nodes/loop.mdx | 2 ++
zh/cloud/use-dify/nodes/loop.mdx | 2 ++
zh/self-host/use-dify/nodes/loop.mdx | 2 ++
6 files changed, 12 insertions(+)
diff --git a/en/cloud/use-dify/nodes/loop.mdx b/en/cloud/use-dify/nodes/loop.mdx
index 4f8b7e9722..79576b0bbf 100644
--- a/en/cloud/use-dify/nodes/loop.mdx
+++ b/en/cloud/use-dify/nodes/loop.mdx
@@ -47,6 +47,8 @@ Configure when the loop should stop executing:
**Exit Loop Node** - Immediate termination when this node is reached
+When you add more than one termination condition, choose **AND** or **OR** to combine them.
+
The loop terminates when either the termination condition is met, the maximum count is reached, or an Exit Loop node executes. If no conditions are specified, the loop continues until the maximum count.
diff --git a/en/self-host/use-dify/nodes/loop.mdx b/en/self-host/use-dify/nodes/loop.mdx
index 4f8b7e9722..79576b0bbf 100644
--- a/en/self-host/use-dify/nodes/loop.mdx
+++ b/en/self-host/use-dify/nodes/loop.mdx
@@ -47,6 +47,8 @@ Configure when the loop should stop executing:
**Exit Loop Node** - Immediate termination when this node is reached
+When you add more than one termination condition, choose **AND** or **OR** to combine them.
+
The loop terminates when either the termination condition is met, the maximum count is reached, or an Exit Loop node executes. If no conditions are specified, the loop continues until the maximum count.
diff --git a/ja/cloud/use-dify/nodes/loop.mdx b/ja/cloud/use-dify/nodes/loop.mdx
index a9e2cc72c0..51da0d12f0 100644
--- a/ja/cloud/use-dify/nodes/loop.mdx
+++ b/ja/cloud/use-dify/nodes/loop.mdx
@@ -50,6 +50,8 @@ description: "段階的な改良で反復的なワークフローを実行"
**ループ終了ノード** - このノードに到達した時の即座の終了
+終了条件を複数追加する場合は、**AND** または **OR** で組み合わせます。
+
ループは、終了条件が満たされる、最大回数に達する、またはループ終了ノードが実行されるときに終了します。条件が指定されていない場合、ループは最大回数まで継続されます。
diff --git a/ja/self-host/use-dify/nodes/loop.mdx b/ja/self-host/use-dify/nodes/loop.mdx
index b49d165a6d..c04f2610db 100644
--- a/ja/self-host/use-dify/nodes/loop.mdx
+++ b/ja/self-host/use-dify/nodes/loop.mdx
@@ -50,6 +50,8 @@ description: "段階的な改良で反復的なワークフローを実行"
**ループ終了ノード** - このノードに到達した時の即座の終了
+終了条件を複数追加する場合は、**AND** または **OR** で組み合わせます。
+
ループは、終了条件が満たされる、最大回数に達する、またはループ終了ノードが実行されるときに終了します。条件が指定されていない場合、ループは最大回数まで継続されます。
diff --git a/zh/cloud/use-dify/nodes/loop.mdx b/zh/cloud/use-dify/nodes/loop.mdx
index a52b5611db..9ded9ffdc8 100644
--- a/zh/cloud/use-dify/nodes/loop.mdx
+++ b/zh/cloud/use-dify/nodes/loop.mdx
@@ -49,6 +49,8 @@ title: "循环"
**退出循环节点** - 达到此节点时立即终止
+当添加多个终止条件时,可选择 **AND** 或 **OR** 组合判断。
+
当满足终止条件、达到最大次数或执行退出循环节点时,循环终止。如果未指定条件,循环将继续直到达到最大次数。
diff --git a/zh/self-host/use-dify/nodes/loop.mdx b/zh/self-host/use-dify/nodes/loop.mdx
index 1a6dc4cdc2..8073fed003 100644
--- a/zh/self-host/use-dify/nodes/loop.mdx
+++ b/zh/self-host/use-dify/nodes/loop.mdx
@@ -49,6 +49,8 @@ title: "循环"
**退出循环节点** - 达到此节点时立即终止
+当添加多个终止条件时,可选择 **AND** 或 **OR** 组合判断。
+
当满足终止条件、达到最大次数或执行退出循环节点时,循环终止。如果未指定条件,循环将继续直到达到最大次数。