# Versioning

The versioning of value stream is based on the roll-forward approach. It means that with every change a new version of the process is created. If you want to get back to a previous version, you can do so, but it actually creates the next version of the process.

{% @mermaid/diagram content="---
config:
layout: fixed
theme: base
look: classic
themeVariables:
background: transparent
lineColor: "#9CBBE3"
arrowheadColor: "#9CBBE3"
edgeLabelBackground: "#FFC128"
edgeLabelTextColor: "#4C5359"
-----------------------------

flowchart LR
A\["You created a value stream - version 1"] --> B\["You edit the value stream and with your new changes version 2 is created"]
B --> C\["You decide to revert the changes from version 2 and you choose to get back to version 1 of the value stream"]
C --> D\["The changes are reverted and you are back to the state of the value stream from version 1, but it is created as version 3"]
A@{ shape: rounded}
B@{ shape: rounded}
C@{ shape: rounded}
D@{ shape: rounded}
A:::Class\_01
B:::Class\_01
C:::Class\_01
D:::Class\_01
classDef Class\_01 fill:#F2F6FA, stroke:#4C5359" %}

When you trigger a value stream and it starts to run, you have an instance of that process. If the process is at version 1, that instance is an instance of version 1.\
Supposing you have 200 running instances at version 1 and you modify your process and save it as version 2, the next instance of that process that you run is a version 2 instance. This does not change the 200 running instances at version 1.

It is possible to have many instances of many different versions all running at the same time. When a new version is created, it doesn't stop the previous ones from running.

<figure><img src="https://2734760799-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8dAaH7DfB59pzZwLxmur%2Fuploads%2Fgit-blob-c75c47181f3b92d55e146825a6d673389c1c9e20%2Fversioning.png?alt=media" alt=""><figcaption></figcaption></figure>

Additionally, using the **Show Versions** function, you can check what is the current value stream version, when it was modified and by whom. You can also select the previous version of the value stream and get back to it.

{% hint style="warning" %}
Choosing to revert to an older version of the value stream results in changing the process to the older configuration, but with a new version number.
{% endhint %}
