lenboo opened a new issue #1888: [Feature]new task type: Conditions
URL: https://github.com/apache/incubator-dolphinscheduler/issues/1888
 
 
   i want to support a new task type: Conditions
   
   * There are only two branches in the conditions task, the successful branch 
and the failed branch are shown in the figure:
   
![image](https://user-images.githubusercontent.com/29528966/73710294-8863ae80-473e-11ea-8263-c0cc03317ec9.png)
   
   
   * Similar to dependent tasks, the conditions task only judges whether other 
tasks are executed successfully or not, and decides which branch to execute 
according to the judgment result, and does not participate in specific business 
execution.
   
   * Two branches of conditional judgment task cannot be aggregated
   
   - If aggregation occurs, the process may not end properly. As shown in the 
picture:
   
![image](https://user-images.githubusercontent.com/29528966/73710933-4b98b700-4740-11ea-8a25-ac51502801c1.png)
   
   - If there is aggregation of conditions tasks, please separate the 
conditions tasks as subprocesses
   
![image](https://user-images.githubusercontent.com/29528966/73710992-7125c080-4740-11ea-8fd4-436584538401.png)
   
   
   
   * 条件判断任务只有两个分支,成功分支和失败分支:
   
   * 条件判断任务只判断其他任务执行成功与否,并根据判断结果决定执行哪个分支,不参与具体的任务执行。
   
   * 条件判断任务的两个分支不能聚合
     - 如果发生聚合,可能造成流程不能正常结束。
     
     - 如果条件判断任务存在聚合,请把条件判断任务作为子流程独立出来
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to