> For the complete documentation index, see [llms.txt](https://docs.work-relay.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.work-relay.com/processes/working-with-processes/totals-process-statistics/process-instance-states.md).

# Process instance states

The Process Instance States chart displays metrics for all Instances of the current Process Version within the selected period, grouped by their current state. Hovering your cursor over a bar displays the actual value.

![](/files/945958d6e94eb1e2f5259f3106ced53b8c2bbb78)

Instances may be grouped into the following States:

* **Started (1)** - All instances that have a Start Date within the selected period.\
  Clicking on this bar will display the [Instances tab](/processes/working-with-processes/process-details-page/instances.md) for the current [process version](/processes/working-with-processes/process-versions.md), where entries shown will be filtered by the following criteria:<br>

  <pre class="language-apex"><code class="lang-apex">Start Date is equal to:
  <strong>  from %first day 12:00 AM of selected period%
  </strong>  to %last day 11:59 PM of selected period%
  </code></pre>

* \
  **In Progress (2)** - All active instances that are or were active within selected period.\
  Clicking on this bar will display the Instances tab for the current process version, where entries shown will be filtered by the following criteria:<br>

  ```apex
  Active = true
  AND
  (Completed = false OR Completed Date >= %first day 12:00 AM of selected period%)
  AND
  Start Date < %last day 11:59 PM of selected period%
  ```

* **Completed (3)** - All instances that were completed within the selected period.\
  Clicking on this bar will display the Instances tab for the current process version, where entries shown will be filtered by the following criteria:<br>

  ```apex
  Completed = true
  AND
  Completed Date is equal to:
    from %first day 12:00 AM of selected period%
    to %last day 11:59 PM of selected period%
  ```

* **Deactivated (4)** - All inactive instances that were deactivated within the selected period.\
  Clicking on this bar will display the Instances tab for current process version, where entries shown will be filtered by the following criteria:<br>

  ```apex
  Active = false
  AND
  Activation/Deactivation Date is equal to:
    from %first day 12:00 AM of selected period%
    to %last day 11:59 PM of selected period%
  ```

![](/files/4082ed090eb9df8d5361781e916b7e3f5030206f)

{% hint style="info" %}
States may overlap - e.g., the same Instance can be accounted for in both the Started and In Progress metrics.
{% endhint %}

Click the "Hint" button (5) to display some brief information about this chart.

Click the "Expand" button (6) to expand the chart to full browser window size. This can be useful when the chart contains lot of data or when presenting information. In the expanded state, the "Collapse" button will be displayed instead:

![](/files/5a2b6f6c15d39772fe8a8c210a0ab09f189208a1)

If the Process has no started instances, or no instances match selected period, this chart will display a "There is no data" message.
