caishunfeng commented on issue #12427:
URL: 
https://github.com/apache/dolphinscheduler/issues/12427#issuecomment-1284776561

   > Good feature, we can make the `Default` as optional.
   > 
   > ```
   > if(conditionA) {
   >     go taskA
   >     return
   > }
   > 
   > if(conditionB) {
   >     go taskB
   >     return 
   > }
   > 
   > if(Default != null) {
   >     go Default
   >     return
   > }
   > ```
   > 
   > cc @caishunfeng
   
   Looks good to me, if the default branch is empty  and not other branchs 
match, the switch task will be an end task of this edge.  


-- 
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