AnsweredAssumed Answered

Starting process executes all tasks

Question asked by sgarbaciak on Aug 22, 2011
Latest reply on Aug 23, 2011 by ronald.van.kuijk
I've created process with two task MailTask and ScriptTask (execute script task take 2 minutes). I start the process
ProcessInstance processInstance = runtimeService.startProcessInstanceById(processId)
and get the processInstance after all tasks were executed. Is this normal behaviour in Activiti? I expect to get processInstance after process started but before executed any task.