# Comment created for each attachment

**URL:** <https://forum.flowable.org/t/comment-created-for-each-attachment/2103>\
**Category:** Flowable Engine\
**Created:** [June 6, 2018, 8:30pm UTC](https://forum.flowable.org/t/comment-created-for-each-attachment/2103 "2018-06-06T20:30:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jan](https://avatars.discourse-cdn.com/v4/letter/j/ce7236/32.png) [@jan](https://forum.flowable.org/u/jan)\
**Post date:** [June 6, 2018, 8:30pm UTC](https://forum.flowable.org/t/comment-created-for-each-attachment/2103/1 "2018-06-06T20:30:38Z")

</div>

While uploading an attachment to a task, there is always one task comment created per attachment. Is there any reason behind this behaviour? Is there any possibility to turn this off without disabling auditing?

My issue is that if I try to get all comments for process instance using `taskService.getProcessInstanceComments()` I also get these attachment comments, which have no value for me. As a workaround I iterate over process’ tasks and call `taskService.getTaskComments()` on each one, which seems quite tedious and slow.

Thanks!

---

<div class="post-metadata">

**Author:** ![joram](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/joram/32/26_2.png) [@joram](https://forum.flowable.org/u/joram)\
**Post date:** [June 26, 2018, 9:45am UTC](https://forum.flowable.org/t/comment-created-for-each-attachment/2103/2 "2018-06-26T09:45:47Z")

</div>

No sadly, there’s currently no way to filter these out of the box.
