# Process manager

> View and export the reference process model in Process Mining on Automation Suite as a BPMN 2.0 file for use in external modeling tools.

## Introduction

With **Process manager** you can view the process model that is used as reference in the model-based Process Mining applications. You can export the model as a **B**usiness **P**rocess **M**odel **N**otation (BPMN) 2.0 model, which enables you to import the file in a BPMN modeler, for example BPMN.io, or to import the BPMN file in another process app.

**Process manager** is integrated in the dashboard editor. Check out [Working with the dashboard editor](https://docs.uipath.com/process-mining/automation-suite/2024.10/user-guide/working-with-the-dashboard-editor#working-with-the-dashboard-editor).
:::note
**Process manager** is only enabled for apps that are using a Discover process model or Import BPMN model.
:::

## Opening Process manager

Select the **Process manager** button in the upper right corner of the dashboard editor to open **Process Manager**. The **Process manager** page is displayed, showing the preview of the Discover process model or Import BPMN model.

The following illustration shows the **Process manager** with an example Import BPMN model.

![Process manager with an example Import BPMN model](https://dev-assets.cms.uipath.com/assets/images/process-mining/process-mining-process-manager-with-an-example-import-bpmn-model-512287-5ff25655-f83ed51f.webp)

## Updating the process mining type

You can update the process mining type for your application and then reload the data.

1. Open the process app for which you want to update the process mining type.
2. Navigate to **Process manager**.
3. From the **Process manager** tab, select **Switch process mining type**. The **End to end process** panel is displayed.
4. Select the desired process mining type and select **Save**.
5. Select **Apply to dashboards** so you can preview the changes.
6. Validate the updates by previewing the dashboards. Select **Publish** to make the changes available in the production app.

If you changed the process mining type without publishing the process app, there is an indicator on **Process Manager** button in the dashboard editor.

## Exporting a model as BPMN model

Follow these steps to export the process model as a **B**usiness **P**rocess **M**odel **N**otation (BPMN) 2.0 model.

1. In the **Process manager** select **Export BPMN model.**

The process model is exported and saved as a `.bpmn` file.

You can import the `.bpmn` file in a BPMN modeler, for example BPMN.io, and edit the model to your needs. When finished, you can import the process model in your process app or use it as the Import BPMN model for other process apps. Additionally, you have the option to import the file in the Maestro modeling canvas.

:::note
The **Import BPMN model** option is only available for apps that were created using the **Import BPMN model** option when selecting the Process model.
:::

### Exporting the actual process to a BPMN diagram

While the **Export BPMN model** option in the **Process manager** exports the to-be process as a BPMN process, the **Export to BPMN 2.0 diagram** option within a process graph in the published app, exports the as-is process as a BPMN process diagram.

Check out [Working with process graphs](https://docs.uipath.com/process-mining/automation-suite/2024.10/user-guide/working-with-process-graphs#working-with-process-graphs).

## Importing a BPMN model

:::important
Make sure the BPMN model meets the requirements for use in Process Mining. Check out[BPMN model requirements](https://docs.uipath.com/process-mining/automation-suite/2024.10/user-guide/create-new-app-wizard#bpmn-model-requirements "The following sections describe the requirements to successfully import a BPMN 2.0 model for use in Process Mining.").
:::

If your process app uses an Import BPMN model for the process graph, you can update your BPMN model by importing a new BPMN model for the process graph in **Process manager**.

1. In the **Process manager** select **Import BPMN model.**
   :::note
   The **Import BPMN model** option is only only displayed for process apps that are using a Import BPMN model.
   :::
2. In the **Import BPMN model** dialog, drag and drop the `.bpmn` file that contains the BPMN 2.0 model you want to import.

   ![Import BPMN model dialog](https://dev-assets.cms.uipath.com/assets/images/process-mining/process-mining-import-bpmn-model-dialog-337854-4bdd6b9c-e23fa95a.webp)
3. Select **Upload BPMN file** to start importing the BPMN model. When the file is successfully imported, the **Continue** button will be enabled.
4. Select whether you want to use exisiting data or to upload new data for the process app.
5. Select **Continue** to upload data and/or finish the import of the BPMN model.

Check out [Working with Discover process models and Import BPMN models](https://docs.uipath.com/process-mining/automation-suite/2024.10/user-guide/working-with-discover-process-models-and-imported-bpmn-models#working-with-discover-process-models-and-import-bpmn-models).
