https://prefect.io logo
Title
i

Iuliia Volkova

10/18/2022, 2:02 PM
hi everyone, question about Prefect 2.6.0, what is analog 'with case' in Prefect 2 or there is not anything similar? how to define a branch logic based on some check?
1
r

Rob Freedy

10/18/2022, 2:17 PM
Hey @Iuliia Volkova!! If I am following your question, you are trying to implement conditional logic in your flow? You no longer have to use
with case
like in 1.0. You can implement the conditional logic directly into your flows in 2.0: https://discourse.prefect.io/t/how-can-i-build-conditional-logic-within-a-flow/61
🙌 1
i

Iuliia Volkova

10/18/2022, 4:04 PM
got it, thanks!