1 Reply Latest reply on Nov 5, 2012 6:31 AM by franco80

    (jbpm 5.3 JBoss 7.1.1) running one after the other: process and later start task and complete in one method

    franco80 Novice

      Hello

       

      I have a question about running one after the other: process and later start task and complete in one method, always start task is stoped by empty tasks list (becouse I think process starting and is not complete yet)

       

      I'm using for connect to task server client for this way :

       

      client = new TaskClient(new MinaTaskClientConnector(

       

                          "org.drools.process.workitem.wsht.WSHumanTaskHandler",

       

                          new MinaTaskClientHandler(SystemEventListenerFactory

       

                                  .getSystemEventListener())));

       

      is there a best solution for this problem ?

       

      regards