REST file upload not working on Bonitasoft 7.3 on JBOSS
I am able to upload a file in the studio version using the the REST API .../bonita/API/bpm/caseDocument
and then
.../bonita/API/bpm/caseDocument
{
"caseId":"{{case_id}}",
"file":"{{temp_file}}",
"name": "Doc 1",
"fileName": "document_1.html",
"description": "draft"
}
When I try it on the JBOSS server the first call returns the temp file, but the second call returns an error because it can't find the file that was uploaded. I have not been able to find the uploaded file on the server, or a directory that looks like the tenant temp directory.
Thank you for your response.
When creating a simplified example I discovered an error in the Postman script. File upload is not working as expected.
Please file this under operator error.
Comments
Could you please provide more details about this error? Also if you think it's a bug in the product, you can open a ticket on the bug tracker .
Comments
Hi,
Would you mind sharing your process so we can take a look to what you implemented?
Thanks