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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...