Implement query to retrieve process instances based on a key without knowing the
processdefinition version
-----------------------------------------------------------------------------------------------------------
Key: JBPM-1182
URL:
http://jira.jboss.com/jira/browse/JBPM-1182
Project: JBoss jBPM
Issue Type: Feature Request
Reporter: Ronald van Kuijk
Assigned To: Tom Baeyens
Once a new version of a processdefinition is deployed, we cannot retrieve the
processinstance anymore based on the process name without knowing the version. I do not
want to store the version or the id of the processdefinition in my business object model.
The hibernate query requires a processdefinition.
This issue is related to the @ResumeProcess in seam which explicitly tries to find the
latest definition if just a key is provided. This will fail if a newer version is
deployed.
If there is an index and a unique constraint on the businesskey, this is not a problem at
all. (ignoring the issues like "I want the licenseplate number to be the business key
for damages and it can occur more than once")
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira