REST file upload not working on Bonitasoft 7.3 on JBOSS

1
0
-1

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.

Comments

Submitted by Lionel Palacin on Tue, 01/10/2017 - 11:20

Hi,

Would you mind sharing your process so we can take a look to what you implemented?

Thanks

2 answers

1
0
-1

There was an error in the Postman script that reference a file that did not exist.

I am not aware of any issues with the API implementation.

1
0
-1

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

Submitted by Lionel Palacin on Wed, 01/11/2017 - 09:39

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 .

Notifications