Using the (alfersco activiti exposed API) /activiti-app/api/enterprise/process-instances/52619/raw-content?isRelatedContent=false, i am trying to upload a file to a process instance id 52619. But only one file(sample.txt) alone is getting uploaded in the related_content table of the activiti.
I am using the alfersco activiti UI which is having the file upload component to display the associate file for the process.
when i am doing upload via UI for a task, i am able to see the document even in the completed task.
However whetn i am trying to upload the file through the API, its content is stored in the content table but i am not able to see in the UI. There is a column in the related_content table called 'field' this need to be updated with "fileupload"value. once it updated in the table, then i can able to see the file attachment in the UI.
Is there a way that i can update the field of related_content table as fileupload while uploading the file using the /activiti-app/api/enterprise/process-instances/52619/raw-content?isRelatedContent=false API
Kindly suggest your thoughts please.