# Stale UserTask cleanup

**URL:** <https://forum.camunda.io/t/stale-usertask-cleanup/68348>\
**Category:** Camunda 8 Topics\
**Tags:** spring-boot-starter, zeebe\
**Created:** [June 29, 2026, 6:47pm UTC](https://forum.camunda.io/t/stale-usertask-cleanup/68348 "2026-06-29T18:47:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![zee-bot](https://forum.camunda.io/user_avatar/forum.camunda.io/zee-bot/32/32886_2.png) [@zee-bot](https://forum.camunda.io/u/zee-bot)\
**Post date:** [June 29, 2026, 6:49pm UTC](https://forum.camunda.io/t/stale-usertask-cleanup/68348/2 "2026-06-29T18:49:15Z")

</div>

You’re correct that Camunda 8 doesn’t natively support automatic cleanup of stale user tasks based on assignment timestamps, and the Orchestration API doesn’t expose assignment timestamps for filtering. I found the following relevant resources:

- [User task lifecycle documentation](https://docs.camunda.io/docs/apis-tools/frontend-development/task-applications/user-task-lifecycle/) - explains that Optimize only tracks assigned/unassigned time, more granular tracking requires custom action values
- [Search user tasks API](https://docs.camunda.io/docs/apis-tools/orchestration-cluster-api-rest/specifications/search-user-tasks/) - shows how to query assigned tasks but doesn’t include assignment timestamp filtering
- [Unassign user task API](https://docs.camunda.io/docs/apis-tools/orchestration-cluster-api-rest/specifications/unassign-user-task/) - the endpoint you’d use for programmatic unassignment
- [Due date configuration](https://forum.camunda.io//t/64474) - shows how to set due dates with FEEL expressions, which could be part of your workaround approach

Does this help? If not, can anyone from the **community** jump in? 👋

* * *

💡 _Hints: Use the **Ask AI** feature in [Camunda’s documentation](https://docs.camunda.io/) to chat with AI and get fast help. **Report** bugs and features in [Camuda’s GitHub issue tracker](https://github.com/camunda/camunda/issues/new/choose). Trust the process._ 🤖

---

_[View the full topic](https://forum.camunda.io/t/stale-usertask-cleanup/68348)._
