Bonita BPM 7.4 - Error on Upload File

1
0
-1

New to Bonita BPM, currently starts using version 7.4 Community Edition.

Trying to start a new request with few input and also File(supporting doc for request approval) upload, when click on submit button, the form is not submitted. Checking from bonita.log, noticed the following error message:

2017-02-09 11:29:54.838 +0800 INFO: org.restlet.Component.BonitaRestletApplication Error while validating expected inputs
Explanations:
FileInputValue{fileName='reupload.txt'} cannot be assigned to FILE

How can I resolve this?

Comments

Submitted by Dibyajit.Roy on Thu, 02/09/2017 - 11:03

Hi

I had a similar error .
I followed the Below Links and I was able to Resolve my Issue.
1) http://community.bonitasoft.com/node/23051#node-23054
2) http://community.bonitasoft.com/questions-and-answers/how-modify-documen...

1 answer

1
0
-1

Hi ozstudio82,
does you solve your error?

How do you create your form, variables like formInput and formOutput, and your contract ?

Cheers,
Marcos Vinícius Pinto

Comments

Submitted by Dibyajit.Roy on Fri, 02/10/2017 - 13:29

Hi

My Scenario was that I declared My Contract with a File (Multiple) .
Now I was using a Multi Instantiated task.
All the Files Uploaded was added to the contract using Groovy Script.
I could share the Code I used. Its Similar to the Example ( link that I shared).
Perhaps you could Explain a bit about the Process that you are following.
Like what have you defined in your contract and how you have declared form data.

Notifications