AnsweredAssumed Answered

User id in act_hi_attachment is always null

Question asked by sistemasmunicipales on Dec 13, 2013
Latest reply on Apr 1, 2014 by jbarrez
Hello,
using Java api to add attachments to a Task, the field user_id_ in the act_hi_attachment is never set.
As for the Attachment java class, it doesn't have an user_id attribute either.
I was hoping to control the users that can read/delete an attachment usin the user id.
I tried with Authorization.authenticatedUser and IdentityLink but the field is alwas null.
I'm using PostgreSQL and Activiti 5.14
Is it possible to save - retrieve user id from act_hi_attachment?

Thanks in advance
Esteban

Outcomes