[jboss-user] [JBoss Seam] - Re: Taks instances
MelampO
do-not-reply at jboss.com
Wed Dec 13 05:04:56 EST 2006
"petemuir" wrote : @In List<TaskInstance> taskInstanceList; is valid.
|
| And of course you could @In JbpmContext;
Ok, it works fine... thank you.
I had it working now with this query:
| List<TaskInstance> ti = (List<TaskInstance>) context.getSession()
| .createQuery("select ti from org.jbpm.taskmgmt.exe.TaskInstance as ti where ti.actorId = :actorId and ti.end is null and ti.isCancelled = false and ti.name = :taskName")
| .setString("actorId", bibliotecario.getBibliotecario())
| .setString("taskName", "evaluarPeticion").list();
|
but i prefer your solution, injecting the taskInstanceList is just what I need.
Thanks again.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993319#3993319
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993319
More information about the jboss-user
mailing list