Download archives on server


I have a process that requires actors to upload some .pdf files.
I'm needing to take this archives from the context to a folder in the server.
does anyone have any idea of how to do this?

Best Regards


2 answers

This one is the BEST answer!

You can checkout the connector I create that save document declared in process definition on server file system.


Submitted by msevillano on Thu, 03/17/2016 - 18:48

Its what i need, but i got a problem, i don't have this 2 archives to import: org.slf4j.Logger org.slf4j.LoggerFactory.
Do you know where i can find them?
thank you =)

Submitted by antoine.mottier on Fri, 03/18/2016 - 09:11

You can find slf4j-api-1.6.1.jar and slf4j-jdk14-1.6.1.jar jar files in BonitaBPMCommunity-7.2.1/workspace/tomcat/lib/bonita folder.

You need to include both library in your Studio workspace using Development -> Manage jars....
You might also need to include them as process dependency (in process configuration).

An alternative is to edit the connector implementation and remove all the lines that produce logs.


thank you, I'm also needing a way to access those archives, I tried to make an api for that but I cant make it work