Share Files Between Pools

1
0
-1

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.

Comments

Submitted by ttoine on Mon, 05/26/2014 - 15:40

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

1 answer

1
+1
-1

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.

Comments

Submitted by bios.rmaf on Fri, 11/06/2015 - 09:12

Hello Anne,
how to retrive the document id?
thanks

Notifications