[jBPM] - Can guvnor maintain multiple versions of a BPMN definition with same name?
by mvermand
mvermand [https://community.jboss.org/people/mvermand] created the discussion
"Can guvnor maintain multiple versions of a BPMN definition with same name?"
To view the discussion, visit: https://community.jboss.org/message/826873#826873
--------------------------------------------------------------
Hi,
In jBPM4.4 you can deploy a jPDL with the same name multiple times. The different versions automatically get a different version number and processInstances will keep using the version that was current when the processInstance started.
You do not need to select specified Process Definitions upon engine startup. All is retrieved from the database as needed.
In jBPM5.4 things seem to be different. If I am correct the Knowledge base needs to be filled at startup with all Process Definitions which are needed by any running process.
If I need multiple versions of the same Process Definition in the kBase to complete process instances started with a different version, it seems I cannot use the same id for the different "versions" of the "same" process definition.
Adding two process definitions with the same id but a different version number does not seem to work.
1) Am I right so far?
If (1) == yes then
2) what it the use of the version number?
3) will everything work if I change the ProcessDefinitions with as id the original processDefinition id concattenated with the version number?
4) does Guvnor support automatic version management?: create BPMN with id a.b.c , start processInstance for this BPMN, change BPMN (keep id, but increment version), start second processInstance. ProcessInstance 1 will keep using version 1 of BPMN, ProcessInstance 2 will use the updated version of the BPMN
If (4) == no then how does Guvnor handle changes to BPMN definitions?
Are you supposed to upgrade all running versions of a Process Definition?
Thanks a lot!
Michiel
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/826873#826873]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
10 years, 10 months
[jBPM] - Defining a List using ListDataType in web designer
by Marco Burrafato
Marco Burrafato [https://community.jboss.org/people/ocramot] created the discussion
"Defining a List using ListDataType in web designer"
To view the discussion, visit: https://community.jboss.org/message/825805#825805
--------------------------------------------------------------
Hello everybody, I just registered here beacuse I have a question and I couldn't find the answer anywere.
I'm using JBPM 5.4, and in my project I have implemented a Custom Work Item, which takes a List as input; the item is defined through the Guvnor interface, and contains a ListDataType as a parameter.
I have seen that, in the Web Designer interface, you can define the initial assignment value of the parameters of a task. Anyway, it is not very clear how to initialize the elements of a list. Can I insert a list of element writing them as a string, and using a separator, for example ';' ?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/825805#825805]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
10 years, 10 months