# How do we maintain multiple versions of the process

**URL:** <https://community.ofelia.com/t/how-do-we-maintain-multiple-versions-of-the-process/7025>\
**Category:** Q&A\
**Created:** [26 February 2016 14:26 UTC](https://community.ofelia.com/t/how-do-we-maintain-multiple-versions-of-the-process/7025 "2016-02-26T14:26:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kinjal.acharya](https://avatars.discourse-cdn.com/v4/letter/k/f1d935/32.png) [@kinjal.acharya](https://community.ofelia.com/u/kinjal.acharya)\
**Post date:** [26 February 2016 14:26 UTC](https://community.ofelia.com/t/how-do-we-maintain-multiple-versions-of-the-process/7025/1 "2016-02-26T14:26:09Z")

</div>

Hi,

We have a requirement to maintain multiple versions of the process. We would have some process instances running as per say version 1.0 and some with version 2.0. We want both the versions to exist simultaneously. Old process instances should continue to run as per the old version and new process instances should work as per the new version. We could have more than two versions running at the same time.

What is the most effective way to achieve this? Should we maintain a mapping between the processes instance and the version used to create the instance?

Regards,  
Kinjal

---

<div class="post-metadata">

**Author:** ![Sean\_McP](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/sean_mcp/32/932_2.png) [@Sean\_McP](https://community.ofelia.com/u/Sean_McP)\
**Post date:** [27 February 2016 14:58 UTC](https://community.ofelia.com/t/how-do-we-maintain-multiple-versions-of-the-process/7025/2 "2016-02-27T14:58:49Z")

</div>

When you say…

_We have a requirement to maintain multiple versions of the process_

Do you mean “forever” or until the current cases are exhausted and after that only the new ones will be used?

“Forever” is - I want to choose process A or B depending on what I want to do.

The only way to do the “forever” version is to call them different things. Then they will both appear on the list of processes.

When doing the exhausted - this will happen automatically - process A will continue to execute as process A, even if process B is deployed. But all new cases will only be based on process B.

There is no need to create a mapping as it is already in the system,

Hope this helps,

regards  
Seán

_PS: If this reply answers your question, please mark a resolved._

---

<div class="post-metadata">

**Author:** ![kinjal.acharya](https://avatars.discourse-cdn.com/v4/letter/k/f1d935/32.png) [@kinjal.acharya](https://community.ofelia.com/u/kinjal.acharya)\
**Post date:** [29 February 2016 14:11 UTC](https://community.ofelia.com/t/how-do-we-maintain-multiple-versions-of-the-process/7025/3 "2016-02-29T14:11:20Z")

</div>

I need to maintain multiple version until current cases are exhausted. A particular version of the process should be retained as long as there are live instances of the process. Once all the instances of a particular process version have completed, we will uninstall that version.

Is there anything we need to do to achieve this? or the its already taken care by the system.

Regards,  
Kinjal

---

<div class="post-metadata">

**Author:** ![Sean\_McP](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/sean_mcp/32/932_2.png) [@Sean\_McP](https://community.ofelia.com/u/Sean_McP)\
**Post date:** [29 February 2016 17:40 UTC](https://community.ofelia.com/t/how-do-we-maintain-multiple-versions-of-the-process/7025/4 "2016-02-29T17:40:59Z")

</div>

It’s essentially taken care of by the system…

regards  
Seán
