darwinyip commented on issue #10275:
URL: https://github.com/apache/airflow/issues/10275#issuecomment-671598774
Current workaround
```
with DAG(DAG_NAME, schedule_interval='@daily', default_args=default_args) as
dag:
task1 = DummyOperator(task_id='task1')
task2 = BashOperator(task_id='task2', bash_command='exit 1')
task3 = DummyOperator(task_id='task3')
task1 >> task2 >> task3
sensor = ExternalTaskSensor(task_id='sensor',
external_dag_id=DAG_NAME,
external_task_id='task3',
allowed_states=[State.SUCCESS, State.FAILED,
State.UPSTREAM_FAILED],
mode='reschedule')
last = DummyOperator(task_id='last')
sensor >> last
```
----------------------------------------------------------------
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]