The same you supply in your process definition and the version number form the processDefinitionId. So the processDefinitionId in this query is always made of the supplied name and a number.
Maybe the TaskInstanceQuery should be extented to make it possibile to search for all instances with a specific processDefinitionKey. Be careful not to mix up the processDefinitionKey and the processInstanceKey. The processDefinitionKey is a key supplied for the process definition which stays the same for all versions of the process definition. To me it seems a good idea to also offer searching for the criteria processDefinitionKey. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4270270#4270270 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4270270 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user