[
https://jira.jboss.org/jira/browse/JBPM-1182?page=com.atlassian.jira.plug...
]
Thomas Diesler resolved JBPM-1182.
----------------------------------
Resolution: Rejected
Future jBPM3 releases can only contain bug fixes. All effort goes into jBPM4.
Implement query to retrieve process instances based on a key without
knowing the processdefinition version
-----------------------------------------------------------------------------------------------------------
Key: JBPM-1182
URL:
https://jira.jboss.org/jira/browse/JBPM-1182
Project: JBoss jBPM
Issue Type: Feature Request
Components: Core Engine
Affects Versions: jBPM 3.2.2
Reporter: Ronald van Kuijk
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:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira