You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/10/19 16:04:53 UTC

[GitHub] [dolphinscheduler] ruanwenjun commented on issue #12427: Enable or disable a task using a global param condition, without a default branch

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

   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 


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org