> For the complete documentation index, see [llms.txt](https://developer.emporix.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.emporix.io/value-stream-modeller/value-stream-designer/versioning.md).

# Versioning

Versioning of value streams follows a roll-forward approach. Each time a change is made, a new version of the process is automatically created. If you need to revert to an earlier version, you can do so, but this action itself generates the next version in the sequence.

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.

{% @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" %}

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.

<figure><img src="/files/C5FQDfsDsUdoOvB07cMq" alt="" width="400"><figcaption></figcaption></figure>

{% 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 %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.emporix.io/value-stream-modeller/value-stream-designer/versioning.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
