[jboss-user] [JBoss jBPM] - Re: Query processes by process variables

tnfink do-not-reply at jboss.com
Fri Feb 16 11:50:06 EST 2007


Actually it is pretty simple. The data model in the Wiki helped a lot to see it.
Here is the query:


  | Query query = session.createQuery(
  | "select proc "
  |   + "from org.jbpm.graph.exe.ProcessInstance as proc, "
  |   + "     org.jbpm.context.exe.VariableInstance as var "
  |   + "where var.processInstance = proc and "
  |   + "      var.name = 'customer' and var.value = 'Smith'");
  | 

-- Torsten

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017736#4017736

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017736



More information about the jboss-user mailing list