sincecutoff.com
← all changes

wrangler workflows instances restart supports restarting from a step

Introduced 2026-06-02 · score 0.98

HOW TO USE IT

When debugging a Workflow instance, restart it from a specific step with `npx wrangler workflows instances restart <NAME> <ID> --from-step-name <STEP>`. Add `--from-step-count` or `--from-step-type` to disambiguate; add `--local` for a local dev session.

npx wrangler workflows instances restart <NAME> <ID> --from-step-name <STEP>
npx wrangler workflows instances restart <NAME> <ID> --from-step-name <STEP> --local
npx wrangler workflows instances restart <NAME> <ID> --from-step-name <STEP> --from-step-count <COUNT> --from-step-type <TYPE>

WHY THIS HELPS

When debugging a Workflow instance, restart it from a specific step in a remote instance or local `wrangler dev --local` session.

REQUIREMENTS AND LIMITATIONS

  • Version: 4.97.0
  • <NAME> (required): Workflow name.
  • <ID> (required): Instance ID; `latest` selects the latest instance.
  • --from-step-name <string>: Name of the step to restart from.
  • --from-step-count <number>: 1-based occurrence of the step name/type; defaults to 1.
  • --from-step-type <string>: Disambiguates a name shared across step types; defaults to `do`.
  • --local: Targets a Workflow in a local `wrangler dev` session.
  • --port <number>: Local dev session port; defaults to 8787.
  • Prerequisite: The `wrangler workflows` command requires Wrangler 3.83.0 or later.
  • Prerequisite: The `--local` flag requires Wrangler 4.79.0 or later.
  • Available for remote Workflow instances and local `wrangler dev --local` sessions.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card