Workflow instance methods pause(), resume(), restart(), and terminate() are now available in local development when using wrangler dev.
You can now test the full Workflow instance lifecycle locally:
const instance = await env.MY_WORKFLOW.create({ id: "my-instance-id",});
await instance.pause(); // pauses a running workflow instanceawait instance.resume(); // resumes a paused instanceawait instance.restart(); // restarts the instance from the beginningawait instance.terminate(); // terminates the instance immediatelySource: Cloudflare

![Notice - Availability of Microsoft (no Teams) Suites in the EEA [MC1330882] 2 pexels alison m 1261203 2399543](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-alison-m-1261203-2399543-150x150.webp)


