> For the complete documentation index, see [llms.txt](https://docs.enlyze.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.enlyze.com/en/resources/production-context/production-runs.md). Agents can also search and read this documentation through its [MCP server](https://docs.enlyze.com/~gitbook/mcp).

# Production runs

What a production run is in ENLYZE, the lifecycle of a production run, and how runs get into the ENLYZE platform.

In the ENLYZE platform, a production run is a core concept. A production run (depending on the company also called batch or production order) defines a time range on a machine in which exactly one product is manufactured.

<figure><img src="https://4261006941-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSNEuiyRRKwuqtIcaEt45%2Fuploads%2Fgit-blob-ba192d9142e8adda93501083812e36c8aa13df4e%2FProduction_runs_view_EN.png?alt=media" alt=""><figcaption><p>Production runs shown as purple and grey bars</p></figcaption></figure>

Production runs give **context** to the machine data. This way every recorded machine data point is assigned to a production run and a specific product, so a production run bundles the machine data of its runtime. From this, ENLYZE automatically calculates metrics per run, for example OEE with downtimes, performance losses and scrap. You can compare planned and actual times and quantities (planned vs. actual) and evaluate your own metrics, such as energy consumption per run. With one click you can jump into the details of a run.

<figure><img src="https://4261006941-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSNEuiyRRKwuqtIcaEt45%2Fuploads%2Fgit-blob-cdb302f235a09b441ec073349c2de0857b688887%2Fproduction_run_details_EN.png?alt=media" alt=""><figcaption><p>Detail view of a production run with OEE and metrics calculated automatically from the run's runtime</p></figcaption></figure>

### Why you should use production runs in ENLYZE

Production runs give the machine data the context you need to work with it later on:

* based on production runs and their products, ENLYZE automatically measures the maximum product-specific performance and uses it to determine the performance factor of the OEE,
* production runs are used to create the electronic batch record for later traceability,
* they make it possible to identify the [Golden Run](https://docs.enlyze.com/en/production-optimization/golden-run.md),
* they enable product-specific process control with the [setup sheet](https://docs.enlyze.com/en/production-optimization/setup-sheet.md) and the [Co-Pilot](https://docs.enlyze.com/en/production-optimization/co-pilot.md).

### What makes up a production run <a href="#what-makes-up-a-production-run" id="what-makes-up-a-production-run"></a>

Every production run needs at least these three fields to be created:

| Field        | Meaning                                                                                                                                                                                                  |
| ------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Run code** | The identifier of the run, usually from your ERP or MES system (e.g. `FA-2026-00417`). It should be unique. If the same code appears more than once, ENLYZE groups those runs as split runs (see below). |
| **Product**  | The [product](https://docs.enlyze.com/en/resources/production-context/products.md) manufactured in this run.                                                                                             |
| **Machine**  | The machine registered in ENLYZE that the run is planned for or running on.                                                                                                                              |

Optional fields are:

* a **planned period** (planned start and planned end),
* the **actual production period** (start and end),
* **quantities** (total, yield, scrap). You can only enter quantities once the run has started.

Once a run has started, it runs uninterrupted between its start and end time.

### Status and lifecycle of a production run <a href="#production-run-states" id="production-run-states"></a>

The **state** is the condition (*Planned*, *Running* or *Finished*) a production run is currently in. A run can only have one state at any given time. The **lifecycle** is the path through these states, that is ***Planned*** **→** ***Running*** **→** ***Finished***, including resetting a run to another state.

<figure><img src="https://4261006941-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSNEuiyRRKwuqtIcaEt45%2Fuploads%2Fgit-blob-f382152dae542f964738f63f35e6bc811cb22a39%2F2026-w45-auftrag-status.png?alt=media" alt=""><figcaption></figcaption></figure>

The state changes, and the run moves through its lifecycle, when its start and end times are booked:

* **Planned:** the run is added to the ENLYZE platform, either with a planned start and end or without any times. A run counts as **planned** as long as it has no actual start time.
* **Start:** the run gets its start time and moves from **Planned** to **Running**.
* **Stop:** the run gets its end time and moves from **Running** to **Finished**.

| State        | Meaning                                             | Stored times                                                                                                                 |
| ------------ | --------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| **Planned**  | The run exists, but production has not started yet. | <ul><li><strong>No</strong> period is stored (no start and end times).</li><li>A planned start and end are stored.</li></ul> |
| **Running**  | The machine is currently producing for this run.    | <ul><li>The start time is stored, either entered manually or by booking the start.</li></ul>                                 |
| **Finished** | Production for this run is complete.                | <ul><li>Start and end times are stored.</li></ul>                                                                            |

## Manage and import production runs

<table data-view="cards"><thead><tr><th></th><th></th><th></th></tr></thead><tbody><tr><td><h3>Manual</h3></td><td>Create and manage production runs manually in the ENLYZE app</td><td><a href="https://docs.enlyze.com/en/resources/production-context/production-runs/create-and-manage-production-runs-manually.md"><strong>Learn more</strong></a></td></tr><tr><td><h3>Import</h3></td><td>Import production runs from CSV or XLSX files</td><td><a href="https://docs.enlyze.com/en/resources/production-context/production-runs/import-production-runs.md"><strong>Learn more</strong></a></td></tr><tr><td><h3>Sync</h3></td><td>Sync production run data automatically from your ERP or MES system</td><td><a href="https://docs.enlyze.com/en/resources/production-context/production-runs/sync-production-runs-automatically.md"><strong>Learn more</strong></a></td></tr></tbody></table>

## Split runs <a href="#split-runs" id="split-runs"></a>

A production order isn't always manufactured in one go. Due to size, storage or downstream process constraints, it is often produced in several batches or blocks, which don't have to follow each other directly.

That's why a run code can appear more than once. When several runs share the same run code, ENLYZE groups them as **split runs** (labeled **partial runs** in the app):

* Each split run has its own period, its own state and its own quantities.
* The split runs of a run code are numbered by their start (e.g. **Partial run 2 of 3**).
* **Show all partial runs** in the run details lists every split run of an order at a glance.

<figure><img src="https://4261006941-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSNEuiyRRKwuqtIcaEt45%2Fuploads%2Fgit-blob-920a042a30e8f738cef2048a705d362368382f60%2Fpartial_run_indicator_card_EN.png?alt=media" alt=""><figcaption><p>Run details of a split run with the link to all partial runs</p></figcaption></figure>

<figure><img src="https://4261006941-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSNEuiyRRKwuqtIcaEt45%2Fuploads%2Fgit-blob-581580330d43a0daeddba54eeab09dfbcc1f28a1%2Fpartial_run_list_EN.png?alt=media" alt=""><figcaption><p>All partial runs of a run code, numbered by their start</p></figcaption></figure>

All split runs of a run code belong to the same product and run on the same machine. ENLYZE rejects a run whose code is already used for a different product or machine.

### Identical run code on several machines <a href="#the-same-order-on-several-machines" id="the-same-order-on-several-machines"></a>

ENLYZE currently doesn't support using the same run code on several machines. For traceability across machines, MES and ERP systems often keep the same order number. Since a run code in ENLYZE can only belong to one machine, you need a separate run code per machine here.

{% hint style="info" %}
**Our solution:**\
If run codes are identical across machines, add a prefix or suffix to the run code that matches the machine, e.g. **EX1-FA-72EC** and **EX2-FA-72EC**.
{% endhint %}

## Related pages

{% content-ref url="/pages/5PZrQgHPGnZFXqKiGW5r" %}
[IT-Connectivity](https://docs.enlyze.com/en/connect/it-connectivity.md)
{% endcontent-ref %}

{% content-ref url="/pages/63km9jYvbcVnwJvoTINq" %}
[Analyze overlapping production runs](https://docs.enlyze.com/en/production-optimization/data-quality/overlapping-production-runs.md)
{% endcontent-ref %}
