[jboss-user] [JBoss jBPM] - bug with graphSession.findActiveNodesByProcessInstance ?
do-not-reply at jboss.com
Mon Feb 11 10:44:47 EST 2008
I try to use this query but there's a problem with the condition token.parent is not null, because if the token is the root token the parent is null... I don't understand why this condition is in the query.
I think a select DISTINCT node is also needed.
| select node
| from org.jbpm.graph.def.Node node,
| org.jbpm.graph.exe.Token token,
| org.jbpm.graph.exe.ProcessInstance processInstance
| where token.processInstance = :processInstance
| and token.node = node
| and token.isSuspended != true
| and token.parent is not null
| and token.end is null
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128412#4128412
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128412
More information about the jboss-user