# Main use cases

> In this scenario, a process is already implemented using in the organization using existing capabilities, such as [long-running workflows](https://docs.uipath.com/orchestrator/automation-cloud/latest/user-guide/working-with-long-running-workflows) or [ReFramework workflows](https://docs.uipath.com/studio/standalone/latest/user-guide/robotic-enterprise-framework). Aside from that, there is an interest in gaining a deeper understanding of the current process, identifying inefficiencies, and optimizing it.

## Optimize existing automated processes

In this scenario, a process is already implemented using in the organization using existing capabilities, such as [long-running workflows](https://docs.uipath.com/orchestrator/automation-cloud/latest/user-guide/working-with-long-running-workflows) or [ReFramework workflows](https://docs.uipath.com/studio/standalone/latest/user-guide/robotic-enterprise-framework). Aside from that, there is an interest in gaining a deeper understanding of the current process, identifying inefficiencies, and optimizing it.

The end-to-end business process can be developed using Long Running Workflow processes or interconnected automations that utilize dispatcher-performer patterns, providing a clear path to improved performance and efficiency.

The following illustration shows an example end-to-end process with existing automations.

![End-to-end process with existing automations](https://dev-assets.cms.uipath.com/assets/images/process-mining/process-mining-end-to-end-process-with-existing-automations-527329-133518c7-ca1e3cb9.webp)

## Model, automate, orchestrate, monitor, and optimize a new process

In this scenario, you want to build a new long running workflow leveraging a Business Process Model and Notation (BPMN)-style canvas available in UiPath Studio. This enables you to continuously monitor the process to improve it over time.

### Key features
* Leverage the [Long running workflow](https://docs.uipath.com/studio/standalone/latest/user-guide/long-running-workflows), a canvas in Studio Desktop where you can quickly design complex workflows by combining BPMN concepts with the power of RPA.
* Integrates Triggers, UI Automation, API Automation, Human In the Loop and AI Powered Automation.
* Long running activities from Action Center, Integration Service, Microsoft 365, Google Workspace.
* Built in resiliency capabilities through Error Boundary Events and Error End Events.
* Importing a BPMN file.
* Tracking the elements of a canvas in Process Mining to get a view of the process and further optimize it.

The following illustration shows an example Long Running Workflow.

![Long Running Workflow](https://dev-assets.cms.uipath.com/assets/images/process-mining/process-mining-long-running-workflow-530692-4adc52b8-c3788519.webp)

## Improve processes spanning systems, humans, and robots

In this scenario, there is a need for a holistic understanding of an end-to-end process with certain parts performed in specific source systems like SAP, Salesforce, ServiceNow, and Oracle, along with parts of the process implemented in UiPath that may also involve human-in-the-loop tasks.

### Key features
* Bring in data from automations and Task Mining in the same application in Process Mining.
  + Check out [Adding automation data](https://docs.uipath.com/process-mining/automation-cloud/latest/user-guide/input-data#input-data) for more information on how to connect Process Mining to automations.
  + Check out [Starting a Task Mining project from Process Mining](https://docs.uipath.com/process-mining/automation-cloud/latest/user-guide/starting-a-task-mining-project-from-process-mining#starting-a-task-mining-project-from-process-mining) for more information on how to work with Task Mining data.
* Bring in data from source systems and automations in the same application in Process Mining
* Build richer business-centric dashboards and KPIs on top of the combined data.
* Perform root-cause analysis.
* Identify inefficiencies in the process, identify opportunities for process optimization and quantify the impact.
* Measure the return on investment (ROI) of process optimizations implemented into the process.

The following illustration shows an example of continuous improvement.

![Example of continuous improvements in Process Mining](https://dev-assets.cms.uipath.com/assets/images/process-mining/process-mining-example-of-continuous-improvements-in-process-mining-527376-00f8a748-c6311870.webp)
