# how to set dependency in schedules

**URL:** <https://discourse.getdbt.com/t/how-to-set-dependency-in-schedules/9917>\
**Category:** Help\
**Created:** [September 12, 2023, 12:44pm UTC](https://discourse.getdbt.com/t/how-to-set-dependency-in-schedules/9917 "2023-09-12T12:44:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![simar](https://avatars.discourse-cdn.com/v4/letter/s/b5ac83/32.png) [@simar](https://discourse.getdbt.com/u/simar)\
**Post date:** [September 12, 2023, 12:44pm UTC](https://discourse.getdbt.com/t/how-to-set-dependency-in-schedules/9917/1 "2023-09-12T12:44:40Z")

</div>

Hi, I have two models in dbt -one for staging other for loading intermediate views. How can we set dependency- for example we want staging one to run first and on its successful completion intermediate should run.

---

<div class="post-metadata">

**Author:** ![a\_slack\_user](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/a_slack_user/32/1629_2.png) [@a\_slack\_user](https://discourse.getdbt.com/u/a_slack_user)\
**Post date:** [September 13, 2023, 4:58am UTC](https://discourse.getdbt.com/t/how-to-set-dependency-in-schedules/9917/2 "2023-09-13T04:58:40Z")

</div>

dbt does not support orchestration between jobs at this stage so you would need to use a scheduler tool like Airflow for this

Note: `@Johann De Wet` originally [posted this reply in Slack](https://getdbt.slack.com/archives/CBSQTAPLG/p1694581114338029?thread_ts=1694522717.376299&cid=CBSQTAPLG). It might not have transferred perfectly.
