I've created process with two task MailTask and ScriptTask (execute script task take 2 minutes). I start the process
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.
ProcessInstance processInstance = runtimeService.startProcessInstanceById(processId)