Petals-SE-Flowable 1.4.0+

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (3)

View Page History
h3. Versioning

Process definition must be deployed as long as an associated process instance is in progress, and/or historic process instance histories exist. So, once a Flowable service unit has been deployed you must think to its potential changes to be able:
* to continue to execute process instances in progress,
* to continue to access process instance historices,
* to deploy minor changes: minor changes of process definition and/or minor changes of the JBI part. A change is considered as minor when the service provider interfaces are not changed,
* to deploy major changes: major changes of the service providers and process definition. A change is considered as major when a service provider interface is changed.
To apply major changes, as the service provider interfaces change, you will need to deploy concurrently the new version. So you need only to deploy the new version.

When deploying a process definition, Flowable requires a '_process definition resource home_' from which some resources can be resolved relatively to the BPMN file of the process definition, for example WSDLs of the service providers invoked through service tasks. This '_process definition resource home_' is set as an URI containing the service unit name and the BPMN file name.
So when deploying a new minor version of a service unit, the new service unit *MUST* have the same service name than the previous one to be able to continue to execute process instances created with the previous version.
For a new major version, you can set a new service unit name because no process instance is already in progress.