[jboss-user] [jBPM] - How to get list of tasks for all users and processes

Walter Seymore do-not-reply at jboss.com
Mon May 17 04:16:13 EDT 2010

Walter Seymore [http://community.jboss.org/people/WalterJS] replied to the discussion

"How to get list of tasks for all users and processes"

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

You can use an HQL query like this:

        hql.append("select hpi, hti, ht "); 
        hql.append("from ");


        hql.append(" as hti ");

        hql.append(" left join hti.historyTask as ht  ");

        hql.append(" join hti.historyProcessInstance as hpi  ");

        appendWhereClause(" hpi.state = '" + active + "' ", hql);


Reply to this message by going to Community

Start a new discussion in jBPM at Community

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

More information about the jboss-user mailing list