
      <out idref='compute_id'/>
    </transition>
    <step target='Buggy.compute_id' id='compute_id' type='action'>
      <label lang='en'>Compute the appropriate id for the bug</label>
      <arguments>
       <db-path>$NARVAL_HOME/data/bugnicar-database.xml</db-path>
      </arguments>
    </step>
    <transition id='compute_id->end'>
     <in idref='compute_id'/>
     <out idref='end'/>
    </transition>


  <recipe decay='200' restart='no' name='state-change-add-new' end_step='end' start_step='start'>
    <step target='Basic.NOP' id='start' type='action'>
      <label lang='en'>Start of initialization 'add-new' of 'bug' element.</label>
    </step>
    <transition id='start->action-1'>
      <in idref='start'/>
      <out idref='action-1'/>
      <condition use='yes'>
        <match>bugnicar-task[bug-report]</match>
      </condition>
    </transition>
    <step target='buggy.add-new-create-object' id='action-1' type='transform'>
      <label lang='en'>Creates a new 'bug' element.</label>
    </step>
    <transition id='action-1->end'>
      <in idref='action-1'/>
      <out idref='compute_id'/>
    </transition>
    <step target='Buggy.compute_bug_id' id='compute_id' type='action'>
      <label lang='en'>Compute the appropriate id for the bug</label>
      <arguments>
       <db-path>$NARVAL_HOME/data/bugnicar-database.xml</db-path>
      </arguments>
    </step>
    <transition id='compute_id->end'>
     <in idref='compute_id'/>
     <out idref='end'/>
    </transition>
    <step target='Basic.NOP' id='end' type='action'>
      <label lang='en'>End of initialization.</label>
    </step>
  </recipe>







