cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple versions of - Workflows & realted Custom Jars(in Explorer )

rangoo
Champ in-the-making
Champ in-the-making
Couple of scenarios, let me know your inputs/recommendations for both the scenarios:

1) We have a scenario where we would end with up with Process Instances of different versions of a particular Workflow and our front end client(for human tasks) will have to account for all the versions. We think Client can differentiate between tasks of diff versions by  processDefinitionId (which by default is the     
 {processDefinitionKey}:{version}:{generatedId})  
).


2) We also plan to kick off different versions of a particular workflow (instead of just the latest version) by  
    
runtimeService.startProcessInstanceById 


   Hope this is fine. If yes, this gets tricky as we have custom java classes for JavaService tasks and these custom classes change for each version of WorkFlow.  Looks like we need to deploy multiple activiti-explorers (on the same JVM), each having custom class files in its Lib folder for each workflow version ?
3 REPLIES 3

tieflalty
Champ in-the-making
Champ in-the-making
comment_body[und][0][value]

jbarrez
Star Contributor
Star Contributor
1) Yes correct. Or simply ask the process definition version.

2) indeed, not startProcessInstanceByKey if you want to start a specific version

rangoo
Champ in-the-making
Champ in-the-making
Thanks Joram.