2 Replies Latest reply on Jun 1, 2008 2:39 PM by sören kalk

    Seam  Workflow jbpm

    sören kalk Newbie

      Hi,


      i have a question concerning taskId's.
      My workflow which is distrubuted in 2 Session Beans consists of 2 tasknodes  and the start- and end-state. My @CreateProcess-annotated method includes business logic and also the 2 task-annotated methods. Why i have to set in my annotated methods for the @StartTask-Annotation the attribute taskId? When the ID is not set i get an illegalstate exception with the message that task/process id may not be null. With this workaround it works for me (i have checked that in the jbpm DB-tables).
      What i am doing wrong?


      Thanks for productive replies.


      Sören