> 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).

# Progress bar

## 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="/files/Q0Zdh3Xu7actHzNrtbni" 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="/files/hOgEzkWHyj0PMHNunE1Q" 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="/files/40c4s5cgnv5Z1wJ1WrXH" 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 dynamically by asking a question.

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

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
