1 Reply Latest reply on Oct 4, 2008 6:09 AM by Sascha Janz

    task node with dynamic created tasks

    Sascha Janz Master

      i got a simple workflow. with only one task node. the tasks on this node are created by code, if the user takes a transition other then end on this node.

      but at first the task node has no tasks and when the workflow enters the node it seems to be automatically to take the transition end.

      so a task node with no tasks is automatically set to the next node? no interaction is needed?

      the definition is

      
      
      <?xml version="1.0" encoding="UTF-8"?>
      <process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="ad-hoc">
       <start-state name="Start">
       <transition to="in Bearbeitung" name="beginnen"></transition>
       </start-state>
       <task-node name="in Bearbeitung">
       <transition to="Ende" name="beenden" ></transition>
       <transition to="in Bearbeitung" name="nicht zuständig, weitergeleitet"></transition>
       <transition to="in Bearbeitung" name="beantwortet"></transition>
       <transition to="in Bearbeitung" name="nicht zuständig, zurück an Initiator"></transition>
       </task-node>
       <end-state name="Ende"></end-state>
      </process-definition>