https://prefect.io logo
Title
j

John Ramirez

04/10/2020, 8:30 PM
Hey is there a way to run the same flow is parallel with different parameters
👍 1
c

Chris White

04/10/2020, 10:30 PM
Hi @John Ramirez apologies for the delay here - if you are using the Prefect API you can call
create_flow_run
as many times as you’d like with different parameter sets, and as soon as an Agent picks them up they will begin running in parallel
b

Brad

04/10/2020, 10:38 PM
What about on a schedule @Chris White? (I believe the current implementation simple writes over?)
c

Chris White

04/10/2020, 10:40 PM
In that case I’d recommend using the same base clock, but on one clock add an adjustment of 1 second to prevent the overlapping times; for how to add adjustments to clocks check out: https://docs.prefect.io/core/concepts/schedules.html#complex-schedules
b

Brad

04/10/2020, 10:56 PM
😂 1