https://prefect.io logo
k

Kacper Kwasnioch

09/11/2023, 9:13 AM
Hi guys, is there any options in Prefect flows or deployments to set dependencies between each other? F.e. if one flow failed then other one won't trigger (or wait till first one completed successfully ). Thanks!
k

Konrad Maliszewski

09/11/2023, 12:29 PM
It’s definitely doable with automations (https://docs.prefect.io/latest/concepts/automations/), where you can trigger one flow based on a successful completion of another. But you could also write your flows as sub-flows and then include all that logic in the final flow
🙌 1
k

Kacper Kwasnioch

09/11/2023, 12:38 PM
Thanks!
@Konrad Maliszewski I can't see automations in my UI, should I enable it somewhere?
k

Konrad Maliszewski

09/11/2023, 1:57 PM
They’re only available in Prefect Cloud from what I can see and all default roles will have access to them (https://docs.prefect.io/latest/cloud/users/roles/), so as long as you’re in Prefect Cloud you should be able to see them! Unless you have some custom roles in your org and that’s something that could be preventing you from seeing them.