[jboss-user] [jBPM] - Re: How to find the last action party

Mauricio Salatino do-not-reply at jboss.com
Fri Oct 21 08:35:22 EDT 2011


Mauricio Salatino [http://community.jboss.org/people/salaboy21] created the discussion

"Re: How to find the last action party"

To view the discussion, visit: http://community.jboss.org/message/633000#633000

--------------------------------------------------------------
Hm.. I'm trying to understand your requirements here.. 
So you want to find out who was the last person of completing a task related with a process right?
If that's the requirement, yes a named query will be the answer.
Take a look at the orm.xml file provided inside the jbpm-human-task module to add an extra query that recieves the process instance ID and order the task by the last completed within that process instance. The syntax for the named queries is standard (JPAQL - HQL) syntax so you can find tons of examples if you google JPA named queries or JPA QL.
Cheers

PS: first hit->  http://download.oracle.com/javaee/5/tutorial/doc/bnbtg.html http://download.oracle.com/javaee/5/tutorial/doc/bnbtg.html
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/633000#633000]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111021/d03cc41b/attachment.html 


More information about the jboss-user mailing list