Hey guys, i have a quick question about conditions in flow definition. I use a boolean parameter and build the flow depending on its value. I'm planning to use a prefect case to do so where i will define new variables from tasks call. Are those definition globally scoped so i can use them "outside" of the prefect case or are they locally scoped ?
a
Anna Geller
05/09/2022, 10:41 AM
Great question! The
case
must be defined within a
Flow
. It then gets evaluated at build time to construct a graph, but the actual value (True or False) is determined at runtime
This example shows how it works