AnsweredAssumed Answered

Synchronized Access to ServiceTask

Question asked by yangyang.qian on Jul 24, 2013
Latest reply on Aug 30, 2014 by jbarrez
If I have a serviceTask that is always kicked off by various different nodes in the workflow (see the "Find Unfinished" task in the attachment) … but I don't want multiple threads to run the service task at exactly the same time (because they wouldn't want to make two copies for the same unfinished thing) … what is a good way to make sure it will behave well? Should I just synchronize the execute() method? Or is there a bpmn construct for this?