pub fn list_workflow_steps<'a, E: DurableError + 'a>(
workflow_id: &'a str,
) -> PendingStep<'a, Vec<StepRecord>, E> ⓘExpand description
Reads one workflow’s steps, in execution order, from inside a workflow.
The free form of DBOS::list_workflow_steps, for a supervisor that finds where another
workflow failed — to fork it from there — without a DBOS to call it on; see
cancel_workflow for why it should not capture one. Checkpointed under
DBOS.listWorkflowSteps, as the method is, so a replay reads the steps the first execution
read.
Error::NotInWorkflow outside a workflow; plain inside a step. The error is the workflow’s
channel.