patrice godard [
https://community.jboss.org/people/loik] created the discussion
"What is actually the processId and does it depend on the process version?"
To view the discussion, visit:
https://community.jboss.org/message/800523#800523
--------------------------------------------------------------
Hi,
I'm a bit confused with the ksession.createProcessInstance(String processId,
Map<String,Object>parameters) API.
Is the processId dependant on the version of the process I want to launch or do all
versions of processes of a given name have the same processId?
Le'ts suppose I have a process with name "MyProcess", and version
"1.0" is deployed.
I deploy version "2.0" of this process.
How am I supposed to launch process instances of the new version of the process?
Do they both have the same processId (this is wierd to me since it's no longer an ID
then)?
What I need is some kind of "launch process instance by name" that would pick up
the latest version of this process definition, given a process name.
Thanks,
Pat
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/800523#800523]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]