Hello @vanagnostopoulo!
You can handle this using the โRun ifโ conditions in Databricks Jobs to control how tasks run based on different branches. Hereโs how you can set it up:
- Make Task B depend on both Task A (condition task) and Task C (true branch).
- Set Task Bโs Run if to โAll doneโ, this makes sure it runs after both A and C finish, no matter if they succeed or fail.
- For Task C, set its Run if to โAll succeededโ on Task A, that way, it only runs when Task A succeeds and the condition evaluates to true.
So if Task A evaluates to false, Task B will run right after Task A. If itโs true, Task B will wait until Task C finishes before running. This setup keeps things clean and avoids needing to split tasks into a separate job.