# Dataflow model lifecycle

In their lifecycle, models can have 2 statuses: **draft** and **master**.

When created, models are in status **draft**, i.e. they are not associated with incoming dataflows.

At least one [matching criterion](/data-watcher-1.21/model/matching-criteria.md) must be created to promote a dataflow model to master.

Once promoted to master, a dataflow model can be used to enrich incoming dataflows.

**Models in draft status can be edited.**\
**Models in master status cannot be edited.**

To **edit a master dataflow model** from the Dataflow Models page, click the 3 dots icon on the right and select **View Master version**. The master model will be displayed in the Dataflow Modeler. Click the **Open Draft Version** chip. Apply your changes and click **Save**. Click **Promote as Master** to go back to the **Dataflow Models** page.

Let's look at the **Flow Model Lifecycle** from creation (draft status) to delivery (master status):

<figure><img src="/files/0t4GnLFELtQu2JoDg6eB" alt="" width="375"><figcaption></figcaption></figure>

The following menu allows you to manage the Dataflow Model lifecycle:

* **Save**: the model is saved in draft status for further changes.
* **Promote as Master Version**: the model is saved in master status and can no longer be modified.
* **Open Draft Version**: the master model is set to draft and becomes editable. When saving the edited draft version to master, the previous master version will be overwritten.


---

# Agent Instructions: 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://docs.primeur.com/data-watcher-1.21/model/dataflow-model-lifecycle.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.
