Good Morning. I have a newbie and general and may...
# ask-community
s
Good Morning. I have a newbie and general and maybe best practice question that I am looking for opinions on. I have two main processes - process A and process B. Process B is dependent on process A completing but each process is very distinct. In prefect, is it best to 1): put all the tasks from both processes in a single Flow and just run sequentially; or 2) have two separate flows with a dependency between the the flows; or 3) does it matter? Thanks and just looking for viewpoints
j
Hi Steve, Either works. I'd say it depends on how you think about them. If the thing you actually care about is the output of
-> A -> B ->
, then it'd make the most sense to organize them all as a single flow. If you might want to run them separately ever, then maybe splitting them into two flows (with a third flow that orchestrates running them both sequential) may make sense.
s
Thanks Jim. I appreciate the thought. I have to think about the third one. It will become clearer as I understand the Flows and dependencies better