Cloudflare Workflows allows you to configure specific retry logic for each step in your workflow execution. Now, you can access which retry attempt is currently executing for calls to step.do():
await step.do("my-step", async (ctx) => { // ctx.attempt is 1 on first try, 2 on first retry, etc. console.log(`Attempt ${ctx.attempt}`);});You can use the step context for improved logging & observability, progressive backoff, or conditional logic in your workflow definition.
Note that the current attempt number is 1-indexed. For more information on retry behavior, refer to Sleeping and Retrying.
Source: Cloudflare
Latest Posts
- Amazon ECR Pull Through Cache Now Supports Referrer Discovery and Sync

- Amazon SageMaker HyperPod now supports flexible instance groups

- (Updated) Microsoft 365 Copilot: Updates to memory and personalization [MC1158329]
![(Updated) Microsoft 365 Copilot: Updates to memory and personalization [MC1158329] 4 pexels alljos 866351](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- (Updated) Anthropic Claude Sonnet is now available in Microsoft 365 Copilot [MC1247880]
![(Updated) Anthropic Claude Sonnet is now available in Microsoft 365 Copilot [MC1247880] 5 pexels cottonbro 7429474](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)



![(Updated) Microsoft 365 Copilot: Updates to memory and personalization [MC1158329] 4 pexels alljos 866351](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-alljos-866351-150x150.webp)
![(Updated) Anthropic Claude Sonnet is now available in Microsoft 365 Copilot [MC1247880] 5 pexels cottonbro 7429474](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-cottonbro-7429474-150x150.webp)
