Then I send it with an e-mail connector as an attachment, but If I try to open it in case Overview I get the error "500 Internal Server Error. Oops. Error.". In the logfile I've: "org.bonitasoft.forms.server.DocumentImageServlet Error while retrieving the document with ID xxxxxx from the engine."
It seems that the document ID in the url is not correct.
An example that illustrate how to allow user to upload and download a single document or a list of documents.
Also illustrate how to only allow certain type of files to be uploaded (e.g. only PDF files).
Process definition includes a reference to a document and to a list of documents (document with option "multiple" enable).
All files will be stored by Bonita BPM Engine in database.
Engine also saved the association between the process instance and documents content and version.