Hi All, I’m trying to create a flow with Prefect which will only be triggered on demand, it should not be triggered on a schedule. I’m new to Prefect this is my first project. I could not find this in documentation. If anyone has done this before please help me out. Thanks in advance.
a
Avi A
11/01/2020, 7:40 PM
Triggered on demand is the default.
Avi A
11/01/2020, 7:40 PM
also, even if you define it with a schedule, you can still trigger it on demand (using the UI or graphql request)
p
Priyan Chandrapala
11/01/2020, 7:43 PM
Thanks Avi,
So, do you think I can define a flow without a Schedule, like?
Copy code
with Flow(job["flow_name"] + " (" + env + ")", schedule = None) as flow:
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.