[jboss-user] [jBPM] - What is actually the processId and does it depend on the process version?
patrice godard
do-not-reply at jboss.com
Mon Mar 4 03:59:44 EST 2013
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&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130304/1c2342f0/attachment.html
More information about the jboss-user
mailing list