3 Replies Latest reply on Feb 5, 2007 1:11 PM by norman.richards

    Automatic start a jbpm task???

    manuel.gentile

      I have a jbpm jdpl like this

      <task-node name="game1">
       <event type="node-enter">
       <action expression="#{game1.start}"/>
       </event>
       <task name="game1" >
       <assignment actor-id="#{actor.id}"/>
       </task>
       <transition name="" to="game2"></transition>
       </task-node>
      


      I need to start a task automaticaly on node-enter calling a method game1.start. I try by annotate this method with @StartTask but i get an exception

      no value for request parameter: taskId


      Can I pass taskId to the method, or i need something else in the start method.

      Help!!! :-)