Try OpenEdge Now
skip to main content
BP Server Developer's Guide
Process template versioning : Creating process templates : Creating versions
 

Creating versions

When the requirements change, you may need to create a version ACME_Process_Ver2 for the existing process template, without removing ACME_Process_Ver1. This can be accomplished with the help of API provided by the ProcessTemplate SVO.
*public ProcessTemplate createVersion(String xmlFileName)
The following scenarios explain the versioning in more detail:
*You can remove the parent process template, which is deprecated, only when all its existing process instances are completed.
*If you change the AppName of the latest active version, then the new AppName is reflected on all the versions.
*If you remove the latest (active) version, then you can resume any of the deprecated versions.
Note: Versioning does not allow you to activate multiple versions simultaneously.