https://prefect.io logo
h

Heeje Cho

02/19/2022, 1:07 AM
hey guys is it possible to use
create_flow_run
to create a persistent scheduled flow run? Not a flow that runs only ones at a scheduled time but a flow that runs at intervals?
k

Kevin Kho

02/19/2022, 1:09 AM
It’s not meant to do that. It’s meant to trigger one quick flow run. If you want a regular interval, then you can attach it through the UI after you register and you can add the schedule to the flow code as you reigster.
h

Heeje Cho

02/19/2022, 1:44 AM
Is there a way to make dynamically generate scheduled flow runs? For example, if we want to trigger a flow with varying parameters and varying schedules from an external app
k

Kevin Kho

02/19/2022, 2:13 AM
Do you mean there is an event that edits the Flow to add a schedule?
You should make the event register a new flow instead of modifying the schedule because the schedule modification is not scalable. Check this thread
5 Views