Run multi subprocess simultaneously



i would like how i could manage to create a main process which include different sub-process which can be performed on same time.

i need some to get something like that:

(Start) - - - > [Parallel Gateway] - - - -> (Subprocess 1)
(Subprocess 2)

Maybe the answer could be: "don't create subprocess if u need to run activities simultaneously)" but there are lot of acitivities in each subprocess and if i don't create subprocess the general diagram will be really complex to read.
subprocess1 and subprocess2 are not strictly related, i mean, subprocess1 can rean also while subprocess 2 is running....


Submitted by Sean McP on Sat, 04/08/2017 - 21:24

can you give a bit more information, trying to follow it but not clear for me,


Submitted by claudio.taragnolini on Mon, 04/10/2017 - 09:58

Hi, thanks for your answer. I just need to understand how i could manage inside a parent job, two sub-process in parallel. Something like that:

1 answer


okay i managed the point it using a "Send Message" and "Catch Message" event.
That allow me to run in parallel main process and the process that has been "called".

By the way, i am having some strange issue when i try to "copy" the business data variable from the parent job to the job "called" using the message content.

If i don't put any Message content, it works, but when i try to put some message content, it brake my job and in the log i can see "Declared return type class is not compatible with evaluated type class java.lang.String for expression value1 at org.bonitasoft.engine.execution.ProcessExecutorImpl.start(

Do u have any example about it?

That following what i did: