Is it possible to set the final state of the flow ...
# ask-community
a
Is it possible to set the final state of the flow to the state of one of the intermediate tasks?
k
Yeah use:
Copy code
with Flow(...) as flow:
    a = ...

flow.set_reference_tasks([a])
Check this
a
this was for 1.0, if you need it for 2.0, check this
a
Amazing, thank you guys!
👍 1