https://prefect.io logo
Title
j

João Coelho

12/04/2022, 8:45 PM
Hello everyone!! Hope you're all fine.
🙌 1
Quick question, is it possible with prefect 2.0, implementing conditional jobs? ie, starting a job once some specific jobs end?
1
maybe even create a cycle where the first job is restarted as soon as the last on ends?
1
well, by jobs i meant flows!
1
a

Anna Geller

12/04/2022, 10:31 PM
Yes 100% - there are several ways to do it, the easiest being codependent tasks or subflows. Check this blog post for details https://medium.com/the-prefect-blog/modular-data-stack-build-a-data-platform-with-prefect-dbt-and-snowflake-part-7-95f908d29a01
🎯 1
next time, please ask your question in just 1 thread, thank you 🙌
👍 1
m

merlin

12/05/2022, 6:43 AM
great article. the example repo answered a lot of questions for me
🙌 1
:gratitude-thank-you: 1