how to connect alfresco with bonita studio 7.4.0 and ui designer


hey all . I am new in Bonita and i want to connect alfresco with bonita.

first, i create a document "doc" in the pool.
i create a human task and a connector on finish with alfresco. the file i ipload is ${doc}. there is no outputs.
in the ui designer i create an upload widget with too variables forminput that contain doc : "" and formoutput returns forminput.doc

and it oesn't work. help

2 answers


hey sean ,

i just got this error message :

{ "exception": "class org.bonitasoft.engine.exception.BonitaRuntimeException", "message": "USERNAME=walter.bates | Provider for class cannot be created" }


Submitted by Sean McP on Tue, 04/11/2017 - 22:15

I don't know what that is, sorry.


First you must make sure you are receiving the file correctly. Here is the right way to do it:

1) Create a new diagram.
2) Create a contract in the Execution tab of the Pool, with only a FILE input in it.
3) Create an auto-generated form to the Instantiation Form.
4) Edit the form and put an error text message in it for the submit button.
5) Create a Document on the Pool Data tab and set its initial content to "From Contract", linking it to the contract FILE input.
6) Fulfill any needs so the process may run with no errors.

Point 5) links the file you upload to the pool document.

You will then be able to use the Alfresco connector to load the file to Alfresco


PS: As this reply answers your question, please mark as resolved.