https://flyte.org logo
a

Alex Bain

05/11/2022, 1:13 AM
I am running a bunch of subworkflows from my parent workflow. I want to run them in serial (instead of in parallel). Can I chain them together like I can chain together normal Flyte tasks (i.e. https://docs.flyte.org/projects/cookbook/en/latest/auto/core/control_flow/chain_tasks.html)?
k

Kevin Su

05/11/2022, 1:44 AM
yes, you can chain subworkflow
Just like regular tasks
Copy code
@workflow
def wf():
    a = sub_wf()
    b = sub_wf()
    a >> b
7 Views