public void approve(long id) {
User user = (User) em.createQuery("select u from User u where u.id=" +
id).getSingleResult();
TaskInstance ti = taskInfo.findTaskInstance(taskId);
ti.start();
this.dossierAssignee = user;
ti.end("taskCreatePetition");
}
public void cancel(long id) {
User user = (User) em.createQuery("select u from User u where u.id=" +
id).getSingleResult();
TaskInstance ti = taskInfo.findTaskInstance(taskId);
ti.start();
this.dossierAssignee = user;
ti.end("taskPrepareLetterForDossierSource");
}
i hope it can help you.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083430#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...