# Resuming a failed workflow from the point of failure

**URL:** <https://community.temporal.io/t/resuming-a-failed-workflow-from-the-point-of-failure/7109>\
**Category:** Community Support\
**Tags:** java-sdk, mysql, retries\
**Created:** [January 31, 2023, 3:36pm UTC](https://community.temporal.io/t/resuming-a-failed-workflow-from-the-point-of-failure/7109 "2023-01-31T15:36:28Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Haiping\_Yu](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/haiping_yu/32/3256_2.png) [@Haiping\_Yu](https://community.temporal.io/u/Haiping_Yu)\
**Post date:** [February 3, 2023, 2:01am UTC](https://community.temporal.io/t/resuming-a-failed-workflow-from-the-point-of-failure/7109/5 "2023-02-03T02:01:30Z")

</div>

I tried the code but got the error:

```auto
io.temporal.failure.ActivityFailure: scheduledEventId=35, startedEventId=36, activityType='WaitJenkins', activityId='3fea59fa-d703-39d5-8612-4491a62f2ac7', identity='1@zcp-console-dev-main-va1-meta-5f4f5fb684-q7cqs', retryState=RETRY_STATE_NON_RETRYABLE_FAILURE

```

So how can I retry if the activity state is RETRY\_STATE\_NON\_RETRYABLE\_FAILURE

---

_[View the full topic](https://community.temporal.io/t/resuming-a-failed-workflow-from-the-point-of-failure/7109)._
