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)
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....
can you give a bit more information, trying to follow it but not clear for me,
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 com.company.model.Testchild is not compatible with evaluated type class java.lang.String for expression value1 at org.bonitasoft.engine.execution.ProcessExecutorImpl.start(ProcessExecutorImpl.java:806)
Do u have any example about it?
That following what i did: https://www.dropbox.com/s/vbzrug2mfoueays/catch%20and%20throw%20message....