This content has been marked as final.
Show 2 replies
-
1. Re: Query processes by process variables
tnfink Feb 16, 2007 11:50 AM (in response to tnfink)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 -
2. Re: Query processes by process variables
kukeltje Feb 16, 2007 12:06 PM (in response to tnfink)and now some good indexes :-)