aaron
02/24/2022, 6:00 PMKevin Kho
create_flow_run
task at the end of Flow A to trigger Flow B. You can also do it on the Flow B side, but it becomes harder because you have to poll for state using the GraphQL API. It will also take some thought how to point it to a specific Flow run of Flow A
You can also have an outer main flow that is responsible for calling create_flow_run
for both Flow A and Flow B.aaron
02/24/2022, 6:09 PMKevin Kho
Kevin Kho
Kevin Kho
aaron
02/24/2022, 6:21 PMKevin Kho
aaron
02/24/2022, 6:23 PMKevin Kho
aaron
02/24/2022, 6:27 PMKevin Kho
with Flow(...) as flow:
x = Paramater("x", 1)
flow_a = create_flow_run(...,parameters={"x": x})
flow_b = create_flow_run(...,parameters={"x": x})