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("treatment");
}
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("Satisfaction");
}
i hope it can help you.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083429#4083429
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083429
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user