Hi again. How can I troubleshoot a schedule? I set up a daily clock/schedule via the Prefect Cloud UI but I don't see any scheduled flows and nothing ran as expected. The schedule is enabled.
Pedro Machado
07/27/2021, 4:13 PM
m
Mariia Kerimova
07/27/2021, 4:28 PM
Hello Pedro! Not sure how to replicate this error. Could you run this query and check if schedule is attached:
Copy code
query {
flow_group(where: {id: {_eq: "<flow_group_id>"}}) {
id
name
schedule
}
}
You can find flow group id in the details panel for you your flow
k
Kevin Kho
07/27/2021, 4:30 PM
Hey @Pedro Machado, did you try toggling the schedule off and on?
p
Pedro Machado
07/27/2021, 4:43 PM
Hi Kevin. I found the issue. When I toggled the schedule on an off from the flow page, I saw an brief error message at the bottom of the screen saying I was missing a required parameter in the schedule. I added this and toggled off/on and I now see the scheduled flows.
I believe the schedule UI is missing some validation at the time the schedule is created. Also, when you try to edit the schedule, it does not preserve the previously entered schedule values so you have to reset that every time.
k
Kevin Kho
07/27/2021, 4:53 PM
@Marvin open “Validate that Scheduled have Required Parameters” in UI
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.