# Unable to reset workflow

**URL:** <https://community.temporal.io/t/unable-to-reset-workflow/17923>\
**Category:** Community Support\
**Created:** [July 14, 2025, 9:50pm UTC](https://community.temporal.io/t/unable-to-reset-workflow/17923 "2025-07-14T21:50:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![franktastic4](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/franktastic4/32/6737_2.png) [@franktastic4](https://community.temporal.io/u/franktastic4)\
**Post date:** [July 14, 2025, 9:50pm UTC](https://community.temporal.io/t/unable-to-reset-workflow/17923/1 "2025-07-14T21:50:39Z")

</div>

I have a workflow that fails sometimes because of bugs in a release.  
Once I roll out the fixes, I’d like to manually retry the workflows from a later point in time since some activities should only be run once but I am having trouble starting them up again.

Tried workflow with this option first

```auto
private final WorkflowOptions options = WorkflowOptions
   .newBuilder()
   .setWorkflowExecutionTimeout(Duration.ofDays(3))
   .setTaskQueue(TASK_QUEUE)
   .setRetryOptions(RetryOptions.newBuilder().setMaximumAttempts(1).build())
   .build();

```

when I try to reset the workflow in the UI, I choose the earliest event to reset to but the new run will fail immediately with `RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED`  
Tried in CLI with this command

```auto
temporal workflow reset --workflow-id 02d959d5-aa87-45f0-9968-b8d0333bbd9b --reason "Retry with updated retry options" --type FirstWorkflowTask

```

and I get the same results.

Then I tried removing `.setRetryOptions(RetryOptions.newBuilder().setMaximumAttempts(1).build())`

and now it looks like this

```auto
private final WorkflowOptions options = WorkflowOptions
   .newBuilder()
   .setWorkflowExecutionTimeout(Duration.ofDays(3))
   .setTaskQueue(TASK_QUEUE)
   .build();

```

When I try to manually reset it now I get `RETRY_STATE_RETRY_POLICY_NOT_SET`

Is the issue with the activities? Some of them are payment related and I do not want them to retry indefinitely. Is the correct solution to make all the steps idempotent and retry the entire workflow?

---

<div class="post-metadata">

**Author:** ![tihomir](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/tihomir/32/6580_2.png) [@tihomir](https://community.temporal.io/u/tihomir)\
**Post date:** [July 20, 2025, 3:03am UTC](https://community.temporal.io/t/unable-to-reset-workflow/17923/2 "2025-07-20T03:03:48Z")

</div>

> .setRetryOptions(RetryOptions.newBuilder().setMaximumAttempts(1).build())

There is no reason to set workflow retries to 1. By default workflow execution does not have retry policy.

Whats your server version used?  
Can you by chance show event history before the reset and the one of execution created after you reset? Was the execution you tried to reset timed out on execution timeout?
