Bug 840008

Summary: Versions of the same rule show only latest diagram in Business Central
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Johnathan Ingram <jingram>
Component: DeploymentAssignee: Kris Verlaenen <kverlaen>
Status: ASSIGNED --- QA Contact:
Severity: urgent Docs Contact:
Priority: unspecified    
Version: BRMS 5.3.0.GACC: kverlaen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Johnathan Ingram 2012-07-13 12:48:13 UTC
Description of problem:
When viewing an instance of a process in the business central, it only shows the latest version of the process diagram, even for processes that are older than the newly deployed process that are still running.


Version-Release number of selected component (if applicable):
5.3.0

How reproducible:
Ca reproduce

Steps to Reproduce:
1. Create a process with a human task to stall the process.
2. Create an instance of the process and view it in business central (Will see process stalled at human workflow node)
3. Update the process with a new task node and save the image
4. Create an instance of the new process
5. View both the new and older process instance images, both will be drawn against the newer process image. The older process does not seem to retain its original image
  
Actual results:


Expected results:
Expect the older processes to display the correct image for the version of the process.

Additional info:
This is something that will ensure the customer is going to question the software true capabilities.

Comment 1 Kris Verlaenen 2012-08-17 15:28:24 UTC
When you need two versions of the same process to be available in the engine at the same time, you should make sure both versions of the process are still available on guvnor.  They should have a different id (but share the same name, just a changed version number, e.g. id's com.sample.evaluation-1.0 and com.sample.evaluation-2.0).  That way, the process image associated with each of these processes will also be using a different name.