https://prefect.io logo
Title
m

Michael Hadorn

03/24/2021, 7:43 AM
Hi there 🙂 Is it by design that scheduled flow will not use updated flow default parameters. e.g. • schedule a flow • let them run • update the default params • for the next run the old/wrong default values are used On Prefect local server 0.14.12 Btw: There is no way, to specify params for a specific schedule, right? That would be awesome and necessary in a way.
j

Jim Crist-Harif

03/24/2021, 2:31 PM
There is no way, to specify params for a specific schedule, right? That would be awesome and necessary in a way
This is supported, see: https://docs.prefect.io/core/concepts/schedules.html#varying-parameter-values
As for your original issue, I think this is due to scheduled runs being created in batches. So your later executing runs are using the old values (since the actual DB record was created before your updates). I can see this being confusing, I'll open an issue.
@Marvin open "Reschedule scheduled flow runs whenever a relevant change to a flow group's settings occurs" in server
m

Michael Hadorn

03/24/2021, 2:36 PM
@Anze Kravanja Thanks! @Jim Crist-Harif Thanks! ;D