Hi. I was trying to use conditionals instead of py...
# ask-community
i
Hi. I was trying to use conditionals instead of python if-else error occured 'reference tasks must be part of the flow'.
k
This is because of the
= signals.SUCCESS
. That is not a task so you override that variable, and then it’s not a task anymore. You need to assign it to a task
i
I thought it is because of the condition task. Because it was working before
how to assign in this case correctly?
k
I don’t think you even need the False case?
i
It worked without false case to. Thank you a lot
k
Nice