samirsilwal opened a new issue, #42939: URL: https://github.com/apache/airflow/issues/42939
### Description ## Requirement - To skip a set of task downstream and continue with other - I do not want to branch by task (with branchPython operator) flows neither stop the flow conditionally (with shorCircutOperator) - Introduce a feature to conditionally skip a specific set of downstream tasks in the Airflow DAG. - The logic should allow flexibility to define which downstream tasks to skip based on the outcome or conditions set by previous tasks. - Ensure that the tasks that follow the skipped set resume execution as per the DAG's original sequence, without requiring manual intervention. ## Example ``` task A => task B => task C => task D => task E ``` Suppose this is the DAG initially - I want to have an operator that gets a conditional based on which it can skip task C and D and proceed directly with E like ``` task A => taskB => SkipOperator (true)=> taskC (skipped) => task D(skipped) => task E ``` ### Use case/motivation _No response_ ### Related issues _No response_ ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- 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]
