"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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to