https://dagster.io/ logo
#ask-community
Title
# ask-community
m

Manga Dhatrika

04/04/2022, 8:16 PM
Hi I have 2 ops one to extract and another is to load, I am including this 2 ops in one job, so my expectation is to run first the extract op and then if it is success then run the load op, how could I achieve this? currently it is running 2 ops parellely
z

Zach

04/04/2022, 8:28 PM
You'll need to declare the dependency in your job or graph: https://docs.dagster.io/concepts/ops-jobs-graphs/jobs-graphs#linear-dependencies if the load op isn't expecting an input to be received from the extract op, you'll probably need to use order-based dependencies:(https://docs.dagster.io/concepts/ops-jobs-graphs/jobs-graphs#linear-dependencies)
3 Views