AnsweredAssumed Answered

Multiple instances of a ServiceTask class?

Question asked by jonathan1 on Oct 24, 2012
Latest reply on Dec 18, 2014 by rohail
My project uses a service task class implementing ActivityBehavior several times in multiple BPMN processes.  It looks to me that Activiti treats the service class as a singleton and only creates one instance of it, so that separate processes end up sharing state.

Is there a configuration option to create a fresh service task instance every time the task is executed, or should I just not store any state in the service task class?