1 Reply Latest reply on Nov 26, 2005 12:42 PM by kukeltje

    Start state with more than one leaving transistions

    gwittwer

      Hello

      I have a start-state with more than one transition:

      <process-definition name="Doku_Konstrukt_XOR">
      <!-- SWIMLANES (= process roles) -->
       <swimlane name="scott">
      <assignment expression="user(scott)"/>
      </swimlane>
      <!-- NODES -->
      
      <start-state name="F0">
      <task swimlane="scott">
      <controller>
      <variable name="V2"/>
      </controller>
      </task>
      <transition name="F21" to="F21"/>
      <transition name="F22" to="F22"/>
      </start-state>
      
      <task-node name="F21">
      <task swimlane="scott">
      <controller>
      <variable name="V2"/>
      </controller>
      </task>
      <transition name="E31" to="F5"/>
      </task-node>
      
      <task-node name="F22">
      <task swimlane="scott">
      <controller>
      <variable name="V2"/>
      </controller>
      </task>
      <transition name="E32" to="F5"/>
      </task-node>
      
      <task-node name="F5">
      <task swimlane="scott">
      <controller>
      <variable name="V2"/>
      </controller>
      </task>
      <transition to="END"/>
      </task-node>
      
      <end-state name="END"/>
      
      </process-definition>
      


      If I choose leaving transition "F21" in the start state the engine throws this exception:
      task node does not have leaving transition 'F21'
      


      When I do the same in a "normal" task-node no error occurs.

      Isn't it possible to have more than one leaving transition in the start-state?

      Thanks
      Gerhard