Shanmukh S
Shanmukh S

Reputation: 107

How to execute a task after execution of all the tasks in airflow

I have a Airflow DAG with around 10 tasks in it.

So now, I have another two tasks to execute only after execution of all these 10 tasks earlier.

Can you help me with this case.

Upvotes: 0

Views: 4098

Answers (1)

Val Berthe
Val Berthe

Reputation: 2054

You can specify in your dag all the dependencies between your tasks with the right-bitshift operator.

Example for 3 tasks (make it up to your 10 tasks) :

[task1, task2, task3] >> final_task

See this post for more info.

Upvotes: 3

Related Questions