Share Files Between Pools

Hi Fellows,

I’m working on Bonita 6.3 and have this issue.

I have 2 processes (pools) one contains a document field which upload files to the process as “evidence”. For business rule this “evidence” must be send to another process which collect and attach them for future visualization.

My problem is that I can’t find a way to send that file to the other pool just using Bonita API.

Any help will be appreciated.

Thanks in advance.

Hello Ivan

You cannot pass directly a document to another process (with events or subprocess call). The reason is that the document would be duplicated, which could cause overloads if heavily used.
A solution is to pass the document id between the processes.

Hello, did you have a look at this documentation: http://documentation.bonitasoft.com/handling-documents ?

Hello Anne,
how to retrive the document id?
thanks