AnsweredAssumed Answered

How to have only one instance of a service Task running

Question asked by mimani on Oct 20, 2014
Latest reply on Oct 27, 2014 by jbarrez
HI,

I am developing a workflow using activiti-5.15.1, where I am picking some data from a system and doing processing on it. I am using a Service Task in the beginning of the flow to fetch data from the other system. Now, there is possibility, that if multiple processes of this workflow runs in parallel, the ServiceTask may also run in parallel and get same data in two different instances.

Is there a way I can restrict so that only one instance of this Service Task runs.

Any help will be appreciated.

Regards,
Mimani

Outcomes