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

# Progress bar

How to understand the overall progress of the product's production cycle

## Overview

The progress bar shows how ready the product is, helping you see if production is on schedule and identify potential delays.

<figure><img src="https://2718719119-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2iEmashkfYYrRZjhJnSk%2Fuploads%2FWM4Ypa8AZdBfDFHxUBLq%2Fimage.png?alt=media&amp;token=f62e7fad-8ce0-4702-81b2-30ff18871c9e" alt=""><figcaption><p>Progress of manufacturing of different products</p></figcaption></figure>

## Specifics

### Visual aspect:

The progress bar visually represents production status, with values ranging from 0% to 100%. It is designed to match the color of the status icon for a cohesive look.

### Calculation formula:

The progress percentage is calculated based on completed tasks within the production workflow (including tasks from child and additional components).

{% hint style="info" %}
Progress (%) = (100% / Total Tasks) \* Completed Tasks
{% endhint %}

A production progress bar can have values ranging from 0 to 100%.

### Progress updates

The progress bar updates automatically based on specific events, such as

* child component status change
* task status change
* reopening task&#x20;
* adding additional task&#x20;
* adding additional component

### Status specifics

* Productions marked as "To do" have a progress bar set to 0%.&#x20;
* Productions labeled "In progress" with no completed tasks also have a progress bar set to 0%.
* Productions in "Stopped" status display the executed percentage from before they reached this status.&#x20;
* Productions categorized as "From stock" always have a progress bar set to 100%.

<figure><img src="https://2718719119-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2iEmashkfYYrRZjhJnSk%2Fuploads%2FfkE2FhlifDN2wnsba8G0%2Fimage.png?alt=media&amp;token=c3e49d29-9046-4e3a-81db-67a1c4c28ccc" alt=""><figcaption><p>Progress bar depending on status</p></figcaption></figure>

### Order progress calculations

When viewing productions grouped by order items, the progress is calculated according to formula:

{% hint style="info" %}
Order progress (%) = sum of of progress values of all productions in this order / number of productions in the order
{% endhint %}

<figure><img src="https://2718719119-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2iEmashkfYYrRZjhJnSk%2Fuploads%2Fd927jAPhfnM6HAcVgPGe%2Fimage.png?alt=media&amp;token=633aa164-8469-408e-9aa5-07b59a62c3ee" alt=""><figcaption><p>Progress of whole order</p></figcaption></figure>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.hesh.app/manuals/production/production-management/progress-bar.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
