Is there a recommended way to implement the workfl...
# ask-metaflow
b
Is there a recommended way to implement the workflow of workflows pattern with metaflow? I gather I could make it happen by chaining flow executions together with @trigger_on_finish, but it's a bit hard to visualize the high level workflow since it's cobbled together across files. I could write a helper for this, but before I did, I wanted to check-in with community to see if there is a better way or existing helpers. Thank you in advance 😃
✅ 1
I suppose it's also possible to write a high level flow that runs the child flows in steps via the runner api, but that feels wrong?
v
yeah,
@trigger_on_finish
is the way to go
when it comes to visualizing the connections, you can extract dependencies between flows to create views like this (from the Outerbounds platform UI)
you can use e.g. the
_graph_info
artifact to grab the info for visualizations
or you can check the decorator at the deploy-time with a flow-level mutator, before any runs have taken place
b
Thank you for confirming. Cool feature you have in Outerbounds to solve the visualization challenge!
🙌 1
🙌🏼 1