cancel
Showing results for 
Search instead for 
Did you mean: 

TASK_ID_ in ACT_HI_ATTACHMENT table is empty

henriqueznx
Champ in-the-making
Champ in-the-making
Hi,

I would like to retrieve the attachments list from a task. I tried to get using:
/activiti-rest/service/runtime/tasks/10383/attachments

But the response are empty.

I'ts everything ok when request:
activiti-rest/service/runtime/tasks/10383

I checked that the column TASK_ID_ in  ACT_HI_ATTACHMENT table is empty. .. After insert manually the task ID in this column, the file appear correctly in /tasks/10383/attachments request.

Has anyone solved this problem? Why the task id isn't inserted in this column?

I really appreciate any help you can provide.


Activiti 5.17




3 REPLIES 3

trademak
Star Contributor
Star Contributor
Hi,

How did you attach the attachment to the task?

Best regards,

henriqueznx
Champ in-the-making
Champ in-the-making
Hi trademak!

Activiti-explorer in "Related content" area

jbarrez
Star Contributor
Star Contributor
I believe Explorer attaches related content to the process instance and not the task, which would explain the behavior you are seeing.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.