when using <conditional logic> in a flow, is it ne...
# prefect-community
z
when using conditional logic in a flow, is it necessary to have two
with case
statements, or can i use just one that does something if a condition is true?
k
You can just have one. Do you run into an issue?
z
Thanks! No im just beginning to use this and thought it would be easier to ask then test back and forth.
k
There is honestly some unintuitive behavior to it that you only see when you start using it so just let me know if you encounter an issue
Just know that the mechanism is a SKIP if the condition is not met but the task inside is in the DAG. It just gets skipped
z
Will do, thanks for letting me know!