This is what I want, but I don't know how to achieve this in airflow, as both of the tasks are being executed.
To summarize:
- T1 executes
- T2 executes
- Based on the output of T2 I want to either go
option_1 -> completeoroption_2 -> Do_x, Do_y -> complete
How should I structure this? I have this as my current code:
(t1 >> t2 >> option_1 >> complete)
(t1 >> t2 >> option_2 >> do_x >> do_y >> complete)
t2 in this case is a branch operator.
I've also tried the syntax for ... [option_1, option_2] ... but I need a completely separate path to execute, not just a single task to be switched.

