title: Understanding execution hierarchy in activiti
body: <p>My process definition structure is like this:</p>
  
  <pre><code>&lt;process&gt;
     &lt;startEvent....&gt;
     &lt;subProcess id="aaa"....&gt;
       &lt;multiInstanceLoopCharacteristics....&gt;
       &lt;userTask id="bbb"....&gt;
  .......
  &lt;/process&gt;
  </code></pre>
  
  <p>In unit test, I launch the process for a single set of input parameters(meaning only one subprocess), and it is waiting at user task. I query for number of executions in the system. I get 4 executions.</p>
  
  <p>I am not able to figure out why it is 4. Process instance accounts for one, and sub process for another. What are 2 other executions?</p>