<@ULVA73B9P> If I change the state of a failed flo...
# ask-marvin
t
@Marvin If I change the state of a failed flow run to cancelled will the Prefect create a new flow run again for that period?
m
Changing the state of a failed flow run to canceled does not automatically trigger Prefect to create a new flow run for that period. Flow runs in Prefect are generally tied to a schedule, and state changes to individual flow runs do not impact the schedule itself. If a flow run fails and you manually change its state to canceled, Prefect will not see this as a trigger to schedule an additional run outside of the existing schedule. If another scheduled run is due based on the existing schedule, Prefect will create and execute a new flow run at the scheduled time. You could manually trigger a rerun of a flow if required, but this is independent of changing the state of a flow run to canceled. For more information on flow run behavior and retry mechanisms, you can refer to the Prefect documentation regarding states and flow run scheduling: - Prefect Concepts - Flows - How Prefect Works Unfortunately, these sources do not specifically answer the question about automatic creation of new flow runs after state changes, but they provide a general understanding of how flow runs and their states are managed in Prefect. If you require detailed behavior related to retries or rescheduling, I would suggest further exploration or contacting the Prefect support team for assistance.