pub async fn resume_workflow(
db: &DatabaseConnection,
task_id: Uuid,
) -> Result<(), DurableError>Expand description
Resume a failed workflow from its last completed step (DBOS-style).
Resets the workflow from FAILED → RUNNING, resets failed child steps to PENDING, and re-dispatches the registered workflow function. Completed steps replay from their checkpointed outputs.
If no WorkflowRegistration is found for the workflow’s handler, the
workflow is still reset but not auto-dispatched — use Ctx::from_id()
to drive it manually.
ⓘ
durable::resume_workflow(&db, workflow_id).await?;