Changing the status of a flow from "Crashed" to "Scheduled" in Prefect triggers a rescheduling of the flow run. Here is what happens in detail:
1.
Execution of Rescheduled Flow: The flow is scheduled to be executed again.
2.
Flow Run ID and Metadata: A new flow run is created with a new flow run ID. However, the metadata associated with the original run (e.g., the deployment used) persists unless specifically overridden or modified.
The behavior ensures that the crashed flow does not stay in limbo and is given another chance to execute, though with a new instance.
For more details, you can refer to the Prefect documentation on
using the client.
Do you need further assistance with this?