Chu
07/20/2022, 12:56 PMSylvain Hazard
07/20/2022, 12:59 PMAnna Geller
Sylvain Hazard
07/20/2022, 1:06 PMAnna Geller
Sylvain Hazard
07/20/2022, 1:11 PMChu
07/20/2022, 1:17 PMSylvain Hazard
07/20/2022, 1:27 PMwith Flow() as f:
task_a()
task_b()
StartFlowRun("flow_b")
Without knowing the full detail, I wouldn't advise doing this because it splits the "high level workflow" between each flow and it makes maintenance a pain on the long run.
For example if you have something like flow A => flow B => flow C and need to change it to flow A => flow C => flow B, then you'd have to change all flows in your code.