[jboss-user] [JBoss jBPM] - WebBean & jbpm
Rodrigo_seam
do-not-reply at jboss.com
Wed Feb 27 15:42:53 EST 2008
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";
| }
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132634#4132634
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132634
More information about the jboss-user
mailing list