AnsweredAssumed Answered

Concurrency Problem

Question asked by jwalink on Jan 16, 2014
Latest reply on Jan 21, 2014 by jwalink
Hi all,
I'm doing a proof of concept to see if we use Activiti in my company, I use version 5.14 integrated with Spring, Hibernate (with mysql) and Maven.
I have problems to managing concurrency, when I try obtain a processInstance using the next method: RuntimeService.startProcessInstanceByKey(…)

The problem is fixed if I make "syncronized" that part of the code.
Is it the best way to handle concurrency? is possible to use threads? How could I handle it?

Outcomes