3 Replies Latest reply on Mar 27, 2009 1:18 PM by Ronald van Kuijk

    Start a task when created

    turpin vincent Newbie

      I'm using seam 2.1.1

      I would like to know how i can start a task automatically when it's created, i try with:

              <task-node name="Saisie_materiel">
                <task name="RemplirMat">
                <event type="task-create">
                      <assignment actor-id="#{actor.id}"/>
                <transition to="join" name="toJoin2"></transition>

      but it dont seem to work

      in fact it work with

          public void test(){}

      but i bont want to need a button to call the function test()

      if someone can tell me a better way to do that...

      thanks by advance

      Vincent turpin