3 Replies Latest reply on Feb 5, 2007 1:11 PM by Norman Richards

    Automatic start a jbpm task???

    Manuel Gentile Newbie

      I have a jbpm jdpl like this

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

      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!!! :-)