I think i might have solved the problem.
I used the parallelGateway to split into 2 work items in the bpmn2, and then in each of the work item's handler, while running the execute method, I created a separate thread for the specific code to run.
Reply to this message by going to Community
Start a new discussion in jBPM at Community