1 Reply Latest reply on Feb 27, 2008 5:47 PM by Ronald van Kuijk

    WebBean & jbpm

    Rodrigo Cardoso Newbie

      Hi, i am developer in seam, and i have had a problem with call the task from jbpm into the webbean, well, i'd like to create just um process with many instance de um processo, but when i am calling de anotation @CreateProcess it allways created a new process, so, i want to know what is wrong, i added parte of code for help.

      
       @CreateProcess(definition="planejamento-abordagem")
       public String createPlanejamentoAbordagem() {
      
       log.info("Iniciando planejamento de abordagem da proposta de convenio");
       return"/CadastroEntidade.xhtml";
       }
       @StartTask
       public String criarAgenda(){
      
       Agenda agenda = new Agenda();
      
       return "/Agenda.xhtml";
       }
      
       @EndTask
       public String gravarAgenda(){
      
       gerenciadorPropostaConvenio.salvarAgenda(agenda);
      
       return "/Concluido.xhtml";
       }