# Accessing the Process Optimization app

> :::note
The **Process Mining** service must be enabled on the same tenant as **Maestro** to access the Process Optimization app. Also check out [Prerequisites for Maestro](https://docs.uipath.com/maestro/automation-cloud/latest/user-guide/prerequisites).
:::

:::note
The **Process Mining** service must be enabled on the same tenant as **Maestro** to access the Process Optimization app. Also check out [Prerequisites for Maestro](https://docs.uipath.com/maestro/automation-cloud/latest/user-guide/prerequisites).
:::

When the process is published to Orchestrator, a **Process Optimization** app is automatically created for your process in Process Mining.

The **Process Optimization** app includes a summary dashboard and offers various capabilities such as inefficiency detection, comparison, conformance checking, and root-cause-analysis, among others. You have the flexibility to define your own KPIs using a no-code interface and create custom charts and dashboards suited to your project's needs.

With Maestro, you can also integrate third-party source data into the process tracking, providing more business-specific KPIs for your end-to-end orchestrated process.

Select the **Open in Process Mining** button to open the Process Optimization app in Process Mining. The **Process Optimization** app opens in a new browser tab.

Follow this step to open the **Process Optimization** app in Process Mining.

1. Select the **Open in Process Mining** button.

The Process Optimization app opens in a new browser tab.

* The **Open in Process Mining** button is only enabled if there is data available for the **Process Optimization** app.
* The data in the **Process Optimization** app will be automatically refreshed daily to ensure the most recent data in the dashboards.

Refer to [Process Optimization app](https://docs.uipath.com/process-mining/automation-cloud/latest/user-guide/process-optimization-app) for a detailed description of the dashboards and KPIs.

## Orchestrator permissions

When a **Process Optimization** app is created through Maestro, your access to the app in Process Mining is based on the permissions you have as a user in **Orchestrator**.

This means that if you have access to the associated folder in Orchestrator, you automatically have access to the corresponding **Process Optimization** app in Process Mining. The following table provides an overview of the Orchestrator permissions and the corresponding inherited permissions in Process Mining for the **Process Optimization** app.

 <colgroup>
  <col/>
  <col/>
 </colgroup>
 
  
    Orchestrator folder permission 
    Process Optimization app permissions 
  
  
    Read 
   
      
         View app 
      

  
  
    Edit 
   
      
         Manage access 
         Edit data 
         Edit dashboards 
         View app 
         Delete app 
      

  
 

If needed, a Process Mining user with **Manage access** permission for the **Process Optimization** app, such as an Administrator or a Developer, can grant you additional permissions for the app.

Refer to [Managing access for Process apps](https://docs.uipath.com/process-mining/automation-cloud/latest/user-guide/managing-access-for-process-apps) for more information.

If a process is deleted from **Orchestrator**, the associated **Process Optimization** app is automatically removed from **Process Mining**, unless it contains published customizations.

## Troubleshooting

In some cases, the data may not be available in the **Optimize** tab. The following table describes some options for solving the issue.

 <colgroup>
  <col/>
  <col/>
 </colgroup>
 
  
    Possible cause 
    Resolution 
  
  
    The data refresh has not been triggered by the automatic schedule. 
    Try to reload data manually using the Reload data option in the menu bar. 
  
  
    There is no Process Optimization app linked to the process. 
   
      
         Select Create process mining app from the Optimize tab. 
         Complete the steps in the wizard and select the applicable proces. Refer to  Creating a Process Optimization app  for more information. 
      

  
  
    The process is not the start of the end-to-end process, has been started from a Queue Item, or from another Agentic process or RPA process. 
   
   Delete the predefined Maestro app from Process Mining and create a new Process Optimization app with the real start of the process that is being tracked. Refer to Process tracking for more information. Follow these steps:
      
         Make sure you have Delete permissions for the app. 
         Go to the Process Mining portal. 
         Go to the Development tab and locate the Process Optimization app. 
      
      Open the context menu and select Delete app.
      
         Go back to the Optimize tab in Maestro and select Create Process Optimization app from the menu bar. (Alternatively, you can use the Create new app option in the Process Mining portal.) 
         Complete the steps in the wizard and select the applicable process. Refer to  Creating a Process Optimization app  for more information. 
      

  
  
    The process has not been run in the past 24 hours. 
    Make sure there are valid runs in the same tenant. 
  
 

When you delete an app, it is temporarily retained in the database which can interfere with the creation of a new Maestro app from the **Optimize** tab which will have the same ID. It is recommended to wait for about an hour to continue with the next steps.
