indrani (1) [Avatar] Offline
Hi All,

I have questions on adding comments to a task.
1)When we add comments to a task using TaskService.addComment() method, where actually they are persisted, which table.

2)I see a table ACT_HI_COMMENT table but did not see any methods in HistoryService API related to comments.

Can anyone explain when and what data goes into this table.

tijs.rademakers (494) [Avatar] Offline
Re: Where does Task comments get persisted & how to access them

The comments are stored in the ACT_HI_COMMENT table. The _HI_ part of the table name doesn't say it needs to be used in the HistoryService. The idea is more that the _HI_ tables are not cleaned when a process instance has finished/completed.

Best regards,