From df52096796e1435364cb95bcb96ab64f14a9c1f9 Mon Sep 17 00:00:00 2001 From: avenceslau Date: Tue, 4 Nov 2025 19:23:42 +0000 Subject: [PATCH] add docs on restart --- src/content/docs/workflows/build/trigger-workflows.mdx | 6 ------ src/content/docs/workflows/reference/limits.mdx | 4 +++- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/content/docs/workflows/build/trigger-workflows.mdx b/src/content/docs/workflows/build/trigger-workflows.mdx index 280d0ff2801a9d..776efa2b52d9f4 100644 --- a/src/content/docs/workflows/build/trigger-workflows.mdx +++ b/src/content/docs/workflows/build/trigger-workflows.mdx @@ -155,12 +155,6 @@ Once stopped/terminated, the Workflow instance *cannot* be resumed. ### Restart a Workflow -:::caution - -**Known issue**: Restarting a Workflow via the `restart()` method is not currently supported and will throw an exception (error). - -::: - ```ts let instance = await env.MY_WORKFLOW.get("abc-123") await instance.restart() // Returns Promise diff --git a/src/content/docs/workflows/reference/limits.mdx b/src/content/docs/workflows/reference/limits.mdx index 0d201c075aded9..f9b41837d6d784 100644 --- a/src/content/docs/workflows/reference/limits.mdx +++ b/src/content/docs/workflows/reference/limits.mdx @@ -25,7 +25,7 @@ Many limits are inherited from those applied to Workers scripts and as documente | Maximum steps per Workflow [^5] | 1024 | 1024 | | Maximum Workflow executions | 100,000 per day [shared with Workers daily limit](/workers/platform/limits/#worker-limits) | Unlimited | | Concurrent Workflow instances (executions) per account [^7] | 25 | 10,000 | -| Maximum Workflow instance creation rate | 100 per second [^6] | 100 per second [^6] | +| Maximum Workflow instance creation rate [^8] | 100 per second [^6] | 100 per second [^6] | | Maximum number of [queued instances](/workflows/observability/metrics-analytics/#event-types) | 10,000 | 100,000 | | Retention limit for completed Workflow state | 3 days | 30 days [^2] | | Maximum length of a Workflow name [^4] | 64 characters | 64 characters | @@ -44,6 +44,8 @@ Many limits are inherited from those applied to Workers scripts and as documente [^7]: Only instances with a `running` state count towards the concurrency limits. Instances in the `waiting` state are excluded from these limits. +[^8]: Each instance created or restarted counts towards this limit + ### `waiting` instances do not count towards instance concurrency limits