[jboss-user] [JBoss jBPM] - Re: Decision node always taking first option

Razieh do-not-reply at jboss.com
Wed Sep 12 09:15:22 EDT 2007


sorry.actually this code can help you.

 public void approve(long id) {
        TaskInstance ti = taskInfo.findTaskInstance(taskId);
        ti.start();
        this.dossierAssignee = user;
        ti.end("ForwardResult1");
    }
    public void cancel(long id) {
        TaskInstance ti = taskInfo.findTaskInstance(taskId);
        ti.start();
        this.dossierAssignee = user;
        ti.end("ForwardResult2");
    }

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083432#4083432

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083432



More information about the jboss-user mailing list