i would like to upload and download a file. I know the FileUploadDownload Example but i required to upload document on step not on instantiation form.how can i achieve that i have made contract on step and assigned it to document variable initialized at pool level, but its not working. it gives error that "Error submitting form". I am new to bonita help anybody.
Steps for process building are given as follows: Step 1:
Step 2:
Error: When i submit form Error generates which is given as follows:
To solve your issue, you need to remove the contract inputs on the process instantiation, change the default value for the document variables and remove the process instantiation form:
That should do the trick :)
Also, check the new version of the file upload example, I removed the limitation that duplicate the document each time the steps is submit: https://github.com/Bonitasoft-Community/file-upload-download-example
Cheers