jieguangzhou commented on code in PR #14127:
URL: 
https://github.com/apache/dolphinscheduler/pull/14127#discussion_r1217741821


##########
docs/docs/en/guide/task/dynamic.md:
##########
@@ -0,0 +1,77 @@
+# Dynamic Task
+
+## Overview
+
+Dynamic task can input multiple parameter lists, calculate all parameter 
combinations through Cartesian product, and then execute each parameter 
combination as a sub-workflow node.
+
+For example, we have a workflow with two input parameters, a, b.
+
+We can use the dynamic node to define this workflow definition as a node, and 
then enter the parameter list
+
+- Parameter a: a1, a2
+- Parameter b: b1, b2
+
+Then the dynamic node will calculate four parameter combinations, which are
+- a1, b1
+- a1, b2
+- a2, b1
+- a2, b2
+
+Then execute these four parameter combinations as the startup parameters of 
the sub-workflow node, and a total of four sub-workflow nodes are generated.
+
+## Create Task
+
+- Click `Project -> Management-Project -> Name-Workflow Definition`, and click 
the "Create Workflow" button to enter the
+  DAG editing page.
+- Drag from the toolbar <img src="../../../../img/tasks/icons/dynamic.png" 
width="15"/> task node to canvas.
+
+The task definition is shown in the following figure:
+
+![dynamic_definition](../../../../img/tasks/demo/dynamic_definition.png)
+
+## Task Parameters
+
+[//]: # (TODO: use the commented anchor below once our website template 
supports this syntax)
+[//]: # (- Please refer to [DolphinScheduler Task Parameters 
Appendix]&#40;appendix.md#default-task-parameters&#41; `Default Task 
Parameters` section for default parameters.)
+
+- Please refer to [DolphinScheduler Task Parameters Appendix](appendix.md) 
`Default Task Parameters` section for default parameters.
+
+|        **Task Parameters**        |                                          
                                                                               
**Description**                                                                 
                                                         |
+|-----------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Child Node                        | Select the workflow definition of the 
sub-workflow. You can jump to the workflow definition of the selected 
sub-workflow by entering the sub-node in the upper right corner.                
                                                                     |
+| max num of sub workflow isntances | The maximum number of sub-workflow 
instances dynamically generated. After exceeding this upper limit, the 
dynamically generated sub-workflow instances will no longer be executed.        
                                                                       |

Review Comment:
   Thanks, I have fixed that



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to