This is an automated email from the ASF dual-hosted git repository.

leonbao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 3a198b5  add condition task img (#461)
3a198b5 is described below

commit 3a198b5813d558aa7e85b5a1f1ccf24ea1264545
Author: wind <[email protected]>
AuthorDate: Fri Oct 22 21:03:14 2021 +0800

    add condition task img (#461)
    
    * add condition task img
    
    * add condition task img
    
    * delete the invalid line
    
    Co-authored-by: caishunfeng <[email protected]>
---
 docs/en-us/dev/user_doc/guide/task/conditions.md |  10 +++++++++-
 docs/zh-cn/dev/user_doc/guide/task/conditions.md |  14 ++++++++++----
 img/condition_dag_en.png                         | Bin 0 -> 32856 bytes
 img/condition_task_en.png                        | Bin 0 -> 26380 bytes
 img/condition_task_zh.png                        | Bin 0 -> 25721 bytes
 5 files changed, 19 insertions(+), 5 deletions(-)

diff --git a/docs/en-us/dev/user_doc/guide/task/conditions.md 
b/docs/en-us/dev/user_doc/guide/task/conditions.md
index 5f63b4e..345bee8 100644
--- a/docs/en-us/dev/user_doc/guide/task/conditions.md
+++ b/docs/en-us/dev/user_doc/guide/task/conditions.md
@@ -4,7 +4,15 @@ Conditions is a condition node, determining which downstream 
task should be run
 
 ## Create
 
-Drag in the toolbar<img src="/img/conditions.png" width="20"/>The task node to 
the drawing board to create a new Conditions task
+Drag in the toolbar<img src="/img/conditions.png" width="20"/>The task node to 
the drawing board to create a new Conditions task, as shown in the figure below:
+
+  <p align="center">
+   <img src="/img/condition_dag_en.png" width="80%" />
+  </p>
+
+  <p align="center">
+   <img src="/img/condition_task_en.png" width="80%" />
+  </p>
 
 ## Parameter
 
diff --git a/docs/zh-cn/dev/user_doc/guide/task/conditions.md 
b/docs/zh-cn/dev/user_doc/guide/task/conditions.md
index 80b0b4b..4988939 100644
--- a/docs/zh-cn/dev/user_doc/guide/task/conditions.md
+++ b/docs/zh-cn/dev/user_doc/guide/task/conditions.md
@@ -4,7 +4,15 @@ Conditions是一个条件节点,根据上游任务运行状态,判断应该
 
 ## 创建任务
 
-拖动工具栏中的<img src="/img/conditions.png" width="20"/>任务节点到画板中即能完成任务创建
+拖动工具栏中的<img src="/img/conditions.png" width="20"/>任务节点到画板中即能完成任务创建,如下图所示:
+
+  <p align="center">
+   <img src="/img/condition_dag_en.png" width="80%" />
+  </p>
+
+  <p align="center">
+   <img src="/img/condition_task_zh.png" width="80%" />
+  </p>
 
 ## 任务参数
 
@@ -23,8 +31,6 @@ Conditions是一个条件节点,根据上游任务运行状态,判断应该
   - 增加上游依赖:通过选择第一个参数选择对应的任务名称,通过第二个参数选择触发的conditions任务的状态
   - 上游任务关系选择:当有多个上游任务时,可以通过`且`以及`或`操作符实现任务的复杂关系。
 
-<!-- TODO 缺少condintions任务的截图,分别需要一个简单任务和一个复杂任务 -->
-
 ## 相关任务
 
-[switch](switch.md):Condition节点主要依据上游节点的执行状态(成功、失败)执行对应分支。[Switch](switch.md)节点主要依据全局变量的值和用户所编写的表达式判断结果执行对应分支
+[switch](switch.md):Condition节点主要依据上游节点的执行状态(成功、失败)执行对应分支。[Switch](switch.md)节点主要依据全局变量的值和用户所编写的表达式判断结果执行对应分支
\ No newline at end of file
diff --git a/img/condition_dag_en.png b/img/condition_dag_en.png
new file mode 100644
index 0000000..9e7c43b
Binary files /dev/null and b/img/condition_dag_en.png differ
diff --git a/img/condition_task_en.png b/img/condition_task_en.png
new file mode 100644
index 0000000..208342f
Binary files /dev/null and b/img/condition_task_en.png differ
diff --git a/img/condition_task_zh.png b/img/condition_task_zh.png
new file mode 100644
index 0000000..80d4bd3
Binary files /dev/null and b/img/condition_task_zh.png differ

Reply via email to