Hi all-- I am evaluating Prefect (Orion) and had a question. What is the best way to dynamically trigger a scheduled flow run at a specified time? I have a nightly flow that picks up a start time from an API, and I'd like to have it then schedule a different flow to run at that time (only once though). Thanks for any help
✅ 1
k
Kevin Kho
07/18/2022, 2:32 PM
You need to use the
client.create_flow_run_from_deployment
here , and then pass a Scheduled state with the scheduled datetime to that call
j
John
07/18/2022, 2:47 PM
This is helpful, thanks Kevin. Just going through these docs, could I just use
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.