5 Replies Latest reply on Aug 21, 2007 11:59 AM by jeffcwang

    task instance in start state

    Jianying Wu Newbie

      I went through the jbpm user guide about task instance,
      it's saying

      Task instances are typically created by the process execution entering a task-node

      Is that different from the task in start state?
      'Cause when I invoke this method

      right after I create the process instance, it will throw a NullPointerException.
      If the task instance won't be created automatically in start state, can I create it somehow manually? or I misunderstand somewhere above?
      Here is my start state definition:
      <start-state name="draft">
       <task name="making a draft" swimlane="writer">
       <assignment class='com.test.WriterAssignmentHandler' />
       <transition to="review" name="submit"></transition>