hey all
trying to run dependent flows where I pass the output of a flow to the next flow… the docs on dependent flows were not super specific
any ideas on how to approach this use case?
k
Kevin Kho
10/30/2021, 11:01 PM
Hey @Mike Lev, this was a painpoint for users so in 0.15.0, we introduced 3 tasks that go together.
create_flow_run
,
wait_for_flow_run
and
get_task_run_result
. You would get the task run result and then pass it as the payload to the next
create_flow_run
as a
Parameter
.
This has an example for the first two. You need to slow the slug you are looking for ahead of time. This blog also has an example
m
Mike Lev
10/31/2021, 1:41 PM
thank you very much... I do have another question to ask that is slightly unrelated
I am trying to deploy flow runs with a local agent on a local server started with
prefect server start
any full examples of such use cases or best practices?
just for additional context running into some issues while working inside of a devcontainer where access to
localhost
is klunky
k
Kevin Kho
10/31/2021, 3:33 PM
If you are using 0.15.5 and above, maybe using
prefect server start --expose
will help. The Orchestration docs will be applicable to both Server and Cloud. The important thing is you are able to spin up an agent with
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.