is run successfully but I want to define this dependency in flow
B
and
C
because the "parent" will be owned by another team. Is there a way to do this in Prefect or if we would have to go for an eventing solution?
k
Kevin Kho
09/14/2021, 5:51 AM
Hey @Gaylord Cherencey, basically it should be A's job yo call B or C, either through the GraphQL API or a StartFlowRun task. If you want B or C to wait upon the completion of A, you need to poll for it in a task somehow. Does that make sense?
g
Gaylord Cherencey
09/14/2021, 8:45 PM
Yes I manage to do the first one with StartFlowRun but we don't want the upstream flow to be responsible for handling the dependencies. Instead we would like the downstream Flow (
B
and
C
) to set Flow
A
as dependencies (somehow) and trigger their task when someone from the other team triggers
A
. When you say
poll for it in a task somehow
this mean that natively I won't be able to do this, right?
k
Kevin Kho
09/15/2021, 12:54 AM
Yes that's right. The most graceful way might be polling through the Flow state handler
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.