JBoss Community

NEED help with parallelism process

created by Gaetano Fabiano in jBPM - View the full discussion

Hi, I'm new on JBPM, I would to write a process that run in parallel two script (java class that execute a programm) I use the Gateway node with AND condition but It doesn't work, my result is that sometime run the A node first, sometimes run the B node first. How can I run in a process in parallel two java classes?

I have this:

 

 

(START)----->(SCRIPT)-------(+)-------(SCRIPT A)--------(SCRIPT C)-----(+)

                                          |_____(SCRIPT B)____(SCRIPT D)____|-------------->(END)

 

 

I need this exec plan

 

 

start

Script

Script A and script B in parallel

Script C after A

Script B after D

 

 

End.

 

 

Someone can help me?

Thanks

Reply to this message by going to Community

Start a new discussion in jBPM at Community