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(HistoryTaskInstanceImpl.class.getName());

        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
[http://community.jboss.org/message/543335#543335]

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

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to