[jboss-user] [JBoss jBPM] - Re: how to find ProcessInstance current state or node
do-not-reply at jboss.com
Thu Jan 3 12:54:14 EST 2008
Ah ok I see. Well I saw I complicated things anyway. There seems to be a findActiveNodesByProcessInstance() in the GraphSession
So combining that with getGraphSession().findProcessInstances(processDefinitionId), which returns you a list of processes, you could get the list you are looking for.
Otherwise have a look in hibernate.queries.hbm.xml file and make your own hql with those used by the above mentioned methods.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116799#4116799
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116799
More information about the jboss-user