# Workflow should be in running status if activity failed due to retry exhausts

**URL:** <https://community.temporal.io/t/workflow-should-be-in-running-status-if-activity-failed-due-to-retry-exhausts/17723>\
**Category:** Community Support\
**Created:** [June 20, 2025, 9:56am UTC](https://community.temporal.io/t/workflow-should-be-in-running-status-if-activity-failed-due-to-retry-exhausts/17723 "2025-06-20T09:56:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sachin\_KUMAR\_AWSINDI](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/sachin_kumar_awsindi/32/6906_2.png) [@Sachin\_KUMAR\_AWSINDI](https://community.temporal.io/u/Sachin_KUMAR_AWSINDI)\
**Post date:** [June 20, 2025, 9:56am UTC](https://community.temporal.io/t/workflow-should-be-in-running-status-if-activity-failed-due-to-retry-exhausts/17723/1 "2025-06-20T09:56:21Z")

</div>

Hi @maxim ,

How to make sure that workflow is not in failed state if temporal activity retry exhausts.

---

<div class="post-metadata">

**Author:** ![maxim](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/maxim/32/8_2.png) [@maxim](https://community.temporal.io/u/maxim)\
**Post date:** [June 20, 2025, 5:25pm UTC](https://community.temporal.io/t/workflow-should-be-in-running-status-if-activity-failed-due-to-retry-exhausts/17723/2 "2025-06-20T17:25:11Z")

</div>

Handle the activity failure in the workflow code. I recommend [Crafting an Error Handling Strategy | Learn Temporal](https://learn.temporal.io/courses/errstrat/)
