Multiple schedules: Is it possible to have differe...
# prefect-ui
j
Multiple schedules: Is it possible to have different parameters for each schedule?
My use case is that I have a reusable flow that can be run with different input parameters. I think I can do this with multiple deployments, but I'd like to create a single deployment that has separate schedules configured for each input.
j
Hi Joe! Can you say a bit more about why you’d want a single deployment? Your request sounds likely a really good use case for multiple deployments?
j
@Jenny I may be conceptualising a deployment incorrectly, but I see it as a "deployed flow" that I can invoke with different parameters. All the other configuration about the deployment is the same, work pool, entry point, name. When I hit Quick Run I get presented a UI to run with parameters
It seems natural to me that, given we can have multiple schedules, when I hit "Add schedule" I should be able to specify different parameters for that schedule.
j
Thanks Joe. This is interesting. I still recommend multiple deployments as the best way to handle parameter and schedule configuration but appreciate you sharing the way you see it. Would it be ok if one of the team reaches out to you if we do any future thinking in this area?
d
@Jenny would love this feature, too! For now, we have a parent flow that runs on a schedule and runs the main flow as a subflow to control the parameters passed to it.
gratitude thank you 1
👍 1
🧠 1
j
@Jenny of course, no problem. Thanks for your reply 🙂